hi.
can any one provide the upgradation details of 1.1 to 1.2 ?
thanks
Asaithambi.B
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
You can create a bean using LabelValueBean in which the label will be male,
female and the value will be 1, 2. In your jsp you do the following
On submit, your form-property-name will have the values 1 or 2 depending on
the selection.
Vijaya
-Original Message-
From: news [mai
I am not sure i follow..
To get the attribute value for following property for example
>
>
Are you saying i should have getSomeName, setSomeName in the class extending
ActionConfig ?
Thanks
Prashant
-Original Message-
From: rmanchu [mailto:[EMAIL PROTECTED]
Sent: Friday, May 06, 20
hi.
thanx to all who wrote back.
after having read the replies and links provided i'm going to use the
Redirect-after-Post method in my app. i would have to craft a dynamic
Forward with the right params which i think for my needs is a much
shorter/easier route. thanx to all.
now i have a differ
hi all,
I got a problem when I include 1 html page contains 1 flash file
I use
Header.html file contains 1 flash file.
my main jsp file which contains above, all text in Header file appear,
but only Flash file not appear, and my main jsp load so low.
So, plz show me how to include 1 jsp f
have used the following extensively with DynaActionForms. i would think
that this would work with any extension of ActionForms. The form fields
are represented by FormPropertyConfig objects contained within the
FormBeanConfig objects. you could place the following code in you JSP
and see what happe
I think I can do it like this
1. create my own textTag
2. override the setProperty function
2.1 save the property name
3. finally get it back using a tag
But I don't know it is a good idea .
Cliff
- Original Message -
From: "Jonathan Wright" <[EMAIL PROTECTED]>
To: "Struts Users Ma
But if I do the reflection to check the field in my form how can I know
which field is not used in the jsp /.\
if the form is extended to the other form, I think the case is more complex.
><
Cliff
- Original Message -
From: "Jonathan Wright" <[EMAIL PROTECTED]>
To: "Struts Users Mailin
You could do something clever and use reflection to look at the method names
in you action form objects I guess
Jonathan Wright
- Original Message -
From: "Cliff Lam" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Monday, May 09, 2005 4:44 PM
Subject: Re: The field name in jsp
Hi,
Any one can send me some examples to do the validation of indexed property ??
As I find that JavascriptValidationTag just skip it .
I'm using struts 1.1
Thanks a lot =)
Cliff
Should I hard code the field name in the collection ?
I want to do it in each page in my web application =.="
Cliff
- Original Message -
From: "Jonathan Wright" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Monday, May 09, 2005 12:37 PM
Subject: Re: The field name in j
If the form is not dynamic, i.e. the form fields are not generated at
runtime, why not just put a collection of Strings or an array or Strings
into the scope of your choice and then iterate over it at the end of your
page
Jonathan Wright
- Original Message -
From: "Cliff Lam" <[EMAIL PROT
I'm talking the field is like
And I'm finding method to print all the field name (propertyName) at the end
of the page.
eg.
<>
This page's Field:
propertyName1
propertyName2
propertyName3
Thanks a lot ^^
Cliff
- Original Message -
From: "Jonathan Wright" <[EMAIL PROTECTED]>
To:
Define "fields". Are you talking about form fields?
Jonathan Wright
- Original Message -
From: "Cliff Lam" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Monday, May 09, 2005 4:17 PM
Subject: The field name in jsp
Hi,
How can I know the fields in jsp dynamically.
eg. I wan
Oh, I have just thought that it could be ...
So, Jonathan, thank you for ur help :)
Anh Tuan
- Original Message -
From: "Jonathan Wright" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Monday, May 09, 2005 11:13 AM
Subject: Re: [HELP] action mapping for welcome page?
You can'
Hi,
How can I know the fields in jsp dynamically.
eg. I want to print the all the field name at the end of each page
dynamically.
Should I override the setProperty to do it?
Thanks a lot =)
Cliff
You can't have a link to an action as your welcome file, It must be a
physical file. You could always have a JSP with a forward to your action as
your welcome file.
Jonathan Wright
- Original Message -
From: "Pham Anh Tuan" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Monda
Hi all,
I need your help.
When I want to map my index page with a action, there's something makes me
confuse.
Ex:
I have a website www.myweb.com
I want to use 1 action: /user/index.do to map to my page is home.jsp
in my web.xml
action
*.do
30
/user/index.do
in my struts-config.
Hi,
How can I know the fields in jsp dynamically.
eg. I want to print the all the field name at the end of each page
dynamically.
Should I override the setProperty to do it?
Thanks a lot =)
Cliff
-
To unsubscribe, e-mail
This function is so useful
But I cannot find it in my Outlook Express 6 =.="
Cliff
- Original Message -
From: "Rafael" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Monday, May 09, 2005 11:17 AM
Subject: Re: Way of reading this mailing list as a heirachy
> I always th
> I always thought outlook couldn't do message threads, but it can. I
> don't remember the option on whichever menu, but it's easy to find.
> Probably the View menu.
yes, In Outlook Express 6 , View -> Current View -> Group Messages by
Conversation.
- Original Message -
From: "Ada
Yes, redirect produces new request. It will have GET type, which is
important. Yes, you will lose field values of your form, if the form
bean has request scope. The question is, do you really need to
preserve these values?
Consider this: instead of having business object somewhere on the
business
On 5/8/05, Joe Germuska <[EMAIL PROTECTED]> wrote:
> At 4:19 PM -0700 5/8/05, rmanchu wrote:
> >i have to following scenario.
> >
> >interface1 =>action1 => action2 => interface2
> >
> >is calling another action from an action discouraged in struts?
> >
> >what's the best solution for this? 1.2.4 t
I have an application which has some actions which require
authentication and some which do not. When moving between a page that
doesn't require authentication to one that does, I'd like to "inject" a
login form page. Upon authentication, a session identifier is placed in
a client-side cookie.
There are plenty of examples in this official guide
http://struts.apache.org/userGuide/dev_validator.html
Original message
>Date: Sun, 8 May 2005 11:38:28 -0500
>From: Metal KoRn <[EMAIL PROTECTED]>
>Subject: Validators
>To: Struts Users Mailing List
>
>Hi guys I would like to vali
thanx michael. have one question though
in the example above, the redirect would produce a new request object
right? which means i'll lost some vars that i already have from my
"action1" which r required in "action2"
i'm thinking i shud redirect with the three parameters that i need - ie
At 4:19 PM -0700 5/8/05, rmanchu wrote:
i have to following scenario.
interface1 =>action1 => action2 => interface2
is calling another action from an action discouraged in struts?
what's the best solution for this? 1.2.4 to 1.3-dev
You'll find plenty of discussion on this in the mailing list archiv
If someone told you that eating with the left hand is discouraged,
would you care? ;) Just do what you think is best, if it does not hurt
other people ;)
I submitted my approach to action chaining here in the wiki:
http://wiki.apache.org/struts/StrutsCatalogInputOutputSeparation
I think that I
i have to following scenario.
interface1 =>action1 => action2 => interface2
is calling another action from an action discouraged in struts?
what's the best solution for this? 1.2.4 to 1.3-dev
thanx
riyaz
-
To unsubscribe, e-mail: [
It seems that what you want to do is typical. I suggest you to take a
different approach, a model-based approach.
Consider this: you want to create or modify an _object_, not just some
form fields. So, your form should pull the data from an object and
show it. It should not matter for the form, is
Hello,
I believe that your expectation about what should be happening here is
not correct.
Think about the flow of events... When you change a combo box, you
construct the query string and then submit that to your myAction Action.
This Action prepares the data, sets the collections in request
I am not sure why Leon says that running headless mode is "not that
easy". He must have experiences I have not had. My experience is
that running in headless mode is a fairly simple matter. All you have
to do is set the headless parameter and there you are. As I said,
maybe Leon has something e
Right. What I want is to pre-populate text fields if the user id "editing"
or set it to "" if the user is creating a new thing.
I think what I'll settle on is making the "portfolioName" request attribute
a session attribute instead, then in the Save() methos, execute a
myForm.reset()
Is that f
You could also use a web-based mailing list archive such as Nabble:
http://www.nabble.com/Struts---User-f206.html
--
Sent from the Struts - User forum at Nabble.com:
http://www.nabble.com/Way-of-reading-this-mailing-list-as-a-heirachy-t5584.html#a18086
The "EL" flavour tags allow you to use "expression language" (EL) in the
attributes of the struts tags in a Servlet 2.3 container (which Tomcat
4.1.31 is). Once you upgrade to a Servlet 2.4 container (e.g. Tomcat 5.x),
which comes with EL support provided then you will need to switch back to
the "r
Hi guys I would like to validate a password and a confirm_passwrod
fields to match, how can i do this validation with the struts
validator.
The other is to VALIDATE if a field value is > 0
Someone could help me with this??
thanx.
Would there be any sample code showing how to use declarative security in
Struts? I guess this would be a bit tricky as there is only 1 web resource
to protect (ActionServlet)
Appreciate any pointer.
-
To unsubscribe, e-mail:
I've had much success doing indexed properties with a java.util.List,
but no luck with figuring out how to do it with a java.util.Set. Is it
possible? With a list, you can use the setProperty(index i, ActionForm
form) signature, but I haven't been able to figure out how to do this
with a Set.
My award of the week goes to Adam for this piece of information.
I was just downloading some open source e-mail client but am relieved I can
do this option.
-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: 08 May 2005 14:46
To: Struts Users Mailing List
Subject: Re: Wa
Hi Mehmet,
The reset method of your form bean will be executed every time it passes
through the controller on a redirect, which is handled as a new request.
As such, if you do not want to have the reset method called you should
forward your pages rather than redirecting them (I don't think this
On 08/05/05 13:09 Mehmet E. wrote:
Form Bean scope is session. In every request form bean
RESET method is executing. I am useing struts with
tiles. There is no code for removing form bean from
session. As i know, it must execute one times per
session after creation of form bean.
Mehmet, I never u
On 08/05/05 04:27 Kwok Peng Tuck wrote:
There's a pretty good e-mail client from mozilla.org, look for
Thunderbird there. Does everything you ask for bellow.
Mark Benussi wrote:
I use Outlook and was wondering if there was a way of reading all these
messages as a hierarchy. I sometimes miss messa
Hi Shajee,
You might want to look into iText for generating PDF reports. In
addition, there is also the POI library for generating excel workbooks.
Both can be easily integrated into your struts application.
Good luck.
Aladin
alec wrote:
try jasperreport. I used it to generate pdf for browser
Hi there,
I may not be the world's ultimate authority on this, but let me try to
answer this:
On 5/8/05, alec <[EMAIL PROTECTED]> wrote:
>
> Is there any inbuilt functionality in struts framework for
> implementing reports.
>
No
> Are there any Apache based tools/model for reporting in jav
try jasperreport. I used it to generate pdf for browser to download
"Shajee" <[EMAIL PROTECTED]> ???
news:[EMAIL PROTECTED] ???...
Hi,
I'm new to the group and Struts Framework. There're a few urgent
queries for which i'm unable to get some good answers. Thought you guys
might be helpful
Is the
if you google, there are many good articles. 1.5 has JMX built in. (ot:
hivemine ioc has jmx built in)
.V
Zsolt Koppany wrote:
Can you give me a pointer how to monitor with JMX?
Zsolt
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Form Bean scope is session. In every request form bean
RESET method is executing. I am useing struts with
tiles. There is no code for removing form bean from
session. As i know, it must execute one times per
session after creation of form bean.
Thanks...
___
Hello
I'm new to struts.
I'm going to use only struts-el tags in my jsps.
The web server is tomcat 4.1.31.
Is it a good choice? Is there any reason I should use basic (old) struts
tags?
Thanks
Vano Beridze
-
To unsubscribe, e
You may want to try Netbeans 4.1 RC2. Refactoring still not as strong as
Eclipse but most of the stuff you need is out-of-the-box: JSP syntax
support, tomcat, iplanet app server etc, so there is less plug-in to
download.
- Jim
-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECT
The only solution to this is to ensure you have all the lastest patches and
then download Struts 1.2.4. Then just copy the jar and tld files over the
ones created in your web application when you generated the new project.
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf O
i added quartz to my struts app lately, used a servlet context listener to
start quartz.
kr,
guenther
-Original Message-
From: Brian McGovern [mailto:[EMAIL PROTECTED]
Sent: Sunday, May 08, 2005 1:47 AM
To: user@struts.apache.org
Subject: Quartz Scheduler with Struts
I need to set up a
Can you give me a pointer how to monitor with JMX?
Zsolt
> -Ursprüngliche Nachricht-
> Von: news [mailto:[EMAIL PROTECTED] Im Auftrag von Vic Cekvenich
> (netsql)
> Gesendet: Sonntag, 8. Mai 2005 02:28
> An: user@struts.apache.org
> Betreff: Re: Quartz Scheduler with Struts
>
> ot: cons
52 matches
Mail list logo