Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

irritating behaviour of Tomcat 5

 
Vijay Kumar
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 260
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 569
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Trying removing 'name' and 'type' from your <html:form>. They're deprecated.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
 
RoshaniG Gopal
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Vijay Kumar
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

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


thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic