• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Shows source code while testing JSP with Netscape 6.10

 
Meghna Kurup
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a problem here. I am in the process of testing a web application. As part of it I am testing the JSP pages in various versions of Netscape & IE.
While testing the page in Netscape 6.1, it was found that during submitting the form, instead of loading the page, the source code is randomly displayed on the browser. At times it works fine by displaying the page properly.
I had inserted the following code in JSP as suggested by someone.
<%@ page language="java" contentType="text/html" %>
Still it gives the same problem. Can anyone suggest what the problem is & what could be done by to avoid this.
Thanks in advance for your advice
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64717
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By "source code" do you mean HTML markup, or the Java in the JSP?
One of the first things I'd do to diagnose this is to use View Source to see what's being sent to the browser and in what way it's screwed up enough to confuse the browser.
hth,
bear
 
Meghna Kurup
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ofcourse, the source code meant the HTML codes that also consist of the source codes of Javascript files included in the JSP.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64717
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In that case then using View Source to see what is screwed up with the formatting of the response is definitely your first step.
From there you should be able to gather clues as to why the browser is tripping up.
hth,
bear
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic