tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mufaddal Khumri <mufad...@wmotion.com>
Subject Re:CORRECTION http to https how ?
Date Tue, 13 Jan 2004 00:13:06 GMT
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.redirect("https://my.domain.com/First.jsp") %> , but i get an 
> exception saying
>
> cannot resolve symbol
> symbol  : method redirect (java.lang.String)
> location: interface javax.servlet.http.HttpServletResponse
> 					response.redirect(path);
>
> Thanks.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message