This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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: 63350
    
  70

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: http://aspose.com/file-tools
 
subject: any html file displays "null"
 
It's not a secret anymore!