wood burning stoves 2.0*
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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: any html file displays null
 
Similar Threads
Sun Java System Application Server Platform Edition 8.0
Cannot retrieve init parameter through JSP file
URL not getting through to servlet
Help! I am getting strange and unusual Eclipse Warnings
any html file displays "null"