Basic HTML Meta Tags

<meta name="keywords" content="your, tags"/>
<meta name="description" content="150 words"/>
<meta name="subject" content="your website's subject">
<meta name="copyright"content="company name">
<meta name="language" content="ES">
<meta name="robots" content="index,follow" />
<meta name="revised" content="Sunday, July 18th, 2010, 5:15 pm" />
<meta name="abstract" content="">
<meta name="topic" content="">
<meta name="summary" content="">
<meta name="Classification" content="Business">
<meta name="author" content="name, email@hotmail.com">
<meta name="designer" content="">
<meta name="copyright" content="">
<meta name="reply-to" content="email@hotmail.com">
<meta name="owner" content="">
<meta name="url" content="http://www.websiteaddrress.com">
<meta name="identifier-URL" content="http://www.websiteaddress.com">
<meta name="directory" content="submission">
<meta name="category" content="">
<meta name="coverage" content="Worldwide">
<meta name="distribution" content="Global">
<meta name="rating" content="General">
<meta name="revisit-after" content="7 days">
<meta http-equiv="Expires" content="0">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">

OpenGraph Meta Tags

<meta name="og:title" content="The Rock"/>
<meta name="og:type" content="movie"/>
<meta name="og:url" content="http://www.imdb.com/title/tt0117500/"/>
<meta name="og:image" content="http://ia.media-imdb.com/rock.jpg"/>
<meta name="og:site_name" content="IMDb"/>
<meta name="og:description" content="A group of U.S. Marines, under command of..."/>

<meta name="fb:page_id" content="43929265776" />

<meta name="og:email" content="me@example.com"/>
<meta name="og:phone_number" content="650-123-4567"/>
<meta name="og:fax_number" content="+1-415-123-4567"/>

<meta name="og:latitude" content="37.416343"/>
<meta name="og:longitude" content="-122.153013"/>
<meta name="og:street-address" content="1601 S California Ave"/>
<meta name="og:locality" content="Palo Alto"/>
<meta name="og:region" content="CA"/>
<meta name="og:postal-code" content="94304"/>
<meta name="og:country-name" content="USA"/>

<meta property="og:type" content="game.achievement"/>
<meta property="og:points" content="POINTS_FOR_ACHIEVEMENT"/>

<meta property="og:video" content="http://example.com/awesome.swf" />
<meta property="og:video:height" content="640" />
<meta property="og:video:width" content="385" />
<meta property="og:video:type" content="application/x-shockwave-flash" />
<meta property="og:video" content="http://example.com/html5.mp4" />
<meta property="og:video:type" content="video/mp4" />
<meta property="og:video" content="http://example.com/fallback.vid" />
<meta property="og:video:type" content="text/html" />

<meta property="og:audio" content="http://example.com/amazing.mp3" />
<meta property="og:audio:title" content="Amazing Song" />
<meta property="og:audio:artist" content="Amazing Band" />
<meta property="og:audio:album" content="Amazing Album" />
<meta property="og:audio:type" content="application/mp3" />

Create Custom Meta Tags

Use custom meta tags to store data that you need in javascript, instead of hard-coding that data into your javascript. I store my Google Analytics code in meta tags. Here's some examples:

<meta name="google-analytics" content="1-AHFKALJ"/>
<meta name="disqus" content="abcdefg"/>
<meta name="uservoice" content="asdfasdf"/>
<meta name="mixpanel" content="asdfasdf"/>

Company/Service Meta Tags

ClaimID

<meta name="microid" content="mailto+http:sha1:e6058ed7fca4a1921cq91d7f1f3b8736cd3cc1g7" />

Apple Meta Tags

<meta name="apple-mobile-web-app-capable" content="yes">
<meta content="yes" name="apple-touch-fullscreen" />
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width = 320, initial-scale = 2.3, user-scalable = no">

Internet Explorer Meta Tags

<meta http-equiv="Page-Enter" content="RevealTrans(Duration=2.0,Transition=2)" />
<meta http-equiv="Page-Exit" content="RevealTrans(Duration=3.0,Transition=12)" />
<meta name="mssmarttagspreventparsing" content="true">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="msapplication-starturl" content="http://blog.reybango.com/about/"/>
<meta name="msapplication-window" content="width=800;height=600"/>
<meta name="msapplication-navbutton-color" content="red"/>
<meta name="application-name" content="Rey Bango Front-end Developer"/>
<meta name="msapplication-tooltip" content="Launch Rey Bango's Blog"/>
<meta name="msapplication-task" content="name=About;action-uri=/about/;icon-uri=/images/about.ico" />
<meta name="msapplication-task" content="name=The Big List;action-uri=/the-big-list-of-javascript-css-and-html-development-tools-libraries-projects-and-books/;icon-uri=/images/list_links.ico" />
<meta name="msapplication-task" content="name=jQuery Posts;action-uri=/category/jquery/;icon-uri=/images/jquery.ico" />
<meta name="msapplication-task" content="name=Start Developing;action-uri=/category/javascript/;icon-uri=/images/script.ico" />
<link rel="shortcut icon" href="/images/favicon.ico" />

