aspose file tools*
The moose likes Servlets and the fly likes Page not displaying Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Page not displaying" Watch "Page not displaying" New topic
Author

Page not displaying

Michael Peter
Greenhorn

Joined: May 22, 2001
Posts: 3
I'm new to Java server pages, and and working under Tomcat 3.1 on Windows 2000.
I've got my page created and installed in <mywebapp>/jsp. When I hit the page in the browser, the page is processed, my beans fire, data pulled from the db, then...nothing. Blank page. When I view source, there is markup, and when I copy this markup to test.html and open that in my browswer, it shows up correctly. But as a .jsp it doesn't display.
Any hints? Thanks,

Mike
Mark Simms
Ranch Hand

Joined: Jul 20, 2000
Posts: 36
Make sure you are "listening" on the correct port....
which Tomcat defaults to : 8080
http://localhost:8080/myjsp.jsp

Mark
Michael Peter
Greenhorn

Joined: May 22, 2001
Posts: 3
Yup, it's hitting tomcat ok. And the html is displayed when I "view source" in the browser (IE 5.5). But the browser itself is not displaying the resultant page.
Thanks,

Mike
Andrew Shafer
Ranch Hand

Joined: Jan 19, 2001
Posts: 338

That is weird.
I would look for something strange in the source. As far as the browser is concerned the JSP is only as good as the html.
If you figure out what is happening let us know.


!_I_Know_Kung_Fu_!
Michael Peter
Greenhorn

Joined: May 22, 2001
Posts: 3
Originally posted by Andrew Shafer:

That is weird.

No doubt. And when I copy the HTML from the view source and save it as another file, *that* opens fine in the browser.
Gotta be something slightly off in my HTML/JSP that I'm
missing.
Mike
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Page not displaying