Hi community,

I want to display a "please wait" page when a Struts action is executed, 
that redirects to or loads the real page; my current solution works, but I 
have a problem with Struts.

My solution is as follows: The links and form actions in the JSP pages have a 
".do" extension, my "WaitServlet" has a servlet-mapping for "*.do" and the 
Struts action servlet has a mapping for ".dox". 
The WaitServlet replaces the .do with .dox and redirects to the JSP "wait" 
page, that loads the .dox action with Javascript (body onload=...).

This works with anchor tags (a href), but not with form tags. The reason is
that Struts adds a "myaction.dox" to the form action instead of "myaction.do".

Any idea how to solve this?

Regards,
Joachim


-- 
Dipl.-Ing. Joachim Schaaf | Projektleiter | mailto:[EMAIL PROTECTED]
cataloom AG | Eupener Str. 148 | 50933 Köln | http://cataloom.com/
Tel: +49 221 4851807 | Fax: +49 221 4851907 | Mobil-Tel: +49 170 7667807

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

Reply via email to