Have you considered Spring and it's IOC framework? Works wonderfully with
Struts (even has a lovely plug-in to get the whole thing working together).
The configuration is only one aspect of the whole Spring framework.
Christopher Marsh-Bourdon
www.marsh-bourdon.com
-Original Message-
I'd back that up, HSQL is definitely worth a look. Just ensure that you
choose your mode carefully.
Christopher Marsh-Bourdon
www.marsh-bourdon.com
-Original Message-
From: Swapnil Patil [mailto:[EMAIL PROTECTED]
Sent: 12 August 2005 15:25
To: Struts Users Mailing List
Subject: Re: [O
It is vaguely amusing that the page's url dos not adhere to the page's
content!
Not sure how practical it would be to use url that do not contain an (file)
extension with Struts or most web app frameworks. Aren't they there to give
guidance to their content (Hacker subterfuge excluded)?
It sho
I have several high-specced Linux (Redhat ES) servers doing very little and
currently not hosted anywhere. They are Apache/Tomcat/JBoss configured and
I did use them to host my test Struts apps. I was wondering if anyone
wanted to share the server(s)/costs and get them co-located? Seems a waste
You are adding the HashMap as an item to the ArrayList, not replacing the
contents of the ArrayList with the contents of the HashMap. Try this:
List shippers = new ArrayList(map);
Instead of:
shippers.add(map);
And get rid of:
ArrayList shippers = new ArrayList();
Cheers
Christopher Marsh
If the title confuses, then that was the point.
I've been training up some developers to use Struts and the common complaint
is the ambiguity of the Action definition's attribute attribute. Now we all
have off days when it comes to naming properties/methods etc, but this seems
very ambiguous. So
I know this would "stifle" the debate, but can we just stop the very
off-topic debates on:
My IDE vs. Your Text Editor
Struts vs. Anything else (especially Microsoft)
It's not Friday and it only encourages the trolls.
It really doesn't have a place here. I personally do attempt (however
poorly
One way would be to have a form with a hidden html object that gets set by
the onClick event of each of the images. This can then be collected by the
ActionForm and acted upon by the Action.
Christopher Marsh-Bourdon
www.marsh-bourdon.com
-Original Message-
From: Harland, David [mailto
Is it the name of the property is 'paymentAmount' yet in the form definition
it states the name as 'payments'?
Christopher Marsh-Bourdon
www.marsh-bourdon.com
-Original Message-
From: Ciaran Hanley [mailto:[EMAIL PROTECTED]
Sent: 30 June 2005 10:42
To: 'Struts User Mailing List'
Subject
Create a private property with a Getter and Setter in your plugin, and the
wonders, nay mysteries, of Struts will ensure that it gets populated for
your use.
Christopher Marsh-Bourdon
www.marsh-bourdon.com
-Original Message-
From: Dewitte Rémi [mailto:[EMAIL PROTECTED]
Sent: 29 June 200
Option 2 assumes that the action1 does not clear down or reset the data form
that is used. This could lead to the datalist being present, but not the
originally submitted form data.
Christopher Marsh-Bourdon
www.marsh-bourdon.com
_
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sen
The datalist should probably sit in the session scope rather than request.
Until there is an "intermediary" scope, this is probably the most
cost-effective method. Just ensure that Action2 performs some cleanup that
removes it from the scope when you are done with it.
Christopher Marsh-Bourdon
ww
In that case does it contain (or path similar) within the struts-config.xml:
Christopher Marsh-Bourdon
www.marsh-bourdon.com
-Original Message-
From: Gilbert, Antoine [mailto:[EMAIL PROTECTED]
Sent: 23 June 2005 14:58
To: Struts Users Mailing List
Subject: RE: ApplicationResources.pro
ActionMessage bert = new ActionMessage("Here {0}, thi is the place.",
"Bert");
Will produce:
Here Bert, thi is the place.
Cheers
Christopher Marsh-Bourdon
www.marsh-bourdon.com
-Original Message-
From: Arash Bijanzadeh [mailto:[EMAIL PROTECTED]
Sent: 21 June 2005 13:10
To: Struts Us
I favour using org.apache.* or com.sun.*, but never com.microsoft.*. It
gives a certain gravitas to one's coding! ;-)
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: 17 June 2005 13:59
To: Struts Users Mailing List
Subject: Re: [OT] package naming nonsense
Silly question, but it probably needs asking; What scope are you giving this
form? I assume it is request.
I know it is unfashionable, but giving the form a scope of session will
persist this HashMap for you (unless you reset it).
Cheers
Christopher Marsh-Bourdon
www.marsh-bourdon.com
---
How many developers does it take to change a Wiki?
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: 26 May 2005 17:40
To: Struts Users Mailing List
Subject: Re: Could someone on the dev team add link to mailing list on
Struts site
Ted Husted made the change, I re
Aladin
You are right, apologies. I agree, it would be nice to have.
Cheers
Christopher Marsh-Bourdon
www.marsh-bourdon.com
-Original Message-
From: Aladin Alaily [mailto:[EMAIL PROTECTED]
Sent: 24 May 2005 16:24
To: Struts Users Mailing List
Subject: RE: Struts, xhtml & bad tag synt
This is surely down to your IDE and not Struts. Eclipse with MyEclispe will
create them XHTML compliant.
Cheers
Christopher Marsh-Bourdon
www.marsh-bourdon.com
-Original Message-
From: Aladin Alaily [mailto:[EMAIL PROTECTED]
Sent: 24 May 2005 16:13
To: Struts Users Mailing List
Cc:
The name is set in two ways (both within the struts-config.xml) under the
action if you specify just a 'name' property, the name of the form is that,
if you specify a 'name' and an 'attribute' (in effect an alias) property it
will be the 'attribute' property. For example, the name of the form will
-Bourdon, Christopher wrote the following on 5/13/2005 3:50 AM:
> Never knock Potato farming; I married a potato farmer!
I wasn't knocking it for real.
I'm sure farmer's hours are long and hard work, but there is something
to be said for tilling God's land. I also think it
Never knock Potato farming; I married a potato farmer!
-Original Message-
From: Rick Reumann [mailto:[EMAIL PROTECTED]
Sent: 12 May 2005 17:25
To: Struts Users Mailing List
Subject: Re: [OT] Too late to become a rock star?
I might give potato farming a try.
Frank W. Zammetti wrote the
he
forward
allows me to send.
Eg:
for this particular link I am also sending action=edit as a request param
Thanks
-Original Message-----
From: Marsh-Bourdon, Christopher [mailto:[EMAIL PROTECTED]
Sent: 12 May 2005 11:23
To: 'Struts Users Mailing List'
Subject: RE: using html
to submit form and params
Would I use the href tag in addition to using the forward tag within the
link?
-Original Message-
From: Marsh-Bourdon, Christopher [mailto:[EMAIL PROTECTED]
Sent: 12 May 2005 11:16
To: 'Struts Users Mailing List'
Subject: RE: using html link to s
If set your href of the link to be something like this:
href="javascript:document.{Form Name}.submit();"
Then the form will be submitted and your form values will not be set to
null.
Christopher Marsh-Bourdon
www.marsh-bourdon.com
-Original Message-
From: [EMAIL PROTECTED] [mailto:[E
Use the parameter="{parameter}", you can then pick this up in the action
using:
String parameter = mapping.getParameter();
Cheers
Christopher Marsh-Bourdon
www.marsh-bourdon.com
-Original Message-
From: Rodolfo García Esteban/CYII [mailto:[EMAIL PROTECTED]
Sent: 12 May 2005
In my particular usage (which might be half or even fully cocked) I do the
following:
For Input, I take the details in via a form, like most I assume;
For Viewing/Editing or Amending I take a POJO from Hibernate and then using
PropertyUtils copy the data from the POJO to the Form and then use the
#4
-Original Message-
From: Marco Mistroni [mailto:[EMAIL PROTECTED]
Sent: 12 May 2005 09:05
To: 'Struts Users Mailing List'
Subject: RE: [POLL] What do you use action forms for?
#4 ..
> #1 - so I generate them from my POJOs using XDoclet. All the other
> frameworks I use (JSF, Sprin
do something else
> -Original Message-
> From: Marsh-Bourdon, Christopher
> [mailto:[EMAIL PROTECTED]
> Sent: 09 May 2005 14:26
> To: 'Struts Users Mailing List'
> Subject: RE: Switch Tags
>
>
> Yes, that goes some way. I missed out that I need a cas
TED]
Sent: 09 May 2005 14:18
To: Struts Users Mailing List
Subject: RE: Switch Tags
what's wrong with jstl?
do this
do that
do something else
> -Original Message-----
> From: Marsh-Bourdon, Christopher
> [mailto:[EMAIL PROTECTED]
> Sent: 09
I will of course be going off to Google in a moment, but I would like
anyone's recommendation for a Tag(s) that enable the coder to perform a
Switch/Case like function within the JSP. I could of course write one, but
I'm lazy!
Cheers
Christopher Marsh-Bourdon
www.marsh-bourdon.com
--
That sounds like you are closing the stable door after the horse has bolted.
Why not wrap a _try_ and _finally_ block around the code areas that
create/open connections to prevent this?
Connections are a strange fruit and should always be closed; otherwise your
app could run out of memory not ju
Well can you use Struts Bean Tags? If so, this would be your option:
Not really a custom tag as such.
Christopher Marsh-Bourdon
www.marsh-bourdon.com
-Original Message-
From: Rodolfo García Esteban/CYII [mailto:[EMAIL PROTECTED]
Sent: 28 April 2005 14:28
To: user@struts.apache.org
S
I'd wholly recommend both Chuck Cavaness's Programming Jakarta Struts and
Bill Siggelkow's Jakarta Struts Cookbook, both are available online with
O'Reilly Safari (but read in that order).
Christopher Marsh-Bourdon
www.marsh-bourdon.com
-Original Message-
From: news [mailto:[EMAIL PROTECT
Hello again
Thank you Niall for your suggestion, again it was a mistake with my quick
muck/mock-up. However, the issue still occurred.
After a fair amount of investigation, I have managed to work out that it was
down to the fact that the html:errors and html:messages could not find the
resourc
y.
Niall
- Original Message -----
From: "Marsh-Bourdon, Christopher" <[EMAIL PROTECTED]>
Sent: Thursday, April 21, 2005 10:19 AM
> SimpleForm.java
>
>
> public ActionErrors validate(ActionMapping mapping,
> HttpServletRequest request)
> {
>
>
[EMAIL PROTECTED]>
> Reply-To: "Struts Users Mailing List"
> Date: Wed, 20 Apr 2005 13:49:43 -0400
> To: "Struts Users Mailing List"
> Subject: RE: Validation's disappearing messages
>
> Christopher,
>
> It might help if you include portions of
essages are not
persisted.
-Original Message-----
From: Marsh-Bourdon, Christopher [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 20, 2005 11:52 AM
To: 'Struts Users Mailing List'
Subject: Validation's disappearing messages
Afternoon all
Under Struts 1.1 (previously I have been usin
Afternoon all
Under Struts 1.1 (previously I have been using 1.0), I have validation on a
form (it extends ValidatorActionForm) but after validation has failed and I
have (within the validate method) logged the number of errors, I can not for
the life of me get them to show within the JSP. I have
Hear-hear. My users would brain me if I just provided that amount of
interface on a web application.
-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: 19 April 2005 16:17
To: Struts Users Mailing List
Cc: Struts Users Mailing List
Subject: Re: AJAX: Whoa, Nellie
Nils
I tend to use ActionForms where I can, but I also have a set of wrappers for
Collections that handle ordering of the columns within the collection,
retrieve individual items by key etc. and adapters for single objects that
enable the front-end to pull all the details out of the beans with sim
How's about calling us a "prommunity" where the product is the community (in
part)?
Christopher Marsh-Bourdon
www.marsh-bourdon.com
-Original Message-
From: Simon Chappell [mailto:[EMAIL PROTECTED]
Sent: 11 April 2005 14:18
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: [
ginal Message -
From: "Marsh-Bourdon, Christopher" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'"
Sent: Thursday, April 07, 2005 5:15 PM
Subject: RE: Please wait page
> If you ask travelocity nicely, I'm sure they will help. Why not pop
If you ask travelocity nicely, I'm sure they will help. Why not pop them an
email?
Christopher Marsh-Bourdon
www.marsh-bourdon.com
-Original Message-
From: Shiva Narayana [mailto:[EMAIL PROTECTED]
Sent: 07 April 2005 10:13
To: user@struts.apache.org
Subject: Please wait page
hi all,
There are two solutions that you have available to you (well that I know off
the top of my head):
1) Use the _attribute_ property in the action tag to give each form a
pseudonym:
This would l
Scott
Can I make a suggestion that if you want to find out about a Tag (or set of)
that you open the .tld and have a read through it. Most tag properties
(especially in the Struts HTML tags) are quite clear from their labels.
This isn't always the case, but certainly with the ones that come with
.marsh-bourdon.com
-Original Message-
From: Haroon Rafique [mailto:[EMAIL PROTECTED]
Sent: 21 March 2005 15:20
To: Struts Users Mailing List
Subject: RE: Using constants in JSP pages
On Today at 2:24pm, MC=>Marsh-Bourdon, Christopher
This is my way of doing this, and it may be a tad crap. In
This is my way of doing this, and it may be a tad crap. In the page tag at
the top of the JSP I add one or more imports like so:
<%@ page language="java" import="com.marsh-bourdon.Constants" %>
I then just refer to the constants within the page like so:
<%= Constants.KEY_FOR_SOMETHING %>
This
48 matches
Mail list logo