RE: how to dynamically generate several file upload fields

2002-12-11 Thread Andrew Hill
st Subject: Re: how to dynamically generate several file upload fields 2002. december 11. 11:21 dátummal Andrew Hill ezt írtad: > I think to get multiple files working (ie: array of FormFile) would need > changes to the classes in the struts upload package. I would imagine that > it is no

RE: urgent

2002-12-11 Thread Andrew Hill
PROTECTED] Subject: Re: urgent / is there in the error. it looks like taking as /actionmapping.do etc. - Original Message - From: "Andrew Hill" <[EMAIL PROTECTED]> To: "Amit Badheka" <[EMAIL PROTECTED]> Sent: Wednesday, December 11, 2002 3:40 PM Subject: R

RE: how to dynamically generate several file upload fields

2002-12-11 Thread Andrew Hill
Well you can do it for text fields already - just pump out several fields with the same name. Works for almost all field types actually. ...just not files :-( I think to get multiple files working (ie: array of FormFile) would need changes to the classes in the struts upload package. I would imag

RE: how to dynamically generate several file upload fields

2002-12-11 Thread Andrew Hill
I had a similar problem. At first I tried using a FormFile[] array like one does with other non-file fields, but it just didnt work, and I dont believe its supported, though it may be that I was doing something wrong? :-( I thought of a few other (rather bad) solutions. The most obvious involves

RE: urgent

2002-12-11 Thread Andrew Hill
No joy with the javascript submit() huh? :-( Are you getting any error messages? Are you submitting to the correct url? (ie: forms action is set appropriately) -Original Message- From: Amit Badheka [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 17:36 To: Struts Users Mailin

RE: how to submit a form using html:link

2002-12-11 Thread Andrew Hill
Andrew Hill ezt írtad: > Yes, ... BUT > you will need to use javascript. > ie: > > Submit > > i guess for the tag the syntax would be something very similar: > > Submit What will he achieve by using html:link? I think it is unnecesary. Tib -- To unsubscribe, e-mail: <

RE: how to submit a form using html:link

2002-12-11 Thread Andrew Hill
Yes, ... BUT you will need to use javascript. ie: Submit i guess for the tag the syntax would be something very similar: Submit -Original Message- From: Amit Badheka [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 16:52 To: Struts Users Mailing List Subject: how to submit

RE: Where is the org.apache.struts.action package?

2002-12-10 Thread Andrew Hill
http://jakarta.apache.org/site/binindex.html -Original Message- From: Ron Day [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 12:42 To: Struts Users Mailing List Subject: RE: Where is the org.apache.struts.action package? struts.jar ?? -Original Message- From: Hump

RE: Initializing application

2002-12-10 Thread Andrew Hill
Oh yeh. Almost forgot. Plugins are called when your webapp is initialised (before anyone can access it) and are executed serially in the order you listed them in your struts-config. -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 10, 2002 23:36 To

RE: Initializing application

2002-12-10 Thread Andrew Hill
Another idea would be to make use of a struts plugin. These are actually very simple to write! Just implement PlugIn and its init() method and add to struts-config and bobs yer uncle. btw: the signature of the init method changed between 1.1b1 and 1.1b2. If you do the following trick your Plugin

RE: LookupDispatchAction onchange

2002-12-10 Thread Andrew Hill
Should be possible. You may need to do something like appending a parameter to your forms action url with a bit of javascript to simulate whats submitted by a button. Can't remember the details for LookupDispatchAction since I havent used it, but heres some js that will play with your forms action

RE: Access/Manage client's file system

2002-12-09 Thread Andrew Hill
Well, if you can make do with something thats rather user unfriendly you can use the standard html stuff: For the files to be saved on the users machine you could provide a link - clicking the link will allow the user to download the file which they can save on their machine. For the server to read

RE: Question about adding ActionErrors

2002-12-09 Thread Andrew Hill
I thought it was normally request scope? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 17:44 To: [EMAIL PROTECTED] Subject: RE: Question about adding ActionErrors I think the errors are saved in session not in form. -Original M

RE: java Beautiful

2002-12-05 Thread Andrew Hill
Eclipse (an IDE): http://www.eclipse.org/ Jalopy (code formatter): http://jalopy.sourceforge.net/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 22:41 To: [EMAIL PROTECTED] Subject: RE: java Beautiful Eclipse + Jalopy. Regards,

RE: if condition with "or"

2002-12-05 Thread Andrew Hill
ent: Thursday, December 05, 2002 21:22 To: 'Struts Users Mailing List'; [EMAIL PROTECTED] Subject: RE: if condition with "or" I meant the java programmers, not the server machine. -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2

RE: if condition with "or"

2002-12-05 Thread Andrew Hill
Where do you think tags get run? -Original Message- From: edgar [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 21:17 To: 'Struts Users Mailing List' Subject: RE: if condition with "or" When the logic is this complex, shouldn't it be in Java or is that putting too much press

RE: Java Server Faces stage?

2002-12-05 Thread Andrew Hill
Been having a bit of a read of the draft specs the last few days. Its very exciting. :-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 20:17 To: [EMAIL PROTECTED] Subject: Re: Java Server Faces stage? Check this out: http://www.

RE: [dynamic text fields] : Problem

2002-12-05 Thread Andrew Hill
Havent tried it myself but it sounds like you could make use of the stuff in the nested extension (which I think is actually part of the core now?). Check out the following link for more info: http://www.keyboardmonkey.com/next/index.jsp -Original Message- From: Ahmed ALAMI [mailto:[EMAIL

RE: if condition with "or"

2002-12-04 Thread Andrew Hill
what is the difference between having a scriptlet or what you use above? Hehe I rather agree Jim! (Mind you I am rather anti-JSP so my view is probably a bit biased!) Your question reminds me of an old article I read several months ago by Jason Hunter (author of the O'Rielly Servlet book) writt

RE: abstract class

2002-12-04 Thread Andrew Hill
So your sub class (a derivation of your base class) needs to call into its super class, it is done with a super() call. The super() call is (and must be) the first statement in the subclass's overriding method. Thats just for constructors. Ive got a few places where a subclass overrides a normal

RE: [FRIDAY] laser

2002-12-03 Thread Andrew Hill
Arrrgh! Finally finished it. Levels 7 and 14 really had me stumped for hours. Luckily brute force guesswork saved the day... ;-) Heres a list of passwords for anyone who is stuck and wants to skip a level: (Alas, there are but 14 levels) 02: BARKY 03: WOODIE 04: MURBRUK 05: WARPZ 06: BEAMER 07: SWE

RE: different forwards from form

2002-12-03 Thread Andrew Hill
One way is to do a forward from within the action. Ie: both buttons still submit to same action to start with, but if its detected that it was a cancel then the action immediately returns an ActionForward that forwards the request on to the action/jsp/etc... that you want to go to if they hit cance

RE: intermitten missing field value when submit to a Struts action????

2002-12-02 Thread Andrew Hill
Is it just for parameters named "action" or for other parameters as well? In JavaScript forms have a property "action" that contains the url of where to submit the form on a post. You may be experiencing some interference? - Though in my experience it usually seems to work the other way. Ie: the fi

RE: mixed up pages

2002-12-02 Thread Andrew Hill
Might help if you post the JSP code responsible for rendering the page. The resulting html would also help. -Original Message- From: Hirschmann, Bernhard [mailto:[EMAIL PROTECTED]] Sent: Monday, December 02, 2002 16:29 To: Struts User Mailing List (E-Mail) Subject: mixed up pages I stil

RE: Complicated Web Interfaces?

2002-12-01 Thread Andrew Hill
the user interface on the server, allowing the application developer to focus on application code. -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Monday, December 02, 2002 11:17 To: Craig R. McClanahan Subject: RE: Complicated Web Interfaces? So the components are

RE: Complicated Web Interfaces?

2002-12-01 Thread Andrew Hill
>>"Have you got an alternative suggestion for how to build complicated UIs for a web browser *without* using client side JavaScript?" Flash! ;-) btw: I havent had time to look at JSF yet. Glad to hear its not just for rendering HTML, but is it applicable to JSP based rendering approaches only, or

RE: Is Struts (or browser based applications in general) useable to build maintenance-applications?

2002-11-26 Thread Andrew Hill
e is a hidden field for the sequencer. Then before any action occurs (write to the db) check the sequencer to make sure it is the value expected. If you only use POST methods in JSP the bookmark issue is moot. Hope that helps Edgar -Original Message- From: Andrew Hill [mailto:[EMAIL PR

RE: Struts without taglib ?

2002-11-26 Thread Andrew Hill
the taglib, then I assume we can use CSS in the jsp page. Is that correct ? - Raj Andrew Hill <[EMAIL PROTECTED]> wrote: Yes -Original Message- From: Rajendra Yadav [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 18:29 To: [EMAIL PRO

RE: Struts without taglib ?

2002-11-26 Thread Andrew Hill
btw: This sort of question should be posted in the users list not the dev list. -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 18:37 To: Struts Developers List Subject: RE: Struts without taglib ? Yes -Original Message- From

RE: forwarding to Actions expecting ActionForm

2002-11-26 Thread Andrew Hill
Yep. You can create the form yourself and store it in the request before forwarding to the next action (be sure redirecting="false" for the mapping of course). I forget which key you need to store it under. Check the struts javadocs. As for your search results, sounds like these need to be stored

RE: Is Struts (or browser based applications in general) useable to build maintenance-applications?

2002-11-26 Thread Andrew Hill
Well I dont know what the issues with maintenance apps in particular are, but for any web app (which is an application rather than just some trivial website or portal with dynamic bits) you will have a lot of issues with users doing things like using back buttons, bookmarks, etc... which can really

RE: Problem with actionForm scope

2002-11-25 Thread Andrew Hill
the database (where id = value). I don't understand why my form is reset whereas my reset method is empty Thanks Yann - Original Message - From: "Andrew Hill" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, November 2

RE: Problem with actionForm scope

2002-11-25 Thread Andrew Hill
Well, if your form is defined as using session scope it should work - you will retain the same form object. In this case you may need to take a look at what your reset() method is doing as this is called on submit each time before the form values are populated from the request. If screen A has fie

RE: Using Scroll Bars

2002-11-25 Thread Andrew Hill
If you are only targetting the newer browsers you might be able to achieve this using CSS-P stylesheets - have a look at the overflow attribute - though I could never get it to work in Netscrap6 - just in IE and didnt take it very far (quick experiment only), maybe its not standard?. If thats not

RE: [OT] How to tell when a project you are on is in trouble

2002-11-22 Thread Andrew Hill
Its quite ok to discuss this here since its Friday today. :-) -Original Message- From: Vilya Harvey [mailto:[EMAIL PROTECTED]] Sent: Friday, November 22, 2002 17:45 To: Struts Users Mailing List Subject: Re: [OT] How to tell when a project you are on is in trouble I've read it and I agre

RE: Thread-safety

2002-11-21 Thread Andrew Hill
;t solve the problem. Isn't it ? Thanks, Mohan -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Friday, November 22, 2002 11:27 AM To: Struts Users Mailing List Subject: RE: Thread-safety It depends... -Original Message- From: Mohan Radhakrishnan [mailt

RE: Durability of a ActionForm

2002-11-21 Thread Andrew Hill
You cant. Once your page has been rendered to the client from the JSP your request is finished. Over. Finito. Dead. Pining for the fjiords. Joined the choir invisible... You will need to use the session. (Unless you want to make your ActionForm serializable, write it out as text to a hidden fiel

RE: Thread-safety

2002-11-21 Thread Andrew Hill
It depends... -Original Message- From: Mohan Radhakrishnan [mailto:[EMAIL PROTECTED]] Sent: Friday, November 22, 2002 13:20 To: Struts Users Mailing List Subject: Thread-safety Hi, getServlet().getServletContext() ); I have code like this in my reload action. Now this gets hold

RE: future of struts

2002-11-21 Thread Andrew Hill
Its sad just how many people seem to have the confusion that struts is just a bunch of taglibs, and spend forever asking what cool dhtml UI widgets it provides and wondering what all the fuss is about when they find it doesnt... Ive found struts absolutely invaluable in my project, but I personall

RE: [OT] How to tell when a project you are on is in trouble

2002-11-20 Thread Andrew Hill
>>"used if the object must not be null and it is" Ummm. Surely thats what the java.lang.NullPointerException is for? -Original Message- From: Jeff Caddel [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 21, 2002 13:32 To: [EMAIL PROTECTED] Subject: [OT] How to tell when a project you ar

RE: Loosing my parameter in the multipart request

2002-11-19 Thread Andrew Hill
Yep. Thats what he is using. Struts is kind enough to provide the request wrapper object that will provide the parameters , but it doesnt populate it until after reset() is called. It would be far more useful if it did it earlier (IMHO at the start of request processing!). -Original Message---

RE: Loosing my parameter in the multipart request

2002-11-19 Thread Andrew Hill
Im rather in agreement. It really should parse the request parameters before reset is called so they are available to the reset method. I suppose I should try and find time to log it in bugzilla. Christopher - you got time to log it as a bug? -Original Message- From: Murray, Christopher [m

RE: Loosing my parameter in the multipart request

2002-11-19 Thread Andrew Hill
Did you have any luck with the (ugly) workaround I suggested? -Original Message- From: Murray, Christopher [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 19, 2002 21:41 To: 'Struts Users Mailing List' Subject: RE: Loosing my parameter in the multipart request It would also appear tha

RE: Loosing my parameter in the multipart request

2002-11-19 Thread Andrew Hill
The multipart request is indeed a different request object. (It uses an org.apache.struts.upload.MultipartRequestWrapper) Why? Because getParameter() doesnt normally work on a multipart request! (Sun give some excuses about not parsing it for you cos multipart submissions arent a 'standard' or some

RE: Query regarding initialization of jsp form

2002-11-19 Thread Andrew Hill
Thats why its better to always use Strings for the form properties and convert to the appropriate type for the business logic back in the action. -Original Message- From: K.P.Bhat [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 19, 2002 21:48 To: 'Struts Users Mailing List' Subject: Que

RE: Showing the success message

2002-11-19 Thread Andrew Hill
I believe that ActionMessages were created for just this purpose. -Original Message- From: Míguel Ángel Mulero Martínez [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 19, 2002 16:07 To: Struts Users Mailing List Subject: RE: Showing the success message Put a message in the action (fo

RE: onclick attribute doesnt work in tag?

2002-11-18 Thread Andrew Hill
Not even netscrap 6 ? -Original Message- From: Míguel Ángel Mulero Martínez [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 23:29 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: onclick attribute doesnt work in tag? The don't have onclick function. This is beca

RE: onclick attribute doesnt work in tag?

2002-11-18 Thread Andrew Hill
Is it the browser or the server that is crashing? -Original Message- From: Drew Zimber [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 23:21 To: 'Struts Users Mailing List' Subject: RE: onclick attribute doesnt work in tag? stack trace is giving me nothing right now, im goi

RE: [Struts Tip] #15 Use chained exceptions. Design consideration.

2002-11-18 Thread Andrew Hill
22:53 To: 'Struts Users Mailing List'; [EMAIL PROTECTED] Subject: RE: [Struts Tip] #15 Use chained exceptions. Design consideration. > -Original Message- > From: Andrew Hill [mailto:[EMAIL PROTECTED]] > Sent: Monday, November 18, 2002 7:31 AM > To: Struts Users

RE: request parameter

2002-11-18 Thread Andrew Hill
: Gemes Tibor [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 9:08 PM To: Struts Users Mailing List Subject: Re: request parameter 2002. november 18. 13:36 dátummal Andrew Hill ezt írtad: > As Gemes says, your best bet is to use an attribute for this. > > I myself however also h

RE: request parameter

2002-11-18 Thread Andrew Hill
As Gemes says, your best bet is to use an attribute for this. I myself however also have a few places where Id really like to 'decorate' an incoming request's parameters. I have not tried this myself so Ive no idea if it will actually work, but maybe one could create a class thats implements Http

RE: [Struts Tip] #15 Use chained exceptions. Design consideration.

2002-11-18 Thread Andrew Hill
re thrown but it doesn't force inexperienced developers to end up writing stuff that we wouldn't want them to do. All interesting stuff but not sure what it has to do with struts. Quentin -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: 18 November 2002 12:04 To: Struts

RE: [Struts Tip] #15 Use chained exceptions. Design consideration.

2002-11-18 Thread Andrew Hill
IMHO 2 traces in the log are better than 0 - the important thing is that you have something you can look at when debugging. It is of course important that the business object still throws the exception even if it logged it (which is indeed what you are doing). (Ive had the misfortune to have to use

RE: Question about a Struts design pattern

2002-11-18 Thread Andrew Hill
While on the topic of struts design patterns and exceptions (the ones you throw yourself) I would strongly recomend following the tip Ted posted earlier about using chained exceptions: http://husted.com/struts/tips/015.html They really are very useful! :-) -Original Message- From: Jon.Ri

RE: The content of tag

2002-11-17 Thread Andrew Hill
I reckon you should be allowed to specify a file, but of course the browser should prompt the user for permission first. Alas the PTB see things differently... Of course Ive yet to meet a user who actually reads a dialog box before hitting ok, but the onus of responsibility would have been shifted

RE: Reading application object in action.

2002-11-16 Thread Andrew Hill
Hi Reza, To get the ServletContext in an Action you can use: getServlet().getServletContext(); The servlet that getServlet() returns is the struts ActionServlet ('within' which all the actions execute). regards Andrew -Original Message- From: Reza Aliakbari [mailto:[EMAIL PROTECTED]]

RE: action calling Singleton

2002-11-16 Thread Andrew Hill
Hehe, your playing with fire there. ;-) As you are aware each request is processed in its own thread. The actual instance of the action that singleton is called from is unimportant, you could have several threads calling it simultaneously - all from the same actions code. What this means of course

RE:

2002-11-16 Thread Andrew Hill
Nah, getMessage() would be for a property named "message". Zsolt, can you post the code for the form? -Original Message- From: vze49jqg [mailto:[EMAIL PROTECTED]] Sent: Saturday, November 16, 2002 17:53 To: Struts Users Mailing List Subject: Re: => The form does have a getMessage() meth

RE: enter enable [WAS: RE: enter disable]

2002-11-15 Thread Andrew Hill
002-11-15 at 23:40, Andrew Hill wrote: > Funnily enough I have the opposite problem. > I have a form that now uses a button or sometimes a link instead of a > submitButton to submit the form as it needs to do some stuff in javascript > prior to submission (including playing silly bu

enter enable [WAS: RE: enter disable]

2002-11-15 Thread Andrew Hill
Funnily enough I have the opposite problem. I have a form that now uses a button or sometimes a link instead of a submitButton to submit the form as it needs to do some stuff in javascript prior to submission (including playing silly buggers with the forms action property!). This works fine except

[FRIDAY] Top 10 things likely to be overheard from a Klingon Programmer

2002-11-15 Thread Andrew Hill
10. Specifications are for the weak and timid! 9. You question the worthiness of my code? I should kill you where you stand! 8. Indentation?! - I will show you how to indent when I indent your skull! 7. What is this talk of 'release'? Klingons do not make software 'releases'. Our software 'escap

RE: [OT] Where can I find a Struts / J2EE Jobs?

2002-11-14 Thread Andrew Hill
Id have to agree with the comments about word of mouth vs jobsites. When I moved here (which was the reason for giving up a very nice 9-5 programming job (they do exist! - just rare)) I had a hard time finding work and tried all the jobsites but they werent much use. Didnt help that Id arrived in

RE: struts concerns

2002-11-14 Thread Andrew Hill
>>"There are cases where using Struts would be overkill." Hello World? ;-) -Original Message- From: James Childers [mailto:jchilders@;hotels.com] Sent: Thursday, November 14, 2002 22:21 To: Struts Users Mailing List Subject: RE: struts concerns > What is the advantage of using struts t

RE: test mail - please ignore

2002-11-13 Thread Andrew Hill
If you are not the intended recipient, you are not authorised to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof Uhhh does that include the "to" field and the legal discalaimer as well? Oops. Sorry. Plese dont sue me. rofl! -Original Message

RE: Check log-in status

2002-11-13 Thread Andrew Hill
Best practice is to make used of the Container Managed Authentication provided by your servlet container. -Original Message- From: Mohan Radhakrishnan [mailto:MohanR@;hclcomnet.co.in] Sent: Thursday, November 14, 2002 13:23 To: 'Struts Users Mailing List' Subject: Check log-in status Hi,

RE: Why is this code (drawing a box) extremely slow with netscape-4.79?

2002-11-13 Thread Andrew Hill
This is because Netscape is crap. Without butchering your code and making your IE & Mozilla users suffer for the sake of a small bunch of Netscrap lusers who dont deserve such consideration theres not much you can do. -Original Message- From: Zsolt Koppany [mailto:zkoppany@;web.de] Sent: T

RE: Client-side Caching???

2002-11-13 Thread Andrew Hill
A lot of web developers suffer from dhtmlaphobia and wont dare use any form of client side scripting lest it alienate their users who run lynx or netscrap4.x... ;-) (Although to be fair there are still quite a few of the later around. You will also probably hear the excuse that people switch off J

RE: user manually changing local

2002-11-13 Thread Andrew Hill
I have the following in my RequestProcessor to adjust the locale based on what language the user has set in his browser - which saves the need for a special page for it in your app (IExplorer use tools->internet options-->languages). Im still working on 118n in my app so this may need more stuff to

RE: / /OREF:CPT465A7 RE: onchange submit problem

2002-11-11 Thread Andrew Hill
. |-+> | | "Andrew Hill"| | | | | || | | 11/11/2002 11:30 AM | | | Please respond to| | | "St

RE: onchange submit problem

2002-11-11 Thread Andrew Hill
Hmm. Thats wierd. The value should be updated before the submit occurs - Ive been using similar code myself without troubles. Is the value submitted in the actual HttpRequest? (This would indicate a problem with your setter method on the form rather than in your jsp). -Original Message- F

RE: HTML:checkbox question

2002-11-10 Thread Andrew Hill
G'day Sean, The way a checkbox in the browser 'works' is as follows: If the checkbox is not ticked NOTHING is submitted for that field (if true, of course the value is submitted as usual). What this means is that when the request hits struts and the contents of your ActionForm instance are updated,

RE: commons-beanutils

2002-11-07 Thread Andrew Hill
Hi Mohan, the javadocs (and source code) for beanUtils and collections is linked to from here if you havent found it already: http://jakarta.apache.org/commons/beanutils.html http://jakarta.apache.org/commons/collections.html Alas Im not sure what versions of these libraries are used by struts. Th

RE: [ANNOUNCE] Management-oriented Powerpoint Presentation for Struts

2002-11-07 Thread Andrew Hill
http://www.strutskickstart.com";> We're also putting the last touches on the companion CD-ROM which will be included with the book. We think that this will be a real added value for readers, as it will contain literally everything you'd need to start developing Struts applications on a desert islan

RE: [Tiles] Tiles vs. Custom Tag - anyone have a view?

2002-11-06 Thread Andrew Hill
It is said (by Knuth originally I think) that "premature optimisation is the root of all evil". I would suggest to stick with tiles for now, and when you have the application requirements nailed down good and tight and are in the pre-delivery optimization phase, take a look at it again, and if you

RE: Struts 1.1 release

2002-11-06 Thread Andrew Hill
Yep. It was a joke.(I hope!) March is quite a long time from now, and I think they dont have all that many bugs left to correct (you can see the list of open bugs in Bugzilla (if you can figure out how to search the darn thing effectively!)) so with luck it would be ready sometime before then? (Th

RE: Creating ActionForm in ActionClass

2002-11-06 Thread Andrew Hill
Rather up to you. You could ditch it, by setting the one you created in its place in the request or session if you want. I reckon you would be better off leaving the instantiating of the ActionForm to struts though and using the one it supplies to you as a parameter. -Original Message- Fr

RE: Final release for Struts 1.1

2002-11-06 Thread Andrew Hill
Uh no, Ill have to correct you a bit there Marcus. Its 2.0 that will be realsed in 2341. 1.1 however, is to be released somewhat earlier you will be glad to hear. To be precise - on 2156-04-12 at 15:28 as I have pointed out many times. Hmm. They do seem to have a fondness for the 12th of the month

RE: Recall: robot search engines and struts

2002-11-05 Thread Andrew Hill
huh? -Original Message- From: Danen, Patrick [mailto:Patrick.Danen@;alcoa.com] Sent: Wednesday, November 06, 2002 03:18 To: 'Craig R. McClanahan'; 'Struts Users Mailing List'; '[EMAIL PROTECTED]' Subject: Recall: robot search engines and struts Danen, Patrick would like to recall the mes

RE: Final release for Struts 1.1

2002-11-05 Thread Andrew Hill
The 12th of April 2156 at 15:28 in the afternoon. Or perhaps even sooner if its ready before then... ;-) (This is what? The 1500th time Ive had to give this answer? Yes? No? Oh. Only 1499 times. Ok...) -Original Message- From: Xuefeng Wang [mailto:jameswang_99@;hotmail.com] Sent: Wednesd

RE: Application Scope

2002-11-04 Thread Andrew Hill
This also works for the Action class :-) -Original Message- From: Kris Schneider [mailto:kris@;dotech.com] Sent: Tuesday, November 05, 2002 10:59 To: Struts Users Mailing List Subject: Re: Application Scope getServlet().getServletContext() "Yeo, Rodney W" wrote: > > Hi, > > Anyone knows

RE: Application Scope

2002-11-04 Thread Andrew Hill
h. James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org "Only two things are infinite, the universe and human stupidity, and I'm not sure about the former." - Albert Einstein (1879-1955) > -----Original Message- > From: Andrew Hill [mailto:andrew

RE: Application Scope

2002-11-04 Thread Andrew Hill
Maybe the info he wants to retrieve is config info that affects his validation in some way -Original Message- From: James Mitchell [mailto:jmitchtx@;telocity.com] Sent: Tuesday, November 05, 2002 10:47 To: Struts Users Mailing List Subject: RE: Application Scope Why would you need th

RE: [OT] static vs. application scope

2002-11-02 Thread Andrew Hill
Another good way of initialising is to use the struts PlugIn functionality. This is also quite easy to use, and good if you dont want a do-nothing servlet lying around after initialisation. -Original Message- From: Max Kremer [mailto:mkremer@;datastay.com] Sent: Sunday, November 03, 2002 0

RE: [OT] Run Java App as a Win Service

2002-11-02 Thread Andrew Hill
Ive used a simple freeware program called JNT to run java stuff as windows services. Dont know if it can be used on an app server but worth a try. http://www.eworksmart.com/JNT/ oops. Just been looking through the links below - one of them points (indirectly) to JNT already. Oh well. Guess thats 2

RE: [OT] Safari

2002-11-02 Thread Andrew Hill
bject: [OT] Safari Me thinks the odds of finding a 3-legged prancing pony may be pretty low. :-) Would you use a 32- or 64-bit .272? And when would you or I find the time? We're always in the bloody office! (Or are monitoring from home again?) -Original Message----- Fr

RE: 2 temp positions available

2002-11-02 Thread Andrew Hill
Sent: Saturday, November 02, 2002 23:39 To: 'Struts Users Mailing List' Subject: RE: 2 temp positions available Right on! A Strutin' safari! -Original Message----- From: Andrew Hill [mailto:andrew.david.hill@;gridnode.com] Sent: Saturday, November 02, 2002 10:34 AM

RE: 2 temp positions available

2002-11-02 Thread Andrew Hill
Are the tickets and accomodation paid? That would be rather fun methinks :-) Africas a great place! -Original Message- From: Galbreath, Mark [mailto:Galbreath@;tessco.com] Sent: Saturday, November 02, 2002 23:31 To: 'Struts Users Mailing List' Subject: RE: 2 temp positions available Wher

RE: [OT] static vs. application scope

2002-11-02 Thread Andrew Hill
>>This will be available to *all* sessions -- since all sessions are "hosted" >>by the same VM (isn't that true -- or is that dependent on the container?) In a clustered environment this would not be the case, with different machines having their own version of the static member. -Original Me

RE: Executive Level Blurb on why to use Struts on a new project

2002-11-02 Thread Andrew Hill
Rather agree about it being an implementation detail - its none of the suits business if you use struts or roll your own framework. Next thing you know they will be asking you to obtain approval to use quicksort in place of bubblesort... -Original Message- From: Galbreath, Mark [mailto:Gal

RE: Requests and the stop button / links / etc...

2002-11-01 Thread Andrew Hill
lient-side action. Sri -Original Message----- From: Andrew Hill [mailto:andrew.david.hill@;gridnode.com] Sent: Friday, November 01, 2002 8:50 AM To: Struts Users Mailing List Subject: Requests and the stop button / links / etc... Just want to confirm an assumption: When a user submits a

Requests and the stop button / links / etc...

2002-11-01 Thread Andrew Hill
Just want to confirm an assumption: When a user submits a form , or initiates a request, and then while that request is being processed hits the stop button, or clicks a link, will the first request continue to be processed (my current assumption is yes). The browser doesnt send some kind of 'sto

[FRIDAY][OT] The bicycle threat (absolutely nothing to do with struts whatsoever ;->)

2002-10-31 Thread Andrew Hill
Hehe, the struts mailing list isn't the only one that has a tendency to go off topic: (The following being from Parliament house email lists (on the subject of the security threat posed by bicycles...)) http://www.crikey.com.au/politics/2002/10/30/20021030bicylclethreat.html -- To unsubscribe, e

RE: MVC Design: property in ActionForm or Bean with property in A ctionForm ?

2002-10-31 Thread Andrew Hill
hehe, I know the feeling :-) -Original Message- From: Marcus Biel [mailto:Marcus.Biel@;bmw.de] Sent: Thursday, October 31, 2002 21:27 To: [EMAIL PROTECTED] Subject: Re: MVC Design: property in ActionForm or Bean with property in A ctionForm ? But remember we got Strings, not Characters.

RE: MVC Design: property in ActionForm or Bean with property in A ctionForm ?

2002-10-31 Thread Andrew Hill
What is a 'good-practice' method of validating a numeric string? Ive been lazy and am doing a Integer.parseInt() in a try catch but its probably far from the best way... (Have been meaning to check out the java.text.NumberFormat stuff but always had more interes... uh... important things to do firs

RE: [OT] Swing.... [WAS: RE: [ANNOUNCE] Struts Console v3.0]

2002-10-31 Thread Andrew Hill
is why I > stopped using Forte, NetBeans, JDeveloper, JBuilder, etc. Resource hogs, > only because they are built with Swing. Give me vi or give me death! > > -Original Message- > From: Andrew Hill [mailto:andrew.david.hill@;gridnode.com] > Sent: Thursday, October 31, 2

RE: MVC Design: property in ActionForm or Bean with property in ActionForm ?

2002-10-31 Thread Andrew Hill
ean with property in ActionForm ? So in your point of view, a DynaActionForm should be enougth for any kind of form ? Xavier > -Message d'origine----- > De : Andrew Hill [mailto:andrew.david.hill@;gridnode.com] > Envoye : jeudi 31 octobre 2002 12:00 > A : Struts Users Mailing List

RE: [OT] Swing.... [WAS: RE: [ANNOUNCE] Struts Console v3.0]

2002-10-31 Thread Andrew Hill
pped using Forte, NetBeans, JDeveloper, JBuilder, etc. Resource hogs, only because they are built with Swing. Give me vi or give me death! -Original Message----- From: Andrew Hill [mailto:andrew.david.hill@;gridnode.com] Sent: Thursday, October 31, 2002 6:02 AM To: Struts Users Mailing List Su

[OT] Swing.... [WAS: RE: [ANNOUNCE] Struts Console v3.0]

2002-10-31 Thread Andrew Hill
I love Swing. hmm... actually come to think of it I love *developing* with Swing. Using it however... urrrgh! -Original Message- From: Galbreath, Mark [mailto:Galbreath@;tessco.com] Sent: Thursday, October 31, 2002 18:55 To: 'Struts Users Mailing List' Subject: RE: [ANNOUNCE] Struts Consol

RE: MVC Design: property in ActionForm or Bean with property in ActionForm ?

2002-10-31 Thread Andrew Hill
rty in ActionForm or Bean with property in ActionForm ? I have nearly the same think but I use to create properties as Integer which avoid me to make a call to Integer.valueOf() Am I wrong ? Sincerly Xavier > -Message d'origine- > De : Andrew Hill [mailto:andrew.david.hill@;g

RE: MVC Design: property in ActionForm or Bean with property in ActionForm ?

2002-10-31 Thread Andrew Hill
Technically speaking, the ActionForm IS a bean. It's purpose is to represent the users input (which you can validate and if necessary redisplay for correction) before transferring in your action the (validated) values (with appropriate type conversion) to your business object and vice versa. Your B

<    4   5   6   7   8   9   10   11   12   13   >