Link to home
Start Free TrialLog in
Avatar of CharleneS77
CharleneS77Flag for United States of America

asked on

How do I deploy and run this JSP Web Application locally?

I am using Tomcat 6.0 through port 8282.  I am able to deploy and run other JSP Web Applications without errors.  The attachment is located at I:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\ on my local machine.  When I attempt to deploy and run the attached JSP Web Application locally (http://localhost:8282/GasCalculator2/gasCalculator2.jsp), I get the error below.  What is causing this error?  Thank you in advance!  
HTTP Status 500 - 
 
--------------------------------------------------------------------------------
 
type Exception report
 
message 
 
description The server encountered an internal error () that prevented it from fulfilling this request.
 
exception 
 
org.apache.jasper.JasperException: /gasCalculator2.jsp(43,18) File "/currentTime.jspf" not found

Open in new window

GasCalculator2.zip
ASKER CERTIFIED SOLUTION
Avatar of rrz
rrz
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of CharleneS77

ASKER

>>>>  When using a relative path the file currentTime.jspf should be in the same folder as the file gasCalculator2.jsp.

That did it thank you!


>>>>Why do you have the  extension txt on your JSPs and java source file ?

So I could upload the zipped file here.  The other extensions are not supported.
Thank you for the fast and accurate response!