struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dale Newfield <>
Subject Re: Spring and executeAndWait
Date Wed, 23 May 2007 22:13:39 GMT
Mansour wrote:
> I thought this will be generated automatically by FreeMaker iif you 
> don't provide your waiting page, according to the documentation.

It should be.  When I first started using execAndWait it generated the 
page for me automagically, but then later I wanted to tailor the 
content, so I created a "wait" result in which I needed to specifically 
add the appropriate header.

If you're using siteMesh you should be able to include a <head> section 
in your target .jsp file, and sitemesh should include that wherever you 
put <decorator:head/> in your decorator.

 From my wait .jsp:

     <title><fmt:message key="upload.title"/></title>
     <content tag="heading"><fmt:message key="upload.heading"/></content>
     <meta name="menu" content="PhotosUpload"/>
     <meta http-equiv="Cache-Control" content="no-store"/>
     <meta http-equiv="Pragma" content="no-cache"/>
     <meta http-equiv="Expires" content="0"/>
     <meta http-equiv="refresh" content="60;url=<s:url 
action="uploadPhotos" namespace=""/>"/>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message