Hi,
I've this text field in my jsp
and this property in the resource bundle
error.required = ${getText(fieldName)} is required.
label.name = Name
When there is validation error, it looking for user.name property, it is fine
because I'm using fieldName, so my question is there anyway I can g
Hi,
What I'm trying to do is when exception happen, it redirect to
ExceptionHandlingAction and do something extra like sending email. My question
are
1) How to get the exception in ExceptionHandlingAction ? I've this setter in
the action public void setException(Exception exception), but nothin
HI,
I tried the LoggingInterceptor, it print
2009-08-14 16:26:02,062 INFO
com.opensymphony.xwork2.interceptor.LoggingInterceptor.info:31 - Starting
execution stack for action /louis/excludeParam/excludeParam
Is it possible to print the actual class name like this?
2009-08-14 16:26:02,078 DEB
Hi,
I download this plug-in and put into my /lib, and in my struts.xml has this
when I start the tomcat, it throw error :
Caused by: Unable to find interceptor class referenced by ref-name secureStack
What else I need to configure to use this plug-in?
Thanks
Louis
Hello,
I follow the example to configure the global exception handling.
Here is my error.jsp contain this
Exception Name:
What you did wrong:
And in my action I throw a nullpointer exception, the error page is display,
but no value show for exception and exceptionStack, what I missing ?
Reg
Hello,
Is there anyway to prevent user invoke a method which is not define in the
configuration file?
For e.g, in my UserAction, there is a public String getPassword() method.
So in the url, user can enter User!getPassword to directly call this method(),
of course they won't be a result map to
Hello,
I'm using logger interceptor, and I want it log into a file, but somehow it go
to my eclipse console.
Here is my log4j.xml
Could anyone help me to check what else I need to set? And also I'm trying to
get rid of all these logs as well
07-Aug
Hi,
How to get the value of struts.url.http.port and struts.url.https.port in the
Action?
Regards
Louis
Hi,
For e.g, I've this iteration in my jsp page
and this in action
public User[] getUsers(){
return this.users;
}
public User[] setUsers(){
return this.users;
}
When the user submit the form, I want struts set the firstName & lastName back
to users array, how to achieve this?
Re
Hi,
Does struts2 support action-method-validation ?
Regards
Louis
10 matches
Mail list logo