aspose file tools*
The moose likes Websphere and the fly likes How to enable JSP 2.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "How to enable JSP 2.0 " Watch "How to enable JSP 2.0 " New topic
Author

How to enable JSP 2.0

Vladas Razas
Ranch Hand

Joined: Dec 02, 2003
Posts: 385
Hi,

I am working on web application that is using JSP 1.2. Everything I place there from JSP 2.0 does not work. Application runs on IBM Websphere 6. What I have to do to enable JSP 2.0.

Thanks,
Vladas
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
You need to check if your server supports JSP 2.0 or not.
Vladas Razas
Ranch Hand

Joined: Dec 02, 2003
Posts: 385
Yes it does, according to the web. And if I create new application it works fine and uses JSP 2.0. Though on the old application JSP 2.0 does not work.
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321

did you get any error, any exception ?


Saifuddin..
[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
Vladas Razas
Ranch Hand

Joined: Dec 02, 2003
Posts: 385
<c:set var="address" value="myaddress"/>
<c ut value="${address}"/>
<input type="text" name="test" value="${address}">

prints

myaddress and input field with value ${address} (not myaddress}
Kurtcebe Eroglu
Ranch Hand

Joined: Jan 30, 2007
Posts: 30
Hi Vladas,

Yes it does, according to the web. And if I create new application it works fine and uses JSP 2.0. Though on the old application JSP 2.0 does not work.


So it seems the problem is not the container. Did you compare deployment descriptors (web.xml) of the two applications above (DOCTYPE declerations especially)? May be you need to increase the declared spec version in your old application (2.4).

regards
Kurtcebe Eroglu
Vladas Razas
Ranch Hand

Joined: Dec 02, 2003
Posts: 385
I found I need to run project migration wizard to upgrade application from J2EE 1.3 to J2EE 1.4.

Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to enable JSP 2.0