Hi All ,
I am trying to call error page when SQLException occurs
I have written my own exception handler 'MyException' implementing
ExceptionHandler . Here I am trying to forward it to error page . How do I
throw (call) this MyException from ActionBean. Following code does not work
..it says we incompatible type ..we need throwable. Can you please send sample
for handling exception using stripes
public class RegisterActionBean extends AnoigmaActionBean {
public Resolution registerUser() throws MyException {
um.saveToDB(this.user,this.getCountryId());
return new ForwardResolution("/login_step_end.jsp");
}
}
Thanks
Sneha
--- On Tue, 17/3/09, Nathan Maves <[email protected]> wrote:
From: Nathan Maves <[email protected]>
Subject: [Stripes-users] Strange bug with tomcat and clean urls
To: [email protected]
Date: Tuesday, 17 March, 2009, 3:40 AM
We have an action that is bound to "/work".
On some deployments in tomcat we get a 404 error. On others of the same
version of tomcat (6.0.18) it works fine. We found an empty work directory
inside of the tomcat work directory.
/work/<app>/work
Would you consider this a tomcat bug? Anyone else seen this?
Nathan
-----Inline Attachment Follows-----
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
-----Inline Attachment Follows-----
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users
Connect with friends all over the world. Get Yahoo! India Messenger at
http://in.messenger.yahoo.com/?wm=n/------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users