actually, you can use a filter(tc4) to check the request type for all requests and do a redirect there so you only have the code in one place and it would cover all servlets and jsp's.
Charlie > -----Original Message----- > From: Billy V. Kantartzis [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 22, 2002 5:33 PM > To: [EMAIL PROTECTED] > Subject: Re: help with redirect > > > well when the user types something in the address line this > is handled by > the doGet method so in that method you check where the user > is coming from > and do the appropriate redierects or forwards to the > resources you want > > mvc uses te same approach > > -------Original Message------- > > From: Tomcat Users List > Date: Πέμπτη, 22 Αύγουστος 2002 10:07:13 μμ > To: Tomcat Users List > Subject: Re: help with redirect > > What would happen in this respect if the user then entered > the URL directly > into the browser? Wouldn't that circumvent the controller all > together? > > Bill > > ----- Original Message ----- > From: "Billy V. Kantartzis" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, August 22, 2002 4:44 PM > Subject: Re: help with redirect > > > i dont oknow much about tomcat conf myself (new to tomca conf > stuff). What > if you use a controller server or jsp that inspects the > requested url and > forwards yiur request to the application you need ? > i hope this helps > > > Billy V. Kantartzis (Msc Ect), > University Of Essex, > wivenhoe park , > co4 3sq > Colchester, > Essex,Uk > mailto:[EMAIL PROTECTED] > > > -------Original Message------- > > From: Tomcat Users List > Date: Πέμπτη, 22 Αύγουστος 2002 09:22:45 μμ > To: List Tomcat > Subject: help with redirect > > Hi All, > > I have been searching the archives all day and I can't believe I can't > find the answer. I am running tomcat and have several web > apps running. > I am trying to make one only run secure. But when I set up the SSL and > run it I have access to all apps in both unsecure and secure. How do I > set up one app so that when you type in the url to one you go > automatically to it through https and on others, they let you in with > http? > > Thanks, > Bill > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED] org> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>