Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

problem compiling jsp and servlet with Tomcat 4.1  RSS feed

 
Ryan G Johnson
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting errors in my JSP and its not making sense. so I decided to compile the transformed servlet by hand. My compiler cannot find the following:

httpJSPBase

import org.apache.jasper.runtime.*;

This is my classpath:

set CLASSPATH=c:\jdk\bin;c:\tomcat_4\common\lib\servlet.jar;c:\Tomcat_new\webapps\examples\WEB-INF\classes\rgaffuri;c:\Tomcat_new\webapps\examples\WEB-INF\classes;c:\tomcat_new\common\lib\tools.jar;c:\tomcat_new\common\lib;c:\jdk\lib\tools.jar

what do i need to add?
 
Rajendar Goud
Ranch Hand
Posts: 220
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
why dont u post ur jsp code, so that can check it out whats the mistakes you had done?


-raj
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rajendar,

JavaRanch is a community of people from all over the world, many of who are not native English speakers. While using abbreviations like "u" instead of spelling out "you" is convenient when text messaging your friends on a cell phone or in a chat room, it presents an extra challenge to those that are already struggling with English. Additionally, such shortcuts may confound automated translation tools that patrons of the Ranch may be making use of.

I would like to ask for your help in making the content of JavaRanch a little easier to read for everybody that visits here by not using such abbreviations.

thanks,
bear
JSP Forum Bartender
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!