() %' /
Hope this helps.
--
Martin Cooper
- Original Message -
From: Alex Colic [EMAIL PROTECTED]
To: Struts [EMAIL PROTECTED]
Sent: Tuesday, May 01, 2001 11:00 AM
Subject: using value of bean in my tag.
Hi, I have a tag setup as follows:
logic:iterate id=category name=CategoryList property
Instead of trying to reuse the Struts tag itself, perhaps you could call
RequestUtils.message() from within your tag to get the localized text. This
is what the bean:message tag does to get its job done.
--
Martin Cooper
- Original Message -
From: Alexander Jesse [EMAIL PROTECTED
It actually uses a FastHashMap, which is optimized for fast read-access in a
multithreaded environment. For the details, see:
http://jakarta.apache.org/struts/api/org/apache/struts/util/FastHashMap.html
--
Martin Cooper
- Original Message -
From: Jason Chaffee [EMAIL PROTECTED
and see if there's
something going on in the container or the JVM that's causing the problem. I
don't think the issue is the bean:message tag itself.
--
Martin Cooper
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 27, 2001 10:53 AM
Subject: i18n
The error message you are seeing is not strictly accurate (which is a
problem with your JSP container). The real problem is that the
html:options tag should not have a body at all, not that the body is
empty. In other words, what you should have in your JSP is this:
html:select
The official Struts web site is at:
http://jakarta.apache.org/struts
If you need more than that site provides, you might want to follow the
Resources link. An excellent beginner's resource is at:
http://www.husted.com/about/struts
--
Martin Cooper
- Original Message -
From: Sudhir M
=customerContactName/
html:errors property=customerContactPhone/
html:errors property=customerContactEmail/
Given your example, this isn't very practical for your situation, but it
might be useful in cases where multiple errors for each of a small number of
properties is typical.
--
Martin Cooper
that are
global now but might not be later.
--
Martin Cooper
- Original Message -
From: Jeff Trent [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 09, 2001 9:57 PM
Subject: Re: Bug in order of error presentment (html:error)
Thanks for the input Martin. This is helpful. Just curious
Ted,
You can collapse your code down to this:
return mapping.findForward(secureMode ? secure : standard);
by adding redirect=true to your secure forward definition in struts-config.
--
Martin Cooper
At 01:25 PM 5/11/01, Ted Husted wrote:
I'm using a standalone container, and I find
a tag is added or changed.
--
Martin Cooper
- Original Message -
From: Johan Compagner [EMAIL PROTECTED]
To: Struts [EMAIL PROTECTED]
Sent: Saturday, May 12, 2001 1:24 AM
Subject: Where are the TLD's?
Now the sources are not in the binary's anymore (i didn't check this but i
think
this:
bean:cookie id=phonecookie name=checkout_phone /
input type=text name=phone value='bean:write name=phonecookie
property=value/'/
--
Martin Cooper
- Original Message -
From: Allen Walker [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 16, 2001 12:45 AM
Subject: bean:cookie
in the template.
Does this help?
--
Martin Cooper
At 08:53 AM 5/18/01, [EMAIL PROTECTED] wrote:
The docs say... The functionality provided by these [template] tags
is similar to what can be achieved using standard JSP include directive,
but are dynamic rather than static.
What dynamic aspect do I get
You need to specify the 'type' attribute for the logic:iterate tag.
Without it, the scripting variable for the current object has the type
'java.lang.Object', which is exactly what you are seeing.
--
Martin Cooper
- Original Message -
From: B Manikandan [EMAIL PROTECTED]
To: [EMAIL
informInventoryLack(\' + orderItemData.getId() + \') %'
bean:message key=button.order/
/html:button
--
Martin Cooper
- Original Message -
From: Nguyen Thanh Phong [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 16, 2001 6:29 PM
Subject: Re: java script struts + scriptlet
Hi Laurent,
I
container's log file.
- Check that your form bean is getting to the page intact.
- See what happens if you add one of your own tags to the page that works.
--
Martin Cooper
- Original Message -
From: Michael Duffy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 16, 2001 6:36 AM
Take a look at the html:options tag (as distinct from the html:option
tag). I think that will do what you are looking for.
--
Martin Cooper
- Original Message -
From: Gogineni, Pratima [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 22, 2001 2:18 PM
Subject: html:select
own.
Even if you do create your own class, you do not need to parse it yourself.
You specify your ActionMapping-derived class in struts-config.xml, and
Struts will parse the mapping data from that file, and create and populate
instances of your class.
--
Martin Cooper
- Original Message
try upgrading to
that and see if that makes a difference.
--
Martin Cooper
- Original Message -
From: Soeren Pietsch [EMAIL PROTECTED]
To: SCHACHTER,MICHAEL (HP-NewJersey,ex2) [EMAIL PROTECTED]
Sent: Friday, May 25, 2001 3:17 PM
Subject: Re[2]: struts-upload.war
ex2) Is there any
ex2
to
store data from one tag that needs to be accessed by other tags. (It used to
use page context attributes.) We do the same in our own taglib, specifically
so that we can use jsp:include freely to avoid the 64K problem.
--
Martin Cooper
- Original Message -
From: Mat Diss [EMAIL PROTECTED
forward. Using the name of the forward as the value of the
hidden field would make this very simple.
2) Dynamically set the action attribute on the html:form tag when
contact.jsp is processed, setting up the appropriate target for the page.
Hope this helps.
--
Martin Cooper
- Original Message
. This is
configurable in struts-config.xml.
--
Martin Cooper
- Original Message -
From: Thomas Peters [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 30, 2001 8:45 AM
Subject: Re: Solution: bean attributes not displaying (please comment)
The struts documentation indicates
property=test/br
html:submit value=OK/
/html:form %-- Use the correct closing tag here --%
Hope this helps.
--
Martin Cooper
- Original Message -
From: René Boere [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 30, 2001 2:58 AM
Subject: problem with using forms
Hi,
i am
I think you just need a space on each side of 'var'. Try this:
html:select property=%= var % size=1
Hope this helps.
--
Martin Cooper
- Original Message -
From: someil [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 30, 2001 5:42 AM
Subject: use JSP variable as a value
will be. And
when it comes to translation time, all those strings will have to be
translated multiple times - and perhaps not always the same way, especially
with multiple translators working on a large app.
Just my 2 cents...
--
Martin Cooper
- Original Message -
From: Jonathan Asbell [EMAIL
org.apache.struts.taglib.html.FORM_KEY, which is where the FormTag object
itself is stored between html:form and /html:form.
If you want a bean that has that value, you can do something similar with
bean:define.
Hope this helps.
--
Martin Cooper
- Original Message -
From: Jeff Trent [EMAIL PROTECTED
A good way of removing the bucketloads :-} from your Action classes is to
subclass ActionServlet and implement processActionPerform to do the logon
check.
--
Martin Cooper
- Original Message -
From: Jim Richards [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 30, 2001 11
BY LOOKING AT THIS PAGE http://jakarta.apache.org/site/mail2.html
- Original Message -
From: Perez, Bill [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 16, 2001 10:40 AM
Subject: RE: struts-template and MVC
HOW THE HELL DO I UNSUBSCRIBE FROM THIS LIST
, and the
same property will be used to store the value of the radio button selected
when the form is submitted.
Hope this helps.
--
Martin Cooper
- Original Message -
From: Steve Salkin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 08, 2001 8:40 AM
Subject: html:radio tag question
Library (JSR-052).
--
Martin Cooper
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 08, 2001 8:37 PM
Subject: Java Server Faces
At JavaOne today, it seemed to be suggested that j2ee would have a MVC
framework join the recommendations. Later
this should appear in Struts 1.1 before too long.)
--
Martin Cooper
- Original Message -
From: Alex Colic [EMAIL PROTECTED]
To: Struts [EMAIL PROTECTED]
Sent: Wednesday, June 06, 2001 1:49 PM
Subject: viewing combo box
Hi,
lets say you have a combo box filling from a vector. I can get
=/department.jsp ...
instead of specifying the department.do action.
Hope this helps.
--
Martin Cooper
- Original Message -
From: Prabha Desai [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 07, 2001 6:22 AM
Subject: ACtionError Issues
i have a page which calls an Action Form based
to configure the multipart handler to use, by
specifying the class name in the multipartClass init-param for your web app.
This allows you to provide your own implementation if you want to (although
this is no small task).
--
Martin Cooper
- Original Message -
From: Jonathan Asbell
implementation
did this, but it was changed to use files because of potential memory
problems with large uploads.
Hope this helps.
--
Martin Cooper
- Original Message -
From: Jonathan Asbell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, June 09, 2001 8:11 PM
Subject: Re: uploading file
Do you have a binary diff utility that you could use to see what changed in
the uploaded file? That would be very helpful.
Also, if you can tell me how many bytes were added to the file, and what
type of file it was that caused the problem, that might help too.
Thanks.
--
Martin Cooper
, the original uploaded file is still on the disk, and will
remain there until the form is resubmitted. Then it will be deleted as a
part of setting up for parsing the new multipart data.
Hope this helps.
--
Martin Cooper
- Original Message -
From: Jonathan Asbell [EMAIL PROTECTED]
To: Martin Cooper
to specify 'name', but you do need to
specify 'property'. That's how Struts figures out which form bean attribute
to set when the file is uploaded. Regarding validation, you might want to
validate that a file was indeed uploaded, if it is required.
Hope this helps.
--
Martin Cooper
- Original
process a form? What parts of the multipart request do we save
in
the bean, and in what scope?
- Original Message -
From: Martin Cooper [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; Jonathan Asbell
[EMAIL PROTECTED]
Sent: Monday, June 11, 2001 1:23 AM
Subject: Re: uploading file requires
). The FormFile
does not contain the actual uploaded data, just the name of the file it was
saved in.
--
Martin Cooper
- Original Message -
From: Jonathan Asbell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, June 10, 2001 11:16 PM
Subject: Re: uploading file requires immediate serialization
private instead of public.
--
Martin Cooper
At 10:46 AM 6/11/01, Chuck Stern wrote:
Hi,
I think I'm missing something here. I have a bean that is available to my
page in the request scope. Within that I have another bean that has
properties I want to display. I'm trying to use the define tag
,
not must. Of course, that doesn't mean that browsers will support it! :-)
--
Martin Cooper
At 12:55 PM 6/11/01, [EMAIL PROTECTED] wrote:
Martin,
Hi. Can I pick your brain about an earlier post?
I asked what would happen if I have a html:file tag on my form, but without
changing the enctype
I believe the url-pattern in your servlet mapping should be *.do, not /*.do.
Hope this helps.
--
Martin Cooper
- Original Message -
From: Mike Thompson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 13, 2001 6:24 AM
Subject: action help
Ok, I'm feeling totally lost
this error
when you try to open your connection.
Hope this helps.
--
Martin Cooper
- Original Message -
From: Bill Clinton [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 13, 2001 1:47 PM
Subject: Struts Datasource problem
Hello,
I am having a recurring problem
in
the 6/14 nightly build, and also in Struts 1.0.
--
Martin Cooper
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 13, 2001 9:36 AM
Subject: Iterate tag update?
I have a question similar to Mark Kettner's.
Could someone give an update
You should take a look at David Winterfeldt's Struts Validator at:
http://home.earthlink.net/~dwinterfeldt/
This does most, if not all, of what you want.
--
Martin Cooper
- Original Message -
From: Kwang-Shi Shu [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 15, 2001 8:43
that is called before the action (in which case Oleg's reply
describes a solution), or something that is called after the perform()
method but before the JSP execution?
--
Martin Cooper
- Original Message -
From: Kiet Nguyen [EMAIL PROTECTED]
To: Struts-User (E-mail) [EMAIL PROTECTED]
Sent: Friday
millions
of entries. Still, as long as the database is set up properly, the queries
and retrieval are fast.
--
Martin Cooper
- Original Message -
From: Mindaugas Idzelis [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, June 16, 2001 11:36 AM
Subject: RE: General DATABASE programming
the property at all. The property will
then be false - as set by your reset() method - which is correct.
Hope this helps.
--
Martin Cooper
- Original Message -
From: Rod Schmidt [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, June 16, 2001 10:55 PM
Subject: Re: html:checkbox
I believe struts-test.war became struts-exercise-taglib.war when work
started on the JUnit/Cactus tests for Struts.
--
Martin Cooper
- Original Message -
From: Sean [EMAIL PROTECTED]
To: Struts User [EMAIL PROTECTED]
Sent: Monday, June 18, 2001 7:22 PM
Subject: struts-test.war ?
I
Instead of this:
a href=mailto:bean:write name=result property=email/bean:write
name=result property=manager//a
try this:
bean:define id=email name=result property=email
type=java.lang.String/
a href='%= mailto:; + email %'bean:write name=result
property=manager//a
Hope this helps.
--
Martin
',
'multiple=multiple', etc.
--
Martin Cooper
- Original Message -
From: Simon Liang [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 19, 2001 4:41 PM
Subject: RE: Options tag - 'selected'
Got it, while going throught search of old mailing list emails.
html:select name
What version of Struts are you using? There was a bug that caused what you
are seeing, but that was fixed in February. If you're not yet using Struts
1.0, I would encourage you to update to that now.
--
Martin Cooper
- Original Message -
From: Luna, Kat [EMAIL PROTECTED]
To: [EMAIL
name=attr2 value=baz/
/jsp:include
Is this correct, or is there more to it than that?
I guess one thing you would gain from using a tag versus an include is
better performance, but the idea does seem a little odd to me.
--
Martin Cooper
- Original Message -
From: Eduardo Pelegri-Llopart
name=attr2 value=baz/
/jsp:include
Is this correct, or is there more to it than that?
I guess one thing you would gain from using a tag versus an include is
better performance, but the idea does seem a little odd to me.
--
Martin Cooper
- Original Message -
From: Eduardo Pelegri-Llopart
Are you forwarding directly from one JSP to another? That would seem to be
mixing controller functionality with the view. On the other hand, if you're
not doing that, then the Action between the pages is the place to create
your ActionError.
--
Martin Cooper
- Original Message -
From
/a
but *not* in the value of a tag attribute like this:
mylib:mylink href='mylib:mytag attr=value/'Go somewhere/mylib:mylink
Hope this helps.
--
Martin Cooper
- Original Message -
From: frank waldheim [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 21, 2001 7:06 AM
Subject
I build Struts with Xerces, using the version that comes with Xalan 1.2.2.
That works fine.
Also, I'm not sure what the -C is all about in JDK 1.3.0-C, but I believe
I saw some problems with it at some point. I'm using 1.3.0_02 now.
--
Martin Cooper
- Original Message -
From: Craig R
Silly question, perhaps, but you do have /html:text and not /html:txt,
don't you?
--
Martin Cooper
- Original Message -
From: Nick Chalko [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 27, 2001 11:53 AM
Subject: null pointer error
My jsp page with the following tag
In your logic:equal tag, you are using 'name' and 'property'. In your
html:text tag, you are using only 'property'. The second case will work
only if this code is inside an html:form tag and the form bean has a
property with that name.
--
Martin Cooper
- Original Message -
From: Rama
the property name
as Server instead of server.
--
Martin Cooper
- Original Message -
From: Rama Krishna [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 27, 2001 5:43 PM
Subject: Re: No Bean found under attribute key
thanx much martin,
html:form action=indexPage
html:text name
=CreateForm attribute) and not finding.
--
Martin Cooper
- Original Message -
From: Jason Rosenblum [EMAIL PROTECTED]
To: Struts (E-mail) [EMAIL PROTECTED]
Sent: Wednesday, June 27, 2001 4:22 PM
Subject: Iterate, Text Fields, and Indexed Properties
I've run into another problem
The struts-form taglib is obsolete in Struts 1.0, as is the Options1Tag. I'm
not entirely sure how they made it into the binary distribution, but they
shouldn't be there. You need to switch over to using the struts-html taglib
instead.
--
Martin Cooper
- Original Message -
From: Scott
Have you looked at transaction tokens in Struts? It sounds like your serial
number scheme does the same thing. Take a look at generateToken(),
isTokenValie(), et al in the Action class.
--
Martin Cooper
- Original Message -
From: Anthony Martin [EMAIL PROTECTED]
To: [EMAIL PROTECTED
on top of
Resin's approach and just dropped in my handler as a replacement for the
Struts handler. It seems to work well.
Hope this helps.
--
Martin Cooper
- Original Message -
From: Tobias Meyer [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, July 07, 2001 6:59 AM
Subject
You can override the setServlet() method to do this. That method is called
with a non-null value when an instance is being created and initialised, and
then called again with a null value when the instance is about to be cleaned
up.
--
Martin Cooper
- Original Message -
From: Andreas
a method (getter or setter) name, whereas
we (at least you and I, anyway!) tend to think of the process the other way
around, as in what is the getter name for this property?.
Hope this helps.
--
Martin Cooper
- Original Message -
From: Tim Colson [EMAIL PROTECTED]
To: [EMAIL PROTECTED
additional bundles is by extending
ActionServlet and overriding one of the init* methods. (The initApplication
method is where Struts loads the 'application' bundle.) That way, the bundle
will always be loaded before any of your Actions are processed.
Hope this helps.
--
Martin Cooper
Is your html:select tag inside a html:form tag? Since you are not
specifying the 'name' attribute, Struts will look for the property on the
associated form bean.
--
Martin Cooper
- Original Message -
From: Rehana Sheikh (Contractor) [EMAIL PROTECTED]
To: Struts (E-mail) [EMAIL
Yes.
--
Martin Cooper
- Original Message -
From: Jonathan Asbell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 05, 2001 5:23 AM
Subject: If no ActionForm associated with ActionActionForm is null???
Hello. In places where there are no forms and thus did
searchParam is not equal to
/logic:notEmpty
--
Martin Cooper
- Original Message -
From: Matt Raible [EMAIL PROTECTED]
To: Struts User [EMAIL PROTECTED]
Sent: Monday, July 02, 2001 11:17 AM
Subject: NotEqual or Present?
I am trying to check if the user entered a value for a search criteria
words is capitalised), then you shouldn't have problems.
I hope this helps clarify.
--
Martin Cooper
- Original Message -
From: Tim Colson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, July 08, 2001 6:49 AM
Subject: RE: Bean Introspection and bean:write tag
Martin - et. al
path) you were being invoked with.
For example:
action path=/path1 name=form1 type=com.mycompany.MyAction/
action path=/path2 name=form2 type=com.mycompany.MyAction/
would allow you to process requests for '/path1' or '/path2' with the same
Action class.
Hope this helps.
--
Martin Cooper
file for that build, so you should refer to that
for the specifics of what is available in the build you are running.
--
Martin Cooper
- Original Message -
From: Carlos Sham [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 19, 2001 9:58 PM
Subject: logic:notEmpty tag
Ted,
* Use directory matching for ActionServlet (/do/* instead of *.do)
I'd like to hear more about why you prefer this technique. I have to admit
that I've rather blindly followed the *.do camp without giving too much
consideration to the alternatives.
Thanks!
--
Martin Cooper
than figuring it out in the first place :-) we have had no problems
with this. We can correctly display, and interpret input, in any language -
Chinese, Japanese, European languages, etc.
--
Martin Cooper
- Original Message -
From: Ben Flaumenhaft [EMAIL PROTECTED]
To: [EMAIL PROTECTED
general workflow
solution.
--
Martin Cooper
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 25, 2001 2:23 AM
Subject: Re: Workflow impasse? and more
Hi All,
Well I've finally got around to moving my struts subscriptions to a
different address so
the struts-documentation.war web app included in the
distribution.
--
Martin Cooper
- Original Message -
From: Assenza, Chris [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 31, 2001 12:22 PM
Subject: Silly Question - Where is the notEmpty tag?
It is on the web page's
There's a description of the problem, and some approaches you can take,
here:
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg04902.html
--
Martin Cooper
- Original Message -
From: Raffaele Sgherri [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 01, 2001
To use file upload, you need to specify the method and encoding for the
form, like this:
html:form action=/upload method=post enctype=multipart/form-data
...
/html:form
--
Martin Cooper
- Original Message -
From: Bar³omiej Paw³owski [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent
This mechanism is already available in Struts. Take a look at the
DispatchAction class:
http://jakarta.apache.org/struts/api/org/apache/struts/actions/DispatchActio
n.html
--
Martin Cooper
- Original Message -
From: John Yu [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday
taglibs.
I don't think it's a question of whether or not generating HTML from custom
tags is a bad thing. It's more a case of ensuring that the tags - and more
specifically the tag libraries - are well designed for their intended
purpose.
--
Martin Cooper
- Original Message -
From
is a 'forward' or a 'redirect', you can
simplify the above by using ForwardingActionForward or
RedirectingActionForward instead of ActionForward. However, it's safer to
not make any assumptions, and use the code fragment above.
Hope this helps.
--
Martin Cooper
- Original Message -
From
.
It does. In this context, the handler is the Action class. As part of the
Controller, the Action class is responsible for setting up the data so that
it can be displayed by the View.
--
Martin Cooper
- Original Message -
From: Burleson, Thomas [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent
A 'rewrite' attribute is not defined for the 'forward' element, which is
why you are seeing the error. See the struts-config DTD for more details.
Perhaps you meant 'redirect' instead of 'rewrite'?
--
Martin Cooper
At 01:56 PM 8/2/01, Prashanth_Thm wrote:
Hi,
I am putting an action
use the Commons packages, which is why you
found them there.
--
Martin Cooper
- Original Message -
From: Randall Parker [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 01, 2001 11:31 PM
Subject: Commons jars not found in v1.0 binary distributions
I downloaded from here
() will be non-null,
and you know that the form was created by Struts and populated with the
request parameters.
Hope this helps.
--
Martin Cooper
- Original Message -
From: Emaho, Ghoot [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 02, 2001 1:49 AM
Subject: RE
The ActionMessage and ActionMessages classes are recent additions for
Struts 1.1, which is why they're not in the Struts 1.0 jar file. If you'd
like to use those classes, you'll need to download a recent nightly build
of Struts.
--
Martin Cooper
At 11:25 AM 8/3/01, Fletcher, Ken wrote:
Has
breaking the MVC model by bypassing the controller.
--
Martin Cooper
At 07:19 AM 8/3/01, Rishi Bhardwaj wrote:
HI,
i want to populate list box ( using html:select and options tag in
struts) on the first page itself..
where should i write my methods for calling database related issues
is taken literally. You have a bit more flexibility if you use the
'forward' or 'page' attributes with this tag.
--
Martin Cooper
At 01:32 PM 8/3/01, John M. Corro wrote:
Thanks to John and Ken for the assistance.
Point of clarification other interested newbies, using a form's 'action'
value
path mapping, if you want.
As you point out, changing the mapping method or the extension after the
project is in development may have repercussions, so it's a decision you
really want to make up front, and stick with.
--
Martin Cooper
At 02:09 PM 8/3/01, John M. Corro wrote:
Ken clarified my
with using the cookie value as a substitute for the form
bean value, but hopefully this will point you in the right direction.
--
Martin Cooper
At 06:25 AM 8/3/01, [EMAIL PROTECTED] wrote:
How do I use cookies to prefill form fields?
Specifically, I need to pull the value of a cookie who's name
One way to do this would be to use the Struts conditional tags to generate a
different URL on the page for edit versus add. You could base the decision
on the presence or absence of your productId parameter.
--
Martin Cooper
- Original Message -
From: Greg Maletic [EMAIL PROTECTED
=success path=/adduser.jsp/
and things should start working normally.
--
Martin Cooper
- Original Message -
From: Rama Krishna [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, August 04, 2001 11:55 AM
Subject: infinite loop
hi all,
In continuation to my post yesterday
documentation, you should refer to the struts-documentation.war application
which is part of the Struts 1.0 distribution.
--
Martin Cooper
- Original Message -
From: Matthias Brahm [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 23, 2001 1:45 PM
Subject: Re: Problem with bean:message tag
This is a consequence of the JavaBeans introspection mechanism. The getter
and setter must be getting and setting the same type for them to be
recognized as property accessors. See the Introspection chapter of the
JavaBeans spec for more details.
--
Martin Cooper
- Original Message
If you are just trying to determine whether or not there are outstanding
errors to be displayed, you should look for the ActionErrors object, which
is stored under the key Action.ERROR_KEY.
--
Martin Cooper
- Original Message -
From: Hartmut Bernecker [EMAIL PROTECTED]
To: [EMAIL
works.
--
Martin Cooper
- Original Message -
From: Prior, Simon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 06, 2001 2:02 AM
Subject: Staging Pages/Action form question.
Hi Guys,
I have the following scenarios and to design for and wanted to know how
you
approached
corresponding to each parameter name, the form
will contain all of the request parameter values when your action class is
called.
--
Martin Cooper
- Original Message -
From: Andreas Leitner [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 25, 2001 1:13 AM
Subject: Newbee: design
.
* An 'Installation' link, which will take you to a page detailing specific
installation instructions for over a dozen different containers, including
WebLogic 5.1.
--
Martin Cooper
- Original Message -
From: Nitu Singh [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 08, 2001 5
with is to follow the links that are
available to you, and search the mailing list archives. You are by no means
the first person to travel the path you are on.
--
Martin Cooper
Thanks a lot,
Nitu.
- Original Message -
From: Martin Cooper [EMAIL PROTECTED]
To: [EMAIL PROTECTED
This is a consequence of the JavaBeans introspection mechanism. The getter
and setter must be getting and setting the same type for them to be
recognized as property accessors. See the Introspection chapter of the
JavaBeans spec for more details.
--
Martin Cooper
- Original Message
1 - 100 of 532 matches
Mail list logo