aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 2711
    
    5

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Need for solution to run jsp file
 
Similar Threads
What is the classpath for Tomcat 5.5?
Package does not exist ?
Servlet compiling problem in tomcat
What is the classpath for Tomcat 5.5?
Compilation problem in servlets