RE: Standardization of Communication Between Controller & Model

2002-10-30 Thread Andrew Hill
You could put it as an attribute in the HttpSession, or the ServletContext, but in both cases you are potentially exposing it to other threads... -Original Message- From: Savantraj, Chennamakal Subramanian [mailto:Savant.Rcs@;ap.sony.com] Sent: Thursday, October 31, 2002 14:10 To: 'Struts

Beta vs Release [WAS:RE: Nice labels for inputs.]

2002-10-29 Thread Andrew Hill
Dont be ridiculous. 1.1b2 is far better than the truly *ancient* 1.0.2 and I do believe somewhat more stable (ie: the 1.0.2 bugs are fixed in it). (Its certainly far far more stable than any commercial product release ever is) Dont worry about the beta business. Unlike commercial software , the st

ExceptionHandler & DispatchAction (1.1b1 vs b2)

2002-10-28 Thread Andrew Hill
Been trying to get my first struts ExceptionHandler to work today and just came across another good reason to make the jump from 1.1b1 to 1.1b2. Seems that exceptions thrown in a DispatchAction are handled correctly in 1.1b2 (ie: if possible thrown up where you can process them with an exception h

RE: [OT] Oracle Magazine Java Developer of the Year

2002-10-28 Thread Andrew Hill
Great work James! Good on ya mate! :-) -Original Message- From: Bradley G Smith [mailto:bgsmith01@;fs.fed.us] Sent: Tuesday, October 29, 2002 04:35 To: [EMAIL PROTECTED] Subject: [OT] Oracle Magazine Java Developer of the Year The nov/dec issue of Oracle Magazine has several "person of t

RE: error checking in Action

