If I have say a logonform bean being passed around from page a to b
and b has another form in the page( which has not been initialized) is
it possible to submit the logonform bean and the second form on the page
to another actionform ?
Original Message
Subject: Transaction Token long running process ...
Date: Thu, 20 Feb 2003 08:45:44 +0100
From: Hossfeld, Frank [EMAIL PROTECTED]
To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
Hi Ted,
I read the answer you wrote Greg Hess. And because I can't answer in the
list
Hello All,
Could anyone explain me, what is the best (or just good) way to make
communication between:
Struts Actions - Business Logic Layer - DB Source
I want to have separate layers for Business logic and DB Access.
But the main question - how should I get the reference to Business Layer
Hi Peter,
I am not sure if u r into EJB or just want to define beans for ur
Business and DB framework.
You will have to use one action class which is linked through ActionServlet.
through this action class instatiate your business layer
and i guess business layer classes will have
Hello All,
Could anyone explain me, what is the best (or just good) way to make
communication between:
Struts Actions - Business Logic Layer - DB Source
I want to have separate layers for Business logic and DB Access.
But the main question - how should I get the reference to
Hi,
I am stuck with using multi box in my jsp page.
I tried using the example provided in Ted Husted site. But when i try it, I
get null pointer exceptions related to getHashMap() ... Can any one please
help with some sample code on how to correctly implement it.
Thanks,
S.Nandakumar.
Peter,
Its not a very good practice to access the database access objects (DAO)
directly from your action class.(Ref: Design Patterns)
As far I understand you want to obtain the reference from the point of view
of drawing the objects from object pool, or is it you are aiming at getting
the class
David Graham wrote:
The controllerClass attribute doesn't appear to be hooked into the
Struts exception handling mechanism so I tried controllerUrl. I
pointed the controllerUrl attribute at a /something.do action. That
action throws an exception which does get delegated to the exception
Hello Puneet,
Well, I agree with you. But I'm interesting in another question.
For example, I will have a Business Delegate pattern, i.e. my Struts
action will know that there's an object - say MyServicesObject -
with some methods. And action should call one of this methods
to get some business
I currently try to design the Business Tier of my Struts application I am
thus very interested by this subject.
We also chose to use business delegate classes (one by doamin)that will be
called by the Action classes.
The business delegate classes communicate with the remote Application Server
Anyone know how to handle container independent HttpSession persistence?
I want to share a HttpSession for a user across multiple WebApplications and
also across multiple servers.
There is one point of access into the system (one logon screen), so I can
leave the jsessionid in the URL avoiding
I can think of following ways:
1.Maintain the object pool and draw an object from the object pool
2.Create an instance in the action class method
3.Just like Sandra, even I did not like the idea of Singleton.
If something else comes to your mind, do share it with us !
Regards
Puneet
I am trying to design the model for my struts application and I have
a big problem.
I already posted a message about this subject but I did not have an
answer however
I think that this problem is rather common.
Let us consider the following application:
I'll get you! And your little dog, too! (Long time, no see)
Mark (thought the dog's name was ToTo)
-Original Message-
From: Eddie Bush [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 1:18 AM
Ignore the man behind the curtain! ;-)
Hi everyone,
Could you please tell me if my question needs more clarificaton, I haven't had a
response for it uptil now.
I appreciate the help.
Thanks
-Original Message-
From: Tarek M. Nabil
Sent: Tuesday, February 18, 2003 5:08 PM
To: Struts (E-mail)
Subject: REPOST: Locale object
Hi all,
I would like to get a javascript alert with the content of html:errors/,
so I tried this in the JSP:
...
script
alert('html:errors/');
/script
...
But the HTML code generatd is the following,
script
Hello
I'm using tiles with struts 1.1b2. I have defined all of my actions in the
xml file, but would like to be able to modify the title from my actions,
like this:
definition name=index extends=main
put name=title value=My Site Name /
put name=body
Sorry, if my question can appear very simple but
could you please explain what do is exactly an Object pool for you?
Sandra
---
As of February 12, 2003 Thomson unifies its email addresses on a worldwide
basis.Please note my new email
Hi all,
I got a trouble what's the best to do for my project :
I need to add student from an addstudent view page who
have a StudentForm bean associated.
In my view page I need to fill some datas who cames
from a database (some field like formationSelected and
durationSelected).
I want to use
I am trying to deploy my first struts app ...
this is the error please heeelllpp
org.apache.jasper.JasperException: Cannot retrieve definition for form bean
nullat
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:248)at
BlankPlease refer to the mailing list archives. This question has been
answered many times.
http://www.mail-archive.com/struts-user%40jakarta.apache.org/
A search on Cannot retrieve definition for form bean null returns 57 hits.
robert
-Original Message-
From: Chetan Sahasrabudhe
Hi folks,
Is it possible to use the validator to check that at least one field in the
complete ActionForm is set ?
If yes, could someone give me some hints about how to do that ?
many thanks,
Thomas
-
To unsubscribe, e-mail:
BlankCan you be a little bit more specific ?
What is in your JSP ?
Did you include logging to detect the JSP code generating this error ?
What bean are you trying to get in your JSP ?
Nico.
- Original Message -
From: Chetan Sahasrabudhe
To: Struts Users Mailing List
Sent:
Hello,
Has anyone experimented with Struts on some application server, but
ASPs on IIS ?
Priyank
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
you could check at the Form bean level by setting the flag to true for any
set .
if false after all sets are invoked then u know no value is set
Sangeetha Nagarjunan
IT Solutions India Pvt. Ltd.
Bangalore
080 - 6655122 X 2119
You're not likely to have much success with doing that -- unless you
have a Servlet container running behind IIS. Apache Tomcat (a servlet
container) can be run under MS IIS using a special driver -- and I
believe that is supposed to work quite well. I would imagine other
vendors of servlet
In the preceding Action just put the values for the select drop-down in a
collection and set it in th erequest-scope (or the form-bean). On the JSP
use the html:options or html:collection tag to populate the list from
that collection.
See the taglib API for details.
Affan
- Original
ASP is closer to JSP, struts is just a framework for developing
JSP/servlets.
Try reading some of the information on the web page for each technology,
they're totally different.
-Original Message-
From: Priyank Johri [mailto:[EMAIL PROTECTED]]
Sent: jeudi 20 février 2003 05:26
To:
Hi, I'm hoping someone can help me out.
I am a novice to struts, but I have been given a
project to build web application using struts as my
dissertation. If I may say, I purchased a textbook
(Struts In Action by Husted), downloaded J2DK1.4.1_01
and tomcat. But after verifying that all my
Your form bean name is the html form name.
Affan
- Original Message -
From: Ray Madigan [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, February 20, 2003 9:47 AM
Subject: html:form
Greetings:
I am still trying to figure things out to port my
Eddie Bush...now *that's* a name I hadn't heard in a while. Welcome back...
Sri
-Original Message-
From: Eddie Bush [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 10:32 AM
To: Struts Users Mailing List
Subject: Re: ASP == STRUTS
You're not likely to have much success
you could check at the Form bean level by setting the flag to true for
any
set .
if false after all sets are invoked then u know no value is set
Sangeetha Nagarjunan
IT Solutions India Pvt. Ltd.
Bangalore
080 - 6655122 X 2119
OK...
Is there any way to do so for a DynaActionForm ?
or do I
Hi,
I'm new to Struts. I am trying to use an exsiting jsp file in a new project
and received the following error when trying to display it:
[ServletException in:/jsps/addAssociate.jsp] Cannot retrieve definition for
form bean null'
Anyone know where I should look to fix this? General info
http://marc.theaimsgroup.com/?l=struts-userw=2r=1s=form+bean+nullq=b
-= J
-Original Message-
From: Curley, John [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 8:32 AM
To: '[EMAIL PROTECTED]'
Subject: Form bean null
Hi,
I'm new to Struts. I am trying to use
http://marc.theaimsgroup.com/?l=struts-userw=2r=1s=Cannot+retrieve+defini
tion+for+form+beanq=b
--
Voytek Jarnot
Quidquid latine dictum sit, altum viditur.
-Original Message-
From: Curley, John [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 8:32 AM
To: '[EMAIL
Okay, a few more questions.
So an ActionMapping class is insantiated for each action.. element in the
struts config?
If that is the case then why don't we allow the set-property to go into a
map in the ActionMapping class. This would reduce the work of having to
extend the ActionMapping class
Wich preceding action I only got an addstudent action who receive values
from my view ?
- Original Message -
From: Affan Qureshi [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, February 20, 2003 3:29 PM
Subject: Re: html:select fill value from database
Usually an indication that your setup is incorrect -- no name attribute for a mapping
that uses html:form etc.
Please take a look at the archives for previous references to the problem for hints.
You can search using various tools. Take your pick of :
I explain more my problem in my addstudent jsp page I got
some field like name, firstName, birthDate etc..
I got some fields who needs to be filled (values from a db) when
a user view the page load. (in asp.net I do that with Page_Load and the I
fill
my datas from db).
From: alexj [EMAIL
Hello, I've got a problem with using message
resources.
I created a message resource definition in
struts-config.xml file;
message-resources
parameter=iyte.oi.ApplicationResources/
Then I created a properties file named
ApplicationResources_tr.properties
However, even though I used
Can I instantiate a form, populate it with values and then place it in
request scope and have my jsp use that form to use those values as the
default. ie if I have a Collection that I am displaying with an options
tag can I populate the form with the value that should be selected, place
the form
You might also try Google ;-)
(You'll be amazed! Try it!)
Sri Sankaran wrote:
Usually an indication that your setup is incorrect -- no name attribute for a mapping that uses html:form etc.
Please take a look at the archives for previous references to the problem for hints. You can search
Does our list consist of the best and brightest? ;-) Take the test to learn
what your IQ is and join the most elite nerds on the planet. :-)) Also, I
dare you to post your results. :-D
http://www.highiqsociety.org
DISCLAIMER: The results of the afformentioned test do not constitute a legal
-12
- Original Message -
From: Brandon Goodin [EMAIL PROTECTED]
To: Struts User List [EMAIL PROTECTED]
Sent: Thursday, February 20, 2003 3:52 PM
Subject: [OT] What's your IQ?
Does our list consist of the best and brightest? ;-) Take the test to
learn
what your IQ is and join the most
Using the nested:iterate inside of logic:iterate should work. I've modified
the code below, but of course have not tested this.
logic:iterate id=comp name=results
tr
tda href=/DisplayComponents.do?component_ID=bean:write
name=comp property=component_ID/bean:write
name=comp
This is the way I set default values to my JPSs, so that I never need
scriptlet code to initialyze them and keep them as simple as possible.
I suggest using this workflow :
HTTP request
- struts populate formbean
- action (does some business logic, puts some beans in request/session)
-
Hi,
If I use DyanActionForm, how should I populate dropdown box using
html:options tag? we would declare all the form attributes in
struts-config.xml, how should I initialize the collection and where?
Thanks,
Anand
-
To
What's lobotomized?
-Original Message-
From: alexj [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 9:53 AM
-12
- Original Message -
From: Brandon Goodin [EMAIL PROTECTED]
To: Struts User List [EMAIL PROTECTED]
Does our list consist of the best and brightest? ;-)
Any chance Ted will send an autographed copy of the book to the highest
scorer??
-Original Message-
From: Brandon Goodin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 8:53 AM
To: Struts User List
Subject: [OT] What's your IQ?
Does our list consist of the best
Greetings all...
We've recently moved to tiles, and are trying to do the following:
- Without using definitions (yet)...
- We have a /tiles/address.jsp tile that we'd like to use within one or more
other tiles (as a sub-tile).
- We have a couple of tile definitions (as I said, without actually
I'm having some difficulty with using a scriptlet in the iterate tag.
The following, non-scriptlet code works:
logic:iterate id=item name=formInputForm property=list
type=java.lang.String
and using a scriptlet within the property attribute works:
html:select deals with populating a form property (a String - typically -
for single-select, and array for multi-select); html:options needs a
collection placed into some scope which is commonly done in the Action class
that forwards to the JSP which needs to display the drop-down box.
--
Voytek
I'm a bit confused. May I used parameter to add a specific action to be
used
when a page load.
Like I can fill my html:options with an action who can not from my
StudentForm bean ?
May I use a case like that
action
attribute=studentForm
input=/form/addstudent.jsp
name=studentForm
I'm a bit confused. May I used parameter to add a specific action to be
used
when a page load.
Like I can fill my html:options with an action who cam not from my
StudentForm bean and not from addstudent?
May I use a case like that
action
attribute=studentForm
You might get some fraudulent IQ posts in order to boost their Struts IQ
by getting a hold of a copy of Struts In Action.
Brandon Goodin
Phase Web and Multimedia
PO Box 85
Whitefish MT 59937
P (406) 862-2245
F (406) 862-0354
[EMAIL PROTECTED]
http://www.phase.ws
-Original Message-
From:
I just subscribed to the Struts Mailing List. Does anyone know how to
move all email I get from this list to a separate folder in Outlook ?
Thanks,
John
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Have you tried experimenting with html-multibox.jsp that's in the
struts-exercise-taglib application that ships with Struts?
Sri
-Original Message-
From: Nandakumar Subramaniam [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 4:35 AM
To: 'Struts Users Mailing List'
Subject:
I would imagine that some tag inside your JSP is trying to access the session, but you
have session set to false. A stack trace would be helpful, but unless you have a real
good reason I would reconsider your decision not to use sessions. I am not as familiar
with the source as some on this
you may want to use easy struts it's a great plug in to use
with eclipse just search it with google.
- Original Message -
From: Jason Vinson [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, February 20, 2003 4:28 PM
Subject: Struts and Eclipse Doc
With
You're kidding, right?
Actually you're in luck, I've put very detailed instructions about this on
my site, you can access it at: http://www.google.com/search?q=outlook+rules
--
Voytek Jarnot
Quidquid latine dictum sit, altum viditur.
-Original Message-
From: Curley, John
http://jakarta.apache.org/struts/faqs/eclipse.html
--
James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org/
The man who does not read good books has no advantage over the man who
cannot read them.
- Mark Twain (1835-1910)
-Original Message-
From:
-Original Message-
From: Curley, John [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 9:27 AM
To: '[EMAIL PROTECTED]'
Subject: mailing list question
I just subscribed to the Struts Mailing List. Does anyone
know how to
move all email I get from this list to a
http://jakarta.apache.org/struts/faqs/eclipse.html
From: Jason Vinson [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Struts and Eclipse Doc
Date: Thu, 20 Feb 2003 10:28:16 -0500 (EST)
With this many people using
i can send you a tutorial I made to setup struts 1.1b3
- Original Message -
From: Jason Vinson [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, February 20, 2003 4:28 PM
Subject: Struts and Eclipse Doc
With this many people using Struts, I am fairly
Thanks for reply. But how can we do this using DynaActionForm, I'm not sure,
please can u provide some code sample?
Thanks in advance.
- Original Message -
From: Jarnot Voytek Contr AU HQ/SC [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Thursday, February 20,
Can I please get a copy? That'd be great. Thanks.
-Original Message-
From: alexj [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 9:33 AM
To: Struts Users Mailing List
Subject: Re: Struts and Eclipse Doc
i can send you a tutorial I made to setup struts 1.1b3
I'm not sure if using definitions would fix your problem but you may as well
start using them. IMO, the central xml definitions file is one of the most
important features of Tiles.
David
From: Davide Bruzzone [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To:
Well, for starters
1. Don't begin your message lines with , that's used as a prefix for
mail that YOU are replying to.
2. Setup a rule.
I keep links on my homepage here:
http://www.google.com/search?hl=enie=UTF-8oe=UTF-8q=setup+rule+in+out
lookbtnG=Google+Search
--
James Mitchell
Software
2003. február 20. 16:28 dátummal Jason Vinson ezt írtad:
With this many people using Struts, I am fairly sure someone is using
Eclipse to develop in. Does anyone have a document that explains the setup
of Eclipse to develop for struts? I have been a vim and ant guy... these
IDE's confuse me
Nothing is wrong with Vim and ant but I would like to give an IDE a shot. Just to
see what all the raving is about :)
Jason
---Original Message---
From: Gemes Tibor [EMAIL PROTECTED]
Sent: 02/20/03 10:38 AM
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: Struts and
Hello everyone,
I want to be able to have multiple forms on a single web page. These forms are
totally unrelated in that I want them to materialize into different beans depending on
which form was submitted. I don't see that it is possible to configure this scenario
in the the
Luckily for me, I purchased a copy...
;-)
-Original Message-
From: John Espey [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 9:17 AM
To: Struts Users Mailing List
Subject: RE: [OT] What's your IQ?
Any chance Ted will send an autographed copy of the book to the highest
Or use news.basebeans.com via news reader in outlook.
It has Struts, Resin, Eclipse, Hibreante, Apsect, pgSQL, etc., all the
mail lists I think are cool for users, with no need to move, makes it
easy to monitor, and post like I do here.
.V
James Childers wrote:
-Original Message-
I think its an excellent test. I took it a while back and scored one point
higher than my wife.
-Original Message-
From: Brandon Goodin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 9:53 AM
To: Struts User List
Subject: [OT] What's your IQ?
Does our list consist of the
Have you considered using Tiles?
--
James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org/
The man who does not read good books has no advantage over the man who
cannot read them.
- Mark Twain (1835-1910)
-Original Message-
From: C F [mailto:[EMAIL
129 - I'm joining the High IQ Society!
| -Original Message-
| From: alexj [mailto:[EMAIL PROTECTED]]
| Sent: Thursday, February 20, 2003 8:53 AM
| To: Struts Users Mailing List
| Subject: Re: [OT] What's your IQ?
|
| -12
| - Original Message -
| From: Brandon Goodin [EMAIL
I am new to struts and am having trouble with handling
invalid input.
I have the following action mappings in struts-config:
action path=/BadgeLookup name=BadgeLookupForm
scope=request
type=org.apache.struts.actions.ForwardAction
parameter=TA/BadgeLookup.jsp/
action path=/BadgeLookupSubmit
Hope someone is as kind to you when you start something new. :-)
-Original Message-
From: Jarnot Voytek Contr AU HQ/SC [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 10:31 AM
To: 'Struts Users Mailing List'
Subject: RE:[OT] mailing list question
You're kidding, right?
Hope someone is as kind to you when you start something new. :-)
-Original Message-
From: Jarnot Voytek Contr AU HQ/SC [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 10:31 AM
To: 'Struts Users Mailing List'
Subject: RE:[OT] mailing list question
You're kidding, right?
In the documentation for html:hidden the property attribute is the name of
the bean property that loads the value of the hidden field on the form.
What i would like to know is how do u go the other way. I want the hidden
field to collect data through javascript, and then be available through the
There's gotta be something wrong with that Ultimate IQ test they have there
cause I just posted a 140, and I'm considered a dumb ass by the banjo player
from Deliverance!
- Original Message -
From: Jacob Hookom [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent:
Hope you don't have to go through life asking for other people's kindness
because it is seldom available for free.
ps: you might want to go two blocks south of where you are now and open the
blue box that says CLUE on it. open it and take all the contents for
yourself. apparently you really
We are working on the framework of our software too. Right now we use
Scaffold which in turn uses poolman. We basically followed the example
of artimus in the book Struts in Action. The book also mentions other
choices for persistence layer : ObjectRelationalBridge (OJB), Caster,
Simpler, and
John,
What you need to do is click on the yellow icon that looks like blocks
breaking apart. Once you do that, click on an email from the struts mailing
list in your inbox and the rest is self explanatory.
-Bocaj
| -Original Message-
| From: Curley, John [mailto:[EMAIL PROTECTED]]
|
I posted a 129
Brandon Goodin
Phase Web and Multimedia
PO Box 85
Whitefish MT 59937
P (406) 862-2245
F (406) 862-0354
[EMAIL PROTECTED]
http://www.phase.ws
-Original Message-
From: Simon Kelly [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 9:10 AM
To: Struts Users Mailing
Hello,
Is there any Open-Source General Ledger like http://www.sql-ledger.com ,
but with struts?
Thanks in advance,
Juan José Velázquez Garcia
Information System Developer
www.htmlspider.com.br
-
To unsubscribe, e-mail:
Hi,
Im fairly new to Struts, but i can't see what the restriction is. Can't you
define two forms on a single page, each with the appropriate action?
Ray Madigan
-Original Message-
From: C F [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 7:41 AM
To: [EMAIL PROTECTED]
for what it's wroth, this is a hard test. I took the 35 question one.
Scored 124.
On Thursday, Feb 20, 2003, at 10:26 US/Eastern, Brandon Goodin wrote:
You might get some fraudulent IQ posts in order to boost their Struts
IQ
by getting a hold of a copy of Struts In Action.
Brandon Goodin
Don't know the exact syntax but I think you can use nested tag.Pls look at
www.keyboardmonkey.com http://www.keyboardmonkey.com for egs. Pls correct
me if I am way off base here.
-Original Message-
From: Chetan Sahasrabudhe [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 19, 2003
David Graham wrote:
Cedric,
I thought the main point of the controller was to allow you to attach
data preparation to the tile instead of in every action that may
forward to that tile. That is a very useful feature! All of my (and
many others) data preparation involves accessing a
Art:
I am no expert at Sruts, but I think you may want to try:
input=/TA/BadgeLookup.jsp
(I am assuming your directory TA is at the root of your web
application.)
Regards,
Geeta
Art Vandalay wrote:
I am new to struts and am having trouble with handling
invalid input.
I have the following
Never mind asking anything pls.
As far I understand the Object Pool: Objects of some classes are kept ready
in the session, with the help of object pool manager. Since Object creation
is costly in terms of Java Performance, ready object is drawn from the pool
and returned to the pool after use
Hi,
In the layout jsp where you insert your body, you should explicitly
pass the address attribute to the body to be inserted:
tiles:insert attribute=body flush=true
tiles:put name=address beanName=address beanScope=tiles /
/tiles:insert
This is because attributes of a tile are only
Great thinking!
This is pgSQL based, and to write a few screens to do CRUD against a
pgSQL is very do able via Struts.
There might be people that have Struts experience that could be hired to
write some of the screens for the Web, and screens you need rarley could
stay the way they are.
.V
I don't understand what you need.
If you want to have 2 HTML forms that post to 2 urls - only associated
inputs will be submited - you can do it well (with or without struts).
If you want the 2 urls to get ALL input fields as request parameters, you
will need hidden inputs and some javascript.
Geeta,
Thanks. That worked perfectly. I don't understand why
though. According to the struts-config.dtd the input
attribute is a:
Module-relative path of the action or other resource
to which control should be returned if a validation
error is encountered.
Maybe I'm just too new to struts to
You just put multiple html:form/html:form tags in your page, each defined
appropriately. Struts-config isn't directly involved in multiple forms on a single
page, except insofar as the form beans and Actions are initially defined there.
Ex:
html:form action=/someAction
... form tags, HTML,
Hi,
You can associate a controller to the tiles. This controller will
change the attribute value.
There is some doc in:
* http://www.lifl.fr/~dumoulin/tiles/tilesAdvancedFeatures.pdf
* http://blogs.browsermedia.com/patrick/index.do?date=20030211#130200
*
The problem eventually boils down to RequestUtils.retrieveUserLocale blindly
calling:
Locale userLocale = (Locale)pageContext.getAttribute(locale,
PageContext.SESSION_SCOPE);
Seems like it could check for the existence of a session and use
pageContext.getRequest().getLocale() in its absence...
Try the 12 minute timed one. 128 scored, 48 out of 50 answered. Getting
closer to that banjo player with every go. ;-)
- Original Message -
From: Brandon Goodin [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, February 20, 2003 5:17 PM
Subject: RE:
1 - 100 of 267 matches
Mail list logo