[ http://jira.andromda.org/browse/BPM-259?page=comments#action_12261 ]
     
Tim Dysinger commented on BPM-259:
----------------------------------

My appologies Wouter.  This isn't fixed completely yet.  

/andromda/cartridges/andromda-bpm4struts/src/templates/bpm4struts/pages/page-table.jspf.vsl

has a display:table attribute 

requestURI="${pageContext.request.requestURL}"

when it should be

requestURI="${pageContext.request.requestURI}"

-AND-

/andromda/cartridges/andromda-bpm4struts/src/templates/bpm4struts/pages/login-form.jsp.vsl

has a form attribute that is

action="j_security_check"

where it should be

action="<html:rewrite page="/j_security_check"/>"

-Sorry about the half-ass patch of mine ;|


> URLs need to be hostname:port-free so that the application can be fronted 
> (proxied) by another web server
> ---------------------------------------------------------------------------------------------------------
>
>          Key: BPM-259
>          URL: http://jira.andromda.org/browse/BPM-259
>      Project: Bpm4Struts Cartridge
>         Type: Improvement
>     Versions: 3.0 RC1, 3.0 M3, 3.0 RC2, 3.0 Final, 3.0.1, 3.1M1, 3.1-RC1, 3.1
>  Environment: All
>     Reporter: Tim Dysinger
>     Assignee: Wouter Zoons
>      Fix For: 3.1
>  Attachments: patch.txt
>
> Because of the <html:base/> tag and the display tag library, the hostname and 
> port show up in links and forms on the pages produced by BPM4Struts.  This 
> makes it impossible to proxy the internal server (Tomcat) via an external 
> server (Apache).  The solution is to make all URLs relative.  The temporary 
> solution is to make all URLs hostname:port-free.  Attached is a patch for the 
> temporary solution.




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php

Reply via email to