TweetMeme Meta Tags

<meta name="tweetmeme-title" content="Retweet Button Explained" />

Blog Catalog Meta Tags

<meta name="blogcatalog" />

Rails Meta Tags

<meta name="csrf-param" content="authenticity_token"/>
<meta name="csrf-token" content="/bZVwvomkAnwAI1Qd37lFeewvpOIiackk9121fFwWwc="/>

Apple Tags

<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<meta name= "viewport" content = "width = 320, initial-scale = 2.3, user-scalable = no">
<meta name= "viewport" content = "width = device-width">
<meta name = "viewport" content = "initial-scale = 1.0">
<meta name = "viewport" content = "initial-scale = 2.3, user-scalable = no">
<link rel="apple-touch-icon" href="touch-icon-iphone.png" />
<link rel="apple-touch-icon" sizes="72x72" href="touch-icon-ipad.png" />
<link rel="apple-touch-icon" sizes="114x114" href="touch-icon-iphone4.png" />
<link rel="apple-touch-startup-image" href="/startup.png">

<link rel="apple-touch-icon" type="image/png" href="/apple-touch-icon.png" />

HTML Link Tags

<link rel="alternate" type="application/rss+xml" title="RSS" href="http://feeds.feedburner.com/martini" />
<link rel="shortcut icon" type="image/ico" href="/favicon.ico" />
<link rel="fluid-icon" type="image/png" href="/fluid-icon.png" />
<link rel="me" type="text/html" href="http://google.com/profiles/thenextweb"/>
<link rel='shortlink' href='http://blog.unto.net/?p=353' />
<link rel='archives' title='May 2003' href='http://blog.unto.net/2003/05/' />
<link rel='index' title='DeWitt Clinton' href='http://blog.unto.net/' />
<link rel='start' title='Pattern Recognition 1' href='http://blog.unto.net/photos/pattern_recognition_1_about/' />
<link rel='prev' title='OpenSearch and OpenID?  A sure way to get my attention.' href='http://blog.unto.net/opensearch/opensearch-and-openid-a-sure-way-to-get-my-attention/' />
<link rel='next' title='Not blog' href='http://blog.unto.net/meta/not-blog/' />
<link rel="search" href="/search.xml" type="application/opensearchdescription+xml" title="Viatropos" />

<link rel="self" type="application/atom+xml" href="http://www.syfyportal.com/atomFeed.php?page=3"/>
<link rel="first" href="http://www.syfyportal.com/atomFeed.php"/>
<link rel="next" href="http://www.syfyportal.com/atomFeed.php?page=4"/>
<link rel="previous" href="http://www.syfyportal.com/atomFeed.php?page=2"/>
<link rel="last" href="http://www.syfyportal.com/atomFeed.php?page=147"/>

<link rel='shortlink' href='http://smallbiztrends.com/?p=43625' />
<link rel="canonical" href="http://smallbiztrends.com/2010/06/9-things-to-do-before-entering-social-media.html" />
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://smallbiztrends.com/xmlrpc.php?rsd" />
<link rel="pingback" href="http://smallbiztrends.com/xmlrpc.php" />
<link media="only screen and (max-device-width: 480px)" href="http://wordpress.org/style



<!-- Remove image toolbar from IE6 -->
<meta http-equiv="imagetoolbar" content="false">

<!-- Older methods of declaring a site to be fit for mobile use. -->
<meta name="HandheldFriendly" content="true"> 
<meta name="MobileOptimized" content="320">

<!-- For touch devices with IE11. See http://blogs.msdn.com/b/ie/archive/2013/07/31/ie11-touch-browsing-for-today-s-web-and-beyond.aspx  -->
<meta name="msapplication-tap-highlight" content="no">

<!--  Android DPI tag -->
<meta name="viewport" content="target-densitydpi=device-dpi">

<!-- Supposedly prevents your site from being set in an iframe -->
<meta http-equiv="window-target" content="_top">

