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:

<head>
    <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=""/>"/>
</head>

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

Reply via email to