File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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: 63865

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] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: any html file displays "null"
It's not a secret anymore!