You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Alexander Wallace <to...@rwsoft-online.com> on 2002/12/09 22:45:40 UTC

Advise on how to hanle url names when using https

Hi there. Using apache + tomcat, is there a better/different way of
reffering to resources (jsps/servlets) in an app when https is required
other than hardcoding the full url
(https://my.server.com/myapp/whatever.jsp) in the jsps and servlet's
that whant to call those resources?

Thanks.





--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Advise on how to hanle url names when using https

Posted by Alexander Wallace <to...@rwsoft-online.com>.
Thankyou! Based on that i made a filter that does pretty much the same
thing, based on the resource prefix. The only thing I disliked about it
is that it takes all the stuff in the request if post was used and puts
them in a parameter list.

Again, thanks!

On Mon, 2002-12-09 at 15:50, Chris Parker wrote:
> Others will have suggestions...
> 
> Before you settle on a solution, look here
> http://www.javaworld.com/javaworld/jw-02-2002/jw-0215-ssl.html
> 
> The code they show is old and slightly broken at this point.  It took me
> half a day or so to get it working correctly on my server.  BUT, it couldn't
> be any easier once complete.
> 
> <=======================>
> Chris Parker
> Programmer/Analyst
> Health Care Services Division
> California Youth Authority
> 
> ----- Original Message -----
> From: Alexander Wallace <to...@rwsoft-online.com>
> To: Tomcat Users List <to...@jakarta.apache.org>
> Sent: Monday, December 09, 2002 1:45 PM
> Subject: Advise on how to hanle url names when using https
> 
> 
> > Hi there. Using apache + tomcat, is there a better/different way of
> > reffering to resources (jsps/servlets) in an app when https is required
> > other than hardcoding the full url
> > (https://my.server.com/myapp/whatever.jsp) in the jsps and servlet's
> > that whant to call those resources?
> >
> > Thanks.
> >
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >
> >
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Advise on how to hanle url names when using https

Posted by Chris Parker <cp...@cya.ca.gov>.
Others will have suggestions...

Before you settle on a solution, look here
http://www.javaworld.com/javaworld/jw-02-2002/jw-0215-ssl.html

The code they show is old and slightly broken at this point.  It took me
half a day or so to get it working correctly on my server.  BUT, it couldn't
be any easier once complete.

<=======================>
Chris Parker
Programmer/Analyst
Health Care Services Division
California Youth Authority

----- Original Message -----
From: Alexander Wallace <to...@rwsoft-online.com>
To: Tomcat Users List <to...@jakarta.apache.org>
Sent: Monday, December 09, 2002 1:45 PM
Subject: Advise on how to hanle url names when using https


> Hi there. Using apache + tomcat, is there a better/different way of
> reffering to resources (jsps/servlets) in an app when https is required
> other than hardcoding the full url
> (https://my.server.com/myapp/whatever.jsp) in the jsps and servlet's
> that whant to call those resources?
>
> Thanks.
>
>
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>