In the current struts 1.0 application, we do following:
String actionNameFind = / + thisForm.getAction();
ActionMapping newMapping = (ActionMapping)
getServlet().findMapping(actionNameFind);
Does anybody know how I can retrieve ActionMapping in a similar manner in
struts 1.1
where are you trying to access your actionmapping?
- Original Message -
From: Averbukh Stella [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Wednesday, March 03, 2004 6:13 PM
Subject: ActionMapping problem: upgrading struts1.0 to struts1.1 question
You need the path to specify which mapping you want. From the RequestProcessor
class, you can use:
ActionMapping mapping = (ActionMapping)
moduleConfig.findActionConfig(path);
You can use RequestUtils to get your ModuleConfig.
Why not call the formbean's validate() method
Subject: Re: obtaining ActionMapping object
You need the path to specify which mapping you want. From the RequestProcessor
class, you can use:
ActionMapping mapping = (ActionMapping)
moduleConfig.findActionConfig(path);
You can use RequestUtils to get your ModuleConfig.
Why
Hello to all,
In Struts-1.1 it is possible to bind Actions to static URL path,
but is it possible to bind Actions to the set of the paths,
described by Java regular expression?
For example:
action-mappings
action path=/users/.*
type=com.mysite.UserPageAction
No, I don't believe this is possible currently. Wildcards of any kind
(extending to regexps) are not support for ActionMapping paths.
Sergey Proskurnya wrote:
Hello to all,
In Struts-1.1 it is possible to bind Actions to static URL path,
but is it possible to bind Actions to the set
haven't got around to using any modules yet. (I'm sooo slow on ths project,
like I don't want to do it).
Regards,
David
-Original Message-
From: Brice Ruth [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 17, 2003 3:27 PM
To: Struts Users Mailing List
Subject: Re: ActionMapping - regexp
Not in 1.1, but you can use wildcards in the nightly build.
http://jakarta.apache.org/struts/userGuide/building_controller.html#action_mapping_wildcards
Sergey Proskurnya wrote:
Hello to all,
In Struts-1.1 it is possible to bind Actions to static URL path,
but is it possible to bind Actions to
. :
addProperty(String key, String value)
and not a setter-method like (when property=test) :
setTest(String value)
Due to this fact I am running into problem because I am not able to use
multiple enhancements at the same time, unless the defined
ActionMapping-class of the action implements
At 0:30 +0200 9/12/03, Jan Zimmek wrote:
Adding a custom digester rule (like for data-source and plugin)
in this class:
http://cvs.apache.org/viewcvs.cgi/jakarta-struts/src/share/org/apache/struts/config/ConfigRuleSet.java?rev=1.15content-type=text/vnd.viewcvs-markup
plus adding a java.lang.Map
Title: actionmapping set-property problem in 1.1 upgrade
Hi,
We're upgrading to struts 1.1 and came across a problem with 'action specific' 'set-property' elements. I've searched the archives but haven't come across this problem.
Specifically this action entry:
!-- Display Public Profile
]
Sent: Thursday, September 11, 2003 11:06 AM
To: '[EMAIL PROTECTED]'
Subject: actionmapping set-property problem in 1.1 upgrade
Hi,
We're upgrading to struts 1.1 and came across a problem with 'action
specific' 'set-property' elements. I've searched the archives but
haven't come across
Title: RE: actionmapping set-property problem in 1.1 upgrade
Thanks Nazeer for the quick response. A follow up:
Extend the com.participate.util.client.struts.ApplicationActionMapping
to have a getter and setter method for continue and change the
className in the Struts config.
What type
' ? (i.e. boolean or String)
Also, how does struts use this? I grepped for 'setContinue' and
'getContinue' and didn't find it anywhere.
When, inside an action element, you have a set-property
property=X value=Y /, Struts uses that as an instruction to call
a method on the ActionMapping class
Title: RE: actionmapping set-property problem in 1.1 upgrade
So, in this, Struts is looking at an instance of
com.participate.util.client.struts.ApplicationActionMapping for a
method called setPublic(...)
Right. This class has had a setPublic(boolean) for a long time and it's worked
Title: RE: actionmapping set-property problem in 1.1 upgrade
I believe this is a bug in struts 1.1.Jan Zimmek
posted a similar problem today. It seems that either the documentation or the
code requires updating.
The issue is that set-property no longer works
for action as it did in 1.0.2
RE: actionmapping set-property problem in 1.1 upgradeHi,
an alternative is the parameter - attribute of the action - element. But this way
you can only pass one parameter (except you use a csv value and split this in your
action manually).
Adding a custom digester rule (like for data-source
= (SecureActionMapping) modCfg.findActionConfig(path);
The second line gives a ClassCastException whenever a request is made. The hierarchy
for SecureActionMapping is:
ActionConfig
+- ActionMapping
+- SecureActionConfig
+- PackagingActionMapping
,
getServletContext());
SecureActionMapping secAMapping = (SecureActionMapping)
modCfg.findActionConfig(path);
The second line gives a ClassCastException whenever a request is made. The
hierarchy for SecureActionMapping is:
ActionConfig
+- ActionMapping
Aug 2003, Emerson Cargnin wrote:
Date: Mon, 18 Aug 2003 19:10:57 -0300
From: Emerson Cargnin [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: attribute and name attributes of ActionMapping
In the struts-example application, the LogonAction
In the struts-example application, the LogonAction uses the attribute
attribute to read or delete the formBean
eg : session.removeAttribute(mapping.getAttribute());
If attribute is not used (just the name), is it possible to use the
same approache? is it a good technic?
--
Emerson Cargnin
On Mon, 18 Aug 2003, Emerson Cargnin wrote:
Date: Mon, 18 Aug 2003 19:10:57 -0300
From: Emerson Cargnin [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: attribute and name attributes of ActionMapping
In the struts-example application
that the /notamEntryLoad Action
and
/notamWorkingList are sharing. Here is the ActionMapping for the
/notamEntryLoad
action name=notamForm path=/notamEntryLoad scope=request
type=naimes.aisr.flightplan.action.NotamEntryLoadAction
validate=false
forward name=success path=/notamForm.jsp
/forward
forward
/forward
forward name=form path=/notamEntryLoad.do
/forward
/action
I am having a problem when I forward to the form forward. The ActionClass
is not getting the ActionForm object that the /notamEntryLoad Action and
/notamWorkingList are sharing. Here is the ActionMapping
I have created several sites that use the mapping.findForward(BLA) method to
forward (or redirect) to a relative URL. This has always been statically specified in
my struts-config.xml like this:
forward name=success path=/main_layout.jsp redirect=true/
then in code I do:
--- Jim Kennedy [EMAIL PROTECTED] wrote:
I have created several sites that use the
mapping.findForward(BLA) method to forward (or
redirect) to a relative URL. This has always been
statically specified in my struts-config.xml like
this:
forward name=success path=/main_layout.jsp
from the configured
ActionForward
- return this new ActionForward
May not be elegant, but it works for me.
-Original Message-
From: Jim Kennedy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 23, 2003 3:03 PM
To: [EMAIL PROTECTED]
Subject: Dynamic ActionMapping params
I have created
Hi,
What: I would like to find the roles associated with an ActionMapping
from within a custom tag, but I only have the action name so I guess I
need to get an instance of the ActionMapping class. How can I do this?
How do I get an ActionMapping class, given the name of the action?
Why: I
-Original Message-
From: p [mailto:[EMAIL PROTECTED]
Sent: Monday, July 21, 2003 10:46 AM
To: [EMAIL PROTECTED]
Subject: getting an ActionMapping class from within a custom tag
Hi,
What: I would like to find the roles associated with an ActionMapping
from within a custom tag
to be stored in the ActionMapping.
Thanks in advance,
Ajay
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
correct me if i am wrong
The filter servlet is hit before the request reaches the main servlet -
ActionServlet in struts case. As the request has not even reached
ActionServlet, ActionMapping object has not been initialized as of now.
so, you CANNOT have Mapping object in filter
navjot
ActionMappings are initialised at startup surely and available from the
servlet context?
-Original Message-
From: Navjot Singh [mailto:[EMAIL PROTECTED]
Sent: Friday, 18 July 2003 15:47
To: Struts Users Mailing List
Subject: RE: Is it possible to get the ActionMapping object in a filter
)
Subject: RE: Is it possible to
get the ActionMapping object in a
07/18/2003 01:25 PM filter ?
Please
Navjot Singh wrote:
correct me if i am wrong
The filter servlet is hit before the request reaches the main servlet -
ActionServlet in struts case. As the request has not even reached
ActionServlet, ActionMapping object has not been initialized as of now.
You can always have the access code
Hi,
I have a question regarding ActionMapping and Forwards.
I have a url which is configured in struts-config.xml as forward.
From my Action class I can simply forward to this url, but I need to pass a
parameter to this URL.
Is it possible ?
If yes how can we do this?
Thanks in Advance
new ActionForward(path.toString());
Jimmy
-Original Message-
From: AshokD [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 02, 2003 6:58 AM
To: Struts Users Mailing List
Subject: Any Possibility of Passing Parameters to a ActionMapping
Hi,
I have a question regarding ActionMapping
This should be so stinkin' obvious that I ought to be seeing it, but after
spending all morning trying to figure this out, I hope someone can shed some
light for me. I've subclassed ActionMapping so I can include a couple of
set-property tags in my Actions. This seems to work OK as I can see
I'm just guessing here, but have you tried using the
first signature (using the normal ActionMapping) and
then casting it inside your action to myActionMapping?
HTH
- v
- Original Message -
From: Jerry Jalenak [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 09, 2003 3:18 PM
When you extract the ActionMapping are you casting it to your new subclassed
actionMapping or the parent class?
MyExtension ext = (MyExtension)actionMapping;
Where MyExtension is the class named in the className attribute of your
config
HTH,
Mike
-Original Message-
From: Jerry Jalenak
Like I said, it ought to be so obvious.
That was the whole problem. Here I'm expecting Struts to pass in my
subclassed ActionMapping class (since I specified that on the className
parameter), never thinking that Struts would instead pass in the base class
and then I'd have to cast it over
hi,
In Struts :-
Is it possible to define own set of propertys' for a ActionMapping ?
Suppose, i want to define following two entries in struts_config.xml
validator = com.MyValidator
rule = myrule
And want to access them in execute() method of my action class
You can write your own ActionMapping Class, which should extend the struts
provided ActionMapping class.
In struts-config.xml file
in the tag action-mapping we can specify type
=com.xx.x...YpurActionMapping
for indivudual action we can specify this in the individual action tag
as
action
Hello all, I have a quick question... if I have an ActionMapping defined,
which uses type org.apache.struts.actions.ForwardAction, and I want
to invoke this Action via a form submit button, what is the best way
to accomplish this?
If I don't specify a formbean in the ActionMapping definition
=com.equiscape.webapp.crm.action.CreateContact
forward name=success path=/add_quick_contact.do/
/action
On Thu, 2003-03-13 at 17:22, [EMAIL PROTECTED] wrote:
Hello all, I have a quick question... if I have an ActionMapping defined,
which uses type org.apache.struts.actions.ForwardAction, and I want
Hi all,
I configure this in the struts-config.xml :
controller inputForward=true
but this error is returned when application redirect to ActionMapping input
property with the name of Global ActionForward:
The requested resource (/ibercamera/adminPreCreateUser) is not available.
any idea
to display without having
to pass it in through a query parameter.
In other words I want to handle the default parameters in the
struts-config.xml.
The only solutions both include extending the ActionMapping class and using
the set-property in the action-mapping of the struts-config.xml:
SOLUTIONS
1
Brandon,
I have a similar situation and I ended up extending ActionMapping
and using the set-property in the action-mapping in the struts-config file.
robert
-Original Message-
From: Brandon Goodin [mailto:[EMAIL PROTECTED]
Sent: Monday, February 24, 2003 12:35 PM
To: Struts User
-Original Message-
From: Brandon Goodin [mailto:[EMAIL PROTECTED]
Sent: Monday, February 24, 2003 12:35 PM
To: Struts User List
Subject: ActionMapping enhancement?
Do any of you face this issue? and how do you deal with it?
SCENARIO:
I have a set of classes that handle event calendars
Default parameters that are contained in a url querystring get difficult to
handle. It is nice to be able to change them in one place when needed. This
avoids having to pillage through every page that may contain a reference to
a partical url/querystring combo and adjust the parameters rather that
Great.
Question:
I don't want to write an action-mapping class that has properties for my
event calendar action classes being used for my content management action
classes. That is the problem that I see. One ActionMapping class for all
your actions in the struts-config.xml. I like the idea
-0354
[EMAIL PROTECTED]
http://www.phase.ws
-Original Message-
From: Jerome Jacobsen [mailto:[EMAIL PROTECTED]
Sent: Monday, February 24, 2003 10:53 AM
To: Struts Users Mailing List
Subject: RE: ActionMapping enhancement?
Hi Brandon,
I just posted something on a different topic that may
, 2003 10:58 AM
To: [EMAIL PROTECTED]
Subject: Re: ActionMapping enhancement?
Default parameters that are contained in a url querystring get difficult to
handle. It is nice to be able to change them in one place when needed. This
avoids having to pillage through every page that may contain
[mailto:[EMAIL PROTECTED]
Sent: Monday, February 24, 2003 11:25 AM
To: Struts Users Mailing List
Subject: RE: ActionMapping enhancement?
Good point :-D. I haven't used that feature. So, it wansn't on the forefront
of my mind.
However, there are some legitimate times to provide non-form based runtime
Hi all,
I have the globalforward in the property input of the one action in action-mapping, i
configure this in the controller in the struts-config.xml file in the struts1.1b3
in the struts-config.xml i have:
controller
inputForward=true
nocache=true
locale=true/
and in one actionmapping
cannot read them.
- Mark Twain (1835-1910)
-Original Message-
From: Ferran Parra [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 21, 2003 10:49 AM
To: Struts Users Mailing List
Subject: error in the attribute input of actionmapping when
accesing a globalforward
Hi
- Original Message -
From: James Mitchell [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Friday, February 21, 2003 4:55 PM
Subject: RE: error in the attribute input of actionmapping when accesing a
globalforward
Is this part correct?
path=/do/admin
=anothervalue
So you at least miss the ?
Bernhard
-Ursprüngliche Nachricht-
Von: Ferran Parra [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 21. Februar 2003 16:49
An: Struts Users Mailing List
Betreff: error in the attribute input of actionmapping when accesing a
globalforward
Hi all,
I
This one might have gotten buried in the morning download of email, has
anyone looked at this problem? Thanks. :)
- Mark
-Original Message-
From: Mark Ahnell [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 05, 2003 12:52 AM
To: [EMAIL PROTECTED]
Subject: Accessing ActionMapping
to 1.1 and have been having a problem
with
accessing the ActionMapping in my JSP. I have a custom ActionMapping,
HACActionMapping, which I have added several getters and mutators.
With version 1.0, I used this code in my JSP:
%
ActionMappings actionMappings =
(ActionMappings
I have recently migrated from 1.0 to 1.1 and have been having a problem with
accessing the ActionMapping in my JSP. I have a custom ActionMapping,
HACActionMapping, which I have added several getters and mutators.
With version 1.0, I used this code in my JSP:
%
ActionMappings actionMappings
Howdy --
I have what is I guess a noob question, but I simply can't figure out these
seemingly important lines of code in RequestProcessor.java:
646ActionMapping mapping = (ActionMapping)
647moduleConfig.findActionConfig(path);
This appears on lines 646-7 in both 1.02
On Fri, 24 Jan 2003, Bueno Carlos M wrote:
Date: Fri, 24 Jan 2003 16:18:49 -0500
From: Bueno Carlos M [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
Subject: ActionMapping/ActionConfig cast in RequestProcessor.java
Hi there,
Me again.
Is there a way to set a custom attribute for an action mapping, then
retrieve that attribute through the ActionMapping class?
I am using Struts 1.1-b2
Regards
Steve Vanspall
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto
Steve == Steve Vanspall [EMAIL PROTECTED] writes:
Steve Is there a way to set a custom attribute for an action mapping, then
Steve retrieve that attribute through the ActionMapping class?
Steve I am using Struts 1.1-b2
It appears there's two ways to do this. You can get a hint
I noticed the following when trying to use StrutsTestCase
(latest version of StrutsTestCase with Struts B2).
It seems that when a request is sent via StrutsTest that
RequestProcessor,processMapping does not find
the ActionMapping class that has been configured in
web.xml. Instead it finds
hey all..
just installed struts, got demo up and running fine on iPlanet Web Server.
just trying to create a simple demo app.
1 view(jsp) 2 fields
1 form, matching fields
1 action
It seems that my jsp forwards correctly to my action mapping, my bean is
populated correctly and validated. my logs
Hello,
I'm trying to send request parameter (i.e. /uri.do?parameter=value) to the
redirected page actionMapping returns, but couldn't find an easy way to do
this. Can someone help?
I suppose I can forward the control back to the intended page by creating a
new instance of ActionForward
I am working on an app with Tomcat 4.1 and Struts 1.1. I would like to
extend an ActionMapping, in order to verify that the user is logged in. I
extend an ActionMapping, create the getter and setter methods for the
property that I have added.
Finally, I change my web.xml and my struts
Hi All,
I am experiencing a problem with action mapping.
The error statement seen in browser is -
Not Found
The requested URL /struts-ex1/logon.do was not found on this server.
Apache/1.3.14 Server at
Hi,
Can somebody explain what the attribute property of ActionMapping actually
means. I don't understand it.
Surely the request/session scope is that given in struts-config.xml, under what
circumstances will it differ?
Howard Miller
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED
Did you miss my previous post regarding this? I think it finally hit
the list - you should have it. My mail has been acting odd the last
week or so though, so ...
Howard Miller wrote:
Hi,
Can somebody explain what the attribute property of ActionMapping actually
means. I don't understand
Ok - you missed a subtle distiction :-)
It's never going to be different form what is stated in the config file.
You could, however, choose to instantiate/populate a form yourself and
put it under some key that you wanted instead of the key Struts would
normally expect to find the form
Hi.
Several days ago, I posted a message relating to configuring Struts to run
properly on OC4J.
The actual problem was that JDeveloper's wizard for creating Action classes,
does not create a perform(), but an execute() method, which I beleive is the
old version (?).
The Action class that
Execute is the new versión (1.1b2). Perform is the old metod (1.0.2).
Regads.
-Mensaje original-
De: Thomas Delnoij [mailto:[EMAIL PROTECTED]]
Enviado el: lunes, 30 de septiembre de 2002 12:33
Para: [EMAIL PROTECTED]
Asunto: Struts ActionMapping / OC4J problem
Hi.
Several days ago, I
=appaction.GetKeuringsForm
forward name=trekker path=/trekker/keuringsformulier.jsp/
forward name=veldspuit path=/veldspuit/keuringsformulier.jsp/
forward name=boomgaardspuit
path=/boomgaardspuit/keuringsformulier.jsp/
/action
/action-mappings
The first ActionMapping accepts input from a form
Have you looked at your console/log file yet? You're about the fourth
person in two days to ask a similar question. If you have a
misconfiguration you will get a stack trace - find it, read it, and if
it doesn't make sense to you then ... search the archive (by all means
:-) and then post
-Original Message-
From: Thomas Delnoij [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 5:43 AM
To: [EMAIL PROTECTED]
Subject: Struts ActionMapping / OC4J problem
Dear colleagues,
I have a problem configuring Struts to run properly with the
embedded OC4J
app
6 144 300 14
EMail: [EMAIL PROTECTED]
-Original Message-
From: Eddie Bush [mailto:[EMAIL PROTECTED]]
Sent: vrijdag 27 september 2002 16:47
To: Struts Users Mailing List
Subject: Re: Struts ActionMapping / OC4J problem
Have you looked at your console/log file yet? You're about the fourth
]
-Original Message-
From: Karr, David [mailto:[EMAIL PROTECTED]]
Sent: vrijdag 27 september 2002 17:18
To: 'Struts Users Mailing List'
Subject: RE: Struts ActionMapping / OC4J problem
-Original Message-
From: Thomas Delnoij [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27
Weird. I always get a stack trace when I have a misconfiguration. Let
me look over your problem again ...
action-mappings type=org.apache.struts.action.ActionServlet
action path=/ProcessForm type=appaction.ProcessForm
name=TrekkerFormBean scope=request
there.
-Original Message-
From: Thomas Delnoij [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 8:43 AM
To: [EMAIL PROTECTED]
Subject: Struts ActionMapping / OC4J problem
Dear colleagues,
I have a problem configuring Struts to run properly with the
embedded OC4J
app server
-Original Message-
From: Thomas Delnoij [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 5:43 AM
To: [EMAIL PROTECTED]
Subject: Struts ActionMapping / OC4J problem
Dear colleagues,
I have a problem configuring Struts to run properly with the
embedded OC4J
app
here is the template page:
%@ taglib uri='/WEB-INF/struts-template.tld' prefix='template' %
template:insert template='/TicketTemplate.jsp'
template:put name='title' content='Home' direct='true'/
template:put name='mainMenu' content='/editRedistration.do'/
template:put name='content'
This is not a question, but rather a suggestion.
I reuse the same FormBean in session scope for three different ActionMapping,
and most of the FormBean properties are not reseted. So if the user comes
back to the same form, sees the recently entered values. But for these 3
forms I want
Mailing List
[EMAIL PROTECTED]
cc:
Subject: Re: Arbitrary parameters in ActionMapping?
Rick,
You can already accomplish what you are describing
with the current Struts architecture via
set-property elements.
action ...
set-property property=prop value=val
/action
] on
05/31/2002
01:32:51 PM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To: Struts Users Mailing List
[EMAIL PROTECTED]
cc:
Subject: Re: Arbitrary parameters in
ActionMapping?
Rick,
You can already accomplish what you
parameters in ActionMapping?
That's just the thing. You have to define a method in
your action class for each set-property element you
define. Basically if you have a property names test
then your action class needs a method called
setTest(String str).
HTH,
-james
[EMAIL PROTECTED]
http
I've noticed a few people proposing solutions for various framework
limitations that use the param attribute of the action tag. Obviously,
only one parameter can reasonably be passed in this attribute.
Does it not make sense to add a nested tag for parameters? In the build of
Struts that I'm
Rick,
You can already accomplish what you are describing
with the current Struts architecture via
set-property elements.
action ...
set-property property=prop value=val
/action
This will call the setProp(String value) method of
your action object with the val value.
The Struts Console makes
: Arbitrary parameters in ActionMapping?
Rick,
You can already accomplish what you are describing
with the current Struts architecture via
set-property elements.
action ...
set-property property=prop value=val
/action
This will call the setProp(String value) method of
your action object
List
[EMAIL PROTECTED]
cc:
Subject: Re: Arbitrary parameters in ActionMapping?
Rick,
You can already accomplish what you are describing
with the current Struts architecture via
set-property elements.
action ...
set-property property=prop value=val
/action
This will call
From: Chris Cairns [EMAIL PROTECTED]
html:link forward=editorsLogin
bean:message key=index.editorsLogin/
/html:link
I think this should be:
html: link page=editorsLogin ...
This is what the following message is telling you, that you used the wrong
paramater name:
Parse Error at line 23
Hi folks,
I just got started with J2EE, Struts, etc. a few days ago and am not sure
of a few things. I also have an error question.
First of all, I read that in the earlier Struts version of 0.5 that the
action.xml file was used and is not. Unfortunately, the examples I'm
following uses
DTD supports introduction of new paraemters with the tag set-property, by
extending the ActionMapping. There is a tutorial some where in network, I
think in HP Bluestone.
Adolfo.
From: Chuck Cavaness [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users
http://www.hpmiddleware.com/SaISAPI.dll/SaServletEngine.class/products/downloads.jsp#pdt16
_
Send and receive Hotmail on your mobile device: http://mobile.msn.com
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For
Hi,
I've added 4 lines in web.xml to tell ActionServlet not to read the DTD:
init-param
param-namevalidating/param-name
param-valuefalse/param-value
/init-param
Then, warnings disappear.
It's not a real solution, but for today, it's good :-).
Thanks, for the link.
--
C. Bouessay
how do you make a project with a comboBox?
Greetz
Wald
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Hi,
I have made a combo-box, with a list that I call in the bean. The list is made
of strings, that i call form a database. How do i proceed of making a good
solid project,
thx, for any reaplies
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
What a way to segue a thread! This should answer all your questions:
http://www.tuxedo.org/~esr/faqs/smart-questions.html
Mark
-Original Message-
From: [EMAIL PROTECTED]
Sent: Thursday, April 18, 2002 5:35 AM
how do you make a project with a comboBox?
Greetz
Wald
--
To unsubscribe,
mapping,
to be able to map each URL with a screen id:
By example:
action path=/logon
forward=/views/authentication/logon.jsp
screen=ADP-000 /
To do this, I wrote my own class which extends ActionMapping.
All works fine, I can access the screen id by calling
1 - 100 of 148 matches
Mail list logo