Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem using JWSDP - Tomcat 4

 
Sam Furtado
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys !!!
I've created a bean "ApplnBean" & packaged it into "beanpak".
Also specified the following import stmt in the ApplnReg.jsp :
<%@ page import="beanpak.ApplnBean" %>
The directory structure is as follows:
c:\jwsdp\webapps\WebAppln\jsp\ApplnReg.jsp
c:\jwsdp\webapps\WebAppln\WEB-INF\web.xml
c:\jwsdp\webapps\WebAppln\WEB-INF\classes\beanpak\ApplBean.class
However, even then the following runtime exception was thrown :-
Generated servlet error:
C:\jwsdp\work\Standard Engine\localhost\WebAppln\ApplnReg$jsp.java:59: Class org.apache.jsp.ApplnBean not found.

The same code works perfectly with Tomcat 3.2.1.
What should be done to rectify it ??? Pls let me know ...
Thanks Guys !!!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic