File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Java Products and Servers and the fly likes Problem running JSP with Resin Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Problem running JSP with Resin" Watch "Problem running JSP with Resin" New topic
Author

Problem running JSP with Resin

Aniket Patil
Ranch Hand

Joined: May 02, 2006
Posts: 218
I am using Resin-pro-3.1.0. I have a servlet that sets a request attribute and forwards to a JSP. The JSP accesses the attribute set by the servlet and prints it using EL.

The Servlet


The JSP

I get the error
/result.jsp:6: jar:file:/D:/resin-pro-3.1.0/lib/resin.jar!/com/caucho/jstl/core.tld:1:
java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava/lang/String;ZLjava/lang/String;ZZLjava/lang/String;ZZLjava/lang/String;Ljava/lang/String V

If i stop accessing the attributes, then the template text is printed fine.

What could be the problem?
[ March 13, 2007: Message edited by: Aniket Patil ]

SCJP 5.0 | SCWCD 1.4 <br /> <br />If you don't know where you are going, any road will take you there!
Aniket Patil
Ranch Hand

Joined: May 02, 2006
Posts: 218
Well, i thought about using srciptlets in place of the EL and it worked fine.

Does that mean i have to do something more (apart from extracting the .zip file for Resin) to make EL work?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem running JSP with Resin