If your trying to force the https scheme then i'd do this with your webserver, otherwise your app wont be very portable. If you do really need to do this then i'd keep the strings in a properties file, but i cant see why you'd have to.

I would be mightily vexed if i had to configure tomcat or another container to deal with https stuff just to develop on.

imo what you're trying is a hack and you'd be better finding another way..

Perhaps useful perhaps not

Cheers Mark

On 14 Jan 2004, at 11:55, [EMAIL PROTECTED] wrote:


try new ActionForward("https://localhost:1443"+getContextPath() +"xyz.jsp",true); Regds Anant Kumar TCS





"N.N.S.S Ravi
Krishna" To: "'struts users'" <[EMAIL PROTECTED]>
<[EMAIL PROTECTED] cc:
l.com> Subject: Hi Action Forward problem


                    01/14/04
                    04:29 PM
                    Please
                    respond to
                    "Struts Users
                    Mailing List"






Hi All, I am trying to redirect to a page using the following piece of code:

new ActionForward("https://localhost:1443"+getContextPath()+"xyz.jsp");

when this action takes place the browsers takes me to an error page saying
java.lang.illegalArguementException: https://localhost:1443/xyz/xyz.jsp
should start with "/" character.
please help me in resolving this



thanx a ton






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to