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

    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
    Location
    Washington, DC
    Posts
    3,969
    Rep Power
    8

    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 - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    gimbal2 is online now Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,054
    Rep Power
    6

    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, 06:23 PM
  2. Replies: 0
    Last Post: 08-23-2011, 12: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, 10: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, 11:08 AM
  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, 04: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
  •