you can get it from session just use the below code.
DynaActionForm myForm =
(DynaActionForm )session.getAttribute("");
i think u can copy this bean using BeanUtils class in commons util
package.., see the API..
Hope this would help U.
Thanks,
Nuwan
- Original Message -
From: "Br
can we use validwhen to do date comparision?
we are using date pattern MM-dd-. the data type in form bean property is
String.
Thanks.
_
Share your special moments by uploading 500 photos per month to Windows Live
Spaces
Hello all
I'm triying to develop a multi file upload (undefined number of files)
using Struts and FileUpload.
Because I don't know what how much files will be uploaded, I need to use
same field name in my page and create new fields dinamically.
My first ideia was to create an indexed property i
Each Web Application within the container is loaded within it's own Context
(and ClassLoader) which effectively keeps the static's separate.
(*Chris*)
On 10/13/06, souravm <[EMAIL PROTECTED]> wrote:
Hi,
If there are two different Struts applications
deployed on the same Tomacat instance, wha
On 10/14/06, Peter L. Berghold <[EMAIL PROTECTED]> wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Puneet Lakhina wrote:
>
>> This is where you could use indexed or mapped properties.
>> http://struts.apache.org/1.x/struts-taglib/indexedprops.html
>
>> And as for generating this form.. Don
Thanks Puneet. I will try your solution as well.
vinod
--- Puneet Lakhina <[EMAIL PROTECTED]> wrote:
> On 10/13/06, Vinod Kumar <[EMAIL PROTECTED]> wrote:
> >
> > Hi All,
> > I have hashmap with key/value but the value in
> this
> > hashmap is another hashmap.
> > How can I iterate over all the
Hi,
If there are two different Struts applications
deployed on the same Tomacat instance, what happens to the static
objects within the Struts framework?
My guess is Struts maintains different Static objects for each application in a
hash map. Can anyone confirm ?
Regards,
Sourav
***
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Puneet Lakhina wrote:
>
>> This is where you could use indexed or mapped properties.
>> http://struts.apache.org/1.x/struts-taglib/indexedprops.html
>
>> And as for generating this form.. Dont think you need full fledged
>> AJAX.. DHTML javscript to
Hi folks.
I've got a DynaActionForm that I use for query, and another that I use
for update - and they share some data elements. I'd like to copy data
from my query form to my update form, but I don't see a way to
explicitly get a form by name. The Query Form is Session scoped, so it
should be
I think you need instead of in the
inner tag. But please correct me if I'm wrong.
-Original Message-
From: Puneet Lakhina [mailto:[EMAIL PROTECTED]
Sent: Friday, October 13, 2006 1:58 PM
To: Struts Users Mailing List
Subject: Re: iterating of collection of HashMapsusing logic:iterate
On 10/13/06, Vinod Kumar <[EMAIL PROTECTED]> wrote:
Hi All,
I have hashmap with key/value but the value in this
hashmap is another hashmap.
How can I iterate over all the values using
logic:iterate.
HashMap h1 = new HashMap();
String id=1;
HashMap h2 = new HashMap();
h2.put(id,"123");
h2.put("
I know setting this will handle exceptions from struts actions, but say an
action forwards to a jsp, then in the jsp file you get an exception. How
can you catch those exceptions? I need to use the web.xml exception
handling instead of the struts tag right? Yes, No?
Thanks.
On 10/13/06, Peter L. Berghold <[EMAIL PROTECTED]> wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi folks,
I have a real newbie question here.
I've looked at various on line tutorials on this subject and for
whatever reason I can't seem to wrap my head around this. My questions
are two
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi folks,
I have a real newbie question here.
I've looked at various on line tutorials on this subject and for
whatever reason I can't seem to wrap my head around this. My questions
are two fold on this, but I'll start with what I'm sure is the simpl
Hi All,
I have a JSP variable declared in the tiles layout
file. Now I want to use that variable inside one of
the tile declared in this layout.
Below is the layout file and I have a JSP variable
called "test" dclared in this. Now I want to use this
variable in the "content" tile. How can i do th
Hi to all, I have a question about struts2. Im making test with struts2 in
shared web hosting (www.futurepoint.com).
I test the blank application that is in the struts2 distribution in a local
tomcat (mine pc) and all work ok, but when i upload
the war to the webhosting i get errro copied at the en
Hi Antonio,
Thanks for responding.
>Short answer: no. But the question is: what do you want it for?
Yes. I should have clarified.
Basically we want to leverage tiles to create a 'poor man's portal'
(i.e. something simple w/o going full-blown jsr 168).
We envisioned the following. The applicat
Hi All,
Had been working fine with Struts2 repo a couple of days ago, however I had a
problem with my tortoise client and had to start over again. So I went and
downloaded the Struts2 repo again into my machine. However when running the mvn
install over my struts2 folder I got the following:
hi,
I want to display a number as a percentage: that is, the number is e.g.
0.78781, and I want to display it as 78.78%.
So I am using , and in my applicationResource.properties I have
prozent=%.
The problem is that it displays %78.78, instead of 78.78%.
What am I doing wrong? Can it be a loc
Thank you. I could work it out.
Dave Newton <[EMAIL PROTECTED]> wrote: From: Medicherla Lakshmi [mailto:[EMAIL
PROTECTED]
> Can u tell me how to get the classname and other details of task
> from a properties file.
You may want to consider reading the Ant documentation rather than
posting
HI friend i am very new to struts, can you please send some example or
artical on it
ur's
Mallik
Sandeep Gupta wrote:
>
> create a main form VO which will hold an array of child form VO.
> the child form VO will map to the row elements
> pass this main form VO to struts and in the action class
>
From: Medicherla Lakshmi [mailto:[EMAIL PROTECTED]
> Can u tell me how to get the classname and other details of task
> from a properties file.
You may want to consider reading the Ant documentation rather than
posting to the Struts list:
http://ant.apache.org/
http://ant.apache.org/manual/
Hi,
Is it always possible with Struts2 to manage the Token manually with
saveToken(), resetToken().. ? I'm trying to upgrade from Struts1.2.8 to
Struts2.0, and I would like not to modify all the existing (and working)
code...
I've seen there is a TokenTag to put a token (into request I suppose) an
Hi all,
I got a problem when I use File Upload to upload 1 file with utf-8 name, ex:
あのひと.jpg :(
who has experience in this problem, plz help me :|
thanks in advance,
bowlkhin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Hello,
I'm trying to pass a variable to a javascript function within a onclick
attribute of html:submit tag, but it doesn't resolve the value of the
varieble. This is the code I'm using:
<%String ent = (String)request.getAttribute("entidad"); %>
I a
Thanks, let me try . URRAH it works !
No more name attributes
Thanks a lot
Ciao, Marcello
-Messaggio originale-
Da: Mikolaj Rydzewski [mailto:[EMAIL PROTECTED]
Inviato: venerdì 13 ottobre 2006 10.05
A: Struts Users Mailing List
Oggetto: Re: R: Form name
Marcello Savino wrote:
> Ye
Marcello Savino wrote:
Yes it works but the problem is that the rendered file is not a valid xhtml1.0 strict file, cause the atribute name.
I need a workaround to avoid the attribute name to appears in the rendered file.
I use struts 1.2.7. Sample JSP:
And there's no name attribute in ge
Yes it works but the problem is that the rendered file is not a valid xhtml1.0
strict file, cause the atribute name.
I need a workaround to avoid the attribute name to appears in the rendered file.
Ciao, MArcello
-Messaggio originale-
Da: Mikolaj Rydzewski [mailto:[EMAIL PROTECTED]
Inv
Marcello Savino wrote:
Using Struts the tag is rendered in this
way
The problem is that in my application the rendered XML file MUST be a
valide "xhtml1.0 strict" file and the DTD strict does not allow the
attribute "name" for the tag .
It works for me ;-)
Do you use tag?
--
Mikolaj Ryd
Using Struts the tag is rendered in this
way
The problem is that in my application the rendered XML file MUST be a
valide "xhtml1.0 strict" file and the DTD strict does not allow the
attribute "name" for the tag .
If someone could help me it would be greatly appreciated.
Thanks all
Ciao, Marcello
Thank you very much. Its working now, but can u tel me one thing
wht is classname u gave in the taskdef.
one more doubt, am writing the task for running the databasescript file using
the classname and url. am trying to get these using a properties file, so that
i do not hardcode those v
31 matches
Mail list logo