• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem running my first JSP using JRun

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to run my first JSP page with JRun,
The code is plain "hello world" in HTML, but I am getting internal server error 500 when I try to view the page. The same installation of JRun runs servlets w/o any problem, so there's is no problem with the installation.
Am I supposed to put these JSP pages in a specific directory of JRun like servlets? The documentation doesn't mention this. Anyone with JRun exp pls help. I am running JRun on Win2k
Thanks,
Ria
 
Ranch Hand
Posts: 1514
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am not sure about Jrun, for the servers that I have worked with, (Tomcat and Websphere) you just create a JSP folder within the servers directory and put your jsp's there. You may want to try that, if you haven't already.
 
Ranch Hand
Posts: 2596
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Ria Mathur:
I am trying to run my first JSP page with JRun,
The code is plain "hello world" in HTML, but I am getting internal server error 500 when I try to view the page. The same installation of JRun runs servlets w/o any problem, so there's is no problem with the installation.


Try setting the classpath which is in general-java config of JRun. It is *not* same as system classpath. Does it compile the jsp into a servlet?
If it doesn't help let us know what the entire error is with ur version of JRun u r using.


Am I supposed to put these JSP pages in a specific directory of JRun like servlets? The documentation doesn't mention this. Anyone with JRun exp pls help. I am running JRun on Win2k


NO!! You can put it in any folder as long as it's a virtual directory.
HTH,
- Manish
[ January 17, 2002: Message edited by: Manish Hatwalne ]
 
Ranch Hand
Posts: 236
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There must be a syntax error in your JSP file.
500 Internal server is thrown by the JSP engine when it cannot convert the JSP file into a servlet file.Check your code or put it here for more help.
 
Ria Mathur
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanx Manish,
It was the classpath in JRun, It couldn't get it to convert into a servlet, now the problem is solvd. Thanx a lot.
-Ria
reply
    Bookmark Topic Watch Topic
  • New Topic