aspose file tools*
The moose likes Struts and the fly likes classpath setings for struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "classpath setings for struts" Watch "classpath setings for struts" New topic
Author

classpath setings for struts

Syed Khateeb
Greenhorn

Joined: Sep 30, 2006
Posts: 7
Hello,

I'm new to struts. Well i have started with a small struts application running on tomcat. i have set the classpath settings for Servlet & jsp-api.jar, and struts.jar. But still i'm finding an error while starting the application:
javax.servlet.ServletException: Cannot find ActionMappings or ActionFormBeans collection.
org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:798)
org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:506)

.


I have kept the struts-html.tld file at the right place, is it the problem with struts tag library?

The code in my application is the one from the book professional Jakarta Struts 1.1 http://www.wrox.com/WileyCDA/WroxTitle/productCd-0764544373,descCd-download_code.html

can somebody suggest what could be the problem, is there any other classpath settings required?

Thanks & Regards.
RoshaniG Gopal
Ranch Hand

Joined: May 15, 2006
Posts: 180
Hi Abu,
Please see the following link for the details on the problem.
http://www.geocities.com/Colosseum/Field/7217/SW/struts/errors.html
It also contains a link to a the problem faced by a fellow rancher.
Do let know if you still face problems.
Regards,
Roshani


Regards,<br />Roshani
Syed Khateeb
Greenhorn

Joined: Sep 30, 2006
Posts: 7
Thank you Roshani,

The link was helpful to find the problem i had, And now my sample aplication is working. Indeed it has very useful common error handling information.

Thanks & regards.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: classpath setings for struts