This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Netsacpe Browser with Orion Server Problem.

 
Karthik Santhanagopalan
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I have a problem with Orion server 1.5.2
I have a servlet, which is hosted in Orion Application Server and is used retrieve page content from applications running on varied application servers.
The servlet displays the HTML content properly in Internet Explorer 5.5 but not in Netscape 4.7.The Netscape browser shows the HTML tags, as it is .as shown below.
<html>
<head>
<body>This is a test page </body>
</head>
</html>

But the same servlet, when hosted in Tomcat 3.2.1, the servlet displays the content properly in both Internet Explorer and Netscape
Thanks
Karthik
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17620
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your sample code shows the body nested INSIDE the head. The proper form is:

A lot of browsers will display incorrect html. But the only way to reliably display the page is when the html is properly done. And sometimes not even then, alas.
 
Karthik Santhanagopalan
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry it was a typo error in my HTML it is perfect.it is just as u have shown but i get the error..
thanks
Karthik
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic