| | |
JSP pages not showing up
Please support our JSP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jun 2005
Posts: 9
Reputation:
Solved Threads: 0
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.
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.
![]() |
Similar Threads
- Can't run JSP in Browser (JSP)
- Dynamic web pages? Which will exist? (IT Professionals' Lounge)
- WEIRD! php pages do not load unless i hit refresh (PHP)
- Can't run JSP in Browser (Web Browsers)
Other Threads in the JSP Forum
- Previous Thread: Java Server Faces help!!!
- Next Thread: best design
| Thread Tools | Search this Thread |
apache backbutton combobox connection database development directorystructure dynamicpagetitles eclipse frames glassfish imagetodatabse imageupload internet java javaee javascript jsf jsp jsppagetitles levels mvc2 mvcmodel2 network parameters passing ping printinserverinsteadofclient redirect request.getparameter response servlet servletdopost()readxml sessions software ssl state_saving_method stocks sun tomcat tutorial video web





