Hi Folks,
        I'm looking for suggestions on how to propagate errors from a servlet to
an applet.  The scenario is that the applet opens a URL connection to the
servlet requesting data - the servlet communicates with EJBs to get the
info and returns it to the applet.  If there are problems the EJBs raise
exceptions which the servlet handles.

The question is how can I communicate this to the applet.  If need be I can
simply use known string literals to indicate errors but is there anything
built in that I have missed?  Can I cause the URL connection at the applet
side to throw an exception of some kind by calling methods at the servlet
end?  I found HttpServletResponse.sendError() but it doesn't really seem to
do the job...

Thanks,

-Dominic


Dominic Tulley
Software Engineer
QSS, Edinburgh

___________________________________________________________________________
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

Reply via email to