<meta name="googlebot" content="noodp">
<meta name="creation_date" CONTENT="date">





http://hangaebal.blogspot.kr/2014/06/basic-html-meta-tags.html

https://gist.github.com/jaigouk/2002496


AndroidManifest.xml > Select Activity > Screen orientation ="portrait"



http://hangaebal.blogspot.kr/2014/06/android-screen-orientation-portrait.html


function gb_timeText(i) {

if (i < 10) i = '0' + i;

return i;

}


 1. context.xml 파일에 <Resource> 태그 추가
(=> Tomcat 서버가 해당 자원을 관리 하도록 설정)

<Resource name="jdbc/스키마명" auth="Container" type="javax.sql.DataSource"
 maxActive="10" maxIdle="3" maxWait="10000"
 username="사용자명" password="암호"
 driverClassName="com.mysql.jdbc.Driver"
 url="jdbc:mysql://도메인/스키마명"
 closeMethod="close"/>

name="JNDI 이름"
maxActive="꺼낼 수 있는 커넥션 최대 갯수 (기본값 8)"
maxIdle="유휴 커넥션 최대 갯수 (기본값 8)"
maxWait="최대 커넥션 발급 상태에서 추가 요청이 들어왔을때 기다리는 초. 이후 예외 Throw 

(기본값 -1 == 반납 될 때 까지 기다림)"



2. web.xml (Deloyment Descriptor == DD 파일)에 선언
(=> 설정 된 서버 자원을 해당 웹 앱에서 참조하도록)

<resource-ref>
 <res-ref-name>jdbc/스키마명</res-ref-name>
 <res-type>javax.sql.DataSource</res-type>
 <res-auth>Container</res-auth>
</resource-ref>



- Tomcat JDBC DataSource

- context xml web xml jdbc DataSource



http://hangaebal.blogspot.kr/2014/06/tomcat-server-jdbc-datasource.html

 - jstl.java.net에서 JSTL API와 Implementation 구현체 다운로드 필요

- 선언
<%@ taglib uri="라이브러리 URI" prefix="접두사" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

1. <c:out>
 - 출력문 만드는 태그
<c:out value="출력할 값" default="기본값" /> 또는
<c:out value="출력할 값">기본값"</c:out>
- value가 null이면 기본값 출력, 기본값도 없다면 빈 문자열 출력

2. <c:set>
 - 변수를 생성하거나 기존 값을 덮어 씀
<c:set var="변수명" value="값" scope="page|request|session|application"/> 또는
<c:set var="변수명" scope="page|request|session|application">값</c:set>
- scope 생략시 page(JspContext)에 저장 됨
- 클래스에 정의된 셋터 메서드의 리턴타입이 void 여야 함

3. <c:if>
<c:if test="조건" var="변수명" scope="스코프">
    컨텐츠
</c:if>

4. <c:choose>
<c:choose>
    <c:when test="조건(참 거짓 값)"></c:when>
    <c:when test="조건(참 거짓 값)"></c:when>

    ...
    <c:otherwise></c:otherwise>
</c:choose>

5. <c:forEach>
1) 리스트 반복
<c:forEach var="변수명" items="목록데이터" begin="시작인덱스" end="종료인덱스">
    ${변수명}
</c:forEach>

2) 특정 횟수 반복
<c:forEach var="변수명" begin="숫자" end="숫자">
    ${변수명}
</c:forEach>

6. <c:forTokens>
- 특정 구분자(delimiter)로 분리 및 반복
- & 구분자 로 파라미터 분리 등에 활용
<c:forTokens var="변수명" items="문자열" delims="구분자">
    ${변수명}
</c:forTokens>

7. <c:url>
<c:url var="변수명" value="주소">
    <c:param name="파라미터명" value="값">
    <c:param name="파라미터명" value="값">
    ...
</c:url>

8. <c:import>
1) 출력
<c:import url="주소"/>
2) 저장
<c:import var="변수명" url="주소"/>

9. <c:redirect>
<c:redirect url="주소"/>

10. <fmt:parseDate>
- 문자열을 패턴으로 분석하여 java.util.Date 객체를 생성
<fmt:parseDate var="변수명" value="2014-05-05" pattern="yyyy-MM-dd"/>

11. <fmt:formatDate>
<fmt:formatDate var="${가져올변수명}" pattern="yy/MM/dd" />


http://hangaebal.blogspot.kr/2014/06/jstl-jsp-standard-tag-library.html

+ Recent posts