Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Problem regarding jsp

  Asked By: Everett    Date: Oct 24    Category: Java    Views: 501

I am encountering problem in deploying jsp,
i run startserver utility on server and open browser
on client side, then i give ip address of server and
the intro page is shown with demonstrations, then if i
run any example of jsp, it throws exception called
'exception in thread main'.
what is the cause? and soln?



3 Answers Found

Answer #1    Answered By: Devlan Jones     Answered On: Oct 24

its probably cause you do not have the tools.jar file
in the classpath variable of the machine on which you
have the tomcat server  installation. You will need to
include the tools.jar file in the classpath to be able
to successfully execute JSP's.

Answer #2    Answered By: Heru Chalthoum     Answered On: Oct 24

please install the software again and set ur classpath and path properly

Answer #3    Answered By: Murad Bashara     Answered On: Oct 24

Or may be you can check about the java instalation in your computer. I think
that problem  can be happen if your CLASSPATH variable in Autoexec.bat in windows
or in folder etc/rc.d/rc.local in UNIX system not set correctly.

Didn't find what you were looking for? Find more on Problem regarding jsp Or get search suggestion and latest updates.