| Author |
Which JSP version I'm using?
|
shlomy bentulilah
Ranch Hand
Joined: Oct 25, 2007
Posts: 37
|
|
Hi how can I know which JSP version I am using? I am working whih Weblogic 9.2 .. - Thanks. [ November 06, 2007: Message edited by: shlomy bentulilah ]
|
 |
Herman Schelti
Ranch Hand
Joined: Jul 17, 2006
Posts: 387
|
|
hi shlomy, just check your web.xml Herman
|
 |
shlomy bentulilah
Ranch Hand
Joined: Oct 25, 2007
Posts: 37
|
|
|
Thanks but I checked anf there is no such data ...
|
 |
Brent Sterling
Ranch Hand
Joined: Feb 08, 2006
Posts: 948
|
|
Sun might put out some good technology but whatever group is in charge of naming and numbering their release seems to be a bunch of idiots. I don't know about Weblogic, but I am sure somewhere there is a spec sheet that says what JSP version it supports. Looking at the DTD used by your web.xml should give you a hint about the Servlet version you are using. Everybody know that "web-app_2_3.dtd" means Servlet Specification 2.3, right? Based on the Servlet version you should be able to find out what version of JSP is supported. I think there is a one-to-on mapping between Servlet and JSP versions, but I could be wrong. My understanding is this: Servlet 2.3 > JSP 1.2 Servlet 2.4 > JSP 2.0 - Brent
|
 |
Raghunath Nandyala
Ranch Hand
Joined: Jan 24, 2006
Posts: 64
|
|
Late reply ,but worthy <div> Servlet Engine: <%= session.getServletContext().getMajorVersion() %>.<%= session.getServletContext().getMinorVersion() %> </div> <div> JSP Engine: <%= JspFactory.getDefaultFactory().getEngineInfo().getSpecificationVersion()%> </div> <div> Application Server: <%= application.getServerInfo()%> </div>
|
SCBCD,SCWCD,SCJP
|
 |
 |
|
|
subject: Which JSP version I'm using?
|
|
|