If the directed page is an HTML file, include in the body tag:
<body onload=funct()>
where funct() is a javasript function that will display the alert dialog
Hope i understood correctly. ... Gavin
-----Original Message-----
From: Michael Weller [SMTP:[EMAIL PROTECTED]]
Sent: 20 February 2001 03:22
To: [EMAIL PROTECTED]
Subject: Re: QAlert Dialogue Boxes
what about prompt("Insert Message here", "Default Message"); ?
should the dialogue be shown before the servlet sends the next page or after
it ?
-mw
----- Original Message -----
From: "Bart R Schroder" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 19, 2001 11:52 PM
Subject: QAlert Dialogue Boxes
> Scenario:
>
> I need to have an alert dialogue box display when my servlet sends the
user onto
> the next screen via res.sendRedirect(URL).
>
> Question:
>
> How do I do this? The normal alert("Insert message here"); doesn't work!
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html