jQuery in Action, 2nd edition*
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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

How to run JSP file in tomcat server

Mr.Satheesh Pandian

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 .


Satheesh Pandian.J

Satheesh Pandian.J
Christophe Verré

Joined: Nov 24, 2005
Posts: 14687

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

Joined: Dec 11, 2004
Posts: 13410

The Tomcat site has a very nice tutorial.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Consider Paul's rocket mass heater.
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