Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

compilation error - Custom Tag

 
Shalu Ban
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am getting this error : package javax.servlet.JSP does not exist when i compile a Custom tag Java file. Even though i have included the classpath of servlet.jar in the classpath while compiling. The strange thing is that other files in which i had imported these packages were compiling fine until yesterday. Bugs me! Any ideas?
my command looks like this:
javac -classpath %Classpath%;"D:\Program Files\Apache Tomcat 4.0\common\lib\servlet.jar" "D:\Program Files\Apache Tomcat 4.0\webapps\examples\WEB-INF\classes\com\tag\GDA.java"
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65542
110
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

This is Java. Case matters.
 
Shalu Ban
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oops!! Thanks for reminding!
 
Live a little! The night is young! And we have umbrellas in our drinks! This umbrella has a tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!