• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat 4.11 doubt

 
Manoj Zachariah
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have three jsps which basically take 3 values and print it
getName.jsp

saveName.jsp

and nexPage.jsp

the java class is UserData.class

i've put the class in C:\Tomcat41\webapps\examples\WEB-INF\classes
when i run the jsp's i get the error when i press SUBMIT

i'm a beginner here, kindly help!
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65216
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The class UserData needs to be in a package.
 
Manoj Zachariah
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i've created a directory userdata and used package in the UserData.it still gives me the same error.

 
Manoj Zachariah
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
its works now, thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic