Results 1 to 3 of 3
  1. #1
    ssuman02 is offline Member
    Join Date
    Aug 2013
    Rep Power

    Default run jsp page as a webpage

    i have a jsp code and that page is running in my system but not running in the website.
    i am getting the whole code when type that url in place of like as a webpage
    if anybody know then help me

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Washington, DC
    Rep Power

    Default Re: run jsp page as a webpage

    What kind of container is your jsp in? It needs to be in something like tomcat.
    How to Ask Questions the Smart Way
    Static Void Games - GameDev tutorials, free Java and JavaScript hosting!
    Static Void Games forum - Come say hello!

  3. #3
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Rep Power

    Default Re: run jsp page as a webpage

    You'd also get that behavior if you just open the JSP as a text document in the browser. So in stead of going through the server like http://localhost:8080/mysuperduperjsp.jsp, you'd do something silly like opening c:\sillygoose\projects\mysuperduperproject\webpage s\mysuperduperjsp.jsp :)
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

Similar Threads

  1. WebPage to XML
    By sandeep424 in forum Web Frameworks
    Replies: 0
    Last Post: 06-15-2012, 07:23 PM
  2. Replies: 0
    Last Post: 08-23-2011, 01:38 PM
  3. Go back to previous page using session in JSP page
    By gopikarikati009 in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 06-23-2011, 11:30 AM
  4. How to Export web page(jsp page) to excel using jsp or servlets or javascript
    By techsing14 in forum JavaServer Pages (JSP) and JSTL
    Replies: 3
    Last Post: 05-25-2011, 12:08 PM
  5. setting the view to a jsp page from a self refeshing page
    By deepal_205 in forum JavaServer Pages (JSP) and JSTL
    Replies: 3
    Last Post: 08-15-2008, 05:41 PM

Posting Permissions

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