Bookmark Topic Watch Topic
  • New Topic

any html file displays null

 
Hemang Thanki
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Report post to moderator
Novice...
I am using Tomcat 5.5. I tried servlet-examples. I tried to develop my first servlet and also developed html file. I renamed index.html which was there and put my index.html. Later, 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, it worked well.
I did not understand, why it is displaying null in case of html.

Can anybody help?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Report post to moderator
Duplicate of:
http://www.coderanch.com/t/363726/Servlets/java/any-html-file-displays-null

Please don't ask the same question in multiple forums.
This is called cross-posting and is considered rude.
It wastes the time of the people who are trying to help you.
 
    Bookmark Topic Watch Topic
  • New Topic