Results 1 to 7 of 7
Thread: JSP pages
- 04-29-2011, 10:41 AM #1
Member
- Join Date
- Mar 2011
- Posts
- 23
- Rep Power
- 0
JSP pages
I am very new to JSP . Inorder to test my example jsp pages, I need to install apache in my system. Thats when I saw a folder named apache inside an existing folder of an already installed application framework . Does that mean that I have already installed it in my system?? Inside the apache folder, there is a tomcat folder and inside the folder there are usual folders like bin,conf,logs,lib etc. The bin folder has bootstrap.jar,cataline.bat,commons-loggin-api.jar,setclasspath.jar, tomcat-juli.jar and version.bat. Do i need to install apache inorder to run my jsp pages??Or this existing folder is enough? If enough, How to use it to run my JSP pages? Can anybody help me??
- 04-29-2011, 10:50 AM #2
for develop aim you just can unpack tomcat distributive and run it.
for run you need set up JAVA_HOME environment. then move in folder tomcat/bin and run startup.but.
I advice you read Head First JSP and Servlet, There are more detail elaborate it.Skype: petrarsentev
http://TrackStudio.com
- 04-29-2011, 12:43 PM #3
Member
- Join Date
- Mar 2011
- Posts
- 23
- Rep Power
- 0
Thanks for that reply Petr..I installed,set the variables and started the server. It is getting started alright. But I cant run my jsp pages . I created a sample page and put the file in webaps folder. Tried to access the file by giving the foolwing in the URL :http://localhost/checkresult.jsp btut page not found is shown.I know something is missing..But what??
- 04-29-2011, 12:56 PM #4
- 04-29-2011, 12:57 PM #5
Member
- Join Date
- Mar 2011
- Posts
- 23
- Rep Power
- 0
I placed my JSP file in webapps folder inside the apache home folder.
C:\apache-tomcat-7.0.12\webapps\Exmaple1.jsp
- 04-29-2011, 01:08 PM #6
You need locate your jsp in webapps/ROOT or create a separate web app module.
Skype: petrarsentev
http://TrackStudio.com
- 04-29-2011, 01:20 PM #7
Member
- Join Date
- Mar 2011
- Posts
- 23
- Rep Power
- 0
Similar Threads
-
Image from pages
By shakeel in forum Java 2DReplies: 1Last Post: 03-01-2011, 05:30 PM -
how to use Multiple GUI pages
By jonwymore in forum SWT / JFaceReplies: 3Last Post: 12-06-2010, 11:13 AM -
can i process two web pages at once?
By saurabh208 in forum Java ServletReplies: 2Last Post: 08-25-2010, 09:11 AM -
JSP pages with no caching
By Java Tip in forum Java TipReplies: 0Last Post: 01-31-2008, 12:53 PM -
Getting all the pages from a domain
By eva in forum New To JavaReplies: 0Last Post: 12-25-2007, 11:41 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks