[prev in list] [next in list] [prev in thread] [next in thread] 

List:       struts-user
Subject:    property taglib don't throw exception
From:       k3v1n <mitnick () email ! it>
Date:       2011-07-27 15:21:55
Message-ID: 1311780115689-4639152.post () n5 ! nabble ! com
[Download RAW message or body]

Hi all,

In my action I add request attribute. For example:

Person p = ....
request.setAttribute("p");

In jsp page I use <s:property ... /> to print fields. For example:
<s:property value="#request.p.field" />

If field don't exist, I want intercept error. How can I do? In compile time
I don't view this error. But I don't view it to run time also. Can I active
print error for intercept my errors in development?

Thanks






--
View this message in context: \
http://struts.1045723.n5.nabble.com/property-taglib-don-t-throw-exception-tp4639152p4639152.html
 Sent from the Struts - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic