struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sulabha Walavalkar" <>
Subject How to call javascript function on onload in struts-tiles
Date Tue, 07 Oct 2008 13:18:23 GMT


I have a requirement as - on click of submit button call should be made to
database to check if any batch processes are running or not.

If any batch process is running then a message should be displayed on the
same screen else the data should be displayed in new window.


Since I am using tiles and layout.jsp page, <body> tag contains in
layout.jsp.  How can I check the value set by action class in javascript
function on onLoad event and then decide whether to open new window or stay
on the same screen?


If anyone has come across this situation or have any idea, please reply.


Thanks & Regards,
Sulabha Walavalkar
John Lewis Partnership, Zensar Technologies 
Zensar Knowledge Park, Plot#4, MIDC, 
Kharadi, Off Nagar Road, Pune - 411014
Landline :  +91-20-66074888           | +91-9765204544


Email      :    | website:


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message