Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Help on JSP tutorial

  Asked By: Anpu    Date: Jul 29    Category: Java    Views: 1118

Do anyone know where is good place for learn JSP with Tomcat? I have
some trouble to make this work and don't know where do we keep jsp and
class file in. Which folder do we need to keep in with Tomcat.



5 Answers Found

Answer #1    Answered By: Debbie Reyes     Answered On: Jul 29

You put all the jsp  pages in the same place  you put html web pages.

The default tomcat  sets up a ROOT directory under webapps.

To start with try putting your initial jsp pages in the ROOT directory,
start tomcat
bring up your web browser and enter the url





Answer #2    Answered By: Leroy Schmidt     Answered On: Jul 29

Thanks I got it. Now I got the database from mysql on the screen but
How can we put each tables? IS there some tutorial  about how to make
tables on html with mysql? Sorry, if this is wrong place  to ask about

Answer #3    Answered By: Edwin Chavez     Answered On: Jul 29
Answer #4    Answered By: Burk Martin     Answered On: Jul 29

But what about subsequent JSPs accessed should they be in the ROOT or in

Answer #5    Answered By: Hubert Taylor     Answered On: Jul 29

One of the nicer explanations of everything can be found at:

Chapter 3 is all about Tomcat
Chapter 15 is all about JSPs

You can put a jsp  anywhere you would put a regular web page.

You can create a folder  under your tomcat  webapps folder as would occur if
you were to create a new web application besides ROOT or make new folders
under ROOT.

Didn't find what you were looking for? Find more on Help on JSP tutorial Or get search suggestion and latest updates.