JUST install maven integration!!!!
/*--------------------------------------
* 이미지 팝업 새창 보기
* -------------------------------------*/
//첨부파일 이미지 새창
function popImg(img){
var imgTmp = new Image();
imgTmp.src = img;
var imgWin = window.open("","_blank","width="+imgTmp.width+",height="+imgTmp.height+",status=no,toolbar=no,scrollbars=no,resizable=no");
imgWin.document.write("<html><title>미리보기</title>"
+"<body topmargin=0 leftmargin=0 marginheight=0 marginwidth=0>"
+"<a href='javascript:self.close()'><img src='"+img+"' border=0/></a>"
+"</body></html>");
}
JSP is a Java technology that aims at helping developers to dynamically generate web pages that are based on HTML, XML or any different types of documents. The first stable version of JSP specification was JSP 1.2 and then JSP 2.0, JSP 2.1 got released. Now the latest version of JSP is JSP 2.2 specification.
This new version of JSP namely JSP 2.2 is a maintenance release of JSR 245. Earlier JSP 2.1 was released under the specification JSR 245 as part of the Java EE 5. For this JSP 2.1, a maintenance release called JSP 2.2 is released on 10th December 2009. This is the latest release of JSP.
Though JSP 2.2 is the latest version update of JSP specification, the JSP 2.1 is the widely used and highly recognized version of JSP. JSP 2.1 is equipped with an Expression Language that gives scope for developers for the velocity style template creation. JSP 2.1 has many other enhancements and bug fixes when compared to JSP 2.0 and other earlier versions.
위에 글을 보고 java 버전과 jsp가 상관이 있는가 싶었는데...
아래 글을 보니 web.xml에서 편집하는 거에 따라서 달라지는 가보다..
복사하니 깨지네 아래가 원문
http://stackoverflow.com/questions/17388175/how-to-know-which-servlet-and-jsp-version-i-am-using
1
1
You can get the details programatically using ServletContext #getMajorVersion() and #getMinorVersion(). For knowing the JSP version corresponding to the Servlet, you can get details from this Tomcat page Below is the summary,
| |||||||||
|
The version is declared in the web.xml file - compare http://wiki.metawerx.net/wiki/Web.xml | |||
|
You can easily check the JSP,SERVER and SERVLET version. Add the following code in your jsp page after that run using any IDE Tools.
| |||
|
I got it. According to Vikas V ,I am using Servlet 2.3 uses JSP 1.2 version | |||
|