Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP import error  RSS feed

 
Henry Zhi Lin
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

hi guys,

I am very new on JSP, I recently try to make my JSP code work but I got an error.

I had a Hello.class java class file in web/WEB-INF/classes/co folder. I imported and try to use in my test.jsp file. It shows the following error message.



my JSP code is like the follows


I think there maybe something wrong with the directory path setting. The jsp can't find the right class. But I have no idea how to correct it. Hope someone can help me.

By the way I am using eclipse. My workspace is in D:\workspace. The project is WebService1 there is a sub directory called web and contains META-INF and WEB-INF.
The following is my service.xml file.




thanks
 
Bauke Scholtz
Ranch Hand
Posts: 2458
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!