The
jsp which is having fun. of search etc. and which u r trying to resize is having
any function on the event of onSubmit of the page.
And
how u r submitting page say when u r clicking on search button on this
page.
1. by form.submit() (javascript)
or
2. by forward method of the dispatcher.
Manish
Hi,
We have a jsp based
application in which browser is made full screen as soon as user logs in (i.e
first login page is opened in normal size).Following is the code through which
we are opening browser in full screen after user logs in
<%
String url = request.getContextPath() +
"/jsps/common/index.jsp";
%>
<HTML>
<head>
<script>
var
windowProperties;
windowProperties =
"alwaysLowered=yes,dependent=yes,directories=no,hotkeys=no,left=0,top=0,width=1024,height=750,location=no,menubar=no,personalbar=no,scrollbars=no,status=yes,titlebar=no,toolbar=no,z-lock=no,windowbar=no,resizable=yes";
window.open("<%=url%>","zeroLevelWindow",windowProperties
,false);
</script>
</head>
</HTML>
Now
the problems is
When we try
to resize the screen,jsp is getting submitted again and last action done on
jsp is getting fired e.g say first we have clicked query button on
screen onclick of which jsp is submitted and results are displayed, now after
query if we resize this browser window then last action (i.e query)
is getting fired and jsp is getting submitted to server.
Any ideas why it is happening and how to
stop it.
Thanks and Regards
Govind
DISCLAIMER: The information
contained in this message is intended only and solely for the addressed
individual or entity indicated in this message and for the exclusive use
of the said addressed individual or entity indicated in this message (or
responsible for delivery of the message to such person) and may contain
legally privileged and confidential information belonging to Tata
Consultancy Services Limited. It must not be printed, read, copied,
disclosed, forwarded, distributed or used (in whatsoever manner) by any
person other than the addressee. Unauthorized use, disclosure or copying
is strictly prohibited and may constitute unlawful act and can possibly
attract legal action, civil and/or criminal. The contents of this
message need not necessarily reflect or endorse the views of Tata
Consultancy Services limited on any subject matter. Any action taken
or omitted to be taken based on this message is entirely at your risk
and neither the originator of this message nor Tata Consultancy Services
Limited takes any responsibility or liability towards the same.
Opinions, conclusions and any other information contained in this
message that do not relate to the official business of Tata Consultancy
Services limited shall be understood as neither given nor endorsed by
Tata Consultancy Services Limited or any affiliate of Tata Consultancy
Services Limited. If you have received this message in error, you should
destroy this message and may please notify the sender by e-mail.
Thank
you.
|
===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body of
the message "signoff J2EE-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff J2EE-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".