File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Problem for JSP beginner Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Problem for JSP beginner" Watch "Problem for JSP beginner" New topic

Problem for JSP beginner


Joined: Dec 28, 2000
Posts: 11
I am new to JSp .. i Have tomcat installed on my machine and I am using Linux. My question is where should I place my jsp code and what changes I need to make to the conf files in order to make it running. Detailed description would be more helpful to me.
Thanks in advance
Tony Alicea

Joined: Jan 30, 2000
Posts: 3226
Goldie: Please read the username policy of JavaRanch. In particular single name usernames are not permitted. Thanks.
The policy, which must be adhered to, is at
Thanks again.
Sheriff Tony

Tony Alicea
Senior Java Web Application Developer, SCPJ2, SCWCD
Ranch Hand

Joined: Apr 18, 2001
Posts: 46
You don't need to make any special changes if you have set the TOMCAT_HOME and JAVA_HOME. Now place all of your JSPs in a folder and in turn place that folder in the webapps directory in Tomcat directory. Restart the Tomcat and it will automatically have the context of the user defined directory. Now you are ready to go.

Vikas Aggarwal
Technology Associate

Vikas Aggarwal<BR>Technology Associate<BR>
I agree. Here's the link:
subject: Problem for JSP beginner
jQuery in Action, 3rd edition