wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
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 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
Marshal

Joined: Jan 10, 2002
Posts: 60766
    
  65

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]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: any html file displays "null"
 
Similar Threads
Help! I am getting strange and unusual Eclipse Warnings
URL not getting through to servlet
any html file displays null
Cannot retrieve init parameter through JSP file
Sun Java System Application Server Platform Edition 8.0