File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes any html file displays null Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Reply locked New topic

any html file displays null

Hemang Thanki

Joined: Jan 24, 2005
Posts: 18
I am using Tomcat 5.5. I tried servlet-examples. I tried to develop my first servlet and also developed html file. I renamed index.html which was there and put my index.html. Later, I renamed my index.html and put original index.html again. I restarted the server. But when tried to access any html file, it displays null on the page. Just "null" nothing else.
Moreover, I tried directly accessing servlet with URL, it worked well.
I did not understand, why it is displaying null in case of html.

Can anybody help?
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Duplicate of:

Please don't ask the same question in multiple forums.
This is called cross-posting and is considered rude.
It wastes the time of the people who are trying to help you.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: any html file displays null
It's not a secret anymore!