Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error while farwarding link to next page.

 
Harish Maridi
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am developing application with tomcat project. I am using struts as framework. I am trying to do simple operation, farward page to another page by using link tag. I am providing the code that I used.


I have struts jar in WEB-INF/lib .
I have all tlds in WEB-INF.
the stack trace I am getting is


Any help and suggestions are welcome.
Thanks in advance
-mark
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by mark watson:
I have all tlds in WEB-INF.

If you're using version 1.3 of Struts, This may be the problem. With Struts 1.3.8, the TLDs are included in the struts-taglib-1.3.8.jar and should not be included in the WEB_INF directory. They should also be referenced by their namespace, rather than their physical location. Example:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic