• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Need for solution to run jsp file

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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


 
Bartender
Posts: 2856
10
Firefox Browser Fedora Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Thanks for reply

URL :-

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


Regards,
Sridhar.R
 
reply
    Bookmark Topic Watch Topic
  • New Topic