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
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: 61198
    
  66

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"