Do anyone know where is good place for learn JSP with Tomcat? I havesome trouble to make this work and don't know where do we keep jsp andclass file in. Which folder do we need to keep in with Tomcat.
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 tomcatbring up your web browser and enter the urlhttp://127.0.0.0:8080/index.htmlorhttp://localhost:8080/index.htmlorhttp://127.0.0.0:8080/yourjsppage.jsporhttp://localhost:8080/yourjsppage.jsp
Thanks I got it. Now I got the database from mysql on the screen butHow can we put each tables? IS there some tutorial about how to maketables on html with mysql? Sorry, if this is wrong place to ask aboutjsp.
Try these link on jsp and mysqk:http://www.devshed.com/Server_Side/Javahttp://www.devshed.com/Server_Side/MySQL
But what about subsequent JSPs accessed should they be in the ROOT or inJSPs?
One of the nicer explanations of everything can be found at:java.sun.com/.../index.htmlChapter 3 is all about TomcatChapter 15 is all about JSPsYou 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 ifyou were to create a new web application besides ROOT or make new foldersunder ROOT.