• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

irritating behaviour of Tomcat 5

 
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 569
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Trying removing 'name' and 'type' from your <html:form>. They're deprecated.
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving to our Struts forum
 
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi

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


thanks
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic