This week's book giveaway is in the Java in General forum. We're giving away four copies of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 and have ishori Sharan & Adam L Davis on-line! See this thread for details.
I IE it is showing a blank page with same URL as chrome and firefox. But in chrome and firefox showing the page correctly. Is there any problem with IE browser session closing
FYI : My page taking nearly 30 sec to display next page in chrome and firefox
We are asking because we suspect that your server code (what you posted) is throwing an exception, and that different browsers are interpreting a combination of partial HTML code plus a 500-level error code differently. You never have to configure the browser to receive normal HTML responses, so it looks like you aren't sending a normal HTML response.
So there are several things you should be looking into. Does your server code throw an exception, or is the e-mail sent successfully? Are you sending any HTML at all as your response? What is the response code sent by your code: 200 for normal, or something else? You'll notice that all of this is at the server side; the browser should have nothing to do with it.
Let's clarify. You casually mentioned a "servlet" and we are therefore assuming that IE, Firefox, and so on are browsers which are sending the request to a server, which is where the servlet runs. Is that correct? Because you are continually going on about the browsers, as if this code is perhaps in an applet or something like that.