| Author |
Getting Prob to deploy new application under tomcat
|
RaviSingh Kumar
Ranch Hand
Joined: Sep 04, 2007
Posts: 52
|
|
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.
|
 |
paritosh ranjan
Ranch Hand
Joined: Aug 24, 2007
Posts: 62
|
|
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 ]
|
 |
 |
|
|
subject: Getting Prob to deploy new application under tomcat
|
|
|