my dog learned polymorphism*
The moose likes JSP and the fly likes JSP Exception - regarding Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP Exception - regarding" Watch "JSP Exception - regarding" New topic
Author

JSP Exception - regarding

Sub swamy
Ranch Hand

Joined: Oct 02, 2002
Posts: 121
I had a JSP application working fine in WAS 5.0 which uses J2EE 1.3. When the ear file was migrated to WAS 6.0 which uses J2EE 1.4 the following exception was obtained

"..URLEncode(java.lang.String,java.lang.String) in org.apache.jasper.runtime.JspRuntimeLibrary cannot be applied to (int,java.lang.String).."


for one of the pages. I would like to make sure that this is purely due to a move from J2EE 1.3 to 1.4. Please let me know if otherwise.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Originally posted by Subramanian Narayanaswamy:
... in org.apache.jasper.runtime.JspRuntimeLibrary ...


Looks like the problem is in Jasper.
Jasper is an open source JSP compiler (part of the Apache Tomcat project).
I assume this is what WAS is using internally for it's JSP compilation.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Sub swamy
Ranch Hand

Joined: Oct 02, 2002
Posts: 121
Right ...seems to be a problem with jasper. But why does this come in RAD6.0 and not WSAD? Is there any upgrade version that i need to use to that this error doesnt occur ?

I dont explicitly use jasper file in WSAD and RAD. However, the error comes only in RAD 6.0.

Would appreciate if someone could guide me on this.
Prashant Upasani
Greenhorn

Joined: Jan 09, 2008
Posts: 3
Hi,
I am facing similar issue with RAD6.0.1, any idea which fix pack I need to apply or how can I circumvent this? Thanks alot for all your help!

- Prashant
Prashant Upasani
Greenhorn

Joined: Jan 09, 2008
Posts: 3
This problem has been fixed. It was the issue with RAD. After applying all the necessary patches and optional features this problem disappeared.
thanks!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP Exception - regarding