wood burning stoves 2.0*
The moose likes Struts and the fly likes irritating behaviour of Tomcat 5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "irritating behaviour of Tomcat 5" Watch "irritating behaviour of Tomcat 5" New topic
Author

irritating behaviour of Tomcat 5

Vijay Kumar
Ranch Hand

Joined: Jul 24, 2003
Posts: 260
hi all
I don't know whts the wrong with this Tomcat .I am executing a simple jsp file using struts.Firstally t is not loading and second one is that ,there is no property "name" but it is showing
org.apache.jasper.JasperException: /vccForm.jsp(8,3) Unable to find setter method for attribute: name

here is my jsp file


Thanks
Vijay Kumar
Ranch Hand

Joined: Jul 24, 2003
Posts: 260
Some time its gove this error
org.apache.jasper.JasperException: Unable to load class for JSP
although I have deleted all the subdirectory under work directory. but getting same error.
Alec Lee
Ranch Hand

Joined: Jan 28, 2004
Posts: 569
Trying removing 'name' and 'type' from your <html:form>. They're deprecated.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Moving to our Struts forum


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
RoshaniG Gopal
Ranch Hand

Joined: May 15, 2006
Posts: 180
Originally posted by Vijay Kumar:
org.apache.jasper.JasperException: Unable to load class for JSP

Hi Vijay,
The above error can arise if the struts-config.xml has not been mapped correctly or if struts-config.xml itself is not formed correctly.
I also do and suggest that before starting the server the XML files(web.xml and struts-config.xml) should be opened in a browser window and checked.
Please post the code for your Action Form and the struts-config for the other exception you are facing.
Regards,
Roshani
[ October 09, 2006: Message edited by: RoshaniG Gopal ]

Regards,<br />Roshani
Vijay Kumar
Ranch Hand

Joined: Jul 24, 2003
Posts: 260
hi

I removed 'name' and 'type' from your <html:form> and its working fine


thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: irritating behaviour of Tomcat 5