2002-10-28 Thread Andrew Hill
I do all my validation in the action too - I need a lot of info from the b-tier about such things as which fields are mandatory when, etc... and it proved inconvienient (still quite possible - just required some ugly contortions - especially given some of the evil things Im doing in the RequestProc

RE: Huge action instance synchronization problem

2002-10-28 Thread Andrew Hill
The action instance itself doesnt have any member variables does it? If you store stuff in the HTTPSession each user will have their own session context - it shouldnt (be possible to) get mixed up like that (unless both requests are actually by the same user (in the same session) - in which case yo

RE: static pages

2002-10-27 Thread Andrew Hill
Barracuda? -Original Message- From: James Mitchell [mailto:jmitchtx@;telocity.com] Sent: Monday, October 28, 2002 14:39 To: Struts Users Mailing List Subject: RE: static pages Quite the contrary. The users guide, api docs and published materials are littered with hints and how to's for

RE: Question about Intercepting Filter

2002-10-27 Thread Andrew Hill
Dont think servlet 2.2 supports filters right? You best bet in that case is to override ActionServlet (for struts 1.02) or the RequestProcessor (for struts 1.1). Take a look at the source code and javadocs to see what methods you need to override for the functionality you are after. (Nb: you will o

[FRIDAY] Preview of a new version of windows! (WinRG) ;-)

2002-10-25 Thread Andrew Hill
http://www.surfersonacid.com/pages/winrg.html -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: 404 error looking for stylesheet

2002-10-24 Thread Andrew Hill
"/myApp/WEB-INF/jsp/styles/myJsp.css HTTP/1.1" is in the WEB-INF directory. As such the browser cannot get read it as your container will not directly serve anything under WEB-INF. You need to move the css file to somewhere outside web-inf that is directly accessible. -Original Message- Fr

RE: [OT]

2002-10-24 Thread Andrew Hill
e- > > > > From: Marcus Andersson [mailto:marcus.andersson@;active-tv.com] > > > > Sent: Thursday, October 24, 2002 8:13 AM > > > > > > > > A duck! > > > > > > > > -Ursprungligt meddelande- > > > > Från: ruben > &g

RE: [OT]

2002-10-24 Thread Andrew Hill
sson [mailto:marcus.andersson@;active-tv.com] > Sent: Thursday, October 24, 2002 8:13 AM > > A duck! > > -Ursprungligt meddelande- > Från: ruben > Till: Struts Users Mailing List; [EMAIL PROTECTED] > But, what else floats in the water? > > King Arthur'

RE: [OT]

2002-10-24 Thread Andrew Hill
It floats! -Original Message- From: Galbreath, Mark [mailto:Galbreath@;tessco.com] Sent: Thursday, October 24, 2002 20:10 To: 'Struts Users Mailing List' Subject: RE: [OT] Now, now...what is the distinguishing property of wood? -Original Message----- From: A

RE: [OT]

2002-10-24 Thread Andrew Hill
l if she's really a witch? -Original Message----- From: Andrew Hill [mailto:andrew.david.hill@;gridnode.com] Sent: Thursday, October 24, 2002 7:46 AM Burn her anyway! -Original Message- From: Galbreath, Mark [mailto:Galbreath@;tessco.com] Sent: Thursday, October 24, 2002 19:

RE: [OT]

2002-10-24 Thread Andrew Hill
lt;[EMAIL PROTECTED]> > Now, how can we tell if she's really a witch? > > -Original Message- > From: Andrew Hill [mailto:andrew.david.hill@;gridnode.com] > Sent: Thursday, October 24, 2002 7:46 AM > > Burn her anyway! > > -Original Message- > F

RE: [OT]

2002-10-24 Thread Andrew Hill
Burn her anyway! -Original Message- From: Galbreath, Mark [mailto:Galbreath@;tessco.com] Sent: Thursday, October 24, 2002 19:46 To: 'Struts Users Mailing List' Subject: RE: [OT] I got betta -Original Message----- From: Andrew Hill [mailto:andrew.david.hill@;gridnode

RE: [OT]

2002-10-24 Thread Andrew Hill
a newt? -Original Message- From: Galbreath, Mark [mailto:Galbreath@;tessco.com] Sent: Thursday, October 24, 2002 19:33 To: 'Struts Users Mailing List' Subject: [OT] She turned me into a newt! -Original Message----- From: Andrew Hill [mailto:andrew.david.hill@;gridnode

RE:

2002-10-24 Thread Andrew Hill
>>"..ng() values witch is not very us.." A witch! burn her! burn her! -Original Message- From: Roland Carlsson [mailto:roland.c@;swetravel.se] Sent: Thursday, October 24, 2002 19:05 To: Struts Users Mailing List Subject: Hello! I'm trying to use but the only thing I get get into the l

RE: Validation Philosophy

2002-10-23 Thread Andrew Hill
What Im doing is quite similar to this. My business objects are basically just smart value objects , and when populated are passed to the (real) business tier in a single call. If there are problems an appropriate exception will be thrown. for example for things like: Username already in use etc...

RE: Inner classes

2002-10-23 Thread Andrew Hill
Yep. It wasnt convienient for me to validate in the form either, so I just do it in the action instead. Most of my CRUD actions are inheriting from an abstract class , one of the abstract methods being a validate method that is called, and of course the abstract class checks if it returned any erro

RE: Struts & XML

2002-10-23 Thread Andrew Hill
I made use of Digester the first time yesterday. I was amazed at how easy and convienient it is to use - only took an hour to learn enough to use it for what I wanted. (Reading some config data and creating objects from it) Very cool :-) I Like! -Original Message- From: Joe Germuska [mailt

RE: direct acess to Action

2002-10-23 Thread Andrew Hill
-Original Message- From: Andrew Hill [mailto:andrew.david.hill@;gridnode.com] Sent: Wednesday, October 23, 2002 20:33 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: direct acess to Action Theres a few errors I noticed taking a look at it: 1.

RE: Single sign on?

2002-10-23 Thread Andrew Hill
Its another technology you can add to the list of 'cool stuff' your application uses. Looks good on your resume too. ;-) -Original Message- From: amolk [mailto:amolk@;mailjol.com] Sent: Wednesday, October 23, 2002 20:47 To: Struts Users Mailing List Subject: Re: Single sign on? This look

RE: direct acess to Action

2002-10-23 Thread Andrew Hill
Theres a few errors I noticed taking a look at it: 1. You can't put inside a tag like this: attribute1="value"/> 2. The edit alaska action is missing a " after the word request (scope attribute) Ive attached a corrected version of your struts-config to this email. Give it a try and see if it h

RE: direct acess to Action

2002-10-23 Thread Andrew Hill
oblem with your type field , I dont think thats the error thats actually causing you grief right now. Have a good look at the rest of your struts-config as it may well be a typo in some other part of the xml and not related to this particular action after all. -Original Message----- From: A

RE: direct acess to Action

2002-10-23 Thread Andrew Hill
Hmm. I think the type attribute needs the full classname. ie: type="com.unist.plot.CreatePlantListAction" Is that all the information it gave about the error? No exceptions in the log? -Original Message----- From: Andrew Hill [mailto:andrew.david.hill@;gridnode.com] Sent: Wednesda

RE: direct acess to Action

2002-10-23 Thread Andrew Hill
No wait! Ignore what I said. Im talking rubbish! That > is correct! Sorry -Original Message- From: Andrew Hill [mailto:andrew.david.hill@;gridnode.com] Sent: Wednesday, October 23, 2002 19:26 To: Struts Users Mailing List Subject: RE: direct acess to Action Your xml has a typo. K

RE: direct acess to Action

2002-10-23 Thread Andrew Hill
Your xml has a typo. Kill the '>' in the line: validate="false"> -Original Message- From: Marcus Biel [mailto:Marcus.Biel@;bmw.de] Sent: Wednesday, October 23, 2002 19:20 To: [EMAIL PROTECTED] Subject: direct acess to Action Can I directly access an Action in the browser ? I want to cr

RE: Netscape v4.7x browser, style sheet and font problems

2002-10-22 Thread Andrew Hill
IMHO people who use NS4.7 dont deserve struts ;-) Hard to understand how it could look so different in the 'copied' page - but with NS4 anything can go wrong and usually does. Is the copied page still accessing your stylesheet? How does it look when you dont use the stylesheet? Is it just you

RE: [Logging] How to make the darn logs work again?

2002-10-22 Thread Andrew Hill
Sent: Wednesday, October 23, 2002 02:43 To: Struts Users Mailing List Subject: Re: [Logging] How to make the darn logs work again? Andrew Hill wrote: >Nope. I dont have a log4j.properties > Past the lines I showed you into a log4j.properties file then ;-) >At this point methinks me shall

RE: [Logging] How to make the darn logs work again?

2002-10-22 Thread Andrew Hill
Subject: Re: [Logging] How to make the darn logs work again? Andrew Hill wrote: >Quite a long time ago my colleagues fiddled with my Tomcat installation to >make something work. Dont know what they did, but a side effect of this was >they they killed the logging for struts. > >Iv

[Logging] How to make the darn logs work again?

2002-10-22 Thread Andrew Hill
Quite a long time ago my colleagues fiddled with my Tomcat installation to make something work. Dont know what they did, but a side effect of this was they they killed the logging for struts. Ive been ignoring this for ages (since I tend to use System.out for debugging my stuff) however now that I

[Digester] Version?

2002-10-22 Thread Andrew Hill
Which version of Digester is struts (1.1b1) using? Can I upgrade this to the current version or is the current version included with struts 1.1b2? Ive just discovered that this version doesnt have half the stuff Ive been making notes about and I have to use the deprecated methods that I ignored wh

RE: [PlugIn] @@#@ing ApplicationConfig changes

2002-10-22 Thread Andrew Hill
icationConfig config) throws ServletException { //etc... :-) -Original Message----- From: Andrew Hill [mailto:andrew.david.hill@;gridnode.com] Sent: Tuesday, October 22, 2002 20:09 To: Struts Users Mailing List Subject: RE: [PlugIn] @@#@ing ApplicationConfig changes

RE: [PlugIn] @@#@ing ApplicationConfig changes

2002-10-22 Thread Andrew Hill
"In order to make org.apache.struts.config.ApplicationConfig live up to the contract for "implements Serializable", it was necessary to remove references to non-Serializable objects (in particular, the ActionServlet and RequestProcessor objects). An additional change will be necessary to the way

[PlugIn] Order of initialisation

2002-10-22 Thread Andrew Hill
About to use struts Plug-In functionality for the first time to initialise some config data (for which I plan to use Digester :-> ). Are any plug ins I create called in the order they are specified in struts-config, and can I assume that the second plugins init() wont be called until after the fir

RE: Duplication of code in Business objects and Action forms

2002-10-22 Thread Andrew Hill
One issue to be aware of in such an approach is that datatypes in the actionform are almost always Strings (because this is what html will submit) while your BO (business object) will probably be using a datatype more appropriate to the business requirements of that field. If you make the field in

RE: input required for action mappings ?

2002-10-22 Thread Andrew Hill
I dont belive its a required attribute. Input is used to tell the ActionServlet/RequestProcessor where to send you if your ActionForm's validate() method returns any errors. (Ie: usually back to the jsp you input the data from) -Original Message- From: Marcus Biel [mailto:Marcus.Biel@;bmw.

RE: Bean Utils - Help needed

2002-10-22 Thread Andrew Hill
yep, thats the one. Its part of the Jakarta commons project (orginally part of struts but they got their own project as they are useful in lots of places outside of struts as well!). http://jakarta.apache.org/commons/ The info on the BeanUtils may be found at: http://jakarta.apache.org/commons/bea

RE: Form submission

2002-10-22 Thread Andrew Hill
Users Mailing List; [EMAIL PROTECTED] Subject: Re: Form submission Andrew Hill wrote: > Submit Thanx for your suggestion, but unfortunately javascript is not an option. Kyrre Lugg -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional command

RE: Form submission

2002-10-21 Thread Andrew Hill
Submit Forgot the syntax for doing it with the link tag, but very similar. -Original Message- From: Kyrre Lugg [mailto:kyrre.lugg@;tomra.no] Sent: Tuesday, October 22, 2002 16:50 To: Struts Users Mailing List Subject: Re: Form submission James Mitchell wrote: > Better question. What ar

RE: tiles-definitions related XML parser exception

2002-10-21 Thread Andrew Hill
Yep. Fix your xml. -Original Message- From: Xue-Feng Yang [mailto:just4look@;yahoo.com] Sent: Tuesday, October 22, 2002 13:49 To: Struts Users Mailing List Subject: tiles-definitions related XML parser exception I just found the following exception in catalina.out. Any suggestion? Oct

RE: Session timeout jsp

2002-10-18 Thread Andrew Hill
Rather hard as you cant get the browser to automatically update its page at the moment the session times out (not without doing a lot of wierd things that are not worth the effort), so you cant really do anything until the next request comes through at which point you could display a page stating t

RE: Can V in MVC be Swing in Struts?

2002-10-16 Thread Andrew Hill
ED]> >To: Struts Users Mailing List <[EMAIL PROTECTED]>, >[EMAIL PROTECTED] >Subject: RE: Can V in MVC be Swing in Struts? >Date: Wed, 16 Oct 2002 23:57:09 -0400 (EDT) > >The Swing app I mentioned talks to servlets via >HTTP/HTTPS. > > --- Andrew Hill <[EM

RE: Can V in MVC be Swing in Struts?

2002-10-16 Thread Andrew Hill
; [EMAIL PROTECTED] Subject: RE: Can V in MVC be Swing in Struts? The Swing app I mentioned talks to servlets via HTTP/HTTPS. --- Andrew Hill <[EMAIL PROTECTED]> wrote: > Practically speaking no - as Struts is very much web > oriented and reliant on > a lot of the servlet container fu

RE: Can V in MVC be Swing in Struts?

2002-10-16 Thread Andrew Hill
Practically speaking no - as Struts is very much web oriented and reliant on a lot of the servlet container functionality (ie: requests and responses, etc...). -Original Message- From: Xue-Feng Yang [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 17, 2002 11:48 To: Struts Users Mailin

RE: Struts 1.1 Release

2002-10-16 Thread Andrew Hill
Maybe you could pronounce beta as "better" everytime you talk to people ;-) Perhaps we could have a label for those builds that are noted as being more stable. Something along the lines of 'Very High Stability', so you would have: struts1.1-beta and struts1.1-VHS Seriously though I find the vers

RE: [OT] RE: Struts 1.1 Release

2002-10-16 Thread Andrew Hill
;Software Engineer/Struts Evangelist > >http://www.open-tools.org > > > > > > > > > > > -Original Message- > > > From: Andrew Hill [mailto:[EMAIL PROTECTED]] > > > Sent: Wednesday, October 16, 2002 12:46 AM > > > To: Struts Users Mailing List &g

RE: document.forms[0].submit() not working

2002-10-15 Thread Andrew Hill
Do you have any fields or buttons etc... on the form that have the name or id "submit". If so these will shadow (hide) the submit function of the form object and thus attempting to call form.submit() will give you an error as you are now attempting to call an object that is not of the function typ

RE: Struts 1.1 Release

2002-10-15 Thread Andrew Hill
Ye gods! Here we go again: The 12th of April 2156 at 15:28 in the afternoon. Or perhaps even sooner if its ready before then... ;-) Hey Craig? Any chance we can get my more specific answer for this question into the FAQ? -Original Message- From: Bachan Sadanandan [mailto:[EMAIL PROTEC

RE: Release date for struts1.1

2002-10-15 Thread Andrew Hill
Ive answered this so many times but once again here it is: The 12th of April 2156 at 15:28 in the afternoon. Or perhaps even sooner if its ready before then... ;-) -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 23:41 To: Struts Users

RE: Damn where is bug in my code????

2002-10-15 Thread Andrew Hill
I cant be bothered reading the code, but my guess is "Yes". btw: Do we get a prize if we guess correctly? -Original Message- From: kiuma [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 02:07 To: Struts Users Mailing List Subject: Re: Damn where is bug in my code Please

RE: Request v Page scope?

2002-10-15 Thread Andrew Hill
Nah - thats just the upper classes mate. (From what I hear, the average pom hasnt been able to afford a cabin boy since the Thatcher era...) -Original Message- From: Brian Alexander Lee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 07:17 To: Struts Users Mailing List Subjec

RE: Request v Page scope?

2002-10-15 Thread Andrew Hill
Scriptlets are Bad. N'kay? -Original Message- From: Howard Miller [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 04:09 To: struts Users Mailing List Subject: RE: Request v Page scope? What was that about scriptlets?? ...thanks Simon, HM On 15 Oct 2002 at 14:53, Chappell

RE: Struts 1.1 Release

2002-10-15 Thread Andrew Hill
I am rather of the opinion that the struts versioning nomenclature is a wee bit on the humble side. This beta release of 1.1 is pretty stable. I dont see why you cant just loosen up your standards a bit and call it 1.1 , then when all the bugs are fixed call that 1.2 , etc... For 'bigger' or more

RE: pass 2 parameter using html:link tag

2002-10-15 Thread Andrew Hill
Urgent huh? You havent tried to RTFM yet have ya mate? -Original Message- From: Maizatulakmam Ali [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 17:13 To: [EMAIL PROTECTED] Subject: pass 2 parameter using html:link tag I'm new in using struts. How can I pass 2 or more parame

RE: DAO or ... ?

2002-10-14 Thread Andrew Hill
ing. Simon - Simon P. Chappell [EMAIL PROTECTED] Java Programming Specialist www.landsend.com Lands' End, Inc. (608) 935-4526 >-Original Message- >From: Andrew Hill [m

RE: DAO or ... ?

2002-10-14 Thread Andrew Hill
Dont know that I like the idea of tying the form bean to the persistance layer so tightly. (Although admitedly my own formbeans know a wee bit more than they ought to about the persistance stuff!) -Original Message- From: news [mailto:[EMAIL PROTECTED]]On Behalf Of V. Cekvenich Sent: Mond

RE: DAO or ... ?

2002-10-14 Thread Andrew Hill
So where should one invoke the persistance layer? -Original Message- From: Lacerda, Wellington (AFIS) [mailto:[EMAIL PROTECTED]] Sent: Monday, October 14, 2002 22:51 To: 'Struts Users Mailing List' Subject: RE: DAO or ... ? Importance: High Hi Kevin Avoid persistence in Action code as

RE: data containing html tag?

2002-10-13 Thread Andrew Hill
used, the condition as stated in 1 would not be satisfied: there will be no text wrap within a and the original "paragraph" comes out as a single wide line. -Original Message----- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 7:57 PM To: Struts Users Mail

RE: [OT] : javascript revival?

2002-10-13 Thread Andrew Hill
Netscrap 4.7 is obsolete garbage (and was obsolete garbage the day it was released). If you *must* support it, then only support the bare minimum functionality and 'gracefully degrade' all the good stuff (like client side validation, nice layout, dhtml). Nutscraper 4 is one of the main things tha

RE: [OT] : javascript revival?

2002-10-13 Thread Andrew Hill
GUI is my main focus, and Id have to agree on dhtml being a real time consumer! The other day I had to do a fancy widget thing that involves being able to re-order a tables rows (and submit the new order). Took about an hour to get working nicely in IE. Spent the rest of the day coming up with a v

RE: OT : javascript revival?

2002-10-11 Thread Andrew Hill
Hehe. My rhino book is about 3 years out of date now. Had to look up whats changed on the net! Ive spent severalmany hours a couple of weeks ago reviving my JavaScript knowledge and learning the (marvellous) 'new' DOM stuff in ie5, ns6. Very useful. -Original Message- From: Galbreath, Mar

RE: [OT] Online Tutorial?

2002-10-11 Thread Andrew Hill
Worse - Im using m$ outlook on a windoze box! -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 20:48 To: 'Struts Users Mailing List' Subject: RE: [OT] Online Tutorial? Dog ate it? -Original Message----- From: Andrew Hi

RE: Settiing hidden fields (thru Javascript) & Form Beans

2002-10-11 Thread Andrew Hill
: 'Struts Users Mailing List' Subject: RE: Settiing hidden fields (thru Javascript) & Form Beans Wanna teach him HTML, too? ;-) -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 11:20 PM To: Struts Users Mailing List Subject: RE: S

RE: Error message - not sure of meaning or significance.

2002-10-11 Thread Andrew Hill
Hehe, one of my rather complex (2000 line) classes was being a real pita a while back. I kept wrapping chuncks of code with more and more try catchs throwing nested exceptions with rather verbose and detailed messages. Now if you so much as sneeze at this class it will give you a 30 page stack tra

RE: Error message - not sure of meaning or significance.

2002-10-11 Thread Andrew Hill
I usually enclose my actions code with try catch and shove in a ex.printStackTrace and then rethrow the exception again. Its a lot more helpful than the meaningless errors tomcat gives, and saves fooling round with log files. (At the end of development though such things should be removed!) Im a b

RE: Image rendering components

2002-10-10 Thread Andrew Hill
Hang on - you say " I have a StringBuffer of HTML that includes a generated image." - you dont mean that some is html text, and then theres a huge chunk of graphics data all in the same stringbuffer? - Surely the stringbuffer only contains the URL of the image as an attribute in an img tag right?

RE: Settiing hidden fields (thru Javascript) & Form Beans

2002-10-10 Thread Andrew Hill
Strange, a hidden field should work just the same as a normal text field (except that its invisible). Few things to check: 0.) Check the generated html to see its what you expect it to be 1.) Do other fields on the form work? (ie: is it just the hidden field got problem?) 2.) Is the hidden field l

