• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Which JSP version I'm using?

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Ranch Hand
Posts: 387
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi shlomy,

just check your web.xml

Herman
 
shlomy bentulilah
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks but I checked anf there is no such data ...
 
Ranch Hand
Posts: 948
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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>
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic