You probably ought to just compile for jdk6. Since javax.swing.GroupLayout is
not available in jdk5, at least the user of jdk5 would get a message that is a
bit better than the ClassNotFoundException you get in jdk5.
Al
-Original Message-
If anyone wants to take a look at it
We have a similar system of application security. What we do is create session
scoped user object in our spring application.xml, then use a servlet filter to
see if the user is there. The servlet filter redirects to login.action if the
user is attempting to access a protected resource. Here are
Hmm, I'm not sure I understand the question at all.
1) What version of struts are you in? Since you are referring to needing to
understand how to use Sessions I assume struts 2, since struts 1 would be
obvious, the action class has a request object you can get the session from.
2) What do you
I should be more explicit. When I say I recommend avoiding using sessions with
struts2 of course I meant I recommend avoiding implementing SessionAware. When
Possible I try to do it the way I outlined using session scoped spring
injections. (makes testing a whole lot easier too)
Al
, December 03, 2008 8:19 AM
To: Struts Users Mailing List
Subject: RE: session handling
--- On Wed, 12/3/08, Fogleson, Allen wrote:
In the case of using Sessions with Struts2 - by the way I
would recommend avoiding this - [...]
Why?
Dave
, December 03, 2008 8:26 AM
To: Struts Users Mailing List
Subject: RE: session handling
--- On Wed, 12/3/08, Fogleson, Allen wrote:
I should be more explicit. When I say I recommend avoiding
using sessions with struts2 of course I meant I recommend
avoiding implementing SessionAware. When Possible I
I assume you are using JSP? If so... well no there is not. JSP by
default has a contract that a session is always available to it. Since
it is always available an HTTPSession is always created if one is not
available. We have gotten around this by having a session listener and
cleaning up a
-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 28, 2007 10:48 AM
To: Struts Users Mailing List
Subject: Re: Is there any way to avoid session being created
Fogleson, Allen wrote:
I assume you are using JSP? If so... well
Doesn't really belong in a struts list but here
fmt:formatDate value=${myDateObject} pattern=-MM-dd HH:mm z /
If you want them all in GMT you will have to convert them in your action.
Al
From: Vinit N [mailto:[EMAIL PROTECTED]
Sent: Fri 4/13/2007
Skip,
There is a pretty good tutorial out there to create a component using the
struts tags - this is what I did for exactly what you are doing. Granted it is
not as pretty as s:text ...stuff here/s:text but it does the job and now
that I have it written I can use it in all the places I
Calendar function to a form.
Fogleson, Allen wrote:
Skip,
There is a pretty good tutorial out there to create a component
using the struts tags - this is what I did for exactly what you are
doing. Granted it is not as pretty as s:text ...stuff
here/s:text but it does the job and now
Are you fronting with Apache? What we normally do if we are fronting with
apache is serve all the static content from there (of course) so it never gets
to the app server to cause this kind of confusion there. A simple JkUnmount
/movie/*.css workerName will do it for Apache-Tomcat (or
Hmm Yes... What is the problem then? I don't think I understand it now either.
Al
I believe I didn't follow the original issue, then.
I thought that struts2 was swallowing the requests for the css files because
they fit the pattern specified by the filter.
I can't see how making them absolute
Nothing personal but how many times are you going to ask this? I think I
have gotten it about 7 times now.
Al
-Original Message-
From: Saul Qunming Yuan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 26, 2005 3:27 PM
To: user@struts.apache.org
Subject: multi-level indexed proproerty
Wow There is something funky going on with either my mailserver or some
server between me and the list. I have seen this msg like 9 times now, I
checked the archives... it was sent once and I don't see all the list.
Anyone else experiencing this? At least before I unsubscribe and
re-subscribe :)
You could use logic:iterate to iterate through the collection.
Al
-Original Message-
From: Andrew Thorell [mailto:[EMAIL PROTECTED]
Sent: Monday, April 25, 2005 4:51 PM
To: Struts Mailing List
Subject: Displaying Formatted Vector Data
Greetings all,
I was wondering if anyone had any
Nils,
In your @struts.form you need to give it a name like...
@struts.form name=accountForm
Al
-Original Message-
From: Nils Liebelt [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 21, 2005 2:03 AM
To: 'Struts Users Mailing List'
Subject: [OT] xdoclet actionforms
Hi,
I am using
Scott,
The short answer is you can't use a tag in a taglib class.. however
there are ways around that. You could subclass the tag so that the
processing can still occur. You could (though this would likely be
messy) call the taglibs classes yourself. But you would basically then
have to manage
Erik,
I also live in the Atlanta area. The going rate seems to be around 45-50
per hour for most of the consulting firms (body shops) assuming most
of those do W2 instead of 1099 then you can probably get about 10-15
more per hour 1099.
HTH,
Al
-Original Message-
From: [EMAIL
Matt,
Yup :) The only thing I miss about independent consulting is the $$. Of
course once I average in the taxes, health insurance, disability, not
having to do my own marketing, etc. I figure I came out about even, in
fact in my case a little above even as I moved from the DC area to
Atlanta.
Yes. :)
Ok that is the short answer. The longer answer is that yes you can do
it but it could be almost as easy to have separate actions depending on
how you are handling the actionForm(s). There is nothing in the
framework however that disallows the use of a single action for multiple
forms.
Rafael,
I am confused by what you mean. But yes you can have a checkbox and use
it for deletion of objects. Presuming you have something like this:
input type=checkbox name=user value=${user.id}xxx
input type=checkbox name=user value=${user.id}xxx
input type=checkbox name=user
Christopher,
It might help if you include portions of the offending code,
struts-config and such. I have seen this before but usually it is the
result of a bad config or such.
Al
-Original Message-
From: Marsh-Bourdon, Christopher
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 20,
Ahh now I understand better.
Well unfortunately the easiest way to get the checkboxes submitted is to
have them inside of a form. That doesn't necessarily mean an html:form
but they must be in a form of some type to get them submitted.
Now with that said I am going to say there is a way to do
, Fogleson, Allen [EMAIL PROTECTED] wrote:
Ahh now I understand better.
Well unfortunately the easiest way to get the checkboxes submitted is
to
have them inside of a form. That doesn't necessarily mean an
html:form
but they must be in a form of some type to get them submitted.
Now
Dang,
What's really bad is I live in Atlanta (well ok, north of Atlanta on the
I-75 corridor) but I work in Chicago M-Thurs so I won't be able to make
it. :(
Al
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 19, 2005 12:20 PM
To: Struts Users
The move towards specialization has ups and downs, depending on where
you live, what you do, and what your company's management thinks. As we
specialize into very discreet tasks (that presumably can have very
precise requirements wrapped around them) the business owners begin to
gain the ability
But windows (at least in it's newest form - XP) doesn't ship with
fdisk anymore :) (Heck the way windows is going pretty soon you wont be
able to format either except at install time)
Al
-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: Monday, April 18, 2005
Don't feel bad Vic my .cvsignore ignores everything except my .project
and .classpath files :) it just grates on me to see the little in
eclipse when I know it is just the stupid project and classpath files.
Worse is the fact that because of that I always have to check to make
sure I haven't
YES
-Original Message-
From: Dakota Jack [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 13, 2005 8:16 PM
To: Struts Users Mailing List
Subject: Test: Is the Struts list working?
TEST
--
You can lead a horse to water but you cannot make it float on its
back.
~Dakota Jack~
There isn't a good way to do this in my opinion other than by passing
the values to the bean class. IMHO (and probably most others) things
that tie you to the view technology (such as javax.servlet.*) shouldn't
be present in the model. Maybe no one will ever create a swing client
that calls your
snip
If there is a different rule on advocating Shale-Struts as Struts.next
for Craig, that is understandable.
/snip
But where in his post did he say that Shale-Struts was Struts.next? All
he said was that the way the rest of the world is going (and imho HAS
been going) with a variety of view
Dave,
I'm confused here. What do you mean by link to it?
If I simply use the connector-J drivers in my appserver, or directly
using the DriverManager in a program it is not a violation of the GPL.
Mostly the GPL protects Connector-J itself, and any derived works. In
fact the GPL provides for
In my experience at least two of the databases you list excel at
something my one caveat is, that although postgresql does do everything
you want I have found it to be rather slow under load. That may be
because there is little documentation on tuning it and such.
MYSQL simply screams at reads.
You might check out jmeter (http://jakarta.apache.org/jmeter/index.html)
it might be able to do what you want. Don't remember off the top of my
head if it includes bandwidth reports but I think it does.
Al
-Original Message-
From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]
Sent:
You don't need a form but you will have to create your own action...
something like this execute method in it will do the trick:
jsp A
input type=hidden name=myRequestVal value=123
Action Execute method
Public ActionMapping execute(.) {
String myValue =
It is certainly possible, however your old methodology could just as
easily be used by creating a baseAction class and then extending that
class. {
Al
-Original Message-
From: Tom Ziemer [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 07, 2005 9:58 AM
To: Struts Users Mailing List
);
Request.setAttribute(myRequestVal, myValue);
Return mapping.findForward(success);
}
On Apr 7, 2005 11:21 PM, Fogleson, Allen [EMAIL PROTECTED]
wrote:
You don't need a form but you will have to create your own action...
something like this execute method in it will do the trick:
jsp A
input type
But craig he used empLy :)
-Original Message-
From: Craig McClanahan [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 07, 2005 11:03 AM
To: Struts Users Mailing List
Subject: Re: Anxiously awaiting...
Note that empty is an operator name in the EL language, used to
detect whether a
James,
I'm with you here. I haven't dug much into commons-configuration, but it
seems to me there is little need for localized configuration
information. Maybe I'm just not thinking outside the box here, but the
configuration can be in virtually any locale. I can still configure
something for
Ahh that makes sense. Yes.
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 07, 2005 11:45 AM
To: Struts Users Mailing List
Subject: Re: [resources] was: Re: RESEND: RE: Load message resources
fromDB???
For localized configuration, I'm thinking
Runtime and non runtime...
The rt version allows the use of runtime expressions for attribute values while
the regular one allows the use of expression language.
Al
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 07, 2005 12:22 PM
To:
David,
Well the answer is simple yet complex.
First off what you want to do is of course not quite possible right now.
MessageResources are loaded from a property file based on locale, and
are initialized in the loadLocale method.
Examination of that method shows that if the locale is
, Fogleson, Allen [EMAIL PROTECTED]
wrote:
Ahh that makes sense. Yes.
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 07, 2005 11:45 AM
To: Struts Users Mailing List
Subject: Re: [resources] was: Re: RESEND: RE: Load message resources
fromDB
Comments inline
-Original Message-
From: Rick Reumann [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 07, 2005 2:41 PM
To: Struts Users Mailing List
Subject: Re: [OT] Open source paginator
N G wrote the following on 4/7/2005 3:31 PM:
Does anyone know of some open source paginator
I imagine there are several options here.
1) assuming you know the html is well formatted. And if you use the
struts tags it is not necessarily well formatted (i.e. the base tag does
not include a closing tag it renders as base href= ... not base
href=.../) you could simply run the html into
Actually if it is something that occurs on every request im not even
sure I would go the filter route. Post processing the html is going to
be expensive in terms of performance then no matter what you do. I would
probably reconsider the architecture and see if I couldn't somehow
pre-process the
I know last week we had some discussions about MessageResources (mostly
about pulling from a DB). I did a little digging and extending and came
up with a quick hit that pulled the resources from a db. At the same
time I rememebered an earlier discussion about having submessages in
messages. That
as likely to have someone
saying
code talks - its a bit chicken and egg!!!
Niall
- Original Message -
From: Fogleson, Allen [EMAIL PROTECTED]
Sent: Wednesday, April 06, 2005 4:18 PM
I know last week we had some discussions about MessageResources (mostly
about pulling from a DB). I did a little
on doing so with speed, it will be for
every request for that particular jsp
Ashish
--- Fogleson, Allen [EMAIL PROTECTED]
wrote:
Actually if it is something that occurs on every
request im not even
sure I would go the filter route. Post processing
the html is going to
be expensive in terms
Yes there is the OJBMessageResource class and I believe the same author wrote a
HibernateMessageResource class. The class I wrote is mostly a
JNDIJDBCMessageResource which has a timeout cache attached to it. The config
is comprised of three elements (comma separated)
1) The JNDI Name of the
Michael,
Are you capturing exceptions in the jsp? (i.e. do you wrap a giant try
catch block or something?) I ask this because it must be finding the
message since if a key is not found you should get an exception along
the lines of Cannot find message resource for key (I cant
remember the
James,
Does your JDBCResources differ greatly from the one that is in
Commons-resources already? (I'm trying to remember which version of CR I
checked out but I cant heh) i.e. does it take advantage of any container
connection pooling etc? The one I see in cr basically does a connection
to the db
Mark,
Within struts messageResources are loaded at startup and that's it, they
aren't loaded again unless the app is restarted of course.
If you wanted this kind of functionality you would have to write a
couple classes.
1) Write a MessageResourceFactory class that returns your specific
CSS is probably the easiest solution.
An alternate solution would be to subclass the bean:write tag, and add
an attribute. Call it alt although in html that often means something
else (hmm maybe alttext but whatever...) alt will be the text returned
if the write would return null. In this case
Paulo,
I can certainly agree that value to the customer is the prime ingredient
in any solution. However the problem I have seen, at least here in the
US (I can't speak to the west coast but I have had clients up and down
the east coast, most of the Midwest, and very little on the west coast)
is
Ohh I agree that Laszlo is pure view stuff. My contention is that
because it is it doesn't belong in struts core really at all, but it is
possible that a contrib module that integrates Laszlo into struts is
possible.
Al
-
To
Jack,
Oh yeah, that has always been my argument... ok Im using spring. Its
just a FRAMEWORK for pete's (usually I want to use a more.. ahem
appropriate word there) sake. If I write a custom IOP framework I am
allowed to use it, but because we are using external frameworks we
suddenly have to
That is exactly how the session timeout works. If the user is idle (i.e
has not submitted a request in X time) then it is timed out (assuming X
is the timeout) otherwise a request acts sort of as a renew this
session for X more minutes
Al
-Original Message-
From: Eain Mat [mailto:[EMAIL
Brian,
But you don't HAVE to define a COMPLETE form in the configuration. At
least if you want to give up DynaActionForm you don't. You can define
your own form in a class that extends ActionForm. Granted you have to
add this to the config but with Xdoclet, or even just a gui editor
(James
I don't know about gui utils but here is a command line util which will
probably do what you want.
http://www.javaworld.com/javaworld/javatips/jw-javatip135.html
Al
-Original Message-
From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]
Sent: Monday, April 04, 2005 2:40 PM
To:
You cant. Not from a jsp. The request is already processed by the time
you see the jsp and is no longer available. All you can do coming FROM a
jsp TO an action is to use the request parameters.
This is no different than if you were going from jsp1 to jsp2 directly
so it should be familiar to
You serialize the object sort of. At least for a hacky solution.
That is you add each attribute of it to the request. Lets say I have an
object user I wish to pass and user has firstname and lastname as
whatever.
Going to actionA:
html:link
No, you weren't wrong. You cant set an attribute in the request uri.
Those are only parameters, and there is no way from the jsp to populate
an attribute and send it along with the request.
Al
-Original Message-
From: Apte, Dhanashree (Noblestar) [mailto:[EMAIL PROTECTED]
Sent:
Sure...
Lets say jsp1 posts to actionA which forwards to jsp2
In actionA simply create and instance of the actionForm for jsp2,
populate the parameter into it and save it in the appropriate scope.
For instance if my actionMapping for actionB is:
action path=/actionB type=mypackage.ActionB
Hmmm really? I do it all the time for request scope. Are you setting
redirect=true? that would likely mess it up.
Al
-Original Message-
From: temp temp [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 30, 2005 9:44 AM
To: Struts Users Mailing List
Subject: RE: prepopulation action form
in
the action servlet ( bean:message key=error.application_error /)
then i sould be able to get a collection in the same manner and spare
the action the work. Its pretty nit picky i know.
-Ya think this is possible?
From: Fogleson, Allen [mailto:[EMAIL PROTECTED
Actually it doesn't matter whether it's a servlet or a jsp. A JSP is a
servlet after all. Now granted this is way off topic, and I would be
like wendy and do it in an action then put the properties (or some other
collection of the key-value pairs) into the request and do it that way.
With that
Actually you have to extend MessageResources, and
MessageResourcesFactory.
I have a quick hack I did up tonight that works for a minimal case. (it
does not do the substitution and such. But if you just have a key=value
and value does not contain {x} in it then it will work. (Actually it
will work
Mick,
I figured you would want a copy so I'm sending without you asking :)
Al
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 29, 2005 6:52 PM
To: user@struts.apache.org; [EMAIL PROTECTED]
Subject: RE: Load message resources from DB???
Even
Dang, sorry I forgot to change the to field, and couldn't catch it
before it went out. But at least it was only about 2K, so shorter than
some reply's in here :)
Al
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hmm
1) Why can't it use the XX.do of struts? Its just a resource as far as
an external system is concerned.
2) How do you know the action is not instantiated? Are you getting an
error message in tomcat? Can you send that along if so. Without an error
message I would be want to think that the
To: Fogleson, Allen; Struts Users Mailing List
Subject: RE: Struts - Not instantiating Action class.
Hi
(1)
The speech application is developed using vxml, Nuance has provided its
own
version of send command to invoke the jsp,
which accept URI of jsp. Though nuance uses strut but it does not allows
Dave,
Very true for the most part. The one case where I have seen the struts
libraries in a common (be it tomcat, jboss, weblogic, etc) directory is
when you want to enforce a certain version across all applications on
the server. Mainly this is in productized applications and allows
product
In the jsp do...
prebean:write ...//pre
Al
-Original Message-
From: Rutger Heijmerikx [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 24, 2005 3:06 AM
To: user@struts.apache.org
Subject: Bean linebreakes
Hello,
Does anyone has experience with linebreaks and beans?
I retreive
Before forwarding to failure try this...
Action:
Public ActionForward execute(Mapping mapping Form form, ...) {
YourFormClass newuserbeanform = (YourFormClass)form;
.
.
.
boolean recordInsert = userbo.insertNewUser();
//By The way this looks backwards... I thought true
You can do this
1) create an ActionMessages object and populate it with the
ActionMessage you wish to show.
2) in the jsp include the following snippet:
logic:messagesPresent message=true
div class=message
html:messages id=message message=true
${message}br/
/html:messages
Maybe it is my system but something strange started happening this
morning. I have an app that I have been deploying on tomcat, and I
needed to add some ejb's to the app so I went to jboss. (that's just for
background since it may be a weird jboss problem)
The app uses tiles and was deploying
Karan,
The problem is you are submitting to struts. About a year and a half ago
we had this same problem. We had legacy apps running that the client
wanted to display inside a portal.
The major portal vendors and J2EE portal vendors (bea etc) all have
solutions to do this that you can purchase.
Nope,
Part of the problem here is that the struts tag html:text ... is
rendered as input type=text
The other part is that you would have to write some kind of preprocessor
for the page that basically acts as a web container to process your
tags, then pass the preprocessed page to the jsp
It's not a matter of it impacting the UI, it's a matter of approval of
architecture. The client of course approves the entire architecture and
though ultimately they allowed Spring it was not specified in the
architecture docs as the framework we would use to manage the
instantiation.
The real
Yeap that is the game. I have been a first option kind of guy for a long
time. This particular project was not mine at inception, or
construction, I ended up with it in my lap at transition time.
Unfortunately for me I had to do the apologizing/explaining :)
Al
-Original Message-
From:
In the tiles-def.xml subclass the common.default, then use an action to
forward to the subclassed definition.
Of course if you are using the tiles taglib in your jsps... you are
going to have to write a bunch of jsp's to do it.
Doing it with struts built in support...
definition
Well im in the camp of never show a jsp if you can get away with it so
almost everything in the app is fronted by an action.
Now lets say I have a class that gets a bunch of stuff out of a db,
caches it, etc for dropdowns or whatever.
And let's further suppose that the page (or tile) I want to
Well maybe other than the singleton pattern :)
snip
I don't know, in fact, if a single class can have a pattern. I think
that most, if not all, of the patterns only make sense in combination
with other classes.
/snip
-
To
I think the real power here is NOT in whether it is more or less code,
but the move to a declarative way of handling the setup.
I can compare it to the bean factory portion of spring. Technically I
may write more code to use Spring. I certainly have to include other
resources (spring jars) to
Jeff,
Not to rain on the parade but the parenthetical abstract to me doesn't
mean optional but it is a definition of the style of class. Its sort
of like: we need a (male) soldier to join the infantry. Male is not
optional - it is a description of the type of soldier. (my old military
sense
I think the biggest argument was stated by Nicolas.
I use struts because I like it sure, but I really use it because it is
the framework that the client will accept and pay for and my developers
know best.
We recently used (portions) of Spring on a project and had a heck of a
time getting the
In the page with the button are you using html:form ??? if so you MUST
have a form, you can get around this of course by not using html:form.
Al
-Original Message-
From: Alistair Young [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 03, 2005 7:49 AM
To: Struts Users Mailing List
Yeap,
The same way you would with a form, just don't use html:form use
form
Al
-Original Message-
From: Alistair Young [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 03, 2005 8:06 AM
To: Struts Users Mailing List
Subject: Re: Action without ActionForm
ah, ok. Yes, I'm using
This is probably a personal opinion based on my having more experience with
Struts but we recently did 3 fairly large sized apps 2 of which we used
struts/spring and the third (which was actually the first) used just struts.
All three have the potential to use EJB or POJO Facades.
We
Eric is correct. If you use the tiles-def.xml file you can get rid of a
lot of duplication. In this case you could do exactly what you want by
creating definitions in the xml that extend the original and only change
the body portion.
definition name=.default path=/mylayout.jsp
put
, then I have to write 2 jsp files
for each change of body layout.
td
html:link page=/mylayout.jsp
/html:link
/td
Can I write only 1 jsp file for each change
of body layout?
On Wed, 2 Mar 2005 18:21:44 -0500, Fogleson, Allen
[EMAIL PROTECTED] wrote:
Eric is correct. If you use
it to html:link action=myAction
because I do not have a form to associate the link
On Wed, 2 Mar 2005 22:06:14 -0500, Fogleson, Allen
[EMAIL PROTECTED] wrote:
But why would you do an html:link to a jsp?
Link to an action. (even if it is just a ForwardAction) and then
forward
to the definition now
I usually don't use the tiles taglib other than in my layout files...
here is how I would accomplish the same thing you want to do..
1) Modify your layout.jsp
tiles:insert attribute=header/
tiles:insert attribute=menubar/
tiles:insert attribute=body/
tiles:insert attribute=footer/
note body
We used the bean framework portion of Spring in a couple applications. It was
very nice when the client decided to not use EJB Facades we could very simply
(less than 10 minutes) switch the whole app over to a POJO Façade. Granted we
wrote the POJO Facades at the time we were developing, and
Wrap it in a pre tag
-Original Message-
From: Eric Lemle [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 15, 2005 6:13 PM
To: user@struts.apache.org
Subject: Fwd: br issue
Eric D. Lemle
Senior Programmer / Analyst
Intermountain Health Care
36 South State Street, Suite 1100
Salt Lake
Well the alternative then
The action class
package org.homedns.afogleson.web.action;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import
A workaround - albeit maybe not the best
public void setAddIgnore(String value) {
ignore.add(value);
}
public void setIgnore(List value) {
this.ignore = value;
}
/**
* @return A list of keys to ignore
*/
public List getIgnore() {
return ignore;
}
then instead of
set-property
You also could use mapleBlog which uses Struts and tiles
http://www.resynthesize.com/code/
Al
-Original Message-
From: e-denton Java Programmer [mailto:[EMAIL PROTECTED]
Sent: Monday, November 22, 2004 9:54 AM
To: Struts Users Mailing List; Richard
Subject: Re: [OT] - Blog and Forum
1 - 100 of 109 matches
Mail list logo