Would it be possible to have just 1 form with a type property and then
from the JSP's a hidden field that sets the type? Based on this type
you can control the proper validation. Having different classes with
the same form name could get messy.
Do you mean only one class (Form.java)
I hope someone can provide me a sample struts-config.xml snippet for my
workflow stated as below:
1. A form is displayed to the user. The form has some fields with defaults
values (i.e. current date etc) and blank fields
2. The form has the following actions permitted: SAVE (update/insert
-3463.
-- Web http://www.husted.com/struts/
Rajan, Jeffy wrote:
I hope someone can provide me a sample struts-config.xml snippet for my
workflow stated as below:
1. A form is displayed to the user. The form has some fields with defaults
values (i.e. current date etc) and blank fields
Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 06, 2002 10:52 AM
To: Struts Users Mailing List
Subject: Re: Struts-config.xml
What you are really asking is how to have different buttons fire
different actions.
There are several approach to this. The JavaScript
Hello all...
Another newbie question: is there any documentation for
struts-config.xml?
Thanks,
-Mark
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Check the following dtd:
http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd
-Original Message-
From: Mark Woon [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 04, 2002 5:50 PM
To: [EMAIL PROTECTED]
Subject: Documentation for struts-config.xml?
Hello all...
Another newbie
Dear all,
When i study the the struts example and DTD, a set-property element has been
found in action element. likes as follows:
action path=/logon
type=jspbook.example.authcontrol.LogonAction
name=logonForm
scope=request
input=/logon.jsp
What kind of error do you mean? Does it parse and validate against the provided DTD?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 19, 2001 2:14 AM
To: Struts Users Mailing List
Subject: struts-config.xml-Is there a tool to find errors
PROTECTED]]
Sent: Wednesday, December 19, 2001 2:14 AM
To: Struts Users Mailing List
Subject: struts-config.xml-Is there a tool to find errors in it?
Hi
I have an error with my struts-config.xml file and I cannot find where
the error is. Is there a tool which will help me track down where
try this link. it might help.
Struts Console version 1.2 is now available.
http://www.jamesholmes.com/struts/
http://www.jamesholmes.com/struts/struts-console-1.2.zip
[EMAIL PROTECTED] wrote:
Hi
I have an error with my struts-config.xml file and I cannot find where
the error
struts-config.xml file and I cannot find where
the error is. Is there a tool which will help me track down where the
error is, the messages in the tomcat log files are not very helpful in
tracking down the error.
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands
, December 19, 2001 2:14 AM
To: Struts Users Mailing List
Subject: struts-config.xml-Is there a tool to find errors in it?
Hi
I have an error with my struts-config.xml file and I cannot find
where the error is. Is there a tool which will help me track down
where the error is, the messages
]]
Sent: Wednesday, December 19, 2001 2:14 AM
To: Struts Users Mailing List
Subject: struts-config.xml-Is there a tool to find errors in it?
Hi
I have an error with my struts-config.xml file and I cannot find
where the error is. Is there a tool which will help me track down
where the error
I changed to have tomcat run with 1.3 and it works fine now.
Question for someone. Is the active development of struts done with Suns
JDK1.3 or Suns JDK1.4? or some other vendors JDK.
Cheers
Tony
Tuomo Syvänperä wrote:
The problem only came up occasionally. If I had two webapps and I
of error do you mean? Does it parse and validate against
the provided DTD?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 19, 2001 2:14 AM
To: Struts Users Mailing List
Subject: struts-config.xml-Is there a tool to find errors
/
hope this helps.
Doug
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 19, 2001 2:14 AM
To: Struts Users Mailing List
Subject: struts-config.xml-Is there a tool to find errors in it?
Hi
I have an error with my struts-config.xml file and I
PROTECTED]]
Sent: 19 December 2001 13:40
To: 'Struts Users Mailing List'
Subject: RE: struts-config.xml-Is there a tool to find errors in it?
I use xmllint. It is very simplistic, but works well. It comes as part of
the gnome xml library, but you can download the sources and compile with
cygwin
Hi
I have an error with my struts-config.xml file and I cannot find where
the error is. Is there a tool which will help me track down where the
error is, the messages in the tomcat log files are not very helpful in
tracking down the error.
Cheers
Tony
--
To unsubscribe, e-mail: mailto
given the below struts config which is part of a war file named 'wizard.war',
i am trying to have a url that appears in the client web-browser address bar
of the sort:
http://localhost:8080/wizard/logon
but the only thing i can get to work is:
http://localhost:8080/wizard/logon.jsp
how can i
Hi Edward
You will need to add a mapping into your web.xml.
Jon.
-Original Message-
From: Edward Q. Bridges [mailto:[EMAIL PROTECTED]]
Sent: 06 December 2001 09:36
To: [EMAIL PROTECTED]
Subject: struts-config.xml question
given the below struts config which is part of a war file
To: [EMAIL PROTECTED]
Subject: struts-config.xml question
given the below struts config which is part of a war file named
'wizard.war',
i am trying to have a url that appears in the client web-browser address bar
of the sort:
http://localhost:8080/wizard/logon
but the only thing i can get to work
Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 06, 2001 10:59 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: struts-config.xml question
ahh, yes. i have that too:
servlet-mapping
servlet-nameaction/servlet-name
url-pattern/wizard
From: Dalibor Kezele [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Apache Tomcat/4.0.1 - HTTP Status 404 - /lead/basicdata.do
type Status report
message /lead/basicdata.do
description The requested resource (/lead/basicdata.do) is not available.
I have a form with 10 properties.
Problem solved:
]
Error Code: 500
Target Servlet: action
Error Stack:
Root Error-1: Missing configuration resource for path /WEB-INF/struts-config.xml
javax.servlet.UnavailableException: Missing configuration resource for path
/WEB-INF
After developing around 200+ jsp and 600+ java files, the struts-config.xml
is getting around 3000 lines.
Is there anyway to better organize the contents of the file? Like can
organiza by java path or something like that.
--
Cheers,
Yee Keat
--
To unsubscribe, e-mail: mailto:[EMAIL
There is a tool called struts console which handles the struts-config.xml
file. Unfortunately this tool doesen't format the xml file nicly after
saving the struts-config.xml file to disk. But as long as you work with that
tool and as long you don't want to go back to edit the xml in a normal
Over here, we've added entities in the header of struts-config.xml like
this:
?xml version=1.0 encoding=ISO-8859-1 ?
!DOCTYPE struts-config PUBLIC
-//Apache Software Foundation//DTD Struts Configuration 1.0//EN
http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd; [
!-- General
of the
spacing. You can also modify the config file
afterwards.
-james
[EMAIL PROTECTED]
http://www.jamesholmes.com/struts/
--- Roland Berger [EMAIL PROTECTED]
wrote:
There is a tool called struts console which handles
the struts-config.xml
file. Unfortunately this tool doesen't format the
xml file
the config file
afterwards.
-james
[EMAIL PROTECTED]
http://www.jamesholmes.com/struts/
--- Roland Berger [EMAIL PROTECTED]
wrote:
There is a tool called struts console which
handles
the struts-config.xml
file. Unfortunately this tool doesen't format the
xml file nicly after
Hello,
I am relatively new to Struts and am encountering a problem with the
struts-config.xml file. I have set up a global-forwards like below:
forward name=menu path=/do/Menu/
Then I set up an action like below:
action path=/Menu
forward=/WEB-INF/pages/menu.jsp
Your JSPs should not be in your WEB-INF folder ... try moving it up.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 02, 2001 10:40 AM
To: [EMAIL PROTECTED]
Subject: Newbe - problem with Struts-Config.xml
Hello,
I am relatively new
'
Subject: RE: Newbe - problem with Struts-Config.xml
Your JSPs should not be in your WEB-INF folder ... try moving it up.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 02, 2001 10:40 AM
To: [EMAIL PROTECTED]
Subject: Newbe - problem
]
|
| cc:
|
| Subject: RE: Newbe - problem with Struts-Config.xml
, Bill [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 02, 2001 2:14 PM
To: 'Struts Users Mailing List'
Subject: RE: Newbe - problem with Struts-Config.xml
I apologize if I gave out incorrect information. I did not realize that you
could place the JSPs in the WEB-INF ... learn something new
19, 2001 1:01 PM
Subject: RE: XML include hack to split struts-config.xml + Struts Digester
James,
Thanks! I'll give this a try.
BTW, does anyone know what the general consensus is on
being able to use these XML external entity references
within a WAR?
Is it reasonable to expect
Hi,
is it somehow possible that struts reads its configuration wich is defined
in struts-config.xml and the content of the ApplicationResources.properties
from a database?
Is it possible to define for each and a bundle of JSP-Pages one
ApplicationRescources.properties file so I dont have to put
, October 19, 2001 8:01 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: struts-config.xml
Dirk--
I am working on a patch for Struts to allow multiple
config files and application resource files to be
used. This would allow the application to be more
modularized and would solve
: struts-config.xml
Dirk--
I am working on a patch for Struts to allow
multiple
config files and application resource files to be
used. This would allow the application to be more
modularized and would solve the
problem/complaint of
very large unmanageable config files.
-james
Hi,
A while ago (Sept 10), Renaud Waldura posted this issue, saying that the
only way he
could get this to work was to hardwire the path to an included XML file like
this:
!DOCTYPE struts-config PUBLIC
-//Apache Software Foundation//DTD Struts Configuration 1.0//EN
I have the fix for multiple config files almost
done. I need to create the patch and send out an
email, but in the mean time you can use:
http://www.ejcenter.com/struts/ActionServlet.java
Just recompile the 1.0 source with the above file and
then in your web.xml file you can use a comma (,)
-
From: James Holmes [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 19, 2001 12:32 PM
To: [EMAIL PROTECTED]
Subject: RE: XML include hack to split struts-config.xml
I have the fix for multiple config files almost
done. I need to create the patch and send out an
email, but in the mean time
James Holmes wrote:
I have the fix for multiple config files almost
done. I need to create the patch and send out an
email, but in the mean time you can use:
http://www.ejcenter.com/struts/ActionServlet.java
Just recompile the 1.0 source with the above file and
then in your web.xml
Done. Please reference the message titled [PATCH]
Allow Multiple Config Files on the dev list.
-james
[EMAIL PROTECTED]
http://www.ejcenter.com/struts/
--- Eric Rizzo [EMAIL PROTECTED] wrote:
James Holmes wrote:
I have the fix for multiple config files almost
done. I need to create the
://www.ejcenter.com/struts/
--- storck [EMAIL PROTECTED] wrote:
Hi,
is it somehow possible that struts reads its
configuration wich is defined
in struts-config.xml and the content of the
ApplicationResources.properties
from a database?
Is it possible to define for each and a bundle of
JSP-Pages one
I need to configure my application by Xml.
Is it possible to add personnal XmlTags in the Struts-Config.xml file
and manipulate them in a Action class with the Digester ?
Thxs.
Bruno
-Config.xml file
[EMAIL PROTECTED] wrote:
I need to configure my application by Xml.
Is it possible to add personnal XmlTags in the Struts-Config.xml file
and manipulate them in a Action class with the Digester ?
Thxs.
Bruno
Why in strus-config.xml, why don't you create your own
application
Is it a problem, if you hard code it into a final static memmber of
a class?
--
gR
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, October 04, 2001 3:55 PM
Subject: RE: Adding Xml Tag in Struts-Config.xml file
I have an application-config.xml
Xml Tag in Struts-Config.xml file
Is it a problem, if you hard code it into a final static memmber of
a class?
--
gR
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, October 04, 2001 3:55 PM
Subject: RE: Adding Xml Tag in Struts-Config.xml file
I have
An init-param entry in your web.xml should be the solution.
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, October 04, 2001 2:55 PM
Subject: RE: Adding Xml Tag in Struts-Config.xml file
I have an application-config.xml.
But how my application could
I'm trying to get a combination of struts (1.0), tomcat 4 b7 and kerb 5
working.
I've got security enabled and I'm getting the above message. I've tried
moving the struts config file about and changing the config parameter in
web.xml but no luck at all.
It sort of worked with tomcat4 b5 but
I've partially answered my own question. I thought I'd tried this (I've
been at it all day).
Starting up without security eliminates the Missing configuration resource
error. I guess I need to mess around with catalina.policy to give the
loader access.
Shouldn't it have read access by
Hi,
I just moved my directory structure around for a previously working Struts
app and am having problems with the action mapping forward tags.
Previously all of my JSPs and struts-config.xml were running in the same
webapps directory [/webapps/cowboy].
Now my struts-config.xml is now
://localhost:3306/db2
user=db2 /
/data-sources
Does anyone has a idea what's wrong?
Thanks
Arkadiusz
- Original Message -
From: Geddes, Mark (ANTS) [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 20, 2001 6:04 PM
Subject: RE: Several Data-Sources in struts-config.xml
Look
Hi All,
how can I define more than one data-source for one
struts-application?
I want to read data from two separate databases in
one application.
I tried it this way:
!-- == Data Source Configuration
=== --
data-sources
ds1description="Data Source
-Sources in struts-config.xml
Hi All,
how can I define more than one data-source for one struts-application?
I want to read data from two separate databases in one application.
I tried it this way:
!-- == Data Source Configuration
=== --
data-sources
ds1
-Sources in struts-config.xml
Hi All,
how can I define more than one data-source for one struts-application?
I want to read data from two separate databases in one application.
I tried it this way:
!-- == Data Source Configuration
=== --
data-sources
ds1
I am a new user in Struts, and have a query about action mapping.
Under the action-mappings in struts-config.xml, if there are more than one
action definition with the same action path but with different input page,
will the mapping depend on the actual input page? or only the first action
input defines where control will return if validation errors are
generated.
For complete documentation on struts-config.xml, check out the comments in
the DTD.You can view it here:
http://cvs.apache.org/viewcvs/jakarta-struts/conf/share/struts-config_1_0.dt
d?annotate=1.5
- Original
path=/login.jsp/
/action
/action-mappings
/struts-config
Here is the error message when I try to run the login page.
2001-09-14 12:13:16 - path=/st :action: Initializing configuration from
resource path /WEB-INF/struts-config.xml
Parse Error at line 1 column 16: Element type struts-config
when I try to run the
login page.
2001-09-14 12:13:16 - path=/st :action:
Initializing configuration from
resource path /WEB-INF/struts-config.xml
Parse Error at line 1 column 16: Element type
struts-config must be
declared.
org.xml.sax.SAXParseException: Element type
struts-config
struts-config.xml
Hello All,
I am new to struts, and I am trying to setup the framework in JBuilder5
with
a simple login test.
I have my struts-config in the WEB-INF directory. Here is my
struts-config
xml file. Please give my some hints.
Thank you so much, Lan Vo.
struts-config
message when I try to run the
login page.
2001-09-14 12:13:16 - path=/st :action:
Initializing configuration from
resource path /WEB-INF/struts-config.xml
Parse Error at line 1 column 16: Element type
struts-config must be
declared.
org.xml.sax.SAXParseException: Element type
I found out about the XML include hack that can be used to split the
struts-config.xml in more manageable portions:
http://jakarta.apache.org:8080/jyve-faq/Turbine/screen/DisplayQuestionAnswer
/action/SetAll/project_id/2/faq_id/16/topic_id/196/question_id/752
It's been mentioned many times
10, 2001 4:08 PM
To: [EMAIL PROTECTED]
Subject: XML include hack to split struts-config.xml
I found out about the XML include hack that can be used to split the
struts-config.xml in more manageable portions:
http://jakarta.apache.org:8080/jyve-faq/Turbine/screen/DisplayQues
tionAnswer
Hi,
Here's my problem. My management feels that storing the database
account(userid/password)in the config file is a security risk. According to them a
hacker can get access to the whole database if they can get access to this info.
Supposedly the security team wants to put the application
I am using struts way of handling database using struts-config.xml. Where would I
encrypt it?
-Original Message-
From: Ernest Jones [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 05, 2001 10:46 AM
To: [EMAIL PROTECTED]
Subject: Re: How have others handled management concerns over
You would want to restrict what kind of access your generic Web user has
to the database. If the permissions are set right on the database, then
they can't do much they couldn't do from the Website anyway.
You should also restrict from where the Web user login can be used. It
should only be
depending on what he/she is allowed to see but the database account(the account which
is used by the application to get the connection pool) has access to the complete
database. This database account information(user, password, etc.) is stored in
struts-config.xml. This database account information
. This database account information(user, password, etc.) is stored in
struts-config.xml. This database account information is what the management is
worried about.
Here I meant that the general Web user should not be allowed to do
things like drop tables ;-)
So are you saying that the database
what are different scope(s) available to define for a bean in
struts-config.xml and how do it define themany examples...please...
--Venkat.
Is it be possible to add a prefix to the forward parameter in an action
mapping. I'm not too hot with xml, so could you explain how to do this? I
presume you could define _something_ in the struts-config.xml/web.xml and
include it in the forward value...
Thanks for any advice
Is there any way of splitting up struts-config.xml, possibly by being able
to include xml fragements into the main file. We are working on a project
involving approx. 12 developers. We are using cvs for source control. What
we are finding is that we are getting frequent conficts when trying
O'Reilly John [EMAIL PROTECTED]
Is there any way of splitting up struts-config.xml, possibly by being able
to include xml fragements into the main file. We are working on a project
involving approx. 12 developers. We are using cvs for source control. What
we are finding is that we
://www.husted.com/about/struts/
O'Reilly John wrote:
Is there any way of splitting up struts-config.xml, possibly by being able
to include xml fragements into the main file. We are working on a project
involving approx. 12 developers. We are using cvs for source control. What
we are finding is that we
is it possible to have struts-config split over several files? and use some
xml include directive?
=**
If you are not the intended recipient, employee or agent responsible for delivering
the message to the intended recipient, you are
struts-config.xml
Date: Thu, 16 Aug 2001 13:27:45 +0100
is it possible to have struts-config split over several files? and use some
xml include directive?
=**
If you are not the intended recipient, employee or agent responsible for
delivering
is it possible to have struts-config split over several files? and use some
xml include directive?
=**
If you are not the intended recipient, employee or agent responsible for delivering
the message to the intended recipient, you are
, August 13, 2001 4:25
PM
Subject: Parsing error processing
resource path /WEB-INF/struts-config.xml
Hi guys,Could someone help me on this ? I downloaded
the nightly build (binarydistribution jakarta-struts_20010813.tar.gz), and
all other requirements(jaxp 1.1, xalan j.2.2_D6, and xerces
Hi guys,
Could someone help me on this ? I downloaded the
nightly build (binary distribution jakarta-struts_20010813.tar.gz), and all
other requirements (jaxp 1.1, xalan j.2.2_D6, and xerces that comes with it).
Copied file struts-blank.war to Tomcat's webapps directory and restarted
Title: struts-config.xml
In struts-config_1_0.dtd there is a note in the data-source section that the use of url, autocommit and so on as attributes is deprecated, you should use set-property instead. How can I use set-property in struts-config.xml?
I have following datasource:
data-source
[SMTP:[EMAIL PROTECTED]]
Date: mercredi 8 aout 2001 11:35
A: '[EMAIL PROTECTED]'
Objet: struts-config.xml
In struts-config_1_0.dtd there is a note in the data-source section that
the
use of url, autocommit and so on as attributes is deprecated, you
should
use set-property instead. How
Hi,
I think it will be very useful if struts can have IF statement in
struts-config.xml to control the foward/ action.
I am thinking of building a purely configurable system using struts
framework. A system whose actions can be reassembled and chained to make new
functionalities
: IF statement in struts-config.xml
Hi,
I think it will be very useful if struts can have IF statement in
struts-config.xml to control the foward/ action.
I am thinking of building a purely configurable system using struts
framework. A system whose actions can be reassembled and chained to make new
Hello,
The mappings that are set up in the struts-config.xml can be
modified programmatically. So, if you want to reconfigure a forward,
you would not need an if statement in the struts config, but I believe
you can do it in your program that references the forward.
For example
On Mon, 30 Jul 2001, Chuong Huynh wrote:
Hi all,
Is there any detailed exlanation about struts-config.xml file? Or is there
any deployment tool for struts that automate creation of this file?
I found it difficult to understand the usage of all tags in this file.
Have you looked
On Wed, 11 Jul 2001, gdelgado wrote:
On the struts-config.xml file:
1)Can someone give me a description of the use of the 'input' attribute
under an action tag.
The documentation is in the DTD itself. Basically, this attribute defines
where Struts will return control to if the validate
I would like to use the following
request in a forward of an action in my web application's struts-config.xml
file:"/doorman.do?action=lfadm.listci=0"
But when I put in:
forward
name="lfadm"path="/doorman.do?action=lfadm.list%26ci=0"
redirect="true&qu
"..."/ tag contains code for the resolving
logic.)
Does
anyone know if redirecting from an Action class works?
Renzo
-Original Message-From: Guus Holshuijsen
[mailto:[EMAIL PROTECTED]]Sent: vrijdag 20 juli 2001
12:48To: [EMAIL PROTECTED]Subject: HTTP
requests in s
?action=lfadm.listamp;ci=0 redirect=true/
- Sébastien Noel -
-Original Message-
From: Guus Holshuijsen [mailto:[EMAIL PROTECTED]]
Sent: vrijdag 20 juli 2001 12:48
To: [EMAIL PROTECTED]
Subject: HTTP requests in struts-config.xml
Hi all,
I am using Struts since a couple of months and i face a problem with the
set-property tab in the form-bean tag in struts-config.xml
I understood that the set-property could be used to initialize parameters
of JavaBeans (see struts-config.dtd).
But in fact this doesn't work in my case
am waiting for an other idea .
Bye
Xavier Brunel
-Message d'origine-
De : Xavier Brunel [mailto:[EMAIL PROTECTED]]
Envoyé : lundi 16 juillet 2001 20:27
À : [EMAIL PROTECTED]
Objet : RE: CORRECTION : set-property and form-bean tag in
struts-config.xml ??
Ok guys, looking at the Struts
On the struts-config.xml file:
1)Can someone give me a description of the use of the 'input' attribute
under an action tag.
2)How can I handle the fact that the input may come from two different JPSs
(either one or the other).
there's any example or tutorial for using the data-source tag
in struts-config.xml?
TIA, matteo
/
Matteo Di Giovinazzo wrote:
there's any example or tutorial for using the data-source tag in
struts-config.xml?
TIA, matteo
:
javax.servlet.UnavailableException: Missing configuration resource for path
/WEB-INF/struts-config.xml
I have a link in $SERVERROOT/docs called jbpb that points to
users/jbpb/webroot
in the /users/jbpb directory i have the following:
classes
\struts.jar
Ted
I'm not following entirely, or something may be missing here. Where is the
parameter name, in your case task specified? I don't see it in the action
specification. Also, where is this feature in the documentation?
TIA
Tom Miller
Ted Husted wrote:
Another approach is to pass the query
The parameter property is not mentioned in the Users Guide (yet), but it
is in the JavaDocs.
The parameter here was just the value select. I call it task inside
the Action, to leave the option of passing ?task=select as a query
string. Of course, you could also call it parameter internally, and
Very good!
Is there a way to pass a Map of parameters in this way, or is it just a single one?
Tom
Ted Husted wrote:
The parameter property is not mentioned in the Users Guide (yet), but it
is in the JavaDocs.
The parameter here was just the value select. I call it task inside
the
It's a string, so you would have to parse it to extract multiple values.
Tom Miller wrote:
Very good!
Is there a way to pass a Map of parameters in this way, or is it just a single one?
Tom
Another approach is to pass the query string options using the
parameter property of the action mapping, and then looking for them in
your action. So, passing a parameter like task=select could also be
represented as:
action
parameter=select
301 - 400 of 470 matches
Mail list logo