Hi all,
I am a newbie to java struts programming. Now I am working on a file upload
module which reads a text file, process it and port it to a database. The
progress of this operation is to be shown in a text area.
Here I am using two Jsp files - first.jsp for allowing user to select the
file
Hi,
Could you be more specific, which Struts version? If you use onsubmit
event, you should do that like this:
onsubmit=JavaScript: return validate();
where validate() has to return true or false.
Regards
--
Lukasz
http://www.linkedin.com/in/lukaszlenart
Hi,
I am using struts in my application. to validate users entry in jsp i have
my validation method. and i am calling that method in action class. code is
below:(I am not using struts' validations )
// in action class, calling validate method
ActionErrors errors =
http://www.niallp.pwp.blueyonder.co.uk/HelpTagsErrorsAndMessages.html
Thanks,
Nuwan
Sonu S wrote:
Hi,
I am using struts in my application. to validate users entry in jsp i have
my validation method. and i am calling that method in action class. code is
below:(I am not using struts'
Hi,
Simple theme doesn't support Validation and error reporting. you may
have to use some other theme like xhtml theme
http://struts.apache.org/2.x/docs/xhtml-theme.html
Thanks,
Nuwan
Rodrigo Pereira wrote:
Hi,
how can I position validation message on the screen? Also, when I have
a
I don't necessarily need this, but is it possible to add annotations to
TypeConversion to configure properties of the type converter? It's
nice to be able to define type converters in annotations, but you could
achieve some more reuse of type converters if they were more
configurable from the
This might be a violation of pure unit test guidelines, but is it
practical to test an action such that the type converters for properties
are automatically executed, just like they would normally? It's nice
that actions are plain POJOs, but I wonder if it's practical to test the
processing of
Hello. I am using Struts 1.3.8. The issue is not one of making the
Javascript work (it is working correctly), but rather preventing a
Struts action from being called. Is this possible given that the
action of a form is a Struts action?
- Asad
On Sat, Mar 29, 2008 at 6:44 AM, Lukasz Lenart
Hi,
I am trying to initialize Struts2 Actions from Spring.
I have done this successfully using struts2 xml configuration files.
However, I did not have the same success when using annotations.
Could anyone please explain how I can achieve this.
Here is my approach:
In file MainpageAction.java
9 matches
Mail list logo