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
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
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
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
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
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
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
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
/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
*.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
10 matches
Mail list logo