Hi,
Have a page First.jsp
When a user comes to http://my.domain.com/First.jsp ... I would like to
redirect him or her to https://my.domain.com/First.jsp.
How do I do this on my jsp ? I tried <%
request.redirect("https://my.domain.com/First.jsp";) %> , but i get an
exception saying
cannot res
I meant response.redirect(path)
On Jan 12, 2004, at 5:11 PM, Mufaddal Khumri wrote:
Hi,
Have a page First.jsp
When a user comes to http://my.domain.com/First.jsp ... I would like
to redirect him or her to https://my.domain.com/First.jsp.
How do I do this on my jsp ? I tried <%
request.redire
I do this:
if (! request.isSecure()) {
response.sendRedirect("https://www.yourdomain.org/your.jsp?";);
}
dave
On Mon, 2004-01-12 at 19:11, Mufaddal Khumri wrote:
> Hi,
>
> Have a page First.jsp
>
> When a user comes to http://my.domain.com/First.jsp ... I would like to
> redirect him or
sorry, forget the ? after the url, that is:
if (! request.isSecure()) {
response.sendRedirect("https://www.yourdomain.org/your.jsp";);
}
On Mon, 2004-01-12 at 23:13, David Evans wrote:
> I do this:
>
> if (! request.isSecure()) {
>response.sendRedirect("https://www.yourdomain.org/your
ife a little easier.
-Original Message-
From: ext Mufaddal Khumri [mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 6:12 PM
To: Tomcat Users List
Subject: http to https how ?
Hi,
Have a page First.jsp
When a user comes to http://my.domain.com/First.jsp ... I would like to
redirect h
expect it to be trivial. Run some Google searches to
find components, tutorials, articles, etc. Those things should make
your life a little easier.
-Original Message-
From: ext Mufaddal Khumri [mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 6:12 PM
To: Tomcat Users List
Subject: h
-Original Message-
From: ext Mufaddal Khumri [mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 6:12 PM
To: Tomcat Users List
Subject: http to https how ?
Hi,
Have a page First.jsp
When a user comes to http://my.domain.com/First.jsp ... I would like to
redirect him or her to https:/
l Message-----
> From: ext Mufaddal Khumri [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 12, 2004 6:12 PM
> To: Tomcat Users List
> Subject: http to https how ?
>
>
> Hi,
>
> Have a page First.jsp
>
> When a user comes to http://my.domain.com/First.jsp .