• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Eswar Nec
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • 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.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65824
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • 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.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Likes 1
  • Mark post as helpful
  • send pies
  • 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
  • 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...

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!