• 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

The value for the useBean class attribute connection.StringManipulation is invalid

 
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I run a simple jsp program. But the error occur while running my program.

In my program location :
webapps/myjsp/helloWorld.jsp

webapps/myjsp/classes/connection/StringManipulation.java
webapps/myjsp/classes/connection/StringManipulation.class

And
Still i am not create any web.xml file in myjsp/WEB-INF folder
Is must to create web.xml file to run the following code.
i don't know how to define the web.xml file.

helloWorld.jsp


StringManipulation.java




i am getting the following error




please help me .
Thanks in advance.
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The servlet specification outlines exactly how to create the deployment descriptor (web.xml).

There are also examples in the Tomcat download, and in the JSP FAQ on this site.
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
the "classes" directory must be under "WEB-INF".
 
Eswar Nec
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
@Christophe Verré :
Now i create the directory structure WEB-INF/classes/connetion/
Then my code is worked...
Thanks for your reply...

 
reply
    Bookmark Topic Watch Topic
  • New Topic