how can i run my jsp from tomcat without writing any xml files?
i want to run jsp from tomcat. but i don’t how to do it without writing any additional xml files. can u tell me how to do it or where can i find it. it will be appreciate if u tell me how to do this for servlets also. than q
For running only jsps you dont need to write any xml file.
Just do the following.
1.Place all your jsp files in one folder. for example myProject.
2.Just copy and paste the web-inf folder into myProject from C:\Program Files\Apache Group\Tomcat 4.1\webapps\ROOT
3.Now place this myProject folder in
C:\Program Files\Apache Group\Tomcat 4.1\webapps\
4.Now start tomcat and open a browser. use the below url: http://localhost:8080/myProject/programname.jsp
try
You could be able to just add JSPs to an existing web application defined in your current Tomcat configuration files. Depends on how it’s configured already.