This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Tomcat and the fly likes How to run JSP file in tomcat server Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Tomcat
Reply 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: 14672
    
  11

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How to run JSP file in tomcat server
 
Similar Threads
wanted to impement file uploading
Run As --> Run on server in Eclipse
Run JSP on Tomcat server
No Launchable Artifact Could Be Found In The Selection
running JSP file in Tomcat