RE: data containing html tag?

2002-10-10 Thread Andrew Hill
Surround your output ( and which tells the browser to render it as preformatted text , and will respect spaces, newlines, tabs etc... This is also very useful if you need to show an exception stack trace in the browser. Note that within a block, not all html elements can be used (shouldnt be an

RE: help, I'm desperate!!!!

2002-10-10 Thread Andrew Hill
Close your script tag by putting a after it. IE thinks the whole page after the script opening is part of your script. Interesting to see a situation where Mozilla does better reading dodgy html than IE! If you feed Mozilla the page (as you pasted in your message below) it will automatically a

RE: inside : is this possible?

2002-10-09 Thread Andrew Hill
Afaik , you cant have indexed file fields (I hope Im wrong and someone corrects me on this!) ie: setFoo(FormFile[] files) Least it didnt work when I tried experimenting with it. (Same error as you got) If each of those file fields has its own unique setter then it will be ok - of course that means

RE: Submit form

2002-10-09 Thread Andrew Hill
Actually if you use an tag (or plain html along the lines of mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 22:27 To: Struts Users Mailing List Subject: RE: Submit form Put the image in a link, and use the onclik javascript function to do a real submit of the form. -Mensaje o

RE: Submit form

2002-10-09 Thread Andrew Hill
Yes. -Original Message- From: kiuma [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 22:02 To: Struts Users Mailing List Subject: Submit form Hi all, I was wondering how to submit to a form using an image instead of a abutton. Do you have the answer ? -- To unsubscribe, e-

RE: Struts project

2002-10-09 Thread Andrew Hill
If you havent already, download and read the review copies of Chuck's struts book on theserverside. http://www2.theserverside.com/resources/strutsreview.jsp A great resource for learning struts! So have they let you test drive the M5 yet? ;-) -Original Message- From: Marcus Biel [mailto:

RE: generate input field id parameter with struts:html?

2002-10-09 Thread Andrew Hill
Yep, you can do it. :-) Its just not called "id" in the tags - this is because JSP (or something anyhow) has reserved the name "id" for use in tag attributes, so instead of calling it "id" in the struts tags it has the name "styleId" -Original Message- From: Marc Guillemot [mailto:[EMAIL

RE: xml, jsp, DOM

2002-10-09 Thread Andrew Hill
Have you seen Jeff Penal's STXX extension? http://www.oroad.com/opencode/stxx/ -Original Message- From: Frederic Barozzi [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 18:09 To: Struts Subject: xml, jsp, DOM Hi, Is there a better way than an other to work with xml documen

RE: ActionErrors

2002-10-08 Thread Andrew Hill
1.) Alamak! Didnt you so much as glance at the docs for the html:errors tag? Im sure you can find all the information you require at this link (Warning: contains rude language): http://altgeek.org/methuselah/rtfm/ ;-) hehe if that one is no help can also try the struts manual: http://jakarta.apach

RE: Is this possible?

2002-10-08 Thread Andrew Hill
Where are you defining the overrideExp variable in your javascript? I can see that you have also named your field overrideExp, but where is the variable overrideExp defined? Or did you intend it as a string literal - ie: 'overrideExp'? You could also use the elements array in the form to get the

RE: nested

2002-10-08 Thread Andrew Hill
You have: value="<%="foo%>"> Shouldnt this be: value="<%=foo%>"> -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 08, 2002 22:54 To: Struts Users Mailing List Subject: RE: nested "> I tried this one but am getting the method setValue(j

RE: [OT] Container Wars

2002-10-08 Thread Andrew Hill
Hehe, I know which of those two we use and it ain't JRun. ;-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 08, 2002 22:25 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [OT] Container Wars At one of the companies I worked for in the

RE: [OT] Container Wars - Resin and sessions

2002-10-08 Thread Andrew Hill
ars >> >> >> No way, dude! Jetty sucks! >> >> -Original Message- >> From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED]] >> Sent: Tuesday, October 08, 2002 6:48 AM >> >> Prove it. Jetty could be the best or even a bucket! >> >

RE: nested

2002-10-08 Thread Andrew Hill
Ahhh... its little things like this that make me so glad Im not using JSP ;-) H. mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 08, 2002 22:12 To: Struts Users Mailing List Cc: 'Struts Users Mailing List' Subject: nested 0) then make this button enable else if(a>0 &&a "

RE: Need to make Logic Tag

2002-10-08 Thread Andrew Hill
Have a look at the one in the struts example application. That should get you started. -Original Message- From: Smith, Johnathan M. [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 08, 2002 20:18 To: '[EMAIL PROTECTED]' Subject: Need to make Logic Tag Can someone please help me out I n

RE: Using CheckLogin tag from within tiles

2002-10-07 Thread Andrew Hill
e- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 08, 2002 14:49 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: Using CheckLogin tag from within tiles On Tue, 8 Oct 2002, Andrew Hill wrote: > > My (exceedingly limited) understanding of CMA was

RE: Using CheckLogin tag from within tiles

2002-10-07 Thread Andrew Hill
My (exceedingly limited) understanding of CMA was that it was very container specific. If so what approach do you recomend for an app (accessing ejbs) which customers are to run in their own container, where at development time one desnt know which container will be used? Is it better to ditch CM

RE: Problem with Struts-Velocity Validator

2002-10-07 Thread Andrew Hill
I dont have any knowledge that might help with your problem (sorry), but if you give some more details about these mysterious "only errors" (and perhaps some quick details of your configuration), it might allow someone familiar with velocity-struts-validator usage to recognise your problem and pr

RE: Passing a request parameter within Struts framework

2002-10-07 Thread Andrew Hill
n to another JSP page? Eventually, I need to pass the request parameter selTopNav (the user's selected tab) value back and forth to determine which tab the user has selected. Thanks again! Tuan -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07,

RE: question

2002-10-07 Thread Andrew Hill
Wierd. Is it just for your struts app, or does any link in your browser do this (ie: some dodgy browser setting). If the former, take a look at what you have specified for your target attribute (if in doubt check the generated html of your page to see what is really output to browser). If that win

RE: Passing a request parameter within Struts framework

2002-10-07 Thread Andrew Hill
In your action you can create a new forward object and return that. ie: get the forward for target, extract its url and append required parameter(s) and create a new forward using that and the redirect value from the one you looked up, and return the new one. > -Original Message- > From:

RE: Order or multivalued paramter

2002-10-07 Thread Andrew Hill
I believe so (at least Im relying on it in my apps!) at least under IE5 and NS6/Mozilla it seems to. (I havent seen a spec document stating it, but I havent looked either!). Interestingly if you use client side DOM manipulation to reorder those fields on the page, in IE they will submit in the n

RE: Same Action Class, same form, more submits

2002-10-07 Thread Andrew Hill
Take a look at the DispatchAction. This does the same thing you are but saves you some typing. The reason why you get null in the second case is that for the html:image tag the browser doesnt submit the value when clicked but rather submits the x and y position of the mouse when the image was cli

RE: Session management for cached resources

2002-10-06 Thread Andrew Hill
Users Mailing List Subject: RE: Session management for cached resources On Wed, 2002-10-02 at 19:14, Andrew Hill wrote: > Im doing something rather like this, only I called it an "OperationContext" > which comprises a hashtable of attributes and an id to store it under in the >

RE: CheckBox and Boolean[] Array - Incorrect Values Submitted When CheckBox is unchecked

2002-10-04 Thread Andrew Hill
rray ... <% int i = 0; %> <% i++; %> Cheers, Chico. Ps. U guys r nutz, leave the telepathic powers at home!! -----Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: 04 October 2002 13:42 To: Struts Users Mailing List Subject: RE: CheckBox and Bool

RE: [OT] CheckBox and Boolean[] Array - Incorrect Values Submitted When CheckBox is unchecked

2002-10-04 Thread Andrew Hill
o are filtering you Mark!;-)) - Original Message - From: "Galbreath, Mark" <[EMAIL PROTECTED]> > Hey man! RU refactoring my messages? ;-) > > -Original Message- > From: Andrew Hill [mailto:[EMAIL PROTECTED]] > > > For multiple, you also mus

RE: [FRIDAY] Telepathy

2002-10-04 Thread Andrew Hill
Users Mailing List' Subject: RE: [FRIDAY] Telepathy Bloody bastard! It's only 0846 in Baltimore and our dev team is doing a pub crawl starting at 1700. Won't this day ever end -Original Message----- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 200

RE: CheckBox and Boolean[] Array - Incorrect Values Submitted When CheckBox is unchecked

2002-10-04 Thread Andrew Hill
ling List' Subject: RE: CheckBox and Boolean[] Array - Incorrect Values Submitted When CheckBox is unchecked Hey man! RU refactoring my messages? ;-) -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 8:17 AM To: Struts Users Mailing Li

RE: CheckBox and Boolean[] Array - Incorrect Values Submitted When CheckBox is unchecked

2002-10-04 Thread Andrew Hill
For multiple, you also must set values back to false in reset() (The question here of course is which checkbox refers to which element. You may need to refactor such that your checkboxes return non boolean values so you can tell which is which at the server end). The reason for this is that the ht

RE: Session management for cached resources

2002-10-02 Thread Andrew Hill
Im doing something rather like this, only I called it an "OperationContext" which comprises a hashtable of attributes and an id to store it under in the session (passed in the request). I simply overrode the RequestProcessor so it knew to look for an actionform in the OperationContext first if the

RE: [SURVEY] Session-based forms vs. request-based forms

2002-10-02 Thread Andrew Hill
I do believe that indeed the accepted wisdom is to make use of request instead of session wherever you can (though use common sense - if you can cache stuff that doesnt change much do so!). Alas in my case, I simply didnt have time to do it the hard way and am using session for almost all of my f

<    5   6   7   8   9   10   11   12   13   >