aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Reply locked New topic
Author

any html file displays null

Hemang Thanki
Greenhorn

Joined: Jan 24, 2005
Posts: 18
Novice...
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
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Duplicate of:
http://www.coderanch.com/t/363726/Servlets/java/any-html-file-displays-null

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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: any html file displays null