Re: how to catch my own exception in jstl

2004-08-30 Thread Gao Di
please help me. --- Gao Di [EMAIL PROTECTED] correct,but it seems the c:catch can't find the original exception.that's what i want to know. --- Helios Alonso [EMAIL PROTECTED] So an IOException is trapped and converted by your logic to a DAOException (the one you want to display

Re: how to catch my own exception in jstl

2004-08-22 Thread Gao Di
a more complete stack trace? So, does DeviceHelper.getDevices() catch IOException and throw DaoException? Quoting Gao Di [EMAIL PROTECTED]: it seems u don't know what i mean,i know the useage u wrote,but it only displays the el exception message. --- Kris Schneider [EMAIL PROTECTED

Re: how to catch my own exception in jstl

2004-08-22 Thread Gao Di
exception message. --- Kris Schneider [EMAIL PROTECTED] c:catch var=exc ... /c:catch c:if test=${exc != null} c:out value=${exc.message}/ /c:if Quoting Gao Di [EMAIL PROTECTED]: i know the c:catch can catch the exception on jsp,but the error message which i

how to catch my own exception in jstl

2004-08-20 Thread Gao Di
i know the c:catch can catch the exception on jsp,but the error message which i got from it looked like below: javax.servlet.jsp.el.ELException: An error occurred while getting property deivces from an instance of class com.service.transfer.client.DeviceHelper in fact this error was generated by

Re: how to catch my own exception in jstl

2004-08-20 Thread Gao Di
it seems u don't know what i mean,i know the useage u wrote,but it only displays the el exception message. --- Kris Schneider [EMAIL PROTECTED] c:catch var=exc ... /c:catch c:if test=${exc != null} c:out value=${exc.message}/ /c:if Quoting Gao Di [EMAIL PROTECTED]: i know

page redirect problem in jstl or jsp?

2004-08-18 Thread Gao Di
i use struts framework in my project,and use the jstl in the jsp page.now i want to write a page which will auto forward to a struts action class,but whatever i use jstl or jsp ,it can't find the url either. in jstl i use:c:redirect url=SearchAction.do/ and in jsp i use: jsp:forward

Re: page redirect problem in jstl or jsp?

2004-08-18 Thread Gao Di
in your struts-config.xml. Gao Di wrote: i use struts framework in my project,and use the jstl in the jsp page.now i want to write a page which will auto forward to a struts action class,but whatever i use jstl or jsp ,it can't find the url either. in jstl i use:c:redirect url

RE: page redirect problem in jstl or jsp?

2004-08-18 Thread Gao Di
it doesn't work either,i find it's a problem of struts,but can't find a solution. --- Karr, David [EMAIL PROTECTED] If it isn't obvious yet, try: c:redirect url=/SearchAction.do/ -Original Message- From: Gao Di [mailto:[EMAIL PROTECTED] i use struts framework in my

Re: page redirect problem in jstl or jsp?

2004-08-18 Thread Gao Di
/head body bgcolor=white c:redirect url=/ViewStep1.do/ /body /html Gao Di wrote: it's ok ah,if i typed page directly,u can write some sample and try it . --- Bill Siggelkow [EMAIL PROTECTED] What happens if you go to directly to the page from your browser? Do u also

RE: page redirect problem in jstl or jsp?

2004-08-18 Thread Gao Di
*.do/url-pattern /servlet-mapping Trust me, there's nothing wrong with Struts when it comes to your problem. Bill Siggelkow [EMAIL PROTECTED] -Original Message- From: Gao Di [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 18, 2004 9:25 PM To: Tag Libraries Users