how to use jsp and tomcat
Please support our JSP advertiser: Programming Forums
![]() |
•
•
Posts: 1
Reputation:
Solved Threads: 0
i have to make a software on leave management system, using jsp and oracle. i have done the requirement spec. i know core java, but have never worked with jsp or tomcat..i have the jcreator editor. tell me how to run jsp file. and how to install tomcat. thr r too many options of keys on jakarta site. give me the exact link, if can..
The installation is pretty straightforward. It used to be a pain in the neck to set up, but now they made it easier to get up and running. Check out http://jakarta.apache.org/tomcat/ and for installation: http://jakarta.apache.org/tomcat/tom...doc/setup.html
These are two good places to get started with JSP http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/ and http://www.jsptut.com/
Another good place: http://www.jspin.com/
These are two good places to get started with JSP http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/ and http://www.jsptut.com/
Another good place: http://www.jspin.com/
_.:: my websites ::._
blog @ www.samaru.net * engi No Jutsu @ www.narutorp.net * portfolio @ shinylight.com
deviantART: inscissor
blog @ www.samaru.net * engi No Jutsu @ www.narutorp.net * portfolio @ shinylight.com
deviantART: inscissor
•
•
Posts: 1
Reputation:
Solved Threads: 0
•
•
•
•
Originally Posted by swati_soni
i have to make a software on leave management system, using jsp and oracle. i have done the requirement spec. i know core java, but have never worked with jsp or tomcat..i have the jcreator editor. tell me how to run jsp file. and how to install tomcat. thr r too many options of keys on jakarta site. give me the exact link, if can..
go to http://java.sun.com/j2se/1.4.2/download.html
then click on Download J2SE JRE to download j2se with java run time environment. Then download Apache Tomcat
•
•
Posts: 3
Reputation:
Solved Threads: 0
Hi,
Install the apache_tomcat.exe if you have in your local drives eg:c:\Tomcat5.0 ,then go to the webapps folder and create a folder of yourself and create the folder as I have shown c:\Tomcat5.0\webapps\Your Folder\WEB-INF\classes ,then place your source files in WEB-INF folder ,complile your src files to classes file,after that place the jsp and html and other image files outside the WEB-INF folder and configure web.xml to your folder,and copy that to your folder .....thats it now you can run your application by starting the server and Internet Explorer...
Install the apache_tomcat.exe if you have in your local drives eg:c:\Tomcat5.0 ,then go to the webapps folder and create a folder of yourself and create the folder as I have shown c:\Tomcat5.0\webapps\Your Folder\WEB-INF\classes ,then place your source files in WEB-INF folder ,complile your src files to classes file,after that place the jsp and html and other image files outside the WEB-INF folder and configure web.xml to your folder,and copy that to your folder .....thats it now you can run your application by starting the server and Internet Explorer...
this how the way ..
C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\ROOT
then put ur files u want .. but if u want to put it in folder u need to put the web-inf inside this folder ,, u will find this web-inf in the root folder just copy and paste it on the folder ..
when u will use tomcat.. there is 2 ways .. if u just put ur files in ROOT then u just write
http://localhost:8080(u have to check ur host num maybe its 8081)/(write the html )
eg. http://localhost:8080/dbinsert.html
the 2nd way if its in a folder and u named example the folder "me" the it will be like this
http://localhost:8080/me/dbinsert.html
C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\ROOT
then put ur files u want .. but if u want to put it in folder u need to put the web-inf inside this folder ,, u will find this web-inf in the root folder just copy and paste it on the folder ..
when u will use tomcat.. there is 2 ways .. if u just put ur files in ROOT then u just write
http://localhost:8080(u have to check ur host num maybe its 8081)/(write the html )
eg. http://localhost:8080/dbinsert.html
the 2nd way if its in a folder and u named example the folder "me" the it will be like this
http://localhost:8080/me/dbinsert.html
whatever happened to reading the documentation and some tutorials?
Every question here is answered in full in the Tomcat documentation and examples.
If you can't understand those there's no way you're going to understand having it explained by people here.
And if you can't be bothered to read those and so help yourself why should we bother to help you?
Every question here is answered in full in the Tomcat documentation and examples.
If you can't understand those there's no way you're going to understand having it explained by people here.
And if you can't be bothered to read those and so help yourself why should we bother to help you?
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
![]() |
Similar Threads
Other Threads in the JSP Forum
- Very Very Urgent...Need Code for Calculating Execution Time For Jsp Page (JSP)
- problem encountered while running a jsp on tomcat 5.5 (JSP)
- about jsp files (JSP)
- Date type problem JSP, mySQL (Java)
- debug jsp in tomcat 5.5.7 on windows (JSP)
- Help with 301 redirect code - jsp in url (JSP)
- Apache Tomcat and IIS 6 with JK2 (Windows Servers and IIS)
- Help:show dynamic JSP field value into PDF from (JSP)
- login (HTML and CSS)
Other Threads in the JSP Forum
- Previous Thread: Validation for the primary key in the database
- Next Thread: Multiple Select List Handling
•
•
•
•
Views: 33090 | Replies: 6 | Currently Viewing: 1 (0 members and 1 guests)






Linear Mode