If any exception occurs in the bean while processing the reques, thn how can i throw that exception from the bean to the invoked servlet.
[ October 09, 2004: Message edited by: srini vasan ]
Originally posted by Mark Spritzler:
Just like you would catch any exception thrown in any Java class. Although some people might have better ideas for handling Exceptions once they reach a Servlet, so that the user can get a nice message instead of a stack trace.
Thank you yaar .. i got the sln .
i thought we cant use the " throw exception "clause in the bean, b'coz if a throws clause is used in a method it shd either have a try & corresponding catch or a throws Clause, since the bean has a signature mentioned in the remote interface, that throws remote exception, i thought i cant add one more exception..