aspose file tools*
The moose likes Servlets and the fly likes any html file displays Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
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 to POST data on servlet. I renamed index.html which was there by default and put my index.html.
Later,I thought that I shouldnt have done it, 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 and ?param=value, it worked well.
I did not understand, why it is displaying null in case of html.

Can anybody help?
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60050

Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: any html file displays "null"
Similar Threads
any html file displays null
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