try page=/SomeAction.do
On 24 Mar 2004, at 17:50, Ruben Pardo wrote:
i've got the next tag
html:rewrite
action=/SomeAction?prefix=page=/SomePage
and in the actionConfig action path=/SomeAction
type=org.apache.type=org.apache.struts.actions.SwitchAction
/action
but i always get an error saying
It works well, thanks.
try page=/SomeAction.do
On 24 Mar 2004, at 17:50, Ruben Pardo wrote:
i've got the next tag
html:rewrite
action=/SomeAction?prefix=page=/SomePage
and in the actionConfig action path=/SomeAction
type=org.apache.type=org.apache.struts.actions.SwitchAction
/action
but i
On Thu, 18 Mar 2004 15:24:25 +0300, AKostylev wrote:
How can I avoid action chaining in such situation... In my
application user can set resolution on some demand. For
example, there two types of resolutions: bug and not a bug. If
user selects not a bug option on form, then nothing happens...
Oh ya if you didn't realize it already, I am using LookupDispatchAction
for my Action.
Another question: could the request be getting lost on the way to the
server b/c of the frames? I don't think this is the case since the
request of the frame the link is in should get sent to the server
if you look at the struts-example.war it has the same functionality with
the /welcome forward.
defined like this:
forward name=welcome path=/welcome.do/
action
path=/welcome
type=org.apache.struts.actions.ForwardAction
for
guiding programming with struts 1.1
thank you all
From: Mu Mike [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: help ,action path
Date: Wed, 10 Mar 2004 05:46:16 +
of course, I m using an ide to edit the jsp page, it can hotly tell
Please, try
html:form method=post action=/openReport
or
html:form method=post action=/myapp/openReport
You can also do a view source and look the html generated by tag
html:form
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
modified the jsp file to the below still doesnt work
html:form method=post action=/openReport
or
html:form method=post action=/myapp/openReport
You can also do a view source and look the html generated by tag
html:form
and ,I think I need an explaination of this, and what should be the right
Sorry, my mistake.
When you use view source of your browser, how does the html code look
like ?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Do you have the tag libraries defined on top of the page
Example:
%@ taglib uri=/WEB-INF/struts-html.tld prefix=html %
%@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean %
???
Khalid
modified the jsp file to the below still doesnt work
html:form method=post action=/openReport
or
]
Subject: RE: help ,action path
Date: Tue, 9 Mar 2004 21:41:30 -0800
Do you have the tag libraries defined on top of the page
Example:
%@ taglib uri=/WEB-INF/struts-html.tld prefix=html %
%@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean %
???
Khalid
modified the jsp file to the below
The exception is been generated when .jsp is rendered (and not when you
submit the form), hum ?
Try to enable struts debug log (in your log4j config file) and try to
check the package/name of your action (in struts-config.xml)...
Hi,
Those setters will be called on the ActionMapping you specify.So the same will me
available in all actions as attributes on your custom ActionMapping class(Subclass of
ActionMapping.)
And you have to configure the struts to use your action mapping as follows.
/global-forwards
!--
I'd say no. Don't have the ActionForm (just a JavaBean with some validation
in it...maybe) access the business layer.
To me, the Action acts as the local Java class talked about in the Business
Delegate Pattern that creates and caches a Stateful Session Bean. Use them
(the actions) or add a
I would recommend using the html-el tag library, in which case the code
should look like that:
html:link action='/scopeAction?row={$value}'
See here for an explanation on how to utilize the EL (expression
language):
http://javaboutique.internet.com/tutorials/Struts_EL/
Regards,
Tomeu
You have I think three choices, in preferred order:
1. Use the paramName, paramScope, and paramProperty attributes of
html:link
(see
http://jakarta.apache.org/struts/userGuide/struts-html.html#link)
This may not work with the page scoped variable defined the way you've
done it, I
-
From: Paul, R. Chip [mailto:[EMAIL PROTECTED]
Sent: 27 February 2004 15:59
To: 'Struts Users Mailing List'
Subject: RE: html:link action - how to append query string
You have I think three choices, in preferred order:
1. Use the paramName, paramScope, and paramProperty attributes of
html:link
=/scopeAction.do?row='%= value %' and so on...
regards
-Original Message-
From: Paul, R. Chip [mailto:[EMAIL PROTECTED]
Sent: 27 February 2004 15:59
To: 'Struts Users Mailing List'
Subject: RE: html:link action - how to append query string
You have I think three choices, in preferred order:
1
Mailing List'
Subject: RE: html:link action - how to append query string
You have I think three choices, in preferred order:
1. Use the paramName, paramScope, and paramProperty attributes of
html:link
(see
http://jakarta.apache.org/struts/userGuide/struts-html.html#link
No!! But it worked! You're a star! I owe you a beer or a tea (if you're
not a drinker) :)
thanks :)
-Original Message-
From: Hubert Rabago [mailto:[EMAIL PROTECTED]
Sent: 27 February 2004 16:52
To: Struts Users Mailing List
Subject: RE: html:link action - how to append query
?
-Mensaje original-
De: Adam Hardy [mailto:[EMAIL PROTECTED]
Enviado el: domingo, 22 de febrero de 2004 8:05
Para: Struts Users Mailing List
Asunto: Re: Tile, Action and Form
On 02/21/2004 02:07 PM Esteban Forzani wrote:
Hi, using Tiles and Struts I would like to know if is it possible have
two
On 02/21/2004 02:07 PM Esteban Forzani wrote:
Hi, using Tiles and Struts I would like to know if is it possible have
two tiles in the same page with two action and formbean.
The tile1 asociatted with action1 and form1 and the tile2 asociatted
with action2 and form2.
How I can inicialize the
Sounds like your db connections are not properly closed.
ML Hi to all,
ML my struts-webApplication is used by almost 80 people.
ML After 1-2 weeks my application doesn´t react anymore,
ML if I do call an ActionClass which will connect to an oracle database.
ML So I guess I do have a problem
]Kopie
17.02.2004 10:07
Thema
Re: No Action is executed
Hi Manuel,
Do have a look at my data source configuration. Probably, it might help.
Set the timeout value lower and try.
data-sources
data-source type=org.apache.commons.dbcp.BasicDataSource
set-property property=driverClassName
value=org.gjt.mm.mysql.Driver /
set-property
Thema
Re: No Action is executed
Thema
Re: No Action is executed
Bitte antworten an
Struts Users Mailing List
[EMAIL PROTECTED]
org
Hi Manuel,
Do have a look at my data source configuration. Probably, it might help
In your Action mapping tag,
u have to give the input=/xx.jsp to redirect the error
to your application. then only it will work.
-Original Message-
From: f f [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 03, 2004 9:21 PM
To: [EMAIL PROTECTED]
Subject: An Action
You don't have the input attribute in your action mapping.
...
action
path=/submitCustomer
type=proj.web.action.SubmitCustomerAction
name=CustomerRegistrationForm
input=
scope=request
unknown=false
Hi Fredrich,
give the input page in action so that on form validation it forwards
to this page.
some thing like this::
action path=/OfferWaterBank type=.OfferWaterBankAction name=OfferWaterBankForm
scope=request validate=true input=OfferWaterBank.jsp
--
redirect=false //action
-Original Message-
From: Matthew J. Vincent [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 03, 2004 9:25 PM
To: Struts Users Mailing List
Subject: RE: An Action doesn't work as expected
You don't have the input attribute in your action mapping.
...
action
Is a compiled com.topit.action.WellcomeAction class file in the classpath
for your web app (WEB-INF/classes or WEB-INF/lib)? It seems to be saying
that it couldn't create an instance of your Action class for that path.
-Max
- Original Message -
From: Daniel [EMAIL PROTECTED]
To: [EMAIL
Hi, it worrrk.
Thanks,
Fredrich
__
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
-
To unsubscribe, e-mail: [EMAIL
Hi Oliver,
On Sunday 01 February 2004 14:37, Oliver Thiel wrote:
If you want to load search.jsp just call it from another jsp with
[...]
In your search.jsp you probably should have something like that:
html:form action=search.do
Yes, I can directly link to search.jsp but it did previously
I think you need to take a step back and understand how http works. Per
each request, only one html form can be submitted(whether it's a get or a
post). This is not specific to Struts, Java or any web server solutions.
Your design is flawed, but it doesn't pertain to Struts. You can have
Anderson [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 29, 2004 9:51 AM
To: [EMAIL PROTECTED]
Subject: RE: multiple action forms in a single jsp
I think you need to take a step back and understand how http works. Per
each request, only one html form can be submitted(whether it's a get
, 2004 10:02 AM
To: Struts Users Mailing List
Subject: RE: multiple action forms in a single jsp
Actually i had a single action form till yesterday. But since the form is
getting bigger and bigger (it is very huge now and i am just half way done),
I was thinking of other possibilities. My application
Mailing List
Subject: RE: multiple action forms in a single jsp
What you are describing almost sounds like a good use of JSF--
If you have 5 forms on a page, separate, do you want to save the state of
the other 4 forms if submit is sent for one of them?
-Original Message-
From: Mathew
child forms yourself/manage
the lifecycles for reset() and validates.
-Jake
-Original Message-
From: Mathew, Manoj [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 29, 2004 12:12 PM
To: Struts Users Mailing List
Subject: RE: multiple action forms in a single jsp
Actually my real issue
http://sourceforge.net/project/showfiles.php?group_id=49385package_id=74324
release_id=147944
--
James Mitchell
Software Engineer / Struts Evangelist
http://www.struts-atlanta.org
678.910.8017 (cell)
AIM: jmitchtx
MSN: [EMAIL PROTECTED]
- Original Message -
From: Ramadoss
try
new ActionForward(https://localhost:1443+getContextPath()
+xyz.jsp,true);
Regds
Anant Kumar
TCS
N.N.S.S Ravi
If your trying to force the https scheme then i'd do this with your
webserver, otherwise your app wont be very portable. If you do really
need to do this then i'd keep the strings in a properties file, but i
cant see why you'd have to.
I would be mightily vexed if i had to configure tomcat or
all over the place..
HTH.
regards,
Shirish
-Original Message-
From: Manfred Wolff [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 08, 2004 7:44 AM
To: Struts Users Mailing List
Subject: Re: One action per request, or chaining two?
John.
There are no rules. In the programming guide
John.
There are no rules. In the programming guide of my project it is
described, that you have to make two actions. The both actions has two
diffrent suffixes (pre and post), so that you can differ it. Than the
responsibility of the action is clearly than in the other way.
Manfred
John
The philosphy is that the Actions (controller) move bean properties
from form bean(s) into business beans, and pass the business bean into a
business object to perform an operation. I.e., the action should
contain all of (and only) the web-specific portion of the application.
I.e., the latter
Hi,
your best be would be to make a
/GoTo/LoginPage
action (using whatever nomenclature you have) that makes
this list for you.
This is a good design principle anyway because you should
avoid exposing jsp pages directly to the end user.
For example,
I have an index.jsp page at the root of
To: [EMAIL PROTECTED]
Subject: Re: Prelogon Action to init a List
Hi,
your best be would be to make a
/GoTo/LoginPage
action (using whatever nomenclature you have) that makes
this list for you.
This is a good design principle anyway because you should
avoid exposing jsp pages directly to the end
Hey Sanjay
Kindly trace all my mails here on.. I am implementing the same
Regards,
Vishal Agashivala
Atos Origin India
O: +91-22-5691 3870
-Original Message-
From: sanjay paithankar [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 20, 2003 5:51 PM
To: [EMAIL PROTECTED]
Subject: One
Why would you want to use Struts if you only use one Action?
That reminds me of using 1 Servlet for many JSPs, and life before Struts...
Many you could explain your purpose.
Regards,
Daniel
-Original Message-
From: sanjay paithankar [mailto:[EMAIL PROTECTED]
Sent: Thursday, 20
Kirk, thanks for the advice,
yes, you're right I think. I'm going to change it that way in the first
refactoring time available.
Kirk Wylie wrote:
I know this is a little OT, but had you thought about doing it with
xdoclet? Particularly if the Hibernate configurations are coming out of
xdoclet
I'm doing it in a plugin.
My purpose is to develop generic CRUD operations, views and forms for
any model object that is persisted using Hibernate. For this, I
introspect Hibernate config and provide form fields according to
underlying object's properties.
I'm declaring actionmappings at
Ahmet ISIK wrote:
I'm doing it in a plugin.
My purpose is to develop generic CRUD operations, views and forms for
any model object that is persisted using Hibernate. For this, I
introspect Hibernate config and provide form fields according to
underlying object's properties.
I'm declaring
I know this is a little OT, but had you thought about doing it with
xdoclet? Particularly if the Hibernate configurations are coming out of
xdoclet in the first place (and everything's set at compile time), you
could probably extend the Hibernate templates pretty easily to generate
the action
Ahmet ISIK [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
Is it possible to declare struts action mappings at runtime, and how?
No, it's not possible. The config is read in at application startup and is
then frozen. (The reason it's done this way is so that access to the config
thanks Martin,
I have found a solution. I have acquired module config by
Globals.MODULE_KEY key from app context. Then I added programmatically
configured ActionMappings to module config object. after that it is
possible to use those action mappings. Is this a bad practice?
Martin Cooper
If you want to find out which will be next page to go, you can create an ActionForward
object and customize the parameter.
-Original Message-
From: Martin Cooper [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 3:35 PM
To: [EMAIL PROTECTED]
Subject: Re: declaring action
Ahmet ISIK [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
thanks Martin,
I have found a solution. I have acquired module config by
Globals.MODULE_KEY key from app context. Then I added programmatically
configured ActionMappings to module config object. after that it is
possible to
Hi,
I have a (hopefully) simple question.
I have a ActionForm / Action pair invoked from several JSP pages (actually the JSP
fragment is included into several JSP pages).
I am trying to use the ActionForm.validate method in combination with the
html:errors/ tag. The problem is that when there
the validation() method of your form bean, and
forward to the input corresponding to the page you're validating on.
Saul
-Original Message-
From: Chadha, Deepak (BLM) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 10:14 AM
To: [EMAIL PROTECTED]
Subject: Re-used Action class
-
From: Chadha, Deepak (BLM) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 7:14 AM
To: [EMAIL PROTECTED]
Subject: Re-used Action class
Hi,
I have a (hopefully) simple question.
I have a ActionForm / Action pair invoked from several JSP pages (actually
the JSP fragment is included
Deepak:
If i understand your problem correctly, the following should work (for case of two
jsps - you can expand to more of course..): In your struts-config.xml simply have say
two different action mappings, call them say action1 and action2. Make them both
point to the same Action class but
#1
-Original Message-
From: Mainguy, Mike [mailto:[EMAIL PROTECTED]
Sent: 13 October 2003 20:37
To: [EMAIL PROTECTED]
Cc: Green, Matt
Subject: [Poll] Action Form data types
Here's my weekly(ish) question:
For the purposes of this discussion, ActionForms also mean DynaActionForms
and the
None of the above. I use java data types but use getters and setters in the
ActionForm to perform the casting and any other manipulations necessary.
Edgar
Mainguy, Mike wrote:
Here's my weekly(ish) question:
For the purposes of this discussion, ActionForms also mean
DynaActionForms
PROTECTED]
Sent: Tuesday, October 14, 2003 1:37 AM
To: Struts Users Mailing List
Subject: RE: [Poll] Action Form data types
#1
-Original Message-
From: Mainguy, Mike [mailto:[EMAIL PROTECTED]
Sent: 13 October 2003 20:37
To: [EMAIL PROTECTED]
Cc: Green, Matt
Subject: [Poll] Action Form data
Mike wrote:
Where does everyone cast their (String) request parameters to the
'proper' datatype?
#2a My ActionForms only have Strings [and Booleans], I let (BeanUtils,
JDBC,...) cast stuff for me somewhere else.
--
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University, PA,
#3
Mainguy, Mike wrote:
Here's my weekly(ish) question:
For the purposes of this discussion, ActionForms also mean DynaActionForms
and the like...
Where does everyone cast their (String) request parameters to the 'proper'
datatype?
#1 My ActionForms only have Strings, I manually cast stuff
#2
On 10/13/2003 09:37 PM Mainguy, Mike wrote:
Here's my weekly(ish) question:
For the purposes of this discussion, ActionForms also mean DynaActionForms
and the like...
Where does everyone cast their (String) request parameters to the 'proper'
datatype?
#1 My ActionForms only have Strings, I
#2
Jerry Jalenak
Team Lead, Web Publishing
LabOne, Inc.
10101 Renner Blvd.
Lenexa, KS 66219
(913) 577-1496
[EMAIL PROTECTED]
-Original Message-
From: Mainguy, Mike [mailto:[EMAIL PROTECTED]
Sent: Monday, October 13, 2003 2:37 PM
To: [EMAIL PROTECTED]
Cc: Green, Matt
Subject:
#2, and sometimes #1
- Original Message -
From: Mainguy, Mike [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: Green, Matt [EMAIL PROTECTED]
Sent: Monday, October 13, 2003 3:37 PM
Subject: [Poll] Action Form data types
Here's my weekly(ish) question:
For the purposes of this discussion,
HTTP Status 500 usually means the Action class name was misspelled or is
otherwise not on the class path. The Action couldn't be created because
the Controller couldn't find it.
If you don't see the error messages, check the source to be sure the
formatting is correct. Sometimes things don't
List' [EMAIL PROTECTED]
Sent: Tuesday, September 30, 2003 9:33 PM
Subject: RE: Servlet action is currently unavailable
Hai Koni,
Thanks for ur reply.I am not using any database stuff.Still i am
getting the same message.I am trying to sort out.I'll let u know if i find
any solution.
Regards
Partha
Try checking in the Tomcat log. You can usually find the source of the
error there. The Tomcat log is in tomcat_home\logs. If your Tomcat is
set up like mine, the correct log file will be localhost_log.2003-09-30.txt
Matt
- Original Message -
From: Parthasarathy Kesavaraj [EMAIL
Hi Partha
Rarely I run into the same error. Until now I couldn't exactly localize
the reason. My guess is the the database connection. I use Struts 1.1
data-sources with MS SQL-Server and it seems the database connection
suddenly dies... After restarting Tomcat everything works fine again.
I use ActionMappings to represent a use-case or client story, rather
than an atomic operation. The form-bean and validator collect the data
the story needs, and an Action passes those to the business layer, and
return the outcome. The business layer class is specified as a parameter
so that I
: Tuesday, September 30, 2003 8:45 PM
To: Struts Users Mailing List
Subject: Re: Servlet action is currently unavailable
Hi Partha
Rarely I run into the same error. Until now I couldn't exactly localize
the reason. My guess is the the database connection. I use Struts 1.1
data
You can use the attached JSPs to display all the attributes in the request.
Just look for the attribute that stores the errors. In general when I was
starting with Struts I found the attached JSPs very helpful because you can
see the types of information Struts stores for you and where it is
a) Get ServletContext of Globals.ERROR_KEY.
b) Typecast to ActionErrors
c) Use errors.get(property)
d) (c) wil return Iterator ..
Sgarlata Matt wrote:
You can use the attached JSPs to display all the attributes in the request.
Just look for the attribute that stores the errors. In
Joshua,
I am not sure I understand quite what you want to do, but you can use the
redirect attribute of a forward element in struts-config.xml to do a
redirect:
forward path=/foo.jsp redirect=true /
-Max
- Original Message -
From: White, Joshua A (HTSC, CASD) [EMAIL PROTECTED]
To:
You can specify a forward action and validate the previous form at
same time. It is just that instaed of calling your own action you
called struts ready made action...
White, Joshua A (HTSC, CASD) wrote:
Currently, the Forward action forwards control to a resource on the server
side. How can
Mainguy, Mike wrote:
I started with #1 but then switched to #2.
As this is my first big struts project I might be wrong but I had the
impression that #2 would be preferrable because with #1 I would have to
repeat the action mapping as a string in my action classes.
I saw that most of the
somewhere else in the application, I can just use ReadUserAction.java
again with a different mapping if required.
Regards,
Shirish
-Original Message-
From: Timo Neumann [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 9:37 AM
To: Struts Users Mailing List
Subject: Re: [Poll
-
From: Timo Neumann [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 9:37 AM
To: Struts Users Mailing List
Subject: Re: [Poll] action mappings
Mainguy, Mike wrote:
I started with #1 but then switched to #2.
As this is my first big struts project I might be wrong but I had
So far the results are as follows:
#1 5
#2 1
#3 2
#4 0
I added myself to both 1 and 3 as I've done a project both ways... Now I
wonder, how does everyone determine which operation you are doing? As a
parameter in the action mapping? A big case-style (if else) statement?
-Original
for the same Action?
Matt
- Original Message -
From: Mainguy, Mike [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 9:47 AM
Subject: RE: [Poll] action mappings
So far the results are as follows:
#1 5
#2 1
#3 2
#4 0
I added myself
Users Mailing List
Subject: Re: [Poll] action mappings
I think for #3 it would be silly not to use a DispatchAction or
LookupDispatchAction, right? It seems like you would also want
DispatchAction or LookupDispatchAction for #1, but I really don't understand
why people are using #1 at all
on
the servlet API. Thoughts?
Matt
- Original Message -
From: Mainguy, Mike [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 9:59 AM
Subject: RE: [Poll] action mappings
You don't have to create a different ActionClass for every
Message-
From: Mainguy, Mike [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 3:47 PM
To: 'Struts Users Mailing List'
Subject: RE: [Poll] action mappings
So far the results are as follows:
#1 5
#2 1
#3 2
#4 0
I added myself to both 1 and 3 as I've done a project both ways... Now
Users Mailing List
Subject: RE: [Poll] action mappings
+1. We found that #2 worked best for our current application.
On 09/25/2003 03:42:52 AM shirishchandra.sakhare wrote:
My choce would be #2.
We are doing a quite a big struts project here and i have seen both the
approaches being used
-
From: Sgarlata Matt [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 10:14 AM
To: Struts Users Mailing List
Subject: Re: [Poll] action mappings
OK, I think I understand #1 now. However, I still disagree with it ;) If
you are using the same form bean and display components, you can
How is #3 different from #5?
Matt
- Original Message -
From: Richard J. Duncan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 10:29 AM
Subject: RE: [Poll] action mappings
What about:
#5:
A DispatchAction (struts 1.1) with a single action map entry
..
-Original Message-
From: Mainguy, Mike [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 3:47 PM
To: 'Struts Users Mailing List'
Subject: RE: [Poll] action mappings
So far the results are as follows:
#1 5
#2 1
#3 2
#4 0
I added myself to both 1 and 3 as I've done a project
: Thursday, September 25, 2003 10:25 AM
To: [EMAIL PROTECTED]
Subject: RE: [Poll] action mappings
Thats what prompted me to vote for 2...
Why to have unnecessary have this case statement in every action?
HAve the actions as simple handlers.Performing just simple atomic operations
, Mike [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 4:35 PM
To: 'Struts Users Mailing List'
Subject: RE: [Poll] action mappings
#2 and #3 are, to me, flip sides of the same coin. Our team is really
divided over which is better. Currently, we're using #3 and I personally
think
Normally a parameter in the action mapping, but other things affect it
too, such as the cancel button.
And then a big case-style if else in my action superclass.
On 09/25/2003 03:47 PM Mainguy, Mike wrote:
So far the results are as follows:
#1 5
#2 1
#3 2
#4 0
I added myself to both 1 and 3 as
layer from any web stuff and use
request parameters to determine which business operation I was performing.
-Original Message-
From: Sgarlata Matt [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 9:54 AM
To: Struts Users Mailing List
Subject: Re: [Poll] action mappings
I think
Hardy [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 10:44 AM
To: Struts Users Mailing List
Subject: Re: [Poll] action mappings
I just find it naturally easier to grasp what is going on with one
Action and one form bean for each object in my model (and normally one
factory
, and will be adding this to my API in the next few
minutes.
Matt
- Original Message -
From: Mainguy, Mike [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 10:28 AM
Subject: RE: [Poll] action mappings
That is exactly the method signature I use
Whoops!, I goofed up my response, let me clarify.
From: Sgarlata Matt [mailto:[EMAIL PROTECTED]
I just find it naturally easier to grasp what is going on with one
Action and one form bean for each object in my model (and normally one
factory or 'business delegate') plus a host of mappings.
:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 10:31 AM
To: Struts Users Mailing List
Subject: Re: [Poll] action mappings
How is #3 different from #5?
Matt
- Original Message -
From: Richard J. Duncan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 10:29
than I am.
-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 10:44 AM
To: Struts Users Mailing List
Subject: Re: [Poll] action mappings
I just find it naturally easier to grasp what is going on with one
Action and one form bean for each
1 - 100 of 454 matches
Mail list logo