This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Need for solution to run jsp file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Need for solution to run jsp file" Watch "Need for solution to run jsp file" New topic
Author

Need for solution to run jsp file

Sridhar Ranganthan
Ranch Hand

Joined: Mar 12, 2009
Posts: 35
HI,

I have created webapplication directory under webapps in tomcat

LIKE :-
webapps/sam1

sam1 contain a wel.jsp file and WEB-INF /classes,lib and xml files respectively.
When i run the jsp file iam getting request resource not available.

Env settings :-
PATH =C:\Program Files\Java\jdk1.6.0_12\bin;
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_12
CATALINA_HOME=C:\Program Files\Apache Software Foundation\Tomcat 5.5
CLASSPATH=.;C:\Program Files\Apache Software Foundation\Tomcat 5.5\common\lib\servlet.jar;C:\Program Files\Apache Software Foundation\Tomcat 5.5\common\lib\jsp-api.jar;

I tried(tired) with all these stuff not getting and even i have modified the server.xml like

context path placed under/inside the <HOST> tag
<Context path="/sam1" docBase="sam1" debug="0"
reloadable="true" />
not getting.......can any one help me please. What is going wrong with me.


Thanks& Regards,
Sri.R


Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2716
    
    6

Sridhar Ranganthan wrote:HI,

I have created webapplication directory under webapps in tomcat

LIKE :-
webapps/sam1

sam1 contain a wel.jsp file and WEB-INF /classes,lib and xml files respectively.
When i run the jsp file iam getting request resource not available.

What is your request URL?
And usually there is no need to edit the server.xml.


SCJP, SCWCD.
|Asking Good Questions|
Sridhar Ranganthan
Ranch Hand

Joined: Mar 12, 2009
Posts: 35
Hi,
Thanks for reply

URL :-

http://localhost:8080/sam1/wel.jsp


Regards,
Sridhar.R
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need for solution to run jsp file
 
Similar Threads
Servlet compiling problem in tomcat
What is the classpath for Tomcat 5.5?
Compilation problem in servlets
Package does not exist ?
What is the classpath for Tomcat 5.5?