Its working now, User class must be Serializable. But Why it matters for
Validation??
Since we want to persist User class it must be serializable
But why Validation was not working???
Why Validation requires a Serializable class???
Just for curiosity...
spsarolkar wrote:
>
> Hi, thanks I
Hi, thanks I missed that..
But now validation is no working/partially working i.e. when i submit
invalid values i am redirected to input result but messages are not printed.
Also values are not inserted to database. Here are modified files
UpdateUserAction.java wrote:
>
> @ParentPackage("base-p
Hi everybody,
I'm trying to implement validation using the standard mecanism provided by
Struts 2. I understood that it's possible to use the same XML file to
perform both client side (JS being generated) and server side validation. I
don't need to do AJAX validation. Another constraint : We don't
spsarolkar wrote:
public void prepare(){
if(emailId==null){
this.user=new User();
}
else{
this.user=userService.findByEmail(emailId);
}
}
So if emailId is null you construct a new one, but if it is not null and
findB
Embedding Quartz in application that is deplpoyed on a non clustered
environment is a nice solution. But not good for cluster deployment
with multiple JVMs.
John Feng
On Fri, Aug 7, 2009 at 9:58 AM, Manos Batsis wrote:
> Tom Holmes Jr. wrote:
>>
>> Sorry ... this might be off topic. I'm a Struts
JSPs are 'precompiled' by container to
$TOMCAT_HOME/work/Catalina/localhost/webappName folder
if your FileSystem is not setup to accomodate chinese characters
any chinese characters that your filesystem sees
will not produce the desired UnknownChineseCharacters_jsp.java
so container will be unab
Hi,
are you sure that the answer is sent to the correct JSP. Please check
your struts.xml for the action and make sure that the correct result is
chosen. In case of Chinese and if you are using the dynamic method
invocation the result may be incorrect.
Regards
Eduard
Kavita Mehta schrieb:
Ditto on Spring Security, very nice for URL auth.
-Original Message-
From: Dale Newfield [mailto:d...@newfield.org]
Sent: Saturday, August 08, 2009 12:02 PM
To: Struts Users Mailing List
Subject: Re: Struts - Security
Kamlesh Koringa wrote:
> - URL encryption (no one can modify generated
Hi ,
I am facing a strange problem. I am using struts2.0 and my server side
code executes well and sends the response ..but my ethereal shows empty
response and hence my JSPs are not loading on the browser .
This happens when user has mentioned his details in lets say chinese
language . i.e. any
I have a configuration in struts.xml as follows
struts.xml wrote:
>
>
>
>
>
> /jsp/user/index.jsp
>
> class="org.xinus.action.user.UserAction" >
> /jsp/user/{1}User-success.jsp
> index
>
>
>
>
I have Us
10 matches
Mail list logo