jQuery in Action, 2nd edition*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes TAG class compilation error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "TAG class compilation error" Watch "TAG class compilation error" New topic

TAG class compilation error

Sanjay pts
Ranch Hand

Joined: Nov 07, 2000
Posts: 357
On HFS&J page:469,
I tried to compile AdvisorTagHandler.java, But give me error stated that
import javax.servlet.jsp.jspException not exist.

I set up calss path like

C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\Beer-v1\WEB-INF\classes\foo>set classpath=%classpath%C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\Beer-v1\WEB-INF\lib\jstl.jar;

Can anybody tell me is there anything wrong here.


Eat JAVA, Drink JAVA, Sleep Java
Sanjay pts
Ranch Hand

Joined: Nov 07, 2000
Posts: 357
Sorry i did forget set up classpath for jsp-api.jar;

Now it works fine
It is sorta covered in the JavaRanch Style Guide.
subject: TAG class compilation error
Similar Threads
compilation error
JavaBean from a servlet - still not resolved
The requested resource (/Beer-V1/) is not available
Package does not exist ?