File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes struts 1.2 begining Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts 1.2 begining" Watch "struts 1.2 begining" New topic

struts 1.2 begining

Jomy George
Ranch Hand

Joined: Jan 13, 2011
Posts: 68
hi friends ,

i am new to struts 1.2, and using struts complete reference to learn it.
i completed an exersise in this book and it produce one error.

could anyone identify the reason for that?

my error is


org.apache.jasper.JasperException: An exception occurred processing JSP page /search.jsp at line 18

16: <html:errors/>
18: <html:form action="/search">
20: <table>
21: <tr>

thanks in advance.
jazz pal

Joined: Mar 15, 2011
Posts: 7
The issue from what I understand is coming because the .tld files cannot be located.
Confirm 2 things in your code
1. Is there a tag lib mentioned on the top of your jsp page?
2. Is there a web.xml entry for the same tag lib?

If there are present then share the exact entry for both your jsp and web.xml and we can look as to what's wrong with it.
I agree. Here's the link:
subject: struts 1.2 begining
It's not a secret anymore!