If you need any consulting or development in the Java client-side area (Swing,
JFC/AWT, core Java, etc.), feel free to give me a shout. Also I do C++ GUI
development, particularly with DirectX.
I used to be a server-side developer but have focused on client development for
the past seven years
Like whether I have complete control over the lifecycle of my data. Like,
privacy.
-Original Message-
>From: Dave Newton
>Sent: Aug 20, 2010 7:14 PM
>To: Struts Users Mailing List ,
>erikwe...@mindspring.com
>Subject: Re: Hosting for Struts 1.2 tomcat
>
>On Fri, Aug 20, 2010 at 7:09 PM
I opened an account with slicehost earlier this year, and I have to say, I am
quite impressed with it from an operational standpoint. Basically it's like
having your own box. You can install anything you want. If you know the basics
of Linux administration you can get started. Basic plan is $20
That's what I use (vim). Although my front ends are Java code and not HTML/CSS.
Hand-coding takes longer but in my experience results in a better product and
also in my opinion makes you a better programmer.
With that said I partnered on a project with a guy who did the HTML front end
and he go
Maybe when I become rich and famous. HAHAHAHAHA :)
-Original Message-
>From: Musachy Barroso
>Sent: Sep 22, 2009 8:58 PM
>To: Struts Users Mailing List
>Subject: Re: [OT] Recommend a hosting company
>
>> don't get it for $20-$40 per month :)
>
>true story :)
>
>On Tue, Sep 22, 2009 at 5:
Thanks for all the replies folks!
-Original Message-
>From: erikwe...@mindspring.com
>Sent: Sep 22, 2009 2:01 PM
>To: user@struts.apache.org
>Subject: [OT] Recommend a hosting company
>
>>
>I need a good place to set up a web application.
-
Hello. I have been inactive on this list for years but used to post a lot
before I moved primarily into Swing development.
I need a good place to set up a web application. I have modest needs but also
some special needs perhaps:
1) Tomcat.
2) JDBC database (MySQL would be great but it could be
-Original Message-
>From: Ashish Kulkarni <[EMAIL PROTECTED]>
>Sent: Apr 7, 2006 11:58 AM
>To: user@struts.apache.org
>Subject: [OT] Need information about books to buy
>
>Hi
>I need to buy couple of books, 1 for AJAX, and 2 for
>Webservices,
>I know the basics of Ajax and Webservices, an
Hello Joe. Haven't seen a post from you in a while. Got me thinking. I just
wanted to say, for the record, you and Niall and your fellow team members rock!
I have been a subscriber to this list for years. I don't use Struts anymore
because I don't author HTML/HTTP browser applications anymore. S
Hey ATTA.
One of the neatest books I ever read was "Java Design" by Peter Coad and Mark
Mayfield. It takes you through the design of three or four applications in
terms of scratching out the objects and the application states and work flow
with pencil and paper. It serves as a good intro to obj
The most common way is to use the Oracle client's SQL loader application, the
name of which escapes me at the moment. Oracle's online documentation will have
information about this. It might be called sqlloader or something like that.
Another way is to write your own script. Just write a Java pr
Good job man. I haven't tried the code yet, but this looks nice.
Erik
-Original Message-
>From: Michael Jouravlev <[EMAIL PROTECTED]>
>Sent: Jan 29, 2006 7:13 PM
>To: Struts Users Mailing List
>Subject: [ANN] Tabbed notebooks in Struts/JSP or in pure JSP with new release
>of JSP Contro
Yeah, good warning. I know this is a "joke" thread, but if that second one is
true, Frank, I suggest you burn that Serenity DVD while it still matters! While
you're at it, just throw the freakin' TV out the window. They call them "boob
tubes" for a good reason.
I gave my 12-year-old niece (the
Hmm, perhaps I misunderstood. I thought what he was saying was, he wants to
obfuscate the method name "whatever", so the log.debug argument has to be
changed as well . . .
However, if the value of log.isDebugEnabled can be discovered at compile time
(not sure how commons logging works), perhaps
Well, yes, but KlassMaster (sounds like ProGuard has this too) allows you to go
in and manually "rename" stuff that can't be renamed automatically. So, the
more XML-Java bindings you have, the more work it's going to be, but the people
who develop the obfuscators know this, so they (we hope) giv
I have used KlassMaster on distributions that contain Struts classes before,
and I took your approach as I recall. I didn't obfuscate Action classes, but
there was nothing important in them anyway. Also, KlassMaster has a great
scripting language for getting around the problems you mention, and
See if LinkedHashSet gives what you want.
Erik
-Original Message-
From: Dave Newton <[EMAIL PROTECTED]>
Sent: Nov 17, 2005 2:06 PM
To: Struts Users Mailing List
Subject: Re: [ot]Hashtable like fifo que?
Hmm, weird formatting.
Dave Newton wrote:
> java.util.LinkedHashMap?
Probably do
Sorry, looks like you *did* do that. I didn't see it.
Erik
-Original Message-
From: [EMAIL PROTECTED]
Sent: Nov 16, 2005 9:39 AM
To: Struts Users Mailing List
Subject: Re: The dreaded "Servlet action is not available"
On some older versions of Struts you had to declare the load-on-star
On some older versions of Struts you had to declare the load-on-startup for the
ActionServlet, to make sure it was instantiated before any requests arrived.
Not sure if that is the problem.
Erik
-Original Message-
From: Graham Leggett <[EMAIL PROTECTED]>
Sent: Nov 16, 2005 9:18 AM
To:
Looks nice in Mozilla.
Erik
-Original Message-
From: Ted Husted <[EMAIL PROTECTED]>
Sent: Oct 25, 2005 8:41 PM
To: Struts Users Mailing List
Subject: Re: new website look
On 10/25/05, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> I was going to try Frank's suggestion to fix the left-hand co
The rail problems also occur in Mozilla on my Red Hat 7.3 box. Other than that,
the site looks good. It's about time people started using (window) target
indicators. I always have thought the Apache sites have a good design,
generally. But *please* don't put a site into production that you only
If you are using java.util.Timer, see the constructor that takes a boolean
parameter. Setting the Timer as a daemon means it won't keep the JVM running.
Erik
-Original Message-
From: sudip shrestha <[EMAIL PROTECTED]>
Sent: Oct 17, 2005 4:40 PM
To: Struts Users Mailing List
Subject: st
Sorry, I don't know anything about displaytag. But if you want my opinion from
a usability standpoint:
I would have a dedicated place in the GUI for your user's cart contents, or at
least a dedicated place for a control that makes the cart contents visible
(perhaps in the "rail", under his user
Nice job.
Erik
-Original Message-
From: Nathan Voxland <[EMAIL PROTECTED]>
Sent: Oct 6, 2005 2:33 AM
To: user@struts.apache.org
Subject: Hoople 1.0 RC1
I have posted version 1.0 RC 1 of Hoople, a tool to help with the
management of struts-config.xml files (among other things) at
http://
Hmm yeah, I guess that would accomplish the same thing.
Thanks,
Erik
-Original Message-
From: Larry Meadors <[EMAIL PROTECTED]>
Sent: Sep 30, 2005 3:06 PM
To: Struts Users Mailing List , [EMAIL PROTECTED]
Subject: Re: [OT] CVS question
No, but why not just get the branch in a seperate d
I'm having trouble with merging again.
I am trying to merge changes from a branch into the trunk. Since there are a
million changes, I don't want to deal with manually resolving conflicts. I just
want to replace everything that's in my working copy of the trunk with what's
in the branch, and th
I found this article on the wiki:
http://www.developer.com/java/ejb/article.php/3321521
So I will try this.
Thanks,
Erik
-Original Message-
From: [EMAIL PROTECTED]
Sent: Aug 30, 2005 7:44 PM
To: user@struts.apache.org
Subject: Need help with dynamic number of form fields
Hello all. I
Hello all. I am not good with Dyna forms. What I am trying to accomplish is to
set up a form that allows a random number of each logical field to be
populated. I know this discussion came up recently, but I don't exactly know
what to search for in the archives.
This approximates what I am tryin
Sorry, I'm using web mail, and I keep sending responses directly to the sender
by accident.
Erik
-Forwarded Message-
From: [EMAIL PROTECTED]
Sent: Aug 24, 2005 4:26 PM
To: "Gilbert, Antoine" <[EMAIL PROTECTED]>
Subject: RE: [OT] Re: xmlparser simple question
Well, as I said, if you use
Gilbert,
SAX works on an event based model. Memory is not an issue unless *you* are
caching information as you receive events in your parser handler.
The parser starts reading the stream. Each time it encounters the beginning of
an element or an attribute, or the value of an element or attribut
Not sure if this is really much help because I'm sure you've thought of this,
but I mirror many or all of my DB DAO methods with methods that take the
Connection as a parameter . . . In the primary method, they obtain their own
Connections, but in the secondary method, they use whatever Connecti
If all your links and actions have the same problem (the paths can be
translated following the same rule), then the easiest fix I can think of is to
either use Apache mod_rewrite, or if you are using a bare Tomcat, a redirect
Servlet.
Erik
-Original Message-
From: [EMAIL PROTECTED]
Se
Perhaps you mean something like rentacoder.com.
Erik
-Original Message-
From: Brian McGovern <[EMAIL PROTECTED]>
Sent: Aug 23, 2005 3:59 PM
To: Struts Users Mailing List
Subject: [OT] RFP resources for java projects
Sorry for the off topic request, but I figured this might be a good pl
Thanks Craig and Frank!
Merging is *scary* business, especially at 1 AM when they're doing a new build
for QA in a few hours, and, I'm the only one here . . . .
:-)
Erik
-Original Message-
From: Craig McClanahan <[EMAIL PROTECTED]>
Sent: Aug 22, 2005 12:42 AM
To: Struts Users Maili
Well the next article I looked at showed me how to accomplish this. Sorry for
the OT. I didn't realize you could pass "HEAD" to the -j option.
But, here's the solution:
switch to the branch and then:
cvs update -j MY_BRANCH -jHEAD myFile
This merges all changes in the trunk since the branch wa
I hope one of you fellow night owls can help me.
I have a CVS problem that doesn't come up much I guess. I need to merge files
from the trunk to a branch. Note that this is the *opposite* of a common
situation -- where the need is to merge files from a branch to the trunk.
A branch was created
I would say:
3) Create a class that will look up the DataSource via JNDI lookup and cache
that reference during initialization, and use that reference to get connections
to distribute in your getConnection method. Only if the DataSource (aka
connection pool) fails or is turned off would you nee
Why don't you just write your own validator plugin? Then you'll have total
control over what variables you include in your validation.xml and how your
validator uses them. This would take about 15 minutes once you know how to do
it. For an example, you can search the Web for Matt Raible's "Valid
Why can't you open an HttpURLConnection (or similar) to your JSP, collect the
HTML output, and embed that in a mime message body and then send via JavaMail?
Erik
-Original Message-
From: Thomas Hartwig <[EMAIL PROTECTED]>
Sent: Aug 15, 2005 2:19 PM
To: user@struts.apache.org
Subject: re
OK, my post did look kind of ugly. It really wasn't directed at any person,
just at the words.
I've been programming with Swing since 1.1.8 and finally I am able to do it for
a living. I've heard all the Swing stinks arguments just like I've heard all
the EJB stinks arguments. But I've built ap
OK. Should have stuck a wink in there.
Urge to kill fading . . . fading . . . fading . . . RISING . . . fading . .
. fading . . .
gone.
;-)
Erik
-Original Message-
From: "Frank W. Zammetti" <[EMAIL PROTECTED]>
Sent: Aug 10, 2005 3:38 PM
To: Struts Users Mailing List
Subject: Re:
What a load of crap.
Swing doesn't suck, you just suck at it.
Erik
-Original Message-
From: Michael Jouravlev <[EMAIL PROTECTED]>
Sent: Aug 10, 2005 1:59 PM
To: Struts Users Mailing List
Subject: Re: Nice try (was Java code generator including Struts 1.2)
On 8/10/05, Frank W. Zammetti
That is a nice feature. However, I don't think there's anything special to the
implementation. Looks like JavaScript and HTML to me. View source on the popup
window and you'll see the names of the script files, which should be coming
from their public document root . . .
Erik
-Original M
Thanks Craig.
Well Mark, I'd be interested in hearing how it turns out. Good luck.
Erik
-Original Message-
From: Craig McClanahan <[EMAIL PROTECTED]>
Sent: Aug 9, 2005 4:42 PM
To: Struts Users Mailing List , [EMAIL PROTECTED]
Subject: Re: Last question on JAAS I promise
On 8/9/05, [EMA
I found my login-config.xml. Suddenly I fear that I had this working in JBoss
but not stand-alone Tomcat, but yet I *know* I was calling isUserInRole. At the
same time, I remember the propagation problem between Tomcat and JBoss, and
this config is definitely for JBoss. But isUserInRole would de
Mark, when I did this, I had isUserInRole working correctly. I remember that
the problem was, I could either "log in with Tomcat" or "log in with JBoss",
but there was no propagation between the two. At that point I put it on hold.
Also, if the archives go back far enough, I remember a long thre
Well, I think the answer to that question, if I understand it correctly, would
be up to you . . .
Here, the idea is to use a container plugin for authentication/authorization,
but to bypass the container-based form and submittal process, which is kind of
inflexible.
You would (I assume) be ca
Mark, sorry to not be a ton of help here, but I'm away from some code I have
where I know I did this (meaning, I invoked my LoginModule manually instead of
using container-based auth). I did this with JBoss, not Tomcat, as I recall.
And yes, it does have something to do with writing a CallbackHa
Hey Ashish. Long ago, our team set up an in-house sourceforge. Their software
was free back then. As I recall, it is no longer free. But, I thought you could
still get it commercially. Not sure if that is still the case. But, it worked
well for us.
Erik
-Original Message-
From: Ashish
I should have distinguished between session-scoped and request-scoped forms. It
is true that implementing reset would be redundant in a request-scoped form.
Erik
-Original Message-
From: Wendy Smoak <[EMAIL PROTECTED]>
Sent: Aug 3, 2005 5:28 PM
To: Struts Users Mailing List
Subject: Re
If memory serves me, the way to do this is in your ActionForm's reset method.
This is where default values are specified when the form is initialized or
reinitialized.
Erik
-Original Message-
From: Chris Decker <[EMAIL PROTECTED]>
Sent: Aug 3, 2005 4:58 PM
To: Struts Users Mailing List
Speaking of Tomcat 5 here, not 5.5 . . .
catalina.out as I recall contained my System.out output. Can't remember if it
contained System.err output.
You can make things easier on yourself if you define a context.xml file for
your web app (see example included with Tomcat -- look in conf/host) an
You mean obfuscate? What if you distribute your server side code? Maybe Struts
Actions aren't worthy of obfuscation, but middleware often is. I just run all
jars through Zelix before I release. It has ant integration (works great), so I
just have Zelix produce my "dist" jars via ant.
Erik
---
Vic, you da man.
When I can find some time, I'll go through it and post issues.
Erik
-Original Message-
From: netsql <[EMAIL PROTECTED]>
Sent: Aug 1, 2005 8:44 PM
To: user@struts.apache.org
Subject: [OT ANN] Roomity mail lists version 1.0
I am posting this message using roomity!
Featur
I use Zelix KlassMaster. It simply rocks. Have used on Struts apps with
success, you'll have to do work with it here and there because of some
reflection but I remember it wasn't a big hassle. The documentation is good.
Erik
-Original Message-
From: "O. Oke" <[EMAIL PROTECTED]>
Sent: A
Did you set load-on-startup for ActionServlet in web.xml?
Erik
-Original Message-
From: Kade Jeevan Kumar <[EMAIL PROTECTED]>
Sent: Aug 1, 2005 11:40 PM
To: user@struts.apache.org
Subject: Problem with Installing the Struts
Hi All!
I am using Tomcat 4.0.6, Java 1.4, Struts 1.1 for my
Doesn't look like you are using it to me . . .
http://www.imagescript.com/atg/articles/jsp_j2ee/error_page_basics.htm
Erik
-Original Message-
From: Tremal Nailk <[EMAIL PROTECTED]>
Sent: Aug 1, 2005 12:26 PM
To: Struts Users Mailing List
Subject: Re: Exception handling in Struts
2005/
1) I use session-scoped ActionForms with "extra" fields plenty (in search
scenarios for example, where the form is for search, where the search is
related to a product, and where you want to hang on to the product details as
the search results change) and couldn't care less who "frowns upon it".
Ah OK, well then as you suggested, I suppose he'll have to track it himself.
Erik
-Original Message-
From: Laurie Harper <[EMAIL PROTECTED]>
Sent: Jul 21, 2005 6:21 PM
To: user@struts.apache.org
Subject: Re: Forward to current page
But the 'current request' would be the one to the local
ActionMapping.getPath might help. If not, there are various attributes that
Struts sets that give you path/mapping information about the current request.
Erik
-Original Message-
From: Daniel ?a? <[EMAIL PROTECTED]>
Sent: Jul 21, 2005 2:27 PM
To: Struts Users Mailing List
Subject: Forw
Pardon my rudeness.
Welcome to the list.
Yes, ask.
Erik
-Original Message-
From: [EMAIL PROTECTED]
Sent: Jul 21, 2005 4:48 PM
To: Struts Users Mailing List
Subject: Re: New here
Yes, ask.
Erik
-Original Message-
From: "Hernandez, Mariano" <[EMAIL PROTECTED]>
Sent: Jul 21,
Yes, ask.
Erik
-Original Message-
From: "Hernandez, Mariano" <[EMAIL PROTECTED]>
Sent: Jul 21, 2005 4:36 PM
To: "'user@struts.apache.org'"
Subject: New here
Hello all. Before I ask, is the appropriate place for tiles and logic tag
questions.
Mariano Hernandez
---
I don't understand Dave's concern. Perhaps he would elaborate on why he says to
avoid Session beans.
I have developed applications using Session beans wrapping DAOs for search,
etc., along with timer-reloading Entity beans and have seen good results.
However, it may be that he would favor POJOs
Also I will add that the last time I developed (part of ) an application like
yours, the main performance barrier (in my environment at least) was not
marshalling data across the network. It was by far multiple (often redundant)
database accesses per user request. I would suggest you look into c
http://java.sun.com/blueprints/corej2eepatterns/Patterns/SessionFacade.html
Erik
-Original Message-
From: Maya menon <[EMAIL PROTECTED]>
Sent: Jul 20, 2005 3:21 PM
To: user@struts.apache.org
Subject: Hi-New to this group
Hi all,
I am designing a web app/ Its supposed to have 500 conc
Rivka, I'll add to this:
Pick up "Core J2EE Patterns" from Sun. It is worth the money and will help you.
My solution would be similar to what Ed said. I would use a "manager" class
(aka "business facade", "business delegate", "service manager", etc. although
each one of these may mean something
Vic, I could not get it to run on either my RH 7.2/Mozilla 1.7b/1.4.2 box
(where an old version used to run), or my FC3/Netscape 8/1.5 box. On the Fedora
box (with 1.5 plugin) the site wouldn't work . . . On the Red Hat box, the site
partially worked, the app downloaded and the JVM launched but
public class ApplicationException extends Exception {
public ApplicationException(String message) {
super(message);
}
}
. . .
public class SystemException extends Exception {
public SystemException(String message) {
super(message);
}
}
. . .
(typical manager -- facade, mi
Ted, is there a list of tasks for 1.3? By "volunteer", are you referring only
to current Struts committers?
Erik
-Original Message-
From: Ted Husted <[EMAIL PROTECTED]>
Sent: Jul 14, 2005 6:57 PM
To: Struts Users Mailing List
Subject: Re: Struts 1.2 v 1.3
On 7/14/05, Access Denied <[E
Shouldn't there be an authconstraint in there?
, or something like that? Can't remember exactly.
Looks to me like you have defined the resource but not declared who (in this
case nobody) has access to it.
Erik
-Original Message-
From: Neil Aggarwal <[EMAIL PROTECTED]>
Sent: Jul 14, 20
I usually map multiple actions to the same form. Some have validate = true (for
example, doAdd), some have validate = false (for example, viewAdd). Slightly
different URL distinguishes them.
Does that help?
Erik
-Original Message-
From: Rafael Taboada <[EMAIL PROTECTED]>
Sent: Jul 11,
Sorry, I'm not at my home box and I'm also in a hurry or I would have a better
answer.
I have always done this the hard way -- using a logic:messagesPresent switch
beside each field, seeing if a message for that particular property is present,
highlighting if it is. It does work but it's a lot
I'm not knocking your approach, but synchronizer tokens solve the same problem,
with or without a redirect.
Erik
-Original Message-
From: Wendy Smoak <[EMAIL PROTECTED]>
Sent: Jul 8, 2005 12:51 PM
To: Struts Users Mailing List
Subject: Re: Passing data between action forms
From: "Mich
Works great in Firefox on my Fedora box.
Erik
-Original Message-
From: Michael Jouravlev <[EMAIL PROTECTED]>
Sent: Jul 8, 2005 11:30 AM
To: Struts Users Mailing List ,
Wendy Smoak <[EMAIL PROTECTED]>
Subject: Re: dialog stuff (was) Re: Refresher for newbies...
On 7/8/05, Wendy
I suggest not involving Struts at all when it comes to configuration of and
access to data stores.
Write a ConnectionManager (sounds like you've already got that idea), who will
be in charge of Connections. In the ConnectionManager's init block or
constructor, look up your DataSource using a JN
Sorry, Michael, I accidentally sent this directly to you . . .
I'm not sure why you say "save a call to the backend" unless by "backend" you
mean anything outside of the web tier. In my applications, it would typically
save a call to the manager layer, which I consider the middle, not the back
Also you could "economize" your development by using Struts Dyna-flavored forms
(generated from xml) instead of writing your own form classes.
Instead, I use a class I wrote that scans a properties file which has a
comma-separated list of fields and their types, and some other data such as
desi
An alternative would be to have your form class extend your value object class.
However, this approach doesn't work for me. My form class fields are always
Strings (because of HTTP), while my value object fields are whatever types make
sense (such as Date). I always have value object classes tha
You did not fire him.
Maybe his boss didn't appreciate him enough to stick up for him. Maybe he'll
get a better job because of it. Or maybe his boss will change his mind.
I'm sorry it all turned out this way.
Erik
-Original Message-
From: Niall Pemberton <[EMAIL PROTECTED]>
Sent: Jul
Mark,
I am sorry to hear it turned out this way. I hope this turns out to be a
blessing in disguise and that you go on to get a better job after learning a
tough lesson (not that I'm saying the punishment fit the crime -- in my
opinion, based solely on postings to this list, it did not). Maybe
Sorry, the problem is not evident to me. Perhaps you could explain what happens
when "it doesn't work"?
Anyone? I've used hierarchies of ValidatorForm like this before without any
problems if I recall . . .
Erik
-Original Message-
From: [EMAIL PROTECTED]
Sent: Jun 30, 2005 3:16 PM
To:
I take it you are using the Validator plugin?
Do you have the xml files setup correctly? Is there a form-bean defined as type
AddBottleForm? Is this the type you specify in your action mapping? Does
validation.xml have the correct entry for AddBottleForm, according to the name
you gave it in st
Sheesh man, I'm not calling for a ban on anyone, but give Niall a break. Niall
is one of the most helpful people I've ever met online. Mark comes in here and
says "Struts is dead" and calls everyone faggots, etc., ad nauseum. He might
behave that way on many lists, but all of us who don't know h
I think you will find information on container-based security in:
1) The J2EE tutorial from Sun
2) The Servlet Specification (should explain the method you cite as well as
web.xml)
3) Articles/tutorials on JAAS
Since "container-based" security necessarily involves the container, you are
going t
Michael, nice work on all your stuff.
I hope I don't end up doing Web apps anymore (no offense to you!), but if I do,
I will definitely consider using some of your techniques and components. In my
opinion, documentation is the key to success. Put an equal amount or more of
work and polish on yo
I'm not positive on this, but I think that the c-rt tags would take expressions
in scriptlet format (<%=) whereas the c tags take expressions in the expression
language format (${).
Erik
-Original Message-
From: [EMAIL PROTECTED]
Sent: Jun 20, 2005 4:34 PM
To: user@struts.apache.org
Su
You can read posts here:
http://marc.theaimsgroup.com/
also
http://www.mail-archive.com/
Erik
-Original Message-
From: Manju <[EMAIL PROTECTED]>
Sent: Jun 9, 2005 10:51 AM
To: Struts Users Mailing List
Subject: Is there anyway to access this forum online?
Hi guys,
I recently sub
Sorry if you get this twice.
Did you try DatePatternStrict?
Erik
-Original Message-
From: Riyaz Mansoor <[EMAIL PROTECTED]>
Sent: Jun 6, 2005 4:49 PM
To: Struts Users Mailing List
Subject: date validation
i've got a date validation set up with datePattern "-MM-dd", ie
standard
Sorry this doesn't answer your question directly, but I would back up a bit and
question your design.
Rather than try to invoke your LoginAction manually from another action, I
would just invoke all the necessary methods in your ForgotPasswordAction.
Presumably logging on is little more than a
You can find something on DynaActionForm here:
http://struts.apache.org/userGuide/index.html
You can find JSTL documents here:
http://java.sun.com/products/jsp/jstl/reference/api/index.html
I have no idea where to find documentation on the different Action varieties on
the Web, but they are co
I haven't done this, but I think that you will want to set up an Action that
manually prints the response contents, where the execute method will return
null rather than an ActionForward reference. Then you should be able to set
your permanent cookie before you write your response body. Not sure
If I'm not mistaken, Struts has some mechanisms for dynamic fields in
ActionForms. Regardless, can't you use request.getParameterNames in your
Action's execute method?
Erik
-Original Message-
From: Andrew Thorell <[EMAIL PROTECTED]>
Sent: May 23, 2005 11:07 AM
To: Struts Mailing List
Sorry, the word is idempotent, not indempotent.
http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html
Erik
-Original Message-
From: [EMAIL PROTECTED]
Sent: May 20, 2005 2:54 PM
To: Struts Users Mailing List ,
Andrew Thorell <[EMAIL PROTECTED]>
Subject: Re: Submitting form data
I don't know anything about the logic:redirect tag, but trying to redirect a
POST transaction brings up other issues. The HTTP RFC, as far as I know,
doesn't prohibit this behavior, but you are probably going to find browser
compatibility problems.
The reason is that GET is mainly for indempote
FormFile has a "getFileSize" or similar method that you can use to check the size in
your processing Action (server side). There, you can also determine the file name and
check the extension (probably that will be good enough for "type" checking).
In addition, this is one area where I think clie
Kishore, I appreciate it!
Erik
-Original Message-
From: Kishore Senji <[EMAIL PROTECTED]>
Sent: Aug 5, 2004 8:14 PM
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Subject: Re: Finding an ActionMapping
protected ActionMapping getActionMapping(ActionMapping mapping, String
parameter){
96 matches
Mail list logo