[opencms-dev] Re: Struts in OpenCms 6b3

Matutek Basilico matute.listas at gmail.com
Thu May 19 20:36:51 CEST 2005


Hi...

I'm working on that integration...you need to put the struts-config
inside your module,
a good practice may be a special folder, i.e 'struts'
then you must configure an export point of that folder the the
${OCMS_HOME}/WEB-INF

When you publish the struts-config it will be exported to that point,
then you need to reload the ocms context.

Another issuer...you need to put the "/opencms" prefix to the the forwards,
so the OpenCms servlet can redirect to resources inside the VFS.

Hope this help.

Regards,

Matute


On 5/18/05, Terry Irwin <tirwin at agency.com> wrote:
> I have looked at the list archives and have a good general idea of the
> steps needed to integrate Struts Actions into OpenCms, but am unclear on
> precisely where struts-config.xml needs to reside or how to point to it
> from web.xml. 
> 
>  
> 
> It would save me some trial and error time if anyone could point me to
> an example of a properly configured web.xml that points to the action
> servlet that's placed in OpenCms as a module.
> 
>  
> 
> Thanks,
> 
> Terry Irwin
> 
>  
> 
> 
> 
> 
> ________________________________
> 
>    
> 
> Terry Irwin
> Senior Technical Consultant
> Agency.com
> 
> 7850 N. Belt Line Road
> 4th Floor
> Irving, TX 75063
> Phone 972 831 2160
> 
> Fax 972 831 2140
> www.agency.com <http://www.agency.com> 
> 
> ________________________________
> 
> 
> 
> 
>  
> 
> 
> 

-- 
Tutek.



More information about the opencms-dev mailing list