Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Page not displaying

 
Michael Peter
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 36
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Make sure you are "listening" on the correct port....
which Tomcat defaults to : 8080
http://localhost:8080/myjsp.jsp
 
Michael Peter
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 338
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.
 
Michael Peter
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic