This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need for solution to run jsp file

 
Sridhar Ranganthan
Ranch Hand
Posts: 36
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2851
10
Fedora Firefox Browser Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Sridhar Ranganthan
Ranch Hand
Posts: 36
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic