This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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
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
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