Subodh,
The problem you'll find is that when you target a page to one frame, you
can't modify the target for example if you wanted to display an error in a
different frame from the original/main frame.
However, what you could do using JSP is always target the main frame, and if
there is an error, use JSP to dynamically add a Javascript call that targets
and loads the error frame, something like this:
<SCRIPT LANGUAGE="Javascript">
<!-- Start
top.errorframe.location = '/mysystem/errorpage.jsp?errorType=<%= errorType
%>';
//End -->
</script>
In the above example I could send an errorType of zero if there is no error.
Or I could have written this so none of it would be produced if there is no
error.
Hope this helps,
Dan
--
Daniel Kirkdorffer
NACN IS: 425-580-6225
Sr. Consultant, Syllogistics LLC
Email: [EMAIL PROTECTED]
Web: http://www.syllogistics.com/
> ----------
> From: SAMALS.ACIO.TSAINC.COM[SMTP:[EMAIL PROTECTED]]
> Reply To: SAMALS.ACIO.TSAINC.COM
> Sent: Wednesday, September 15, 1999 1:17 PM
> To: [EMAIL PROTECTED]
> Subject: Using frames in JSP Environment
>
> I have devided my screen into two HTML frames. One frame will act as the
> main
> JSP & the other will be as Error frame. I am planning to out put any user
> error like (Merchant ID not found) in the error frame. How can I do it in
> JSP.
>
> Any thoughts or any alternate way to do this ??
>
> Thanks in advance.
>
>
> Subodh.
>
> ==========================================================================
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> FAQs on JSP can be found at:
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html