• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

irritating behaviour of Tomcat 5

 
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.
 
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.
 
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
 
Tell me how it all turns out. Here is a tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic