• 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

Getting Prob to deploy new application under tomcat

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I had install the tomcat and under Tomcat home directory, i had made a new folder name Test under webapps folder. Under that i had put all the jsp file along with WEB-INF folder.

Start the tomcat service and open the tomcat admin page .
Test folder is shown there but when i click on that it is giving error
'HTTP Status 404 - /Ravi/'

Let me know if any thing should be change in web.xml under WEB-INF folder.
 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is no need to change web.xml for a jsp file(except for some cases when you are mapping its name to a servlet like this
<servlet-name>InitTestServlet</servlet-name>
<jsp-file>/initTest.jsp</jsp-file>)

Keep all the jsp files inside Test directory directly,start tomcat,then in the url type
http://localhost:8080/Test/yourjsppage.jsp

or make a index.jsp and keep it inside Test directory,start tomcat,
then by merely typing
http://localhost:8080/Test
index.jsp file will run
[ October 10, 2007: Message edited by: paritosh ranjan ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic