Results 1 to 7 of 7

Thread: JSP pages

  1. #1
    dalu is offline Member
    Join Date
    Mar 2011
    Posts
    23
    Rep Power
    0

    Default 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??

  2. #2
    Petr's Avatar
    Petr is offline Senior Member
    Join Date
    Jan 2011
    Location
    Russia
    Posts
    620
    Rep Power
    4

    Default

    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

  3. #3
    dalu is offline Member
    Join Date
    Mar 2011
    Posts
    23
    Rep Power
    0

    Default

    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??

  4. #4
    Petr's Avatar
    Petr is offline Senior Member
    Join Date
    Jan 2011
    Location
    Russia
    Posts
    620
    Rep Power
    4

    Default

    Where did you locate JSP page. Can you show path?
    Skype: petrarsentev
    http://TrackStudio.com

  5. #5
    dalu is offline Member
    Join Date
    Mar 2011
    Posts
    23
    Rep Power
    0

    Default

    I placed my JSP file in webapps folder inside the apache home folder.
    C:\apache-tomcat-7.0.12\webapps\Exmaple1.jsp

  6. #6
    Petr's Avatar
    Petr is offline Senior Member
    Join Date
    Jan 2011
    Location
    Russia
    Posts
    620
    Rep Power
    4

    Default

    You need locate your jsp in webapps/ROOT or create a separate web app module.
    Skype: petrarsentev
    http://TrackStudio.com

  7. #7
    dalu is offline Member
    Join Date
    Mar 2011
    Posts
    23
    Rep Power
    0

Similar Threads

  1. Image from pages
    By shakeel in forum Java 2D
    Replies: 1
    Last Post: 03-01-2011, 05:30 PM
  2. how to use Multiple GUI pages
    By jonwymore in forum SWT / JFace
    Replies: 3
    Last Post: 12-06-2010, 11:13 AM
  3. can i process two web pages at once?
    By saurabh208 in forum Java Servlet
    Replies: 2
    Last Post: 08-25-2010, 09:11 AM
  4. JSP pages with no caching
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-31-2008, 12:53 PM
  5. Getting all the pages from a domain
    By eva in forum New To Java
    Replies: 0
    Last Post: 12-25-2007, 11:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •