Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

TAG class compilation error

 
Sanjay pts
Ranch Hand
Posts: 357
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
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.

sanjay
 
Sanjay pts
Ranch Hand
Posts: 357
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry i did forget set up classpath for jsp-api.jar;

Now it works fine
Thanx
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic