Forwarding to an external Website

2004-01-22 Thread Giles Parnell
Hi guys Any idea how i can forward to an external website? At the moment i forward to a jsp that has a logic:redirect forward=connectToSiteBuilder / I state my forward in the struts config like this: forward name=connectToSiteBuilder path=http://www.google.co.uk/ Is there any way i can do this

Securing resources in the web-app !

2004-01-22 Thread Giles Parnell
Hi guys I'm trying to secure my web app, so that only https access can occur through it. I've started writing some code that checks the url protocol in each action ... which i think is pretty nasty. I know i can do all of this in the web.xml. However i don't know much about setting up realms and

Re: Securing resources in the web-app !

2004-01-22 Thread Giles Parnell
Hi Thanks for your quick reply. I've now got the following in my web.xml: security-constraint web-resource-collection web-resource-nameSecureWebReg/web-resource-name descriptionno description/description url-pattern/*/url-pattern