RE: Form's property, String or not?

2004-03-23 Thread Andrew Hill
For actionforms you should make them all strings. Certainly anything that allows for text entry in the UI should be made a string even if it is intended for numeric input. (For checkboxes and such like its less important though Id still recommend using strings for them) This allows you to return t

RE: [FRIDAY]:RE: calling ASP inside a JSP

2004-03-18 Thread Andrew Hill
be able to do easily is share any server side data such as session objects between the two servers -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: 18 March 2004 02:21 To: Struts Users Mailing List Subject: RE: [FRIDAY]:RE: calling ASP inside a JSP Whats the Ugly? PHP

RE: [FRIDAY]:RE: calling ASP inside a JSP

2004-03-17 Thread Andrew Hill
Whats the Ugly? PHP? hmmm. Friday seems to come very early in your part of the world ;-) -Original Message- From: Wiebe de Jong [mailto:[EMAIL PROTECTED] Sent: Thursday, 18 March 2004 08:17 To: 'Struts Users Mailing List' Subject: [FRIDAY]:RE: calling ASP inside a JSP You have JSP, and

RE: how to submit javascript variable of array type

2004-03-16 Thread Andrew Hill
I usually concatenate the array into a single string (using a delimiter such as a comma) and then put this value into a single field. In my actionform I have a getter (under different property name) that returns it as an array (using the delimiter to explode the string). -Original Message-

RE: help in java script

2004-03-15 Thread Andrew Hill
es (') around the dynamic text some time, cause it's really annoying to use the method im describing here. Regards, Andreas -Ursprüngliche Nachricht- Von: Andrew Hill [mailto:[EMAIL PROTECTED] Gesendet: Montag, 15. M?rz 2004 10:30 An: Struts Users Mailing List Betreff: RE: help

RE: help in java script

2004-03-15 Thread Andrew Hill
Should not that be: (note the ' around value) -Original Message- From: Shobhana.S, ASDC Chennai [mailto:[EMAIL PROTECTED] Sent: Monday, 15 March 2004 17:27 To: Struts Users Mailing List Subject: help in java script Hi ! I'm getting a problem when i use java script in my struts applic

RE: Help on struts

2004-03-13 Thread Andrew Hill
I guess the first thing to consider is what you mean by "come back to the previous page". Do you just mean have the user redirected back to that url when they have finished playing with the search? or is it more complex. For example the previous page is a form, and they are halfway through filling

RE: [OT] Jericho == Struts 2.0?

2004-03-13 Thread Andrew Hill
+1 Damn fool name. I much prefer the sound of "Struts 2" myself... Struts2EE perhaps ?? ;-> -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED] Sent: Saturday, 13 March 2004 02:05 To: [EMAIL PROTECTED] Subject: [OT] Jericho == Struts 2.0? This name seems like a bad choice.

RE: [OT] Your Message to struts-user@jakarta.apache.org is Blocked

2004-03-13 Thread Andrew Hill
Yeh, I was getting this the other day too. Not pleased about it at all. -Original Message- From: Christian Bollmeyer [mailto:[EMAIL PROTECTED] Sent: Friday, 12 March 2004 23:28 To: Struts Users Mailing List Subject: Re: [OT] Your Message to [EMAIL PROTECTED] is Blocked +1 Two of my rece

RE: can anyone help me address this issue

2004-03-11 Thread Andrew Hill
I sometimes have to do things like this. You can only submit strings in the request, so what you want is a method of representing your information as a string in a simple way. In this case it should be quite easy as its just an array of a simple structure of two ints so Id probably just have two d

RE: people using action form field

2004-03-09 Thread Andrew Hill
Hehe. I remember when I first encountered this. Took me ages to figure out why the heck my form didnt work. I ended up chopping bits out of the form one at a time till suddenly it worked, and seeing it was an input field named 'action' the penny dropped! lol. Like Wendy says, the best way to deal

RE: Suggestion needed on good Struts book

2004-03-08 Thread Andrew Hill
+1 -Original Message- From: Paul-J Woodward [mailto:[EMAIL PROTECTED] Sent: Monday, 8 March 2004 16:31 To: Struts Users Mailing List Subject: Re: Suggestion needed on good Struts book Struts in Action - Manning Excellent book. Paul --

RE: JSF RI Final is out!

2004-03-05 Thread Andrew Hill
Thanks James, Im hoping I'll get a chance to take a look at it all as soon as I finish the project Im on right now (which is keeping me rather busy!) I had a look at a much earlier version of the JSF spec quite a while back and remember getting all excited about the component tree stuff and rende

RE: JSF RI Final is out!

2004-03-05 Thread Andrew Hill
No books have been published about JavaServer Faces yet (to my knowledge), although I know of at least five that are nearing completion, and should be published very soon. Funny you say that, as I could have sworn I saw one a month or so ago over at the Clementi bookshop. I recall not looking cl

RE: JSF RI Final is out!

2004-03-04 Thread Andrew Hill
ent of the MethodUtils in Commons Bean Utils) it executes about 10-20 times faster and handles fuzzy "best method" lookup. I should almost release the expression parser separately. -Jake -Original Message----- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Thursday, March 04, 2004 10:25

RE: JSF RI Final is out!

2004-03-04 Thread Andrew Hill
" I've finished the expression parser (it actually benchmarks a good deal faster than the current EL implementations). Now to finish the Controller :-) -Nerdy -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Thursday, March 04, 2004 8:14 AM To: Struts Users

RE: Help on mapping multiple records with formbean.

2004-03-04 Thread Andrew Hill
Do not cross-post to the developer list like that. http://www.catb.org/~esr/faqs/smart-questions.html The developer list is not the place to post user questions. Have you looked at the keyboard monkey tutorial yet? http://www.k [LINK CENSORED FOR CROSSPOSTING.] ;-> oh all right... here it i

RE: JSF RI Final is out!

2004-03-04 Thread Andrew Hill
Well its great to know the word is spreading... ...soon JSF will conquer all! muahahahaha ...I need some sleep :-( -Original Message- From: Dietmar Krause [mailto:[EMAIL PROTECTED] Sent: Thursday, 4 March 2004 22:18 To: Struts Users Mailing List Subject: RE: JSF RI Final is out! Return

RE: Question

2004-03-03 Thread Andrew Hill
If you want to get better answers quicker Id suggest you learn the concept of 'meaningful subjects' for emails. "Question" is not a meaningful subject line. http://www.catb.org/~esr/faqs/smart-questions.html Ok now on to your "Question". Having been kind enough to take the time to read it to see i

RE: Viewing .pdf files usign struts frames work..

2004-03-03 Thread Andrew Hill
A workaround may be found here: www.mozilla.org hehe ;-> (Actually if your doing any javascript stuff its worth downloading for the javascript debugger alone... save hours of time!) -Original Message- From: Paul-J Woodward [mailto:[EMAIL PROTECTED] Sent: Wednesday, 3 March 2004 23:05 To:

RE: Viewing .pdf files usign struts frames work..

2004-03-03 Thread Andrew Hill
Well thats a browser/pdf plugin issue. Nothing to do with struts. -Original Message- From: Vasudevrao Gupta [mailto:[EMAIL PROTECTED] Sent: Wednesday, 3 March 2004 23:14 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Viewing .pdf files usign struts frames work.. I tried that..It

RE: Viewing .pdf files usign struts frames work..

2004-03-03 Thread Andrew Hill
Since you are writing the response from your action you should return null from execute() to indicate to struts that the response has been handled and that it should not forward. -Original Message- From: Vasudevrao Gupta [mailto:[EMAIL PROTECTED] Sent: Wednesday, 3 March 2004 22:58 To: 'St

[OT] Your Message to struts-user@jakarta.apache.org is Blocked

2004-03-02 Thread Andrew Hill
Im suddenly getting these emails to me stating that my post to struts-user was blocked for containing a virus (nonsense!). These messages contain a fancy html page with the text: CxProtect™: Virus Found Notification Your Message is Blocked since It contained virus/Spam Mail send by local user or

RE: Life, the Universe and Everything (was: RE: [OT] RE: Memory usage)

2004-03-02 Thread Andrew Hill
small that I was the IS department! :-) Simon >-Original Message- >From: Andrew Hill [mailto:[EMAIL PROTECTED] >Sent: Monday, March 01, 2004 9:47 PM >To: Struts Users Mailing List >Subject: RE: Life, the Universe and Everything (was: RE: [OT] >RE: Memory >usage) >

[OT] Applet communication with web app

2004-03-01 Thread Andrew Hill
Quick question: Given an applet that is part of a web app, what is the usual (best/easiest?) technique for said applet to communicate with the server and vice-versa: 1. Handle the socket stuff itself and open a connection with the server 2. Use RMI 3. Other? ---

RE: Life, the Universe and Everything (was: RE: [OT] RE: Memory usage)

2004-03-01 Thread Andrew Hill
Ive found the best way to avoid those kind of morons is to work at small companies where any deadwood has nowhere to hide and is quickly pruned :-) Our tech leads really know their stuff here. -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED] Sent: Tuesday, 2 March 2004

RE: [OT] MacOS X Java/Struts development (was RE: [OT] Maven (was Re: [ANNOUNCE] Struts 1.2.0 Test Build available))

2004-03-01 Thread Andrew Hill
Feeling Like I Just Started Another OS Shouting Match Yeh, cos windows is like really really g00d. Yeh. All us 133t [EMAIL PROTECTED] d00ds use it n' stuff. So dont be like putting it down cos its totally >>> 133t <<< and like .net will [EMAIL PROTECTED] owns linux and mac soon. Yeh. Ye gods!

RE: java.lang.NullPointerException struts form is null

2004-03-01 Thread Andrew Hill
Well... doublecheck your mapping in struts config. If you misspelled the class name or got the wrong form name struts can be rather silent about it and just give you a null form! -Original Message- From: as as [mailto:[EMAIL PROTECTED] Sent: Tuesday, 2 March 2004 00:29 To: [EMAIL PROTECTED

RE: Parameters to an Action in struts-config.xml

2004-03-01 Thread Andrew Hill
Yes. Here is an example: You set the className attribute of the actionmapping to your ActionMapping subclass that has setters (and usually getters) for the properties you want. You have to set those properties using the element (darn nuisance) to get around the dtd. And

RE: Using commons-collections lazylist for nested actionforms

2004-03-01 Thread Andrew Hill
Cheers mate! Exactly what I was hoping to hear :-) -Original Message- From: Arron Bates [mailto:[EMAIL PROTECTED] Sent: Monday, 1 March 2004 17:57 To: [EMAIL PROTECTED] Subject: Re: Using commons-collections lazylist for nested actionforms No worries about the order of the submit. The n

Using commons-collections lazylist for nested actionforms

2004-03-01 Thread Andrew Hill
Im about to have a go using the lazylist stuff in commons-collections 2.1 to implement some nested actionforms stuff (previously Ive always been initialising the lists the hard way in my reset method!). http://jakarta.apache.org/commons/collections/api/org/apache/commons/collect ions/ListUtils.htm

RE: Grid..........

2004-03-01 Thread Andrew Hill
Hang on one cotton pickin minute... We are developing a web application where in we are using the MVC architecture..Hence we are using the Jsp for the view. Since when did MVC imply JSP? -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Monday, 1 March 2004 16:39

RE: servlet.getDebug

2004-02-28 Thread Andrew Hill
umm... if I recall this was to do with the logging output level right? Yeh. 1.1 deprecates that. Instead it expects this all to be configured in your logging impl. 1.1 uses commons-logging (a logging api wrapper) that allows the actual logger used to be pluggable. Unfortunately configartion of th

RE: Problem with loss form (session scope)

2004-02-28 Thread Andrew Hill
set to the original state. -betty -Original Message----- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Friday, February 27, 2004 12:07 AM To: Struts Subject: RE: Problem with loss form (session scope) Hmm. That does sound rather odd! Like you say, should not be like that. :-( Only thing I ca

RE: [OT] JSP or Velocity

2004-02-28 Thread Andrew Hill
Hehe, I love this programmers vs designer concept. Every place Ive worked its always the same poor sod (ie: yours truly) who has to do both roles. ...and why is it Im always the only one who sees the advantages of monospaced green text on a black background. Darn users always wanting their proport

RE: [OT] JSP or Velocity

2004-02-27 Thread Andrew Hill
Yes, Velocity has been around for quite awhile now, and it was intended to address many of the problems inherent in (older versions of) JSP. Nowdays JSP (especially JSP2) coding techniques and technologies have rather caught up with velocity. Your assesment that it doesnt add much value over the E

RE: [OT] JSP or Velocity

2004-02-27 Thread Andrew Hill
Havent used velocity myself , but from what Ive seen it is very good. (Theres also a very good introduction for newbies in Teds "Struts in Action" book where hes given a chapter to using velocity with Struts) That said, if you learn JSP its probably a much more portable skillset that will stand yo

RE: Problem with loss form (session scope)

2004-02-27 Thread Andrew Hill
riginal Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Thursday, February 26, 2004 11:18 PM To: Struts Subject: RE: Problem with loss form (session scope) Ah, but you didnt actually answer my question. Is it the same name for the form in both actions mappings, and do both these action m

RE: Problem with loss form (session scope)

2004-02-26 Thread Andrew Hill
e for this request since my form is in session scope. Is this right assumption? -Betty -Original Message----- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Thursday, February 26, 2004 10:59 PM To: Struts Users Mailing List Subject: RE: Problem with loss form (session scope) What attribute d

RE: FormBeans: A question of Style

2004-02-26 Thread Andrew Hill
I think whatever you do you can't make JSP and Action Class independent. Where are you populating ActionForm Object from the results from service layer? In Action class only right? Which you know very well for which JSP page it will be applicable. True How one can populate resultset in action

RE: Problem with loss form (session scope)

2004-02-26 Thread Andrew Hill
What attribute did you set the form to be stored under? If none will default to form name. You are storing under same attribute key yes? Both actions mapping also defined the scope to be session? -Original Message- From: Betty Koon [mailto:[EMAIL PROTECTED] Sent: Friday, 27 February 2004 1

RE: JavaScript Parameter

2004-02-26 Thread Andrew Hill
Mozilla has a JavaScript debugger that is very very useful for stepping through the code to see where the error crops up. Worth downloading and learning to use. Has saved many hours time for me I can say! (alerts() are still very useful though. Espcially for bugs that only come up in IE!) -Or

RE: Problem with loss form (session scope)

2004-02-26 Thread Andrew Hill
Yeh. I like had one, and like I went out to lunch, and it was like a long lunch, and like when I came back my form was like you know totally like gone. In fact like, I couldnt even like you know find my whole session, and I was like "whoa! dude - wheres my session?". ;-> Perhaps you could be a

RE: FormBeans: A question of Style

2004-02-26 Thread Andrew Hill
Im with camp 3 then I guess. Way I see it , forms are view components, there to provide an object for both action and JSP to be able to access the state of the screen. (Fields values and other bits of information that are needed to recreate the html, and a place to hold the state of the view (ie:

RE: [ANNOUNCE] Struts 1.2.0 Test Build available

2004-02-26 Thread Andrew Hill
Cool bananas! Many thanks to the struts team for all the work they have put into this build. :-) Whats the lib archive for? -Original Message- From: Martin Cooper [mailto:[EMAIL PROTECTED] Sent: Friday, 27 February 2004 13:48 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [ANNOUNCE] S

RE: [ANNOUNCE] Struts 1.2.0 Test Build available

2004-02-26 Thread Andrew Hill
Ah I see. Its just the jars, tlds, dtds necessary for a struts app, sans docs. -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Friday, 27 February 2004 13:52 To: Struts Users Mailing List Subject: RE: [ANNOUNCE] Struts 1.2.0 Test Build available Cool bananas! Many

RE: Problem updating bean from multi-select box

2004-02-23 Thread Andrew Hill
bean is in session and other fields work when hitting the action - just not this collection field with the multi-select date. > -Original Message- > From: Andrew Hill [mailto:[EMAIL PROTECTED] > Sent: 23 February 2004 10:54 > To: Struts Users Mailing List > Subject: RE: Problem

RE: Problem updating bean from multi-select box

2004-02-23 Thread Andrew Hill
Are you making sure that the MyBean instance exists when the form is submitted? -Original Message- From: Andrew Bate [mailto:[EMAIL PROTECTED] Sent: Monday, 23 February 2004 18:47 To: '[EMAIL PROTECTED]' Subject: Problem updating bean from multi-select box Hi, I am having a problem with

RE: multiple records in one form

2004-02-22 Thread Andrew Hill
Nested beans are your friend. Follow the monkey http://www.keyboardmonkey.com/next/index.jsp -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Saturday, 21 February 2004 22:16 To: [EMAIL PROTECTED] Subject: multiple records in one form Hi List, I would like t

RE: ActionForms Thread Safe

2004-02-22 Thread Andrew Hill
If this is case then ActionForm are not thread-safe. Because Two request from different client can simultaneous come in and use the same ActionForm instance? I know this is not the case, but I cannot figure out how is it thread safe? Actually it is the case! - but only in certain cases when yo

RE: Eclipse + Tomcat plugin question

2004-02-17 Thread Andrew Hill
Maybe its a working directory thing? I know when I use sysdeo 2.2.1 (2.2 is buggy) with Eclipse 2.1 the working directory will be c:\eclipse (cos thats where my eclipse is), so any code in the webapp that makes the assumption that its working directory is the tomcat bin folder has problems. (In s

RE: FileUploading Error

2004-02-16 Thread Andrew Hill
Hmmm. Sounds rather like a browser issue to me. You might want to see what is actually being passed in that request - if its actually a valid multipart request or not! I had a try in IE, but IE's file selector is too smart to allow selection of a folder as the upload file. Which browser are you us

RE: Java / J2EE Developer

2004-02-16 Thread Andrew Hill
Mate, if you wanted a sheltered workshop then you should have become a b***y sugar farmer. -Original Message- From: Andy Engle [mailto:[EMAIL PROTECTED] Sent: Tuesday, 17 February 2004 03:40 To: Struts Users Mailing List Subject: RE: Java / J2EE Developer James Mitchell <[EMAIL PROTECTED

RE: overlapping cells in table with firebird

2004-02-16 Thread Andrew Hill
Have you tried 'dipping' the window? That is - dragging the window by its title bar partially off the bottom of the screen and back again to see if the forced re-rendering fixes the problem in the dipped part. Ive noticed the latest firebird sometimes stuffs up its rendering when it loads a page a

RE: Session Validation

2004-02-15 Thread Andrew Hill
Main problem with CMA is that its configuration is container dependent. If your writing an app that needs to be deployed straight to many different containers CMA can be troublesome. btw: if you are doing your own session based security - dont - put check tags in the JSP. Follow Niall's suggestion

RE: [OT] - Request against Session

2004-02-15 Thread Andrew Hill
My recommendation is to *always* use request scope form beans if you can. Yes. Having done it both ways and experiencing the various tortures that session scoping inflicts apon us I would definately agree that if one can use the request scope (and with a little thought this should be possible in

RE: [OT] - Request against Session

2004-02-13 Thread Andrew Hill
hehe. +1 Also in UAT mode here :-( -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Saturday, 14 February 2004 01:18 To: Struts Users Mailing List Subject: Re: [OT] - Request against Session Thats okay. I should be doing be work too. :o) On 13 Feb 2004, at 17:26,

RE: [OT] - Request against Session

2004-02-13 Thread Andrew Hill
If there are two windows, there should be two sessions No. Usually not. -Original Message- From: Michael McGrady [mailto:[EMAIL PROTECTED] Sent: Saturday, 14 February 2004 03:30 To: Struts Users Mailing List Subject: RE: [OT] - Request against Session At 08:41 AM 2/13/2004, you wrote:

RE: [OT] - Request against Session

2004-02-13 Thread Andrew Hill
Your not thinking very hard about it obviously. Have a think about this scenario then (which is a common problem I and others have had to deal with before): User is presented with a table of records containing links to edit individual records. Clicking on the link opens the form for that record i

RE: [OT] - Request against Session

2004-02-13 Thread Andrew Hill
To maintain functionality across a standard scope (request, session, application) something in the work flow application will have to go into that scope or into some other equivalent persistence mechanism such as a database. If the work flow application maintains the persistence, then it is merel

RE: [OT] - Request against Session

2004-02-13 Thread Andrew Hill
How it is implemented is not important. Well except in that the abstraction cannot be total due to the underlying technology limitations imposed by working with http and browsers over which one has very little control. My example of multiple windows and not knowing when windows are closed illust

RE: [OT] - Request against Session

2004-02-12 Thread Andrew Hill
Surely if performance is that much of an issue then java would be the last technology you'd use. What would you suggest for a high performing web application? If there are performance issue with this and you haven't abused the use of session then IMO this is a matter for the container develope

RE: [OT] - Request against Session

2004-02-12 Thread Andrew Hill
And then he has no more worries as to getting a bloated session, as the session gets trimmed of workflow objects as soon as user goes to any screen which is not part of work flow. Unless of course the user simply closes the window. :-( If the user has multiple windows open all sharing a session

RE: Getting data from a disabled form field

2004-02-12 Thread Andrew Hill
They dont submit any parameter in the posted request. As a result, when struts populates the form, iterating the list of request parameters and calling the setters with the values it wont call the setter for that one. The value in the actionform thus depends upon the logic in the forms reset metho

RE: Getting data from a disabled form field

2004-02-12 Thread Andrew Hill
Yep. The browser doesnt submit a value for the field if its disabled. If your using a request scoped actionform then you will either need to reload its value from or add an additional hidden field on the form to submit the value. If its a session scoped form, just make sure that you dont clear it

RE: struts actions and content/type responses

2004-02-12 Thread Andrew Hill
http://www.catb.org/~esr/faqs/smart-questions.html -Original Message- From: Jignesh Patel [mailto:[EMAIL PROTECTED] Sent: Thursday, 12 February 2004 19:42 To: Struts Users Mailing List Subject: Re: struts actions and content/type responses Hi Friend's I am trying to upload strut1.1 on th

RE: struts actions and content/type responses

2004-02-12 Thread Andrew Hill
Your ImageAction could stream the result in the appropriate format itself. When done, return null instead of an ActionForward to indicate to struts that the Action has already handled writing the response. Not sure what headers etc... need to be set though. If you search the archive you can proba

RE: what is wrong with this code

2004-02-12 Thread Andrew Hill
Index=5' shows an 'adrStartIndex=5' at the beginning of the jsp Using the solution with the Action shows no parameters ... where Konstanten.ADRESSEN_RESULT_START_INDEX_KEY = adrStartIndex Putting into the session works perfect :-( -Ursprüngliche Nachricht- Von: Andrew Hill [ma

RE: what is wrong with this code

2004-02-12 Thread Andrew Hill
ws an 'adrStartIndex=5' at the beginning of the jsp Using the solution with the Action shows no parameters ... where Konstanten.ADRESSEN_RESULT_START_INDEX_KEY = adrStartIndex Putting into the session works perfect :-( -Ursprüngliche Nachricht- Von: Andrew Hill [mailto:[EMAIL P

RE: what is wrong with this code

2004-02-12 Thread Andrew Hill
I presume Konstanten.CONTINUE is "continue" and I see that forward will default to a non-redirecting forward looking at your config, so thats not the problem. Whats in the JSP? You sure you got the attribute key correct there? -Original Message- From: Mlinar, Mario [mailto:[EMAIL PROTECTE

RE: An off-road Question --- How to configure Eclipse for this feature.

2004-02-12 Thread Andrew Hill
nctionality. Regards S Srikanth Satyam Computer Services Limited 12 C P Ramaswamy Road Alwarpet Chennai 600018 Office +(91)-(44)-24983221 Extn 2767 "Andrew Hill" <[EMAIL PROTECTED] To: "Struts Users idnode.com

RE: An off-road Question --- How to configure Eclipse for this feature.

2004-02-12 Thread Andrew Hill
Works for me. Can it resolve that particular class (ie: youve imported it without error?). Sometimes ive noticed that the hyperlink doesnt come up quickly and you sometimes have to move the mouse around a bit too! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent:

RE: JSP Include Vs. Struts Template Include

2004-02-10 Thread Andrew Hill
Not sure, but if you after a really good templating mechanism forget those two and take a look at the struts Tiles extension. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, 10 February 2004 17:04 To: [EMAIL PROTECTED] Subject: JSP Include Vs. Struts Tem

RE: Passing an ArrayList

2004-02-09 Thread Andrew Hill
+1 I'm betting that this could be resolved by stashing the ArrayList into the request as an attribute or something similar, but would like some commentary on this issue. Dont take that bet. You will lose. Once the response is written out to the browser its gone. Dead. Extinct. Nailed to its per

RE: Include a .do in a page

2004-02-09 Thread Andrew Hill
Not sure about tiles, but under normal cicumstances probably not a good idea as it would result in the request taking another trip through the request processor and overwrite the original actions mapping and form in the request etc... -Original Message- From: Edgar Silva [mailto:[EMAIL PR

RE: [OT] RE: Orkut (read what the original message said)

2004-02-09 Thread Andrew Hill
Actually the message just said to mail Vic. Since mailing Vic and mailing the list are not mutually exclusive activities, your assertion that the message said not to mail the list is incorrect. Indeed since Vic reads messages posted to the list, a message to the list is a message to Vic. (and also

RE: Need to modify the URL path of the forward dynamically

2004-02-09 Thread Andrew Hill
btw: stringNotEmpty(parameter) just does a check to see that the parameter isnt null or "" -Original Message----- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Monday, 9 February 2004 17:25 To: Struts Subject: RE: Need to modify the URL path of the forward dynamically >

RE: Need to modify the URL path of the forward dynamically

2004-02-09 Thread Andrew Hill
ry string to an ActionForward in the "URL does not change even after changing action" thread. This thread has the details about how to do that. I am interested to hear from other folks if they have a novel way to do this (i.e. add a query string to an ActionForward). Anybody got a better way

RE: Checkboxes inside a list

2004-02-09 Thread Andrew Hill
Was that for all the checkboxes - or just the ones that were not ticked? Can you show us a snippet of the actionform and the generated html? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, 9 February 2004 16:55 To: [EMAIL PROTECTED] Subject: Checkboxes i

RE: Need to modify the URL path of the forward dynamically

2004-02-09 Thread Andrew Hill
Need to modify the URL path of the forward dynamicallyGet the Forward instance as usual. Obtain its url string using getPath(). Add your additional parameter to end of string and create a new ActionForward instance that uses the decorated path (and copies the redirect property from the original act

RE: Hi

2004-02-05 Thread Andrew Hill
G'day -Original Message- From: A Umesh [mailto:[EMAIL PROTECTED] Sent: Thursday, 5 February 2004 20:01 To: Struts Users Mailing List Subject: RE: Hi Hi Umesh A - To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

RE: REPOST: newbie - How to generate form controls dynamically in struts

2004-02-05 Thread Andrew Hill
Have you looked at the tutorials on the Keyboard Monkey site? It may prove helpful. (Concerns nested form beans. You may be able to make use of these techniques to implement it?) http://www.keyboardmonkey.com/next/index.jsp Although in this case based on your sample output you could probably manag

RE: Basic Tiles question!

2004-02-04 Thread Andrew Hill
Hmm... Looks like you got yourself a null pointer mate! ;-) -Original Message- From: Anand Stephen [mailto:[EMAIL PROTECTED] Sent: Thursday, 5 February 2004 13:48 To: Struts-User Subject: Basic Tiles question! Any idea what would cause this exception? 500 Servlet Exception ja

RE: Action without ActionForm

2004-02-04 Thread Andrew Hill
+1 I too am finding that it is quite convienient to treat the actionform as the pages UI State rather than merely an input buffer. -Original Message- From: Michael McGrady [mailto:[EMAIL PROTECTED] Sent: Thursday, 5 February 2004 13:42 To: Struts Users Mailing List Subject: Re: Action with

RE: [OT]Looking for junior Java/Struts developers

2004-02-04 Thread Andrew Hill
IMHO contributing code to open source projects should also count for something in terms of experience - especially if its a well known project like struts. (If your still a student you should have a fair bit of spare time you could do that in too!). So why not take a look at the open defects and se

RE: Looking for junior Java/Struts developers

2004-02-04 Thread Andrew Hill
Least you can afford a car in Herdon VA. Over here even a simple Toyota Camry will set you back $110k (about $64k US). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, 5 February 2004 00:38 To: Jiin-Her Lu Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subje

RE: generic component

2004-02-04 Thread Andrew Hill
Simple things you could just write a taglib for. Many of the more complex widgets are possible using Tiles, though Im not familiar with the details of Tiles myself so cant provide much info beyond pointing you at it... -Original Message- From: Michael Wiles [mailto:[EMAIL PROTECTED] Sent:

RE: what is controller servlet in struts framework

2004-02-04 Thread Andrew Hill
The controller servlet is the struts ActionServlet class. You configure this in your web.xml file so that it sends all requests whose path ends in .do (or whatever extension/path mapping you choose for your actions) to this servlet. The ActionServlet will actually make use of another class to do t

RE: Struts and Pajes

2004-02-04 Thread Andrew Hill
Hmm. Interesting, saw pajes mentioned on the barracuda list as well. Flavour of the week? ;-) Struts doesnt force you to use JSPs, but it does provide a bunch of JSP tags that make it a very nice fit to use JSP with struts, and of course the majority of strutters are using JSP. The Tiles library i

RE: Looking for junior Java/Struts developers

2004-02-03 Thread Andrew Hill
Did anyone actually go to the website for this company and look for the supposed job posting on their careers site? coz it isn't there. Id say sending the info to the struts list was very well targeted on their part. If they post it on the site they are just inviting resume spam from a million u

RE: Looking for junior Java/Struts developers

2004-02-03 Thread Andrew Hill
Yeah. More chance of getting it back in Australia though (esp Sydney), but yeah, Ive been slaving away in the IT field for 4+ years now and still no closer to that pot of gold at the end of the rainbow... (In fact with CPF cuts and inflation, and GST etc... salary just goes down over time and never

RE: Need to pass data to JSP in ActionForm

2004-02-03 Thread Andrew Hill
If the list doesnt change during the course of a users session then the best thing to do is to create it on first demand and store it in the session. This saves you from looking it up from the db repeatedly when unnecessary and is thus more efficient. If the list is the same for all users and doesn

RE: Looking for junior Java/Struts developers

2004-02-03 Thread Andrew Hill
50k US??? Thats like 85k over here - which is a *lot* more than even a very senior programmer is worth nevermind a junior. 85k for a JUNIOR programmer. Wow! You could buy a car with that! (Which unlike junior programmers are distinctly not cheap over here. ) so... whats the tax rate like over in t

RE: [OT]caching XML object

2004-01-29 Thread Andrew Hill
Im not familiar with JDOM, but Ive had to do some DOM caching for standard DOMs (with Xerces DOM impl) which proved to be a pain, as xerces DOM objects arent thread-safe - even for reading apparently - which meant I had to clone it from a synchronized block (thus eliminating most of the benefit of

RE: Email with file created on the fly

2004-01-29 Thread Andrew Hill
1. Create the file 2. Email it (duh!) Struts is a web ui framework. It's not about email and all that, so its not really a question of how to do it 'with struts', but more a case of *where* to do it in a struts app - and that depends on when your sending the mail (interactive or batch). Go take a

RE: Please unsubscribe yxchen2@qwest.com

2004-01-29 Thread Andrew Hill
Im sorry Dave. I cant do that. -Original Message- From: Chen, Yuan [mailto:[EMAIL PROTECTED] Sent: Friday, 30 January 2004 08:01 To: [EMAIL PROTECTED] Subject: Please unsubscribe [EMAIL PROTECTED]

RE: stop user from clicking the submit button twice

2004-01-29 Thread Andrew Hill
Havent used it yet myself so dont have any code to show, but struts provides a token based mechanism which can be used to detect when the same page has been submitted twice and thus take appropriate action (such as showing an error message). Have a look under 'tokens' in the struts documentation,

RE: resultset data not obtained

2004-01-28 Thread Andrew Hill
In your action have you remembered to put this object into the scope (ie: request scope) before you forward to the view? request.setAttribute("accountsList",accountsList); -Original Message- From: shankarr [mailto:[EMAIL PROTECTED] Sent: Wednesday, 28 January 2004 15:44 To: [EMAIL PROTECT

RE: constant url

2004-01-28 Thread Andrew Hill
Yep. Basically while your html UI is there to 'help' the user send the right parameters in the request you cant ever rely on it to do so. It is quite technically possible for the data to be sent to you some other way (and this could be legitimate - for example someone using HttpClient to write an t

RE: WebGroups & css

2004-01-27 Thread Andrew Hill
Try using an mailto:[EMAIL PROTECTED] Sent: Tuesday, 27 January 2004 16:15 To: Struts Users Mailing List Subject: WebGroups & css Hi you, I do have a silly problem with style sheets-linking. I have a css-File in the folder "/theme/formats.css". I access this file from a jsp-page of the fol

  1   2   3   4   5   6   7   8   9   10   >