Hi Adam, 
thanks for the help.
I've put in the change in the action-mappings in the struts-config.xml
file

<action-mappings type="org.apache.struts.config.SecureActionConfig">

but the problem is, ssl doesn't seem to be switching at all. The action 
runs in https when I say it should, but all other actions then continue
to 
run in https. I was under the impression that they'd switch back to
normal 
http. Is this not correct?

Cheers,
Brian


-----Original Message-----
From: Adam Hardy [mailto:[EMAIL PROTECTED] 
Sent: 17 October 2003 08:09
To: Struts Users Mailing List
Subject: Re: Help setting up sslext

On 10/16/2003 05:13 PM Brian McSweeney wrote:
> a) Change the action-mappings in the struts-config.xml file
> <action-mappings type="org.apache.struts.config.SecureActionConfig">
> 
> b) Change the web.xml file as follows:
> 
>     <servlet-name>action</servlet-name>
>  
> <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
>     <!-- Struts Config -->
>     <init-param>
>       <param-name>config</param-name>
>       <param-value>/WEB-INF/struts-config.xml</param-value>
>     </init-param>
>     <init-param>
>       <param-name>mapping</param-name>
>  
>
<param-value>org.apache.struts.action.SecureActionMapping</param-value>
>     </init-param>
> 
> could someone tell me if either of these steps are necessary, or what
> else is necessary?

Hi Brian,
your (a) is definitely necessary to enable this:

     <action    path="/staticjavascriptssl"
             forward="/WEB-INF/general/staticjavascript.jsp">
       <set-property property="secure" value="true"/>
     </action>

I have not used, or heard of before, your (b). Perhaps it has the same 
effect as (a).

So what's not working?

Adam


-- 
struts 1.1 + tomcat 5.0.12 + java 1.4.2
Linux 2.4.20 RH9


---------------------------------------------------------------------
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