wood burning stoves*
The moose likes Tomcat and the fly likes How to run JSP file in tomcat server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "How to run JSP file in tomcat server" Watch "How to run JSP file in tomcat server" New topic
Author

How to run JSP file in tomcat server

Mr.Satheesh Pandian
Greenhorn

Joined: May 30, 2006
Posts: 2
Hi, This is Satheesh.I am new to JSP technology and learning myself.So I need help from you people.I have a simple .jsp file.When I am running this file on tomcat server, where I can place this file?Is there any path setting to run .jsp file?.Please help me to find out the solution.

Thanks .

Regards,

Satheesh Pandian.J


Satheesh Pandian.J
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

If you want to access it directly, put it under your root.
For example, [TOMCAT]/webapps/myapp/hello.jsp

You can access it via http://localhost:8080/myapp/hello.jsp


[My Blog]
All roads lead to JavaRanch
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

The Tomcat site has a very nice tutorial.
See:
http://tomcat.apache.org/tomcat-5.5-doc/appdev/index.html


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to run JSP file in tomcat server
 
Similar Threads
Run As --> Run on server in Eclipse
No Launchable Artifact Could Be Found In The Selection
wanted to impement file uploading
running JSP file in Tomcat
Run JSP on Tomcat server