• 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
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Problem running JSP with Resin

 
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
reply
    Bookmark Topic Watch Topic
  • New Topic