Thanks Kris,
That worked beautifully, I've been pulling my hair over that one for 3 days
now
Thanks again
Joanne Corless
CSC Computer Sciences Limited
( Office +44 (0)1772 318025
( Mobile +44 (0)7767 656588
* email [EMAIL PROTECTED]
Based at: CSC, Alliance House, Library Road, Chorley, Lan
/UK/CSC To:
> [EMAIL PROTECTED]
>
> cc:
]
cc:
13/10/03 17:12 Subject: Best Practice Question re:
html links
Hi,
I am implementing a struts application with menu lists which need to be
dynamic based on a user role hierarchy, i.e not a simple user role = menu
list. Therefore I cannot set up menu lists in the tile definitions file as
they are
I hold the menu list in a database which I am accessing via an
Currently I used a ForgotPassword.do, and in the action I check if
there's an 'action' parameter with the value of 'send'. If the 'action'
parameter does not exist then I locally forward to the
ForgotPassword.jsp using struts-config.xml local forwards configuration.
If it does exist and equals to
Thanks again Nico.
-Original Message-
From: Nicolas De Loof [mailto:[EMAIL PROTECTED]
Sent: Friday, July 18, 2003 3:06 PM
To: Struts Users Mailing List
Subject: Re: actions best practice question
I use a Forward action-mapping :
You can use ForwardAction instead :
I think
that the org.apache.struts.actions.ForwardAction ?
>
> Erez
>
>
>
> -Original Message-
> From: Nicolas De Loof [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 18, 2003 2:48 PM
> To: Struts Users Mailing List
> Subject: Re: actions best practice question
>
> I use to set a speci
: Friday, July 18, 2003 2:24 PM
> To: Struts Users Mailing List
> Subject: Re: actions best practice question
>
> According to MVC pattern ,alway link to action, not to JSP. This way
you
> controler always knows what the user is doing,
> and you can add some logic if needed.
>
&
: Friday, July 18, 2003 2:24 PM
> To: Struts Users Mailing List
> Subject: Re: actions best practice question
>
> According to MVC pattern ,alway link to action, not to JSP. This way you
> controler always knows what the user is doing,
> and you can add some logic if needed.
>
>
on is called that the action is going to do real action.
Erez
-Original Message-
From: Nicolas De Loof [mailto:[EMAIL PROTECTED]
Sent: Friday, July 18, 2003 2:24 PM
To: Struts Users Mailing List
Subject: Re: actions best practice question
According to MVC pattern ,alway link to action, n
According to MVC pattern ,alway link to action, not to JSP. This way you controler
always knows what the user is doing,
and you can add some logic if needed.
Using a request parameter to addapt action behaviour is a common Struts use (take a
look at DispatchAction).
Nico.
> I have a login p
I have a login page with a link with "forgot password?" for users to
retrieve the passwords to their email account in case they forgot it.
It's pretty trivial but still using struts what is the best practice?
Should the link inside the login page point to the ForgotPassword.jsp or
to a ForgotPassw
separation (so
different teams could more easily focus on different roles).
chris
> -Original Message-
> From: Piper, James D CECOM SEC EPS
> [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 17, 2002 1:05 PM
> To: [EMAIL PROTECTED]
> Subject: [OT] Newbie Design best pr
so I cant say it all worked out for
us :)
-Original Message-
From: James.Piper [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 17, 2002 2:05 PM
To: struts-user
Subject: [OT] Newbie Design best practice question
If I were to have a STRUTS enabled application where I had user types
TECTED]
>Subject: [OT] Newbie Design best practice question
>Date: Tue, 17 Sep 2002 14:05:29 -0400
>
>If I were to have a STRUTS enabled application where I had user types of
>restricted_users, full_access_users, and admins and for the most part the
>content of the screens the diff
, 2002 2:05 PM
To: [EMAIL PROTECTED]
Subject: [OT] Newbie Design best practice question
If I were to have a STRUTS enabled application where I had user types of
restricted_users, full_access_users, and admins and for the most part the
content of the screens the different user types get to see are
If I were to have a STRUTS enabled application where I had user types of
restricted_users, full_access_users, and admins and for the most part the
content of the screens the different user types get to see are the same,
except for maybe Id like there to be a few extra bits of functionality on
the
>
>
> > -----Original Message-----
> > From: Bill Blackmon [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, July 29, 2002 8:09 AM
> > To: Struts Users Mailing List
> > Subject: Re: best practice question
> >
> >
> > Thanks. I'll try that. I guess
#x27;re using Struts
1.1-b1 or a nightly build. It's an extremely simple interface, and a snap to
use.
--
Martin Cooper
> -Original Message-
> From: Bill Blackmon [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 29, 2002 8:09 AM
> To: Struts Users Mailing List
You don't want it in the session if it's very big! There's no reason to
load this data repeatedly (for each user!) if it is non-volatile! Load
it on startup as I mentioned in my other post and merely reference it.
If it is volatile you'll have to devise some strategy for updating it.
Assum
m just thinking out
loud. I don't want the form bean to be attached to any action if possible.
I'm new to this so bear with me!
Thanks,
Bill
- Original Message -
From: "Struts Newsgroup" <@[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 29, 20
Assuming these are application-level, read-only values, I would think
you would want to load them at start and make them in application scope
- yes. By doing so, not only do you not have to hit the database again,
but you just reduced your over-all memory footprint too (since you don't
have t
Subject: Re: best practice question
From: Vic C <[EMAIL PROTECTED]>
===
No need to optimize, just do it as a formbean with c:for each or logic:
iterate ...or html:options.
v.
Bill Blackmon wrote:
> I have several iterators filled from db calls that will be used across the
> ap
I have several iterators filled from db calls that will be used across the
app for select boxes,
lists of checkboxes, radio button etc.. In the context of Struts, would it
be best to load these items as application level items at startup and define
them in the struts-config.xml file with a refere
There's an option for using a Map if you need more than one parameter.
"Struts Newsgroup (@Basebeans.com)" wrote:
>
> Subject: Re: Best Practice Question/Conceptual Problem
> From: "Kenny Smith" <[EMAIL PROTECTED]>
> ===
> Hi Mark et al,
>
a, NY
(716) 687-7282
[EMAIL PROTECTED]
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 24, 2002 4:40 PM
To: 'Struts Users Mailing List'
Subject: RE: Best Practice Question/Conceptual Problem
It gets it from a JavaBean, List or Map either
rders this customer has placed:
There are tons of examples in the archive.
Mark
-Original Message-
From: Struts Newsgroup [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 24, 2002 4:10 PM
Subject: Re: Best Practice Question/Conceptual Problem
From: "Kenny Smith
se when
it exposes each entry in the collection.
The tag looks in the page context first, then request, session, and
application. (Unless you specify a scope.)
"Struts Newsgroup (@Basebeans.com)" wrote:
>
> Subject: Re: Best Practice Question/Conceptual Problem
> From: &q
e-
> From: Struts Newsgroup [mailto:@[EMAIL PROTECTED]]
> Sent: Monday, June 24, 2002 4:10 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Best Practice Question/Conceptual Problem
>
>
> Subject: Re: Best Practice Question/Conceptual Problem
> From: "Kenny Smith" <[EMA
Subject: Re: Best Practice Question/Conceptual Problem
From: "Kenny Smith" <[EMAIL PROTECTED]>
===
Hi Keith,
But how does the logic:iterate tag know where to get the information from?
That's the part that is really baffling me. I don't understand how it's
gett
PROTECTED]]
Sent: Monday, June 24, 2002 2:25 PM
To: [EMAIL PROTECTED]
Subject: Re: Best Practice Question/Conceptual Problem
Subject: Re: Best Practice Question/Conceptual Problem
From: "Kenny Smith" <[EMAIL PROTECTED]>
===
> It then stuffs the information into the session and fo
Subject: Re: Best Practice Question/Conceptual Problem
From: "Kenny Smith" <[EMAIL PROTECTED]>
===
> It then stuffs the information into the session and forwards the request
> to a JSP page
>
> The JSP page pulls the data out, builds the page and sends it back to
>
user...
Does that help?
-Original Message-
From: struts [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 24, 2002 12:25 PM
To: struts-user
Subject: Best Practice Question/Conceptual Problem
Subject: Best Practice Question/Conceptual Problem
From: "Kenny Smith" <[EMAIL PROTECTED
Subject: Best Practice Question/Conceptual Problem
From: "Kenny Smith" <[EMAIL PROTECTED]>
===
Hello,
I'm trying to write my first struts application, and I'm looking for
guidance on how to accomplish a certain task. I've read through the Struts
Userguide and I
-
From: Phase Web and Multimedia [mailto:[EMAIL PROTECTED]]
Sent: Dienstag, 30. April 2002 19:51
To: Struts User List
Subject: Best Practice Question.
I have a bean that is created when my app starts and it contains some
database table conifguration info (I'll call it my config bean). Later
Eddie
- Original Message -
From: "Phase Web and Multimedia" <[EMAIL PROTECTED]>
To: "Struts User List" <[EMAIL PROTECTED]>
Sent: Tuesday, April 30, 2002 12:50 PM
Subject: Best Practice Question.
> I have a bean that is created when my app starts and it contains
On Tue, 30 Apr 2002, Phase Web and Multimedia wrote:
> Date: Tue, 30 Apr 2002 11:50:30 -0600
> From: Phase Web and Multimedia <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: Struts User List <[EMAIL PROTECTED]>
> Subject: Bes
Mailing List" <[EMAIL PROTECTED]>
>From: "Phase Web and Multimedia" <[EMAIL PROTECTED]>
>To: "Struts User List" <[EMAIL PROTECTED]>
>Subject: Best Practice Question.
>Date: Tue, 30 Apr 2002 11:50:30 -0600
>
>
>I have a bean that is cre
406) 862-2245
F (406) 862-0354
[EMAIL PROTECTED]
http://www.phase.ws
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 30, 2002 12:03 PM
To: 'Struts Users Mailing List'
Subject: RE: Best Practice Question.
This is rather vague. Why does your
Multimedia [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 30, 2002 1:51 PM
To: Struts User List
Subject: Best Practice Question.
I have a bean that is created when my app starts and it contains some
database table conifguration info (I'll call it my config bean). Later on in
an Action class an
This is rather vague. Why does your logicBean need your configBean?
Mark
-Original Message-
From: Phase Web and Multimedia [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 30, 2002 1:51 PM
I have a bean that is created when my app starts and it contains some
database table conifguration
I have a bean that is created when my app starts and it contains some
database table conifguration info (I'll call it my config bean). Later on in
an Action class another bean, that I'll call my logic bean, needs to access
the values of the config bean. Would it be proper to use the Action class t
42 matches
Mail list logo