Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!
  • 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 ...
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

JSP import error  RSS feed

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.

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