]
Sent: Thursday, 6 May 2004 20:04
To: '[EMAIL PROTECTED]'
Subject: RE: Problem with using HttpUploadBean with Struts
Importance: High
Hi there,
Do you have any possible work-around, please let me know.
Regards.
Irshad
-Original Message-----
From: Andrew Hill [mailto:[EMAIL PROTE
Have a look at Axis (also an Apache project). It will probably do what you
need.
-Original Message-
From: Pedro Salgado [mailto:[EMAIL PROTECTED]
Sent: Friday, 21 May 2004 13:20
To: Struts Users List
Subject: Controller for web services
Is there any MVC implementation for web services
Why not store the info in the servlet context, using different keys for each
server?
That way if several users are all monitoring the same server they will be
looking at the same set of data.
Since the data is being multithreaded you will need to make sure you
synchronize in the appropriate place
anyway to *invalidate* this storage bean if nobody has accessed
it in some past N minutes?
I am new to struts so this question might be be too simple..
thanks & regards
-Ramudu
On Wed, 26 May 2004, Andrew Hill wrote:
> Why not store the info in the servlet context, using different keys
Beware of session-scoped ActionForms in this scenario. For a given
ActionMapping you may only have one session scoped form per session for that
mapping (because the attribute key is a constant defined either in the
mapping or by the form name). If you have several windows open up on that
mapping an
+-1
-Original Message-
From: Daniel Perry +AFs-mailto:d.perry+AEA-netcase.co.uk+AF0-
Sent: Friday, 28 May 2004 17:20
To: Struts User List
Subject: FW: Delivery Status Notification (Failure)
Everytime i post to the struts list, i get an email back for one person:
Could an admin unscuscri
Is is a session or request scoped form?
-Original Message-
From: Joshi, Naveen [mailto:[EMAIL PROTECTED]
Sent: Thursday, 3 June 2004 21:48
To: Struts Users Mailing List
Subject: RE: Hidden Variables
It was based on log files that we found this error. This has happened for
couple of scree
: RE: Hidden Variables
Request Scope Form.
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: Friday, June 04, 2004 2:48 AM
To: Struts Users Mailing List
Subject: RE: Hidden Variables
Is is a session or request scoped form?
-Original Message-
From: Joshi, Naveen
Take a look at the lazyList method in ListUtils (in commons-collections). It
should provide that for which you seek.
[http://jakarta.apache.org/commons/collections/api/org/apache/commons/collec
tions/ListUtils.html]
-Original Message-
From: nikhil walvekar [mailto:[EMAIL PROTECTED]
Sent:
Any Expresso users out there?
Id be interested in hearing your comments and evaluation of this framework.
It uses Struts as the basis for the presentation layer, Id be especially
interested to know if it maintains Struts flexibility of allowing you to use
any (ie: not JSP) view rendering technolog
JDBC, and JNDI. For the View,
Expresso works well with JavaServer Pages, JavaServer Faces, Velocity
Templates, XSLT, and other presentation systems.
So what I want to hear about now is folks experiences using it and their
resulting opinions.
-Original Message-----
From: Andrew Hill [mai
Harjots way should work (and you return null from the Action) but there is
another more popular way which is to create an ActionForward instance in
your action and return it:
ActionForward fwd = new ActionForward("/FetchNextPage.jsp",true);
return fwd;
(where the boolean specifies whether its a
The other alternative would be in the RequestProcessor
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Friday, 11 June 2004 16:36
To: [EMAIL PROTECTED]
Subject: RE: Want to do some business logic before the action class of
str uts is invoked. How ?
Have you loo
Use of struts.jar in the ext folder isnt supported. It should be in
WEB-INF/lib with each app having its own copy, otherwise bad things happen
with classloaders (as you noticed).
Why would it need to be in ext for you to compile your code? What IDE are
you using?
-Original Message-
From:
The servlet container will try to encode this sessionId in a cookie if it
can (saving the need to rewrite links) so you may wish to check the browser
settings to see if cookies are enabled. (Its best to make sure you use the
html:rewrite tag (or equivelent) for your links though so that your app wi
l my JSP or some attributed also
needs to
be passed.
Where should i put this tag in the JSP.
Andrew Hill wrote:
> The servlet container will try to encode this sessionId in a cookie if it
> can (saving the need to rewrite links) so you may wish to check the
browser
> settings to see i
You could override processLocale() in the RequestProcessor to set the locale
to whatever you configured
-Original Message-
From: Tim Penhey [mailto:[EMAIL PROTECTED]
Sent: Thursday, 17 June 2004 15:51
To: Struts-User
Subject: Setting locale for the webapp
I have a web application where I
+1
-Original Message-
From: McCormack, Chris [mailto:[EMAIL PROTECTED]
Sent: Thursday, 17 June 2004 22:13
To: Struts Users Mailing List
Subject: RE: [OT] Soccer portal released goal.com
I for one appreciate the post Simone. Its a good looking site and its
nice to see work that developers
Not that there's anything wrong with it
;-)
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: Thursday, 17 June 2004 21:59
To: Struts Users Mailing List
Subject: Re: [OT] Soccer portal released goal.com
You'd be surprised how many people are closet .Net developers ;
Actually I think this is the link you mean:
http://www.catb.org/~esr/faqs/smart-questions.html
-Original Message-
From: Rajat Pandit, Gurgaon [mailto:[EMAIL PROTECTED]
Sent: Friday, 18 June 2004 16:58
To: 'Struts Users Mailing List'
Subject: RE: prob in database connectivity
Hello Gitanj
Well for a start you should not use html:link for javascript links! (only
for real links!)
html:link's (primary) purpose is to ensure that the jsessionid is added to a
href url if cookies are disabled (or on the first page). Obviously that
functionality is hardly applicable for a javascript link wh
depends
-Original Message-
From: Asim Ghosh [mailto:[EMAIL PROTECTED]
Sent: Monday, 21 June 2004 18:10
To: [EMAIL PROTECTED]
Subject: which one is better, Validator framework or ActionError
hello guys,
i have to implement validation which one should i go for
1. Validator Framewor
People seem to treat using the session as though it were some kind of moral
sin.
There are technical pros and cons to using the session and these should be
considered when you do your coding, but the session scope is not harem. You
wont be cursed with eternal damnation because you shove a couple o
I tend to put such things in XML files rather than properties files
nowadays.
When the app starts up I have a plugin read the files and create
configuration objects (using Digester), and put these objects into the
servlet context (application scope) where my code can get at them easily.
-Ori
Is this ok...or is there any better approach to do the same thing..?
Regards,
Viral
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 08, 2004 4:56 PM
To: Struts Users Mailing List
Subject: RE: application configuration
I tend to put such things in XML
Yep. Pretty much so. Its what we all do. :-)
Those who do it often tend to bang up some utility code to reduce the typing
but the end result is pretty much the same. You may wish to use the other
constructor for ActionForward and preserve the redirect flag. ie:
ActionForward fwd = mapping.findFor
yeh. If you set it as an attribute and try to get it as a parameter your in
for some dissapointment ;-)
Doing it as an attribute would be ok though so long as its a non-redirecting
forward and the place you forward to knows to expect it as an attribute.
This does however mean you will also be passi
y certain he discusses this very issue in detail. (I can't seem to get
to that link right now hence cannot verify..)
hth,
Geeta
> -----Original Message-
> From: Andrew Hill [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 08, 2004 8:01 AM
> To: Struts
> Subject: RE: app
When you iterate the vector in your action are you modifying its contents in
any way (ie: using add or remove, etc...)?
-Original Message-
From: Richard Aukland [mailto:[EMAIL PROTECTED]
Sent: Thursday, 8 July 2004 20:46
To: [EMAIL PROTECTED]
Subject: java.util.ConcurrentModificationExcept
My understanding (could be wrong on this of course) was that if you dont
have sticky sessions the container has to serialise the session to its
brethren as necessary. The serialisation is what scares most people, but
what scares me is how it knows when and what to serialise (plus the fact it
stops
String[] foo = request.getParameterValues("foo");
foo[2] = "you"; //Naughty naughty. Very naughty. Wicked! Absolutely
outrageous mate! ;->
In hindsight an odious but obvious and doubtlessly documented hack, yet Ive
spent four frustrating hours figuring out how my poor parameters were
getting malic
Oh thank goodness. Its not just me who couldnt parse it. I thought for a moment my
brain was having a buffer overrun or something.
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: Saturday, 10 July 2004 01:17
To: Struts Users Mailing List
Subject: Re: country state
/*
* @application name="myApp" makewhen="NOW" generate="TheEntireThing"
requirements="readMindOfClient"
*
*/
java.lang.IoException: stream is null
at com.unist.plot.Client.readMind(Client.java:666)
at com.unist.plot.AppGenerator.generate(AppGenerator.java:666)
... 66
Try here:
http://www.catb.org/~esr/faqs/smart-questions.html
ganesh gadi wrote:
Hi Friends,
i'm very happy to tell u my problems and get answers.
i need a solution how to disable "open" button on
"File Download" dialog box.i want control on it.
Pls don't say no solution.Bcox i saw that type of
dia
Yep. If theres one thing I hate its spending hours on a friday night
tracing through some other developers code to find why something in the
api they expose doesnt work and eventually coming to:
catch(Throwable t)
{
return null;
}
deep in the bowels of it and knowing that I cant even fix i
Generate a digest (ie: MD5) of those properties in the actionForm that
you are watching, and render this to a hidden field in your JSP. When
the form is submitted compare this digest to a digest of these fields
generated after submission and if different you know that something has
changed.
Wo
The error is run-time or compile-time?
Caroline Jen wrote:
I have the commons-beanutils.jar file in my
AppName\WEB-INF\lib directory. And I have this
statement:
import org.apache.commons.beanutils.BeanUtils;
in my .java class.
Why do I get the error message that the BeanUtils
class cannot be found
Treating them to a nice dinner and a romantic movie usually works ;-)
Any reason you cant model them as null?
At any rate, your UI should have them blank when they arent entered so
as to avoid confusing the users. If you must store them as 1970
internally then I guess like you say, you will nee
Under your philosophy Struts would end up being just one ActionServlet,
a config file, a RequestProcessor, one Action and one ActionForm. Then
you'd be on your own to find validation, web layout, dispatch, and tag
solutions
Now that you come to mention it, this rather seems to be how I use it
Theres not all that much that you can do. The back button is evil. It
exists merely for the sole purpose of making our lives a tormented misery...
You will find this article of interest though:
http://www.theserverside.com/articles/content/RedirectAfterGet/article.html
[EMAIL PROTECTED] wrote:
I
I dunno mate. I wouldnt rule out client-side Java completely.
Came across a company called Nexaweb who have an interesting solution
for the rich client problem which uses a 1.1 compatible applet for the
client side, but has its own set of lightweight widgets (ie: not Swing).
They have some onlin
From the stack trace it looks a classloading issue. I presume that your
com.tes.HomeForm and HomeAction classes are in your WEB-INF/classes or a
jar in WEB-INF/lib? (Confirm that first though given it worked in 1.3
and assuming you changed nothing else it should still be the case!)
Where is you
It wouldnt survive a server restart, but this may well be acceptable if
you dont expect the server to restart very often and your token expiry
is only a day or two and its easy to get another token if needs be.
Im not sure what the deal is with stuff added to servlet context after
startup in a
a user with bad eyes may choose to use bigger fonts
I have perfect eyesight but Ive been making a lot of use of firefox's
font resizing abilities lately since my work PC got upgraded to one that
can handle 1600 * 1200 resolution... (great for working in eclipse, bad
for reading long pages in b
These might help:
http://stxx.sourceforge.net/
http://www.javaworld.com/javaworld/jw-02-2002/jw-0201-strutsxslt.html
Kranti Parisa wrote:
Thanq
i will follow ur suggestion
On Fri, 15 Oct 2004 10:24:36 +0530, Kailash Vasani <[EMAIL PROTECTED]> wrote:
Hi,
It seems that all you need is XSL transforma
oh well this thread is just becoming spam now...
...spam spam spam spamity spam!
;-)
Bill Siggelkow wrote:
He's as an AspectJock and he's okay
He codes all night and he sleeps all day
He makes join points, defines point cuts
And likes to give advice
On Thursday's he compiles
And weaves code very n
Hi Rick,
I did this for a large application where there were a lot of different
record types with various linkages much as your roster has with players,
and where said linkages could nest quite deeply.
You will need to use the session to do it cleanly. The idea is to
somehow keep a stack of Act
Sounds like the forward you are returning from your execute is
redirecting and hence you get a new request object. Check your struts
config to make sure it says redirect="false" and not true for that forward.
sqdf qsdf wrote:
Hi all!
When I add an ActionError in the validate method of
ActionForm
The usual way - Struts works with the session support provided by the
Servlet API (HttpSession).
Additionally Struts tags that work with urls (html:link for instance)
will take care of adding the jsessionid for you (via the appropriate
servlet api call to rewrite the url) if the browser has dis
Hmm, and there I was thinking it was just an abbreviation of what stressed
programmers scream after struggling with some obscure feature that refuses
to work! - "arrgh! I hate this fn library!"
;->
-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of Bill Siggelkow
Sent: Tuesd
hehe, this (struts vs jsf) has been asked a lot on the list.
If you search the list archives you will find a lot of discussion on it, and
in the struts wiki I found this page particularly enlightening:
http://nagoya.apache.org/wiki/apachewiki.cgi?StrutsMoreAboutJSF
-Original Message-
Fro
rofl!
Reckon Im gonna be forwarding that link a fair bit. Nice :-)
-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of Vic Cekvenich
Sent: Wednesday, 31 March 2004 22:39
To: [EMAIL PROTECTED]
Subject: Re: JavaServer Face
There is also a digram to help you get the picture:
But, fact is that when I want to get my component from servletcontext
I have to cast it to my proper type.
Is there a way to avoid that?
Not really, but you could create a static (or non static if you like) helper
method somewhere to take care of both remembering the key and casting:
public cl
nt want to introduce a
dependency on servlet.jar so just do it like I said below.
-Original Message-----
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 31 March 2004 23:08
To: Struts Users Mailing List
Subject: RE: Struts and plugin question
But, fact is that when I want to get my comp
Why not?
It should work. What error does that give?
-Original Message-
From: Ramadoss Chinnakuzhandai [mailto:[EMAIL PROTECTED]
Sent: Saturday, 3 April 2004 03:32
To: Struts Users Mailing List
Subject: RE: Form submit in JavaScript
I tried that too...but still not able to submit to the a
And dont forget the bodykit, lowered suspension, momo steering wheel, recaro
seats, Alpine and a couple of subs, and of course the obligatory Hello Kitty
in the back window...
-Original Message-
From: McCormack, Chris [mailto:[EMAIL PROTECTED]
Sent: Monday, 5 April 2004 16:22
To: Struts Us
No, remember that multiple threads for different requests are going to be
simultaneously excuting in the action. (So be sure to keep your code
thread-safe (stay away from using class member variables etc...) just like
you would with a servlet.))
-Original Message-
From: Senthivel U S [mail
Nope!
You cant nest tags like that :-(
2 options:
1. Use a scriptlet in place of that bean:write
2. Use struts-el taglibs (or jstl) instead and an expression to do that
value attribute
(The syntax of both I forget however as I dont use JSP myself)
-Original Message-
From: as as [mailto:[
lol. Good point Tim, - I should have read his code closer before I told him
to use a scriptlet.
-Original Message-
From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 13 April 2004 22:43
To: 'Struts Users Mailing List'
Subject: RE: Jasper error
> property="id" />"/>
> Is
request parameters whether submitted as part of a get url or in a post (or
even as part of the url to which a form is posted!) can all be read the same
way - via the servlet apis request.getparameter() - and thus will also be
populated into the action form automatically by struts, so you can
transp
Its wierd. Your code looks like it should work!
Ive not had time to try running it myself but really it looks ok. hmmm.
The code you pasted for TypeAbone is the entire source for that class yes?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 13 April 20
tend to steer clear of using properties like ID, URL, HTML, etc...
Ive adopted the convention of always treating them as though they are just
words rather than acronymns. ie:
getHtml() { return _html; }
getUrl()
getId()
etc...
If you can get whoevers doing the other layers to follow such a co
Actually I think I may have a solution now, to exclude scripted votes -
I shall just put a flag in the session to show that the user has
actually called up the HTML to see the vote.
That way, any script which fires a submit at the voting system will be
rejected since it didn't first instantiate a
Strewth! Remind me never to open a message on regexp at 3am again. Thought I
was reading a lisp forum by mistake. ;-)
Reckon that one must have taken a while to come up with!
-Original Message-
From: Richard Yee [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 14 April 2004 02:50
To: Struts Us
I could look at weaving the code for the struts transaction token into
my JSP. It's already so ugly, it won't make much difference to the
aesthetics of the page.
Could be worth a go as it looks like you might have to serve up something to
be submitted back as proof of valid browsing anyway, and
them for
normal transactions - it just took a paradigm shift for me to recognise
this voting process as a transaction!
On 04/13/2004 10:42 PM Andrew Hill wrote:
>
> I could look at weaving the code for the struts transaction token into
> my JSP. It's already so ugly, it won't make m
One issue with this is that if there is a *lot* of data then rendering and
sending that page to the browser will suffer something of a performance
hit. - 100 rows should be ok though, and if you run an compression filter
(as discussed in other recent threads) the streaming shouldnt be very
intense.
Search the archive and you will find I have explained a technique that
involves the use of a single FormFile setter, a session scoped form, and a
list, with the user uploading 1 file at a time to the field, submitting it,
and being returned to the form with a list of files uploaded so far and a
box
Ahhh. About time we had a beer thread. Its been a while...
:-)
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 20 April 2004 01:10
To: Struts Users Mailing List
Subject: Re: [OT] Beer
Yes he has, and I'm about to join him.
--
James Mitchell
Software En
There are two possibilities here based on whether the form is request or
session scoped.
If the form is request scoped then you need not worry about it as a single
request gets a single thread and so threading issues are not of concern with
regards to the form being used for the request as each re
But after some hours it starts
giving problems but at the same time dummy site works fine
What sort of problems? The server catches fire? That sounds like
overheating. You probably want to use a bigger ventilation fan, and keep a
fire extinguisher handy. Make sure the transformer in the power su
Yes, its a difficult one this.
(Afaik) Your only hope is onBeforeUnload(), but in most browsers I have
tried, getting the browser to submit the form at this point in time simply
didnt work properly for me (ie: it didnt submit!). Does submit() work for
you from inside a beforeUnload handler? If so
Yes, you can just remove the form from the session.
Struts will create a new one when its needed. :-)
-Original Message-
From: Adam Lipscombe [mailto:[EMAIL PROTECTED]
Sent: Friday, 14 May 2004 18:15
To: [EMAIL PROTECTED]
Subject: Newbie question: Deleting an ActionForm that is in session
That will destroy *everything* in the users session.
-Original Message-
From: John Moore [mailto:[EMAIL PROTECTED]
Sent: Friday, 14 May 2004 18:25
To: Struts Users Mailing List
Subject: Re: Newbie question: Deleting an ActionForm that is in session
scope.
Adam Lipscombe wrote:
>Folks,
>
No container that I know of lets you selectively replace classes that have
already been loaded into the class loader, because Java's class loader
API doesn't support unloadClass() or replaceClass().
I use the Sysdeo plugin for eclipse with tomcat and it lets me make minor
modifications to code '
Take the advice about using your foot for the mouse seriously. The only
proper use for a hand is holding a can of beer. ;-)
Im not sure I agree on the wire though. Problem is that there is not enough
springiness there. The best idea is to have the wires attached to firm
springs and the springs att
I am not familiar with the oracle tags in question, but my guess is that the
problem is caused by the fact that struts will parse a multipart request so
that it can create a request wrapper from which to populate the actionform.
I reckon that whats happening is that when the bean in question tries
I think Quartz has been the general consensus most times this has been
debated on the list.
Sng Wee Jim wrote:
Hi,
What would be the recommended way to execute some code periodically on
tomcat/appserver?
Should I
1. start a thread (not recommended in appserver and tomcat?) and do
it in the ru
1. How to find out what time zone the user is in?
You cant (afaik). The closest you can get is to use javascript to determine
their current GMT offset, that however will not give you the actual
timezone (including such things as daylight savings rules and so forth)
but it may be close enough for
Its considered best practice to go through an action first - even in
those cases where the action doesnt need to do anything.
In such cases its recommended (though not unanimously - we had a bit of
a debate about this a couple of weeks ago on the list!) that you also
put your JSPs under WEB-INF
Works for me. Probably just a temporary glitch?
Erik Weber wrote:
This is the only Apache list to which I subscribe, so sorry for the OT.
I am trying to download HttpClient 3.
http://jakarta.apache.org/site/downloads/downloads_commons-httpclient.cgi
All the links on this page appear to be dead!
I t
Which leads us into that old joke about the difference between a
software salesman and a car salesmen ...
John McGrath wrote:
it's an acronym -- it stands for the National Automotive Dealers Association
(www.nada.org).
-Original Message-
From: Daniel PC Leung [mailto:[EMAIL PROTECTED]
Sent
doh! shiny-side OUT people! do try to remember!
http://zapatopi.net/afdb.html
Fergal O'Shea wrote:
One from this side of the pond.
Parents bring their young child into A&E with severe sunburn on a hot
summer's day.
The doctors ask them how the child got burned.
They tell them that, yes, the chil
A car salesman knows when he is lying ;-)
Daniel PC Leung wrote:
I have not ever heard of it
I'd know the difference.
On Thu, 24 Feb 2005 13:29:12 +0800, Andrew Hill
<[EMAIL PROTECTED]> wrote:
Which leads us into that old joke about the difference between a
software salesman and a c
I dunno mate. The usual technique in the industry would seem to be some
variant of the following:
Write junk
Go home on time (actually get to see family occasionally!)
Leave for better job letting someone else cleanup mess
Repeat as necessary
(Health department warning: If repeated excessively ca
ERROR! - Unable to reply to post
The following exception was raised while processing your post:
"insufficient information in request to formulate hypothesis"
Correct following errors and retry:
{
1.) "every thing" is not defined
2.) "getting the values from the form bean" fails to provide context
3
> Not to hit below the belt, but the only place that I have seen that
> naming used in practice is in the Win32/COM world. Can you name
> another? ;-)
We do it as part of our coding conventions (we also do the Abstractxxx
thing too). Im rather pro doing it that way too. Mostly its a matter of
t
There is a fair bit of support in commons-beanutils for this sort of thing.
http://jakarta.apache.org/commons/beanutils/api/
Take a look at BeanUtils.copyProperties() to start with at that sounds
closest to your needs.
(btw: Struts also makes use of BeanUtils for form population so the jar
file
Dunno about struts 1.2, but in 1.1 there wasn't an option for it. That
said, it would probably take you only a few minutes to override the
request processor to do it.
indeed I recall having done that before myself a year or two back
ahh... here we go -
protected void processPopulate(HttpServletR
Whats wrong with the conversion support in BeanUtils?
Prasad, Kamakshya wrote:
HI,
Thanks a lot for the reference.
But we where also looking for something which can perform the necessary
type conversion like string to date, string to double
KP
-Original Message-
From: Andrew Hill [mailto
Imagine you have an int field and the user types in the value "anything
but zero, oh please not zero, cause if its zero Im screwed".
Take a guess at what value you will get in the field...
Prasad, Kamakshya wrote:
Hi,
What all issues are there in keeping the data type of the attributes in
Acti
Why would the users have trouble accepting Spring if you werent using
the MVC part - how does that impact on the UI to an extent that a user
could notice?
Fogleson, Allen wrote:
I think the biggest argument was stated by Nicolas.
I use struts because I like it sure, but I really use it because i
Yes.
I always validate in Actions and not in the form itself (though I often
delegate to a seperate helper class from the action (and configure the
helper in a subclass of ActionMapping and have an abstract action
superclass manage its lifecycle)).
Validating in the form I find to be troublesom
+1
Jesse Alexander (KBSA 21) wrote:
First of all: Happy Birthday Ted (maybe a bit late, but I read the Struts
mailinglist only in the office because of its hig volume)
Is Struts a product?
- If products means that it is marketed: I do not have the feeling
- If
QUIT SPAMMING THE LIST!
http://www.catb.org/~esr/faqs/smart-questions.html
Reposting your question every 5 minutes is a brilliant way to really
annoy people and guarantee that of those people who could help you ,
almost all will not due to your rudeness. (Though they will quite
happily spend the
One technique would be overriding dispatchactions execute method in that
action to check for this attribute and then delegating back to the
superclass to handle the normal situation when its not found or calling
the appropriate method when it is?
ie:
public ActionForward execute(ActionMapping m
You cant control what the client browser sends to the server (as hackers
can spoof almost anything thats sent) so you need to treat all data from
the client as suspiscious until proven otherwise! This means validating
any data that is submitted to your application before your application
makes
If a user has multiple windows/frames/tabs open and both are making
requests at once (or it could be a double submit from a single window
(which you could catch using tokens)) then you might see this sort of
thing occur occasionally.
In this situation you have two threads both of which have a
The average PHB thinks EJB *is* J2EE...
:-(
Vic (Vinny) Cekvenich wrote:
Jesse Alexander (KBSA 21) wrote:
JSF will be part of J2EE (as of version 1.5). That will make it hard
to explain to "pointy hairy boss" type managers why one wants to use
another
framework.
So is EJB a part of J2EE for a l
selling over a hundred thousand copies combined -- but no one is
actually using it in production. :)
Like EJB?... ;-)
Ted Husted wrote:
LOL. :)
Yes, over the last two years at least nineteen different publishers each decided to publish books about Struts, surely selling over a hundred thousand
1 - 100 of 140 matches
Mail list logo