Re: JSP - mozilla and firefox problem.



Sean wrote:
Hi all,

I have made a web application with JSPs. It seems to work fine with IE.
However, with Mozilla and Firefox, it displays the HTML source
generated by JSP instead of actually showing the HTML page for that
source.

I'm stumped because I haven't found any other msgs on forums with
someone experiencing the same problem. Any help would be appreciated. I
need to fix this urgently.

Thanks

regards
Duke

P.S. It was suggested by someone on another forum that I should check
</head> tag. I have already done that and the HTML code is error free
(or so it seems).

You should show your JSP code, especially start of it.
May be you don't show that this is text/html ???
I am working with JSP for FireFox all the time - it works OK. But my JSP pages start like this:

<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>

May be you skipped such headers?
.



Relevant Pages