Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem running JSP with Resin

 
Aniket Patil
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Aniket Patil
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic