JSP pages not showing up

Reply

Join Date: Jun 2005
Posts: 9
Reputation: keibi is an unknown quantity at this point 
Solved Threads: 0
keibi keibi is offline Offline
Newbie Poster

JSP pages not showing up

 
0
  #1
Jun 20th, 2005
Hi,

This is one of those dumb newbie questions, I'm afraid. I'm trying to learn Servlets/JSP by making a small application that allows you to register yourself as a user. I'm using the latest tomcat version for this, and I'm using a linux environment.

For some reason, when I try to access any JSP page, I just get an empty page with the source code "<html><body></body></html>". No error message, nothing. If I rename the page to .htm (the first page is just a form anyway), it shows up. I tried deploying other jsp applications in the servlet container, and that worked. I even tried copying it from the example webapp to my webapp, but even then it didn't work.

I've heard that jsp pages can be precompiled, but AFAIK they don't have to be - they should get compiled the first time they are requested anyway, right?

I've been all over the net for this, and I'm really stuck, so I hope someone will be able to help me. Any suggestions would be most appriciated.
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 274
Reputation: mmiikkee12 is an unknown quantity at this point 
Solved Threads: 5
mmiikkee12's Avatar
mmiikkee12 mmiikkee12 is offline Offline
Posting Whiz in Training

Re: JSP pages not showing up

 
0
  #2
Jul 9th, 2005
Try waiting a few seconds. They take a few seconds to compile, but only the first time or after you change it.
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 9
Reputation: keibi is an unknown quantity at this point 
Solved Threads: 0
keibi keibi is offline Offline
Newbie Poster

Re: JSP pages not showing up

 
0
  #3
Jul 10th, 2005
Thanks for your reply. I already found out what was wrong, though - I had jasper-runtime.jar in my lib-catalogue, and that caused, for some reason, the jsp pages to show up blank. Weird, but at least I found out.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the JSP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC