+1
Ive always found plugins by far the more convienient of the various methods
of initialising stuff at startup.
-Original Message-
From: Joe Germuska [mailto:[EMAIL PROTECTED]
Sent: Monday, 8 September 2003 22:51
To: Struts Users Mailing List
Subject: Re: Plug-in API
At 7:40 -0700
And theres a 3rd option: in a filter, though overriding the RequestProcessor
should serve just as well in this case.
(Forget the ActionServlet option unless your using struts 1.0.2)
-Original Message-
From: Seyhan BASMACI (Internet Yazilimlari Yetkilisi)
[mailto:[EMAIL PROTECTED]
Sent:
Afaik, the global-exceptions only traps exceptions thrown up from your
actions (not from the RP or the JSPs)
(I could be wrong about this though!)
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Friday, 5 September 2003 16:50
To: [EMAIL PROTECTED]
Subject:
+1
-Original Message-
From: Rohit Aeron [mailto:[EMAIL PROTECTED]
Sent: Friday, 5 September 2003 18:16
To: Struts Users Mailing List
Subject: RE: Thanks
All the best for your future endeavour
Regards
Rohit
-Original Message-
From: Mehta, Chirag (IT) [mailto:[EMAIL PROTECTED]
Or:
Implement the PlugIn interface add the appropriate reference to your class
in yoir struts-config.xml
-Original Message-
From: Hue Holleran [mailto:[EMAIL PROTECTED]
Sent: Monday, 1 September 2003 19:41
To: Struts Users Mailing List
Subject: RE: [OT] Scheduling
Using this method
I just know Mark loves flash stuff ;-)
This should take your mind off dealing with validator quirks for a while.
(Sorry mate - couldnt find any lisp to go with it!)
http://www.freshsensation.com/samorost.swf
-
To
Yeh, that kinda sux.
Your best bet is to use a RuntimeException subclass which doesn't have to be
declared.
The NestableRuntimeException class (in commons-lang) is very useful for this
sort of thing as its nestable so you can wrap the checked exception you need
to throw.
-Original
Sounds more like a job for portlets.
Im not familiar with them myself , but Id suggest you might want to take a
look at JetSpeed (there are other portlet impls but I cant remember what
they are right now...)
http://jakarta.apache.org/jetspeed/site/index.html
-Original Message-
From:
You need to submit the changes in the field contents to the server. I
presume when you talk about the form being 'refreshed' you actually mean
that it POSTs to some action which does some stuff and then you get
forwarded back to the same jsp again?
The web browser will only submit the values for
OI!
STOP ALL THAT SHOUTING!
ITS GIVING ME A HEADACHE.
(I know your terminal can do lower case - I can see it in your sample code!)
And while Ive got your attention, it is *not* AN ERROR IN STRUTS that the
checkbox is not submitted, it is a result of the html specifications (whose
writers probably
Sure, just instantiate it and call its perform (execute in struts 1.1)
method, passing your mapping, for, request and response refs. Dont forget to
set the ActionServlet reference first!
(Of course it gets much more complicated if you dont want to give it the
same mapping and form as your calling
Danny is right you know. I probably didnt stress the point well enough in my
own response to the question just now.
You would be much better off doing a spot of refactoring.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Thursday, 4 September 2003 22:37
To:
Have you implemented code in reset() to reset the checkbox to its unticked
value in the form yet?
Not sure why radio buttons would give you problems though.
They usually have one option selected which would get submitted.
-Original Message-
From: Greg Amaroso [mailto:[EMAIL PROTECTED]
PROTECTED]
Sent: Thursday, 4 September 2003 22:45
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: Can we create a Action class object
Hi Andrew Hill,
Thanks for your reply.
Can I know about setting the ActionServlet reference first!.
Thanks Regards,
Ashok.D
- Original Message
in this discussion because they
fundamentally work in the same way as checkboxes (i.e. they don't send
variables if not checked).
Thanks.
Greg
From: Andrew Hill [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
Date: Thu, 4 Sep 2003 22:38:19 +0800
To: Struts Users Mailing List
snip
A similar question about your web application:
Assuming all pages are set to no-cached,
does it allow end users to continue the application flow after
the Page has Expired ... feedback?
I am interested in the answer to the second question and encourage
anyone to do a REAL experiment with
Firstly check that redirect is false in the forward to the view.
(If it is already false then thats not the problem and you should post some
more of your code and configs so we can try and see whats going wrong.)
-Original Message-
From: Rodney Paul [mailto:[EMAIL PROTECTED]
Sent:
To: Andrew Hill
Cc: Struts Users Mailing List
Subject: RE: [OT] XML Parsers vs WEB-INF/lib [WAS: RE: Commons Versions
bundled with Struts 1.1]
On Wed, 3 Sep 2003, Andrew Hill wrote:
Date: Wed, 3 Sep 2003 11:58:13 +0800
From: Andrew Hill [EMAIL PROTECTED]
To: Craig R. McClanahan [EMAIL PROTECTED]
Cc
=com.unist.plot.EvilActionForwards?
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 3 September 2003 13:00
To: Struts
Subject: Using a custom ActionForward subclass
Im trying to make use of my own subclass of ActionForward (or subclass
Im using the location.replace() trick. Works ok though Id rather not have a
back button at all!
Id hate to think about doing it using jsp though.(or indeed any other serial
rendering mechanism).
One would need to replace every link with some custom tag - and where the
links themselves are
Nah. Some browsers may still send the request for the previous url instead
of loading it from the cache. :-(
-Original Message-
From: Madhu Nair [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 3 September 2003 16:51
To: Struts Users Mailing List
Subject: RE: Is there a way to disable the
Not if your browser sends a new request for the previous page instead of
using its cache, and that page crashes since the objects its expecting in
various contexts arent there anymore...
-Original Message-
From: Brian Lee [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 3 September 2003 21:37
Theres been some virus going round the net clogging up mail servers and
routers all over the place.
As a result email (including struts list) has been a bit slow lately with
some messages taking literally days to reach the list, and one assumes slow
from the list to certain places.
It seems quite
Ive been trying to find out the versions of the commons libraries bundled
with Struts 1.1 Final, but haven't found where its definitively documented
(links welcome please!)
I went through the various manifest files and got this, but Im not sure how
up to date the manifests are:
struts 1.1 (Yeh.
When you lookup the ejb in your LogonAction you can create a bean wrapping
that info (or even just reuse the EJB bean) and you store this bean under a
request attribute (not parameter).
Make sure your success forward is a non-redirecting forward and this means
the forward will be a server side.
In
http://jakarta.apache.org/struts/userGuide/release-notes-1.1.html:
Commons BeanUtils 1.6.1
Commons Collections 2.1
Commons Digester 1.5
Commons FileUpload 1.0
Commons Lang 1.0.1
Commons Logging 1.0.3
Commons Validator 1.0.2
Quoting Andrew Hill [EMAIL PROTECTED]:
Ive been trying to find out
btw: Anyone have a clue as to the version for the jakarta-oro jar?
(Its manifest doesnt say)
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 2 September 2003 21:31
To: Struts
Subject: Commons Versions bundled with Struts 1.1
Ive been trying to find out
Firstly I should point out that naming a field (and a submit button
qualifies in this category) on your form action is a very bad idea (as it
shadows the action property of the form object in the client side object
model - so if you ever need to play with a forms action path in javascript
on the
So whats the deal with XML parsers?
For example lets say I need my web app to use xerces-1.4.3 as later versions
have various bugs with some of the things Im trying to do (for example
xerces-1.4.4's Document.cloneNode() is screwed, and 2.something's
EntityResolver gets fed incorrect info, etc...
In other words, if Im running on a 1.4 JVM, _all_ the applications running
in that container _must_ share the same parser? :-(
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 3 September 2003 11:54
To: Andrew Hill
Cc: Struts Users Mailing List
Im trying to make use of my own subclass of ActionForward (or subclass of
ForwardingActionForward to be precise).
Ive set the type in the global-forwards appropriately:
global-forwards type=com.unist.plot.EvilActionForward
That seems to work ok. (Ive not actually tested that its really
Thats strange. It doesnt seem very urgent to me mate.
http://www.catb.org/~esr/faqs/smart-questions.html
I was thinking of letting my reply sit in the 'drafts' folder for a while
before sending it, but what with the wierd list behaviour at the moment I
figure it will be ages till the reply arrives
This is a joke right?
...Friday is well and truly over mate. Its Monday now.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Monday, 1 September 2003 12:03
To: [EMAIL PROTECTED]
Subject: SubClass RequestProcessor or Action class
HI All,
As a general practice
Andrew Hill
[EMAIL PROTECTED]To: Struts Users
Mailing List [EMAIL PROTECTED]
idnode.com cc:
Subject: RE: SubClass
RequestProcessor or Action class
Hmm practically next door to me :-)
(I even studied bahasa at uni, not that I can remember a word now)
-Original Message-
From: Kristanto Oetomo [mailto:[EMAIL PROTECTED]
Sent: Friday, 29 August 2003 18:52
To: 'Struts Users Mailing List'
Subject: RE: [FRIDAY] Vacancy
It's one of the
Eh?
You sure thats the link Mark?
I read through it but it all seems to be some nonsense about questionable
hackers , or hackers with questions or asking questions or something like
that? - I didnt see anything about JSF or even struts.
-Original Message-
From: Mark Galbreath
Uh, no. Havent even been there (unless you count flying over).
-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]
Sent: Friday, 29 August 2003 18:55
To: 'Struts Users Mailing List'
Subject: RE: [FRIDAY] Vacancy
Isn't Andrew living/working in Indonesia? I thought he said
about doing a web search before posting inane
questions on mailing lists?
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: Friday, August 29, 2003 7:04 AM
To: Struts Users Mailing List
Subject: RE: What is Java Server faces ?
Eh?
You sure thats the link Mark?
I read
Never figured it out, but its pretty much standard practice in this corner
of the world!
-Original Message-
From: David Stemm [mailto:[EMAIL PROTECTED]
Sent: Friday, 29 August 2003 20:42
To: Struts Users Mailing List
Subject: Re: Vacancy
Why would you need a recent photo for an
[mailto:[EMAIL PROTECTED]
Sent: Friday, 29 August 2003 22:11
To: Struts Users Mailing List
Subject: Re: [FRIDAY] Vacancy
I wonder if they consider a tele-commuter.
Andrew Hill wrote:
Uh, no. Havent even been there (unless you count flying over).
-Original Message-
From: Mark Galbreath
Any chance I'd get to ride in the corporate Battlesub?
-Original Message-
From: Bill Chmura [mailto:[EMAIL PROTECTED]
Sent: Friday, 29 August 2003 21:27
To: 'Struts Users Mailing List'
Subject: [FRIDAY] RE: Vacancy
I am pretty sure this is one of those hiring for an evil army jobs...
In this area of the world its still quite normal to have to enter ones race
( religion medical history) on applications for all sorts of things
including of course jobs. (I usually put human much to their annoyance).
In this country (though not in many of our less developed neighbours) it is
Rofl!
oh yeah. This links getting forwarded :-)
-Original Message-
From: Raj Naboti [mailto:[EMAIL PROTECTED]
Sent: Thursday, 28 August 2003 06:47
To: [EMAIL PROTECTED]
Subject: [OT[ voice enable Java IDE
I find this IDE most rewarding. Compared to crowd it shines with highest
regard!
Hehe. I ran eclipse on a P-I 200Mhz with 64Mb without problems (though i was
just stuffing around and not doing anything 'heavy')
-Original Message-
From: Mike Duffy [mailto:[EMAIL PROTECTED]
Sent: Thursday, 28 August 2003 12:45
To: Struts Users Mailing List
Subject: RE: J2EE IDE
I
I posted something about this a week or two back outlining a technique
whereby, although the user can still only upload one file (per field) at a
time, the form is session scoped and keeps track of already uploaded files
internally, so over a series of requests the user can upload multiple files
isn't applicable in this case, (Being about
how to associate any number of files with a single field), so I'll leave off
on the details of that unless anyone else is interested in having them
posted again?
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: Thursday, 28 August
Nah. Just ctrl-alt-delete and kill explorer in the task manager :-)
-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: Thursday, 28 August 2003 16:49
To: Struts Users Mailing List
Subject: Re [OT] As the Struts world turns [was: Re: DO NOT REPLY [Bug
22519] - Allow
I presume you need this in your getters/setters?
One hack might be to grab a transient instance member reference to the
request (and thus session) in the reset() method (transient to maintain
serializability). This would only be suitable for request-scoped beans
however and wouldnt be advisable
Struts doesnt supply a feature for this unfortunately - you would need to
implement the logic yourself.
-Original Message-
From: Aswathy Priyarenj [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 27 August 2003 17:05
To: [EMAIL PROTECTED]
Subject: Changed fields in ActionForm
Hello,
I would
I'd love to oblige, but I think its best I keep my computer back in 1993.
Id hate to get that nasty Y2K thing that was going around a year or two
back!
Sorry.
-Original Message-
From: Keith Pemberton [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 26 August 2003 03:03
To: [EMAIL PROTECTED]
Well, both Venus and Mercury orbit closer to the sun than we do, and thus
have shorter years - ergo: 2004 has been and gone long since over there.
:-P
-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 26 August 2003 16:38
To: Struts Users Mailing List
Subject:
Hmmm.
Is your mail client travelling at or near the speed of light?
-Original Message-
From: Thomas Cornet [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 26 August 2003 20:06
To: Struts Users Mailing List
Subject: RE: [OT] Re: Small request...
I'm using Eudora, and the date of your post is
The power of nested tags cannot be understated. Id advise you to use them
(where applicable) for they are really useful, they make simple a lot of
things that would otherwise be a nightmare to implement.
-Original Message-
From: Erez Efrati [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 26
Im not really clear on what your doing. Can you give some detail, and
perhaps some snippets of code?
What do you mean by added a map?
-Original Message-
From: Geronimo Ma. Hernandez [mailto:[EMAIL PROTECTED]
Sent: Friday, 22 August 2003 17:38
To: Struts Users Mailing List
Subject:
with ActionConfig
Andrew Hill wrote:
Im not really clear on what your doing. Can you give some detail, and
perhaps some snippets of code?
What do you mean by added a map?
Sorry for being unprecise.
I added a map to the ActionConfig-subclass. The map is created in the
default
constructor
with ActionConfig
Andrew Hill wrote:
And then you split it in the setter (using a StringTokenizer or some such
similar method) and call map.put() for each token? What are you using as a
key for each token?
my value looks like user:session, userList:request, where the list is
split
by the , and the entries
wait wait I know!
idea type=silly today=friday drink=beer
Have only ONE url for the whole application.
Give every page a hidden field named theRealUrl and all links etc
actually fire javascript that sets this hidden field and POST to that one
acceptable url, then you have a filter (or
WTF!
Why are you spoofing my email Brian? (If that is your real name...)
We are not amused.
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 20 August 2003 13:38
To: Struts
Subject: RE: [OT] Session Context attributes in distributed env [WAS:
RE: [OT
Im just getting started looking at web services myself , so dont have a
detailed technical grasp, but a seminar I attended a couple of days ago is
still fresh in my mind so Ill have a go at fielding this one...
What you have done would fit into the 'academic' definition of a 'web
service quite
The PlugIn support (in struts 1.1 but not 1.0.2) is also very useful for
this type of thing.
Ive extended the RequestProcessor to do a few application specific things,
and the ActionMappings to take some app specific properties, but in general
there isnt a need to extend most things unless you
[mailto:[EMAIL PROTECTED]
Sent: Monday, 18 August 2003 23:50
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: [OT]Servlet Context/Static Fields
On Mon, 18 Aug 2003, Andrew Hill wrote:
Date: Mon, 18 Aug 2003 17:12:34 +0800
From: Andrew Hill [EMAIL PROTECTED]
Reply-To: Struts Users
: Craig R. McClanahan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 20 August 2003 13:19
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: [OT] Session Context attributes in distributed env [WAS:
RE: [OT]Servlet Context/Static Fields]
On Wed, 20 Aug 2003, Andrew Hill wrote:
Date: Wed
!= null
-Original Message-
From: Stefan Berger [mailto:[EMAIL PROTECTED]
Sent: Monday, 18 August 2003 16:58
To: [EMAIL PROTECTED]
Subject: Form data is not null and the length is 0 -- why this ?
Hi,
I am confused. I have a form with fields and after pressing the button i
got a
If your in a distributed environment changes you make to properties of those
static classes will not be propogated to other JVMS (or indeed other
classloaders), whereas the stuff in ServletContext should be (though Id love
to hear an explanation of how it knows when to do it!).
-Original
Take a look at the HttpClient project. That might have what you need.
http://jakarta.apache.org/commons/httpclient/features.html
You would do the posting from the servlet or action. (Its no good setting up
a jsp to render a pafe that is used to post the data as it would be the
users browser that
to use any 3rd party libraries.
Considering, I do the POST from the servlet in the doPost() method, so it's
my assumption that I will get the response in the doGet method.. is that
correct ?
thanks
-raj
Andrew Hill
[EMAIL PROTECTED
I dont believe so. :-(
btw
Likewise for multiple actionforms (for the same mapping) when you have 1
windows open (such as you might want for editing several records selected
from a list in the main window...)
/btw
-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent:
The path is extracted from the url by the processPath() method of the
org.apache.struts.action.RequestProcessor class.
The mapping for that path is obtained in the processMapping() method.
The instance of Action is returned from the processActionCreate() method
which will look it up or create it
management [WAS: method to get new Id to next action when old Id is in
request?]
Move on. There are plenty of jobs for the competent and there is no point
in wasting your time developing for morons.
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2003 7
Yeh alright mate. Keep ya hair on and enough with the shouting already!
Since the forms are only instantiated when a request for that mapping comes
in its gonna be kinda hard to prepopulate values on them cos they dont exist
yet. Indeed unless you are using session mapped forms (such as for a
Is there something wrong with the list mailer this week? Ive noticed lots of
runs of empty replies from various different folk...
-Original Message-
From: Kommineni, Sateesh (IndSys)
[mailto:[EMAIL PROTECTED]
Sent: Monday, 11 August 2003 19:55
To: Struts Users Mailing List
Subject: RE:
snip
unbridled innovation is hurting our industry more than it's helping by
breeding underpowered technology and clouding the market's vision
/snip
Gasp!
Heresy! Burn him! Burn Him!
-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 6 August 2003 21:43
To:
and then sorting it out in a base class
during form.reset() (exceptionally seat-of-pants thinking))
Andrew Hill wrote:
oops, yep. Should have specified that. Only for a session mapped
actionform
will there be a problem. The request ones are of course not affected by
the
problem.
-Original
Well if several page can submit to the same action , only way you are going
to know which one the submission came from in the action (and thus know
where to forward back to) is if that information is itself also submitted
(or some other parameter that can identify the page you came from and so
that you mentioned?
Thanks.
_CJ
On Sunday 10 August 2003 11:08 pm, Andrew Hill wrote:
Yeh alright mate. Keep ya hair on and enough with the shouting already!
Since the forms are only instantiated when a request for that mapping
comes
in its gonna be kinda hard to prepopulate values on them cos
Oh man. I hate tests. Always flunk them big time.
Whoa! Wheres the questions dude? Or is this like one of those , you know,
trick tests, where like the answer is guessing what the question is. Heavy.
Ahhh. I know!
What do you get if you multiply six by nine?
-Original Message-
From:
So what does one do when one has requirements that are (for all practical
purposes) impossible?
How does one actually go about convincing a Customer/PHB/VIP that its
impossible without them thinking one is incompetent and making excuses?
-Original Message-
From: ansuman_behera
Given the limitations of html thats not really practical without using
frames or IFrames. :-(
Certainly tiles doesnt provide anything of that sort.
Theoretically you might be able to do something sort of like that using a
hidden iframe to send the request and receive the response, a bunch of
and beer?
-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 5 August 2003 19:59
To: 'Struts Users Mailing List'
Subject: RE: [OT] - [TOPIC] - [VOTE]
Will there be girls?
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent:
Yep.
Its interesting to note that one of the major struts development tools
(Camino) was developed here in Singapore (by Scioworks Technologies). Id
imagine that once the recession is over and companies start to spend on IT
projects again we will see even more adoption adoption of struts in the
Heres one to look at:
http://www.jcorporate.com/econtent/Content.do?state=templatetemplate=2reso
urce=636db=default
(Expresso from jcorporate. (Its opensource))
Havent tried it myself. If you use it, be sure to share your experiences
with the list :-)
-Original Message-
From: Mehdi
hah. Thats nothing!
Wait till you try coding it without hidden variables AND standing upside
down in a hammock while playing bagpipes at the same time.
Using .net
On a 486
with no monitor
...ah Friday is that BEER I can smell?
hmmm I know
how about tacking it on as a query parameter to the
drop me a line.
Cheers
Simon
- Original Message -
From: Andrew Hill [EMAIL PROTECTED]
To: Struts [EMAIL PROTECTED]
Sent: Friday, August 01, 2003 8:02 AM
Subject: [OT] XForms
Currently the app Im working on is using an xhtml front end (with struts
of
course) but Ive been asked
-1
What James said, with the extra note that you wont get any support from me
for a scheme that doesnt include a [FRIDAY] tag, or a [BEER] tag, or a
[FRIDAY].[BEER] tag, or a [FRIDAY].[BEER].[42], then again I suppose all
those discussions might best be summed up with [FRIDAY].[BEER] == [42] ;-
Is
http://www.catb.org/~esr/faqs/smart-questions.html
-Original Message-
From: Sridhar Kotagiri [mailto:[EMAIL PROTECTED]
Sent: Friday, 8 August 2003 00:16
To: Struts Users Mailing List
Subject: Struts ProblemUrgent
Hi,
I have a HashMap in my ActionForm bean.I am able to
You could start by posting your question with a meaningful subject line.
http://www.catb.org/~esr/faqs/smart-questions.html
I might add that many of the folks on this list simply will not reply to any
post that has urgent in the subject line.
-Original Message-
From: [EMAIL PROTECTED]
RequestProcessor has a processPopulate method to init form fields in the
action form based on request parameters (though it actually delegates to
RequestUtils class to do the real work).
the processActionForm() method in RP is resposible for finding or
instantiating the action form instance based
Subject: Re: transaction tokens
Andrew Hill wrote:
I dont believe so. :-(
btw
Likewise for multiple actionforms (for the same mapping) when you have 1
windows open (such as you might want for editing several records selected
from a list in the main window...)
/btw
what's the problem
http will always pass a string parameter so its generally better to make
your action form properties strings as well. The user could have typed
garbage into the form control so the string that is passed might not be
parseable.
Best bet is to add an extra method to your action form that does the
Currently the app Im working on is using an xhtml front end (with struts of
course) but Ive been asked to look at XForms with an eye to migrating to it
in the future (and probably throwing in a migration to JSF while Im there).
Currently the XForms spec is only a candidate release with afaik very
for
people used this function in 1.0.2 and want to switch to 1.1:).
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: July 31, 2003 6:08 AM
To: Struts
Subject: How to rename file in FormFile in struts 1.1 final release
Whats the deal
Whats the deal with
org.apache.struts.upload.CommonsMultipartRequestHandler.CommonsFormFile
being immutable?
Its broken my (production) code that was working with struts 1.1 b1 and
relied on using setFileName() :-(
What is the rationale for the FormFile interface still having these methods
when
Enterprise Midrange - Bank One Infrastructure Operations
[EMAIL PROTECTED]
(614) 213-6100
Andrew Hill [EMAIL PROTECTED] on 07/30/2003 10:49:19 PM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
cc:
Subject: RE: [OT] Best
Yes. The book is based on a beta version.
-Original Message-
From: object worlds [mailto:[EMAIL PROTECTED]
Sent: Friday, 1 August 2003 10:00
To: [EMAIL PROTECTED]
Subject: Re: first release date struts 1.1
Are you sure that was the very first occasion that Struts v 1.1 was
released
This is quite a common idea that many people new to struts have. There are
quite a few reasons why your ActionForm and your value object are different
objects. (Indeed the very reason ActionForm is implemented as a class rather
than an interface is specifically to discourage people from using
/ashwani_kalra/
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: Friday, August 01, 2003 10:47 AM
To: Struts Users Mailing List
Subject: RE: Direct ValueObject creation rather than ActionForm.
This is quite a common idea that many people new to struts
have. There are
quite
snip
InputStream is =
servlet.getServletContext().getResourceAsStream(/WEB-INF/dir/file.x);
/snip
Thats fine if your in an action, but down in your business classes you dont
want to be dependant on the servlet api classes.
Obviously the trick is to have some kind of interface (which in my apps
Switch off struts default locale handling (if I recall correctly this is the
'locale' attribute in the 'controller' element in struts-config.xml - set it
to false) and provide the locale yourself stored in the same attribute in
the session that struts stores it (the Action class provides a
A colleague of mine upon reading the archived message you linked to did a
bit of a search and come up with this thread in which some of those named
set the record straight:
http://www.javalobby.com/threadMode_printfriendly.jsp?forum=61thread=7034
-Original Message-
From: Yansheng Lin
Take a look at:
http://www.keyboardmonkey.com/pilotlight/index.jsp
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, 24 July 2003 16:22
To: [EMAIL PROTECTED]
Subject: [newbie] Multi-Form Page ... PLEASE
Hi ... I am quite new to Struts and like to know
301 - 400 of 1186 matches
Mail list logo