RE: x,y coordinate location

2003-10-12 Thread Andrew Hill
Which is line 61? -Original Message- From: Das, Amar [mailto:[EMAIL PROTECTED] Sent: Monday, 13 October 2003 12:11 To: '[EMAIL PROTECTED]' Subject: x,y coordinate location Hi, The struts documentation says that "The property name of this image tag. The parameter names for the request wil

RE: ejb's and tomcat

2003-10-10 Thread Andrew Hill
Strangely enough I find most of your posts are decidedly fishy. -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Friday, 10 October 2003 18:51 To: Struts Users Mailing List Subject: RE: ejb's and tomcat Yeah, but the only reason I posted that msg was for baiting pu

RE: in

2003-10-09 Thread Andrew Hill
Struts does not support You mean "JSP does not support" surely? -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Thursday, 9 October 2003 19:44 To: Struts Users Mailing List Subject: RE: in You will have to use JSP scripting or JSTL - Struts does not support n

RE: Struts security

2003-10-09 Thread Andrew Hill
2) During login-action fill a java bean with all actions a user can perform This can be problematic if your requirements are that when the admin/superuser/bofh modifies the users permissions such changes must be reflected immediately (ie: without that user having to log out and log back in again

ActionServlet.destroy() is broken

2003-10-09 Thread Andrew Hill
We are getting NullPointerExceptions thrown in the ActionServlets destroy() method when trying to undeploy our app. This is on JBoss3.05 with integrated Tomcat4.0.6 . Our war file is inside the ear file and we are using struts 1.1 fr. My colleague found a couple of posts on the JBoss forum pertain

RE: JavaServer Faces

2003-10-08 Thread Andrew Hill
I reckon Craig might know a wee little bit about that ;-) Why not search the archive and see what he has said about it. -Original Message- From: Horky Adam G A1C 805 CSPTS/SCBE [mailto:[EMAIL PROTECTED] Sent: Thursday, 9 October 2003 03:28 To: [EMAIL PROTECTED] Subject: JavaServer

RE: ejb's and tomcat

2003-10-08 Thread Andrew Hill
Chuck's book has a chapter on using EJB with struts. (Chuck Caveness "Programming Jakarta Struts" - O'Rielly) -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Wednesday, 8 October 2003 23:13 To: Struts Users Mailing List Subject: RE: ejb's and tomcat Have your acti

RE: [OT] [Reflection/Classes] doing something like instanceof at runtime

2003-10-08 Thread Andrew Hill
eturn c.isInstance(o); } Regards, Daniel. --- Andrew Hill <[EMAIL PROTECTED]> wrote: > I want to be able to check if an object is an instance or a subclass of a > specified class - where that class is specified in a string that is only > known at runtime. > For example to have the followi

[OT] [Reflection/Classes] doing something like instanceof at runtime

2003-10-08 Thread Andrew Hill
I want to be able to check if an object is an instance or a subclass of a specified class - where that class is specified in a string that is only known at runtime. For example to have the following code print out "bobs got a date": boolean isInstanceof(Object o, String klass) { //TODO } java.s

RE: ejb's and tomcat

2003-10-08 Thread Andrew Hill
Nonsense! In the same way acronyms look great on resumes, they also look just super on product brochures. If you use EJBs you can proudly proclaim that your application is "based on J2EE EJB technology"! This is useful for impressing clueless manager types even if EJBs confer no actual technical ad

RE: MVC-Programmers mailing list

2003-10-06 Thread Andrew Hill
ANYONE can sign up and sign out right on the home page as you can. Oh? Export Restrictions: This list is not for users in Asia (Excluding Japan), Middle East, Indonesia, Philippines and Africa. Unless they are in Asia (etc...) it seems. (btw you spelt "New Zealand" wrong.) well... Im in Asi

RE: Craig: Tomcat 5.0 WAR Deployment [solution found]

2003-10-06 Thread Andrew Hill
ather RTFM; 3. I found the problem - error in path in deploy target in my Ant build.xml...it works per the documentation now. So, byte me, you bloody limey-wannabe! -Original Message----- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2003 8:41 AM To: Struts Users Ma

RE: MVC-Programmers mailing list

2003-10-06 Thread Andrew Hill
Yes. I got 'subscribed' like that as well. The emails just started turning up all of a sudden with no action on my part. -Original Message- From: Srinivas Gunturu [mailto:[EMAIL PROTECTED] Sent: Monday, 6 October 2003 21:59 To: [EMAIL PROTECTED] Subject: MVC-Programmers mailing list This

RE: Craig: Tomcat 5.0 WAR Deployment

2003-10-06 Thread Andrew Hill
A subscription to the tomcat_user list perhaps? ;-> -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Monday, 6 October 2003 20:35 To: Struts Users Mailing List Subject: Craig: Tomcat 5.0 WAR Deployment Craig, I'm writing a simple Struts standalone app to Tomcat 5

RE: Editorial on Struts' Long Term Future

2003-10-01 Thread Andrew Hill
Yep. Quite interesting. Sorry if its a bit rambling - dont have time to edit it - but heres my 2 cents worth: The article doesnt mention it but Scioworks is the company behind Camino , a powerful RAD tool for struts so its a good bet to say that he certainly knows the technology and the area quit

RE: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Andrew Hill
if I'm simply copying all my properties to another class (Torque Object, EJB, Business Object of some sort) why would I ever need code completion for my action forms Indeed, under such situations you would likely be better of with dynaforms. IMHO The real advantages of writing an ActionForm clas

RE: [OT] ActionFrom vs DynaActionForm

2003-10-01 Thread Andrew Hill
ost, you illiterate pseudo-limey! > > -----Original Message- > From: Andrew Hill [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 01, 2003 6:45 AM > To: Struts Users Mailing List > Subject: RE: [POLL] ActionFrom vs DynaActionForm > > I subscribe to that school. I belie

RE: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Andrew Hill
IDE code completion is certainly one of my favorite reasons for using a real form :-) Actually doesnt copyProperties() also work with dynaforms? -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Pratik Patel Sent: Wednesday, 1 October 2003 19:29 To: [EMAIL PROTECTED] Subje

RE: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Andrew Hill
"when?" -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 6:39 AM To: Struts Users Mailing List Subject: RE: [POLL] ActionFrom vs DynaActionForm That was me and it was over a year ago when I was a struts newbie... -Original Message

RE: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Andrew Hill
ECTED] Subject: Re: [POLL] ActionFrom vs DynaActionForm +1 ActionForms. On of the benefits of Modular/MVC programing is that you can unit test a module, before integrating it. .V Andrew Hill wrote: > Call me old fashioned but I always use good old hand coded ActionForms. > Guess I like havin

RE: [Question] : Close popup after Action has exited...

2003-10-01 Thread Andrew Hill
I do this by having the action forward to some html page with a little javascript that closes the window. -Original Message- From: Todor Sergueev Petkov [mailto:[EMAIL PROTECTED] Sent: Wednesday, 1 October 2003 18:38 To: Struts Users Mailing List Subject: [Question] : Close popup after Act

RE: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Andrew Hill
a Javabean and it ended up costing a fair few hours work to track down the error. So another +1 for DynaActionForms. On 10/01/2003 06:02 AM Andrew Hill wrote: > Call me old fashioned but I always use good old hand coded ActionForms. > Guess I like having something my compiler can ge

RE: should not work in different machine...

2003-10-01 Thread Andrew Hill
n url from my machine and use it on other machine it still lets user to go through the application but instead it should invalidate by giving session time out error...So what to do??? > Waitinf gor reply > Prashanth > > Andrew Hill wrote: > eh? > Thats something about XSLT > &g

RE: should not work in different machine...

2003-10-01 Thread Andrew Hill
cation url from my machine and use it on other machine it still lets user to go through the application but instead it should invalidate by giving session time out error...So what to do??? Waitinf gor reply Prashanth Andrew Hill <[EMAIL PROTECTED]> wrote: eh? Thats something about XSLT -

RE: should not work in different machine...

2003-10-01 Thread Andrew Hill
eh? Thats something about XSLT -Original Message- From: Abhijeet Mahalkar [mailto:[EMAIL PROTECTED] Sent: Wednesday, 1 October 2003 14:54 To: Struts Users Mailing List Subject: Re: should not work in different machine... for this you have to trap the CTRL-N key event through HTML tags.

RE: [POLL] ActionFrom vs DynaActionForm

2003-09-30 Thread Andrew Hill
Call me old fashioned but I always use good old hand coded ActionForms. Guess I like having something my compiler can get its teeth into. :-) Now that Im using Eclipse getters and setters are no problem at all. I love that generate getter & setter menu option. :-) (Validation isnt an issue for m

RE: dynamic properties in jsp

2003-09-29 Thread Andrew Hill
Have a look at the nested stuff. http://www.keyboardmonkey.com/next/index.jsp -Original Message- From: hari_s [mailto:[EMAIL PROTECTED] Sent: Tuesday, 30 September 2003 14:06 To: 'Struts Users Mailing List' Subject: RE: dynamic properties in jsp I think it will be simple if u handle it w

RE: OT - how much to java web developers charge?

2003-09-29 Thread Andrew Hill
much I charge, what they can expect the total to come out to, etc. Being new to *paid* work ;-) I'm just trying to understand what's reasonable. -Sasha > From: "Andrew Hill" <[EMAIL PROTECTED]> > Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTE

RE: OT - how much to java web developers charge?

2003-09-29 Thread Andrew Hill
Another shopping cart? ye gods. Im surprised sun havent made it a primitive: private shoppingcart _bob; public shoppingcart getBob() {... It also rather depends on whether you are a highly experienced developer with a portfolio of previous contract successes or a lowly salaried keyboard monkey try

RE: stopping resetting of the form bean

2003-09-28 Thread Andrew Hill
] Subject: RE: stopping resetting of the form bean I want to unsubscribe from the list. -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Monday, September 29, 2003 11:41 AM To: Struts Users Mailing List Subject: RE: stopping resetting of the form bean You can override

RE: stopping resetting of the form bean

2003-09-28 Thread Andrew Hill
You can override processPopulate in the request processor. -Original Message- From: Nisith Dash [mailto:[EMAIL PROTECTED] Sent: Monday, 29 September 2003 13:58 To: [EMAIL PROTECTED] Subject: stopping resetting of the form bean how can i prevent reset method from being called a

RE: Problems with search on the mail archive

2003-09-26 Thread Andrew Hill
You might have more luck using the MARC archive as the main one is notoriously unfriendly for searching. http://marc.theaimsgroup.com/?l=struts-user&r=1&w=2 -Original Message- From: Rouven Gehm [mailto:[EMAIL PROTECTED] Sent: Friday, 26 September 2003 20:30 To: Struts Users Mailing List S

RE: Urgent: No Getter Method found

2003-09-26 Thread Andrew Hill
I dont understand what the name of the instance variable used internally in the class as got to do with the error he is getting (which results from a failed introspection attempt to find a getter method)? Surely he could call the internal variable (which I presume is protected or private) "bob" if

RE: Urgent: No Getter Method found

2003-09-26 Thread Andrew Hill
1. Dont mark you messages urgent if you hope to get a response (a lot of the list members autotrash such posts!) (See: http://www.catb.org/~esr/faqs/smart-questions.html#urgent ) 2. Why are you putting the getter and setter in the Action class? They should surely be in the appropriate ActionForm c

RE: And now for something completely different... [OT]

2003-09-25 Thread Andrew Hill
This just strikes me as a very strange statement -- I don't get it. Too much BSD will do that to you... -Original Message- From: Max Cooper [mailto:[EMAIL PROTECTED] Sent: Friday, 26 September 2003 04:28 To: Struts Users Mailing List Subject: Re: And now for something completely differe

RE: How to include part of a page dynamically?

2003-09-25 Thread Andrew Hill
+1 While Ive not had opportunity to use tiles myself but Ive only ever heard good things about it. Id suggest its well worth the effort learning as it appears to be far superior to other jsp templating methodologies. -Original Message- From: Mick Knutson [mailto:[EMAIL PROTECTED] Sent: Thu

RE: Class not found exception.............

2003-09-24 Thread Andrew Hill
struts.jar must go in the WEB-INF/lib folder in your war file, and there must not be any other copy of struts.jar on the class path (for example in any of the app servers shared library folders) or these sort of wierd classloading issues can occur. -Original Message- From: Monajit Choudhu

RE: Error in RequestProcessor

2003-09-24 Thread Andrew Hill
Is this for an ActionForward that you return from an action? If so make sure that redirecting=false for the forward. -Original Message- From: Manuel Lenz [mailto:[EMAIL PROTECTED] Sent: Wednesday, 24 September 2003 18:59 To: Struts Users Mailing List Subject: Error in RequestProcessor H

RE: Can't uncheck multibox

2003-09-23 Thread Andrew Hill
Well if you dont want your checkboxes to be untickable then by all means go ahead and dont reset them, but Im telling ya mate, thats what reset() is for, and the validate method isn't the proper place for it (though of course its not going to send you blind if you do do it there). If you dont want

RE: Can't uncheck multibox

2003-09-23 Thread Andrew Hill
implicitly set the property to an empty String[]; eg. In the Validate Method() Helo this is what the reset() method is for. That is its sole reason dee etrer. To provide a place for you to reset the values of checkbox, textarea, & multiple-select fields associated with the page that

RE: Design Patterns in Struts

2003-09-22 Thread Andrew Hill
Uh, all of them I think ;-> -Original Message- From: Prasenjit Narwade [mailto:[EMAIL PROTECTED] Sent: Wednesday, 24 September 2003 03:20 To: Struts Users Mailing List Subject: Design Patterns in Struts Hi all, What are the various Design Patterns used in Struts? Links welcome Tha

RE: [FRIDAY] So...you think M$ is evil?

2003-09-21 Thread Andrew Hill
£20510 eh? Tempting... but I think my current employee contract already covers the rights to it :-( -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Sunday, 21 September 2003 20:56 To: Struts Users Mailing List Subject: [FRIDAY] So...you think M$ is evil? http://ww

RE: [FRIDAY] Save the Servers!

2003-09-19 Thread Andrew Hill
Avast ye scurvy sea dog! Tis nay TLAPD anymore. It be the 20th now. Arrr! -Original Message- From: Steve Raeburn [mailto:[EMAIL PROTECTED] Sent: Saturday, 20 September 2003 03:49 To: Struts Users Mailing List Subject: RE: [FRIDAY] Save the Servers! LOL TLAP, Ar! (For those grogged u

RE: Bean population question (Urgent)

2003-09-19 Thread Andrew Hill
I'm sorry for the urgent-tag. But, I have a deadline to make this weekend. Awww g. Thats too bad. My heart bleeds for you. Join the club mate. Request scoped form? It could be that the correction property is null. Try changing your form to use: private CorrectionValue correctionValue = new

RE: HttpRequest in struts Form

2003-09-19 Thread Andrew Hill
FROM a form? No of course not. (Unless you create a getter and have set its value previously). Why would you want to do that? IN a form? Yes - in the reset() and validate() methods you are passed the request. -Original Message- From: Gordenne Julien [mailto:[EMAIL PROTECTED] Sent: Friday

RE: Is it possible to remove *.do or /do/* from the URL

2003-09-19 Thread Andrew Hill
But rather that some other technology will come along that avoids client installation like a web app does, but also avoids some of the "web site" problems, and perhaps most importantly enables developers to write richer, more responsive GUIs. Im thinking XForms (currently however whats out

RE: Passing information from action to action

2003-09-18 Thread Andrew Hill
xcellent.. that worked great. Is there any evilness to having redirect false if the related actions do not have forms? thanks -David - Original Message - From: "Andrew Hill" <[EMAIL PROTECTED]> To: "Struts" <[EMAIL PROTECTED]> Sent: Thursday, September 18, 200

RE: Passing information from action to action

2003-09-18 Thread Andrew Hill
rdinal sin. Currently its whatever the default is set to.. how would I change it to a redirecting forward? I tried using forward = mapping.findForward("success"); then doing forward.setRedirect(true); and it gave me some kind of config frozen error.. help! =) -David - Original Message

RE: Passing information from action to action

2003-09-18 Thread Andrew Hill
Is that an african or european swallow? umm... I mean is that a redirecting or non-redirecting forward from the modify to the display action? If redirecting then of course request attributes are lost. If non-redirecting, then you are performing the evil sin of action chaining and the gods of strut

RE: Passing an input from jsp using

2003-09-18 Thread Andrew Hill
Heres the link to my original question to which the link is a response btw: http://marc.theaimsgroup.com/?l=struts-user&m=102696975022454&w=2 -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Friday, 19 September 2003 05:04 To: Struts Subject: RE: Passing an in

RE: Passing an input from jsp using

2003-09-18 Thread Andrew Hill
That may well be your problem. Try killing the getName() method (perhaps rename it getFullName() or something) and see if it helps. Hehe, I had problems like this when I was new to struts. See this ancient and mildly amusing thread: http://marc.theaimsgroup.com/?l=struts-user&m=102697236923882&w=2

RE: Passing an input from jsp using

2003-09-18 Thread Andrew Hill
The line of code in the jsp is something like this: where 53 is a input parameter of getName(int size) method of FormBean. Get method is something like this... public void getName(int size){ return (this.sName.substring(0, size)); } This was working fine all this time... now when i ch

RE: Is it possible to remove *.do or /do/* from the URL

2003-09-18 Thread Andrew Hill
Cool :-) -Original Message- From: Blake Whitmore [mailto:[EMAIL PROTECTED] Sent: Friday, 19 September 2003 04:21 To: Struts Users Mailing List Subject: Re: Is it possible to remove *.do or /do/* from the URL We've incorporated a *.fish mapping for our site :) The client was pretty happy

RE: Passing an input from jsp using

2003-09-18 Thread Andrew Hill
You have posted this question like 50 billion times now with no response. I dont really understand exactly what your asking (perhaps due to lack of sleep?), and so havent tried answering. Possibly the same goes for many other people who have read it. Perhaps you could try rephrasing it a different

RE: Is it possible to remove *.do or /do/* from the URL

2003-09-18 Thread Andrew Hill
hehe, if you want to get them worried use *.exe ;-) -Original Message- From: Micael [mailto:[EMAIL PROTECTED] Sent: Friday, 19 September 2003 01:33 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: Is it possible to remove *.do or /do/* from the URL I use .Whatever, where tha

RE: Forwarding & openNewWindow

2003-09-18 Thread Andrew Hill
The target goes on the form tag -Original Message- From: Manuel Lenz [mailto:[EMAIL PROTECTED] Sent: Thursday, 18 September 2003 20:15 To: Struts Users Mailing List Subject: RE: Forwarding & openNewWindow There exists no target-attribute for struts submit-button. Does anybody know a sol

RE: Evil characters causing mischief in textarea and value attribute contents

2003-09-18 Thread Andrew Hill
make sure it's not happening to me too, and it's not. I have stuff like ""snowflake"" in the database and it gets encoded automatically into value="a html-busting "character"" via . Presumably is the same. If you have you can add filter="t

RE: struts-faces

2003-09-18 Thread Andrew Hill
Of course theres an even simpler way to get fresh actions each time - just a few lines change in your request processor. Have it return a new instance each time and dont bother with caching it... -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: Thursday, 18 September 200

Evil characters causing mischief in textarea and value attribute contents

2003-09-18 Thread Andrew Hill
We have some screens that allow users to edit some stuff stored in the db, and some of this stuff includes such characters as " or \ or whatever, and also some of them have xml tags as there contents. When rendering such fields we are hitting some problems. ie: if the value is something like: my c

RE: Template Method Design

2003-09-18 Thread Andrew Hill
Quickest way I found was to cut and paste the code from DispatchAction source into my own class that extended my base class instead of action, then I extend my DispatchActions from that. The disadvantage is that if you upgrade to a new version of struts you need to remember to update your base disp

RE: Template Method Design

2003-09-18 Thread Andrew Hill
I use the technique of finalising execute (1.1 equivelent of perform) and having it do the lions share of the work for things. For example in a crud action most of the work is occuring in execute and the subclasses just do those things that are specific to the record type in question... I find it

RE: calls each method twice , logging everthing twice?

2003-09-18 Thread Andrew Hill
[EMAIL PROTECTED] > Website: http://www.syntelinc.com > -- > > > > -Original Message- > From: Andrew Hill [SMTP:[EMAIL PROTECTED] > Sent: Thursday, September 18, 2003 12:15 PM > To: Struts Users Mailing List > Subj

RE: calls each method twice , logging everthing twice?

2003-09-17 Thread Andrew Hill
It looks as though the browser is sending two requests for the page. Not familiar with tiles so am not sure about the exception your getting though. -Original Message- From: Seyhan BASMACI (Internet Yazilimlari Yetkilisi) [mailto:[EMAIL PROTECTED] Sent: Thursday, 18 September 2003 14:26 T

RE: [OT] M7 Development tool

2003-09-17 Thread Andrew Hill
M7 Development tool Perhaps you would be interested in reading "Union Now?" by Warren Keuffel at http://www.sdmagazine.com/ or read the print version of the October issue. Bad Managment makes workers Unionize.

RE: Forwarding to existing servlet from Struts??

2003-09-17 Thread Andrew Hill
say what? The input? u -Original Message- From: Carey Nation [mailto:[EMAIL PROTECTED] Sent: Thursday, 18 September 2003 03:18 To: Struts Users Mailing List Subject: Re: Forwarding to existing servlet from Struts?? > I need to forward from a struts action to a servlet. How can

RE: [OT] M7 Development tool

2003-09-17 Thread Andrew Hill
! - Original Message - From: "Andrew Hill" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, September 17, 2003 12:15 PM Subject: RE: [OT] M7 Development tool > Thanks :-) > > > M7 lets you develop w

RE: Chained Actions (why so bad?), forwards vs. redirects, and Tiles

2003-09-17 Thread Andrew Hill
Now, I can understand how pulling path="login.do?someparm=hello" in a forward shouldn't work (even stepping through the code, I still can't figure out how it was working before Theres no problem slipping query params into a forward url like that. Its a standard technique. All my apps depend on i

RE: Forwarding to existing servlet from Struts??

2003-09-17 Thread Andrew Hill
g List' Subject: RE: Forwarding to existing servlet from Struts?? that would be a good start I guess. :) -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2003 3:11 PM To: Struts Users Mailing List Subject: RE: Forwarding to existing servlet

RE: [OT] M7 Development tool

2003-09-17 Thread Andrew Hill
Thanks :-) M7 lets you develop web applications in record time by assembling applications visually from existing database schemas, Java components and web services Funny how the words "record time" stand out when one is reading them at 3:30 AM ;-> I reckon I'll have to check this out when I get

RE: Forwarding to existing servlet from Struts??

2003-09-17 Thread Andrew Hill
Have you tried using an ActionForward? (duh) -Original Message- From: Menke, John [mailto:[EMAIL PROTECTED] Sent: Thursday, 18 September 2003 03:06 To: Struts (E-mail) Subject: Forwarding to existing servlet from Struts?? I need to forward from a struts action to a servlet. How can this

RE: [OT] M7 Development tool

2003-09-17 Thread Andrew Hill
I _know_ I should code like a man and just use a text editor to write my code; but I'm still looking at it anyway. ;-) Well so long as your just looking ;-) What is this M7 thing anyway? Got a link? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, 1

RE: Design Question

2003-09-17 Thread Andrew Hill
oops. Forget what I said - didnt read it properly. You need to be able to tell which fields changed. The digest will merely tell you if any changed. Sorry. -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Wednesday, 17 September 2003 23:01 To: Struts Users Mailing List

RE: Design Question

2003-09-17 Thread Andrew Hill
Actually you could just store a digest of the previous values, and then compare that with a digest of the new. -Original Message- From: sean schofield [mailto:[EMAIL PROTECTED] Sent: Wednesday, 17 September 2003 22:57 To: [EMAIL PROTECTED] Subject: Design Question I am working on a strut

RE: include a file

2003-09-17 Thread Andrew Hill
Yes -Original Message- From: Mariano García [mailto:[EMAIL PROTECTED] Sent: Wednesday, 17 September 2003 19:30 To: [EMAIL PROTECTED] Subject: include a file Hi all, Is there any tag to include html or jsp file into another jsp file? Thx. _ Mariano García Ingeniero de Sistemas

RE: How to refresh a page in an action

2003-09-17 Thread Andrew Hill
Have you specified an input attribute in your action mapping in struts-config.xml? -Original Message- From: Mehdi EL AKARI [mailto:[EMAIL PROTECTED] Sent: Wednesday, 17 September 2003 16:18 To: struts Subject: How to refresh a page in an action Hello, I nedd to create an action that posi

RE: Getting Messages in an Action?

2003-09-16 Thread Andrew Hill
Yes, you can call the getResources() method inside your action which will return a MessageResources object that you can read the localised messages from. Check the javadoc for details on the parameters. -Original Message- From: Carl-Eric Menzel [mailto:[EMAIL PROTECTED] Sent: Tuesday, 16 S

RE: How to fill textfields from FormBean?

2003-09-16 Thread Andrew Hill
Yep. Your on the right track. Having populated your form in the action, it will be forwarded along in a request attribute (or session depending on your mapping) to the view jsp, where you can make use of the struts html tag library (or jstl) to render the values in the fields. Like James say, your

RE: [OT] RE: Application.properties

2003-09-16 Thread Andrew Hill
ooo A p** contest! Can I play? ;-) Done 28 hours this week and its only Tuesday (well for another half hour it is anyhow). Did 79 Last week, but only because I was slack and took Sunday off. (Could be worse. Was doing 100+s this time last year) -Original Message- From: Chappell, Sim

RE: Slow file upload?

2003-09-16 Thread Andrew Hill
http://www.catb.org/~esr/faqs/smart-questions.html You could start by learning some ettiquet.. umm.. etikit, uh.. etiq.. ...some manners and not go around hijacking other peoples topic with an unrelated question. As for making helloworld have you tried to rt*m or st*w yet? What have you done so f

RE: [OT] Subject line filter tag

2003-09-16 Thread Andrew Hill
MARK-FU "Flash User"? -Original Message- From: Adam L [mailto:[EMAIL PROTECTED] Sent: Tuesday, 16 September 2003 21:13 To: Struts Users Mailing List Subject: [OT] Subject line filter tag To the powers that be: Is there a particular reason there's no list name header in the subject

RE: Newbie looking for resources to learn

2003-09-15 Thread Andrew Hill
"Struts in Action" is another great one. (Do I get a signed copy now Ted??? ;-> ) -Original Message- From: Mark, Scott [mailto:[EMAIL PROTECTED] Sent: Monday, 15 September 2003 23:10 To: Struts Users Mailing List Subject: RE: Newbie looking for resources to learn I have been reading "Pr

RE: Newbie looking for resources to learn

2003-09-15 Thread Andrew Hill
garrgh! too slow tonight! You beat me to the draw James. ;-> -Original Message- From: James Childers [mailto:[EMAIL PROTECTED] Sent: Monday, 15 September 2003 22:48 To: Struts Users Mailing List Subject: RE: Newbie looking for resources to learn Here's an important resource, probably one

RE: Easy Question

2003-09-13 Thread Andrew Hill
Non-String Form bean properties are evil though, you'll thank yourself later if you use Strings +1 -Original Message- From: Michael Ruppin [mailto:[EMAIL PROTECTED] Sent: Saturday, 13 September 2003 04:14 To: Struts Users Mailing List Subject: RE: Easy Question Non-String Form bean pr

RE: [Fwd: [XHTML] Default submit button]

2003-09-12 Thread Andrew Hill
een thinking of making an invisible submit button that would return false and therefore not cause a submit. But that won't help you. Adam On 09/12/2003 05:17 PM Andrew Hill wrote: > Thanks Adam. > > Ive swapped them round now, works a charm :-) > > I still wonder if there is any othe

RE: [Fwd: [XHTML] Default submit button]

2003-09-12 Thread Andrew Hill
: [Fwd: [XHTML] Default submit button] Hi Andrew I believe your first submit button as the HTML appears is the default. Do this mean your cancel button is before your submit button? Seems strange. Adam Original Message From: Andrew Hill <[EMAIL PROTECTED]> To: Struts &

RE: [BEER] What time is it? [WAS: RE: [FRIDAY] YA Stuts In Action Triva Quiz]

2003-09-12 Thread Andrew Hill
y, 12 September 2003 22:07 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: [BEER] What time is it? [WAS: RE: [FRIDAY] YA Stuts In Action Triva Quiz] Right. And I have a bridge to sell you. >-Original Message- >From: Andrew Hill [mailto:[EMAIL PROTECTED] >Sent: Friday

RE: [BEER] What time is it? [WAS: RE: [FRIDAY] YA Stuts In Action Triva Quiz]

2003-09-12 Thread Andrew Hill
] Subject: RE: [BEER] What time is it? [WAS: RE: [FRIDAY] YA Stuts In Action Triva Quiz] I did not mean UTC, I meant GMT. UTC is an attempt to de-British'ise the one true time zone. We invented timezones, so we get the prime one! :-) >-Original Message- >From: Andrew Hill [ma

[BEER] What time is it? [WAS: RE: [FRIDAY] YA Stuts In Action Triva Quiz]

2003-09-12 Thread Andrew Hill
Dont you mean UTC? Although it being Friday there really is only one time: Tiger Time! And for the sake of Mark, who is perhaps not familiar with the advertising campaigns of Asia Pacific Breweries Pte Ltd, but who I know just *loves* flash based websites on Fridays: http://www.tigerbeer.com.sg/

RE: DispatchAction forward issue

2003-09-12 Thread Andrew Hill
the second? or is it recreated? Thks > -Mensaje original- > De: Andrew Hill [mailto:[EMAIL PROTECTED] > Enviado el: viernes, 12 de septiembre de 2003 14:46 > Para: Struts Users Mailing List > Asunto: RE: DispatchAction forward issue > > > Hmm.. You can try it with a non-red

RE: multiple submit redirect in action

2003-09-12 Thread Andrew Hill
To add to Stephanie's reply: You may also find the DispatchAction class to be of use to you and if so it will save some time. Go check the docs and see if it matches your need :-) If you need the label (Value) for that button to come from the i18n resource bundle, then you will want to check aga

RE: DispatchAction forward issue

2003-09-12 Thread Andrew Hill
y be a bad idea, I don?t have any other now!! :-( Thks > -Mensaje original- > De: Andrew Hill [mailto:[EMAIL PROTECTED] > Enviado el: viernes, 12 de septiembre de 2003 13:39 > Para: Struts Users Mailing List > Asunto: RE: DispatchAction forward issue > > >

RE: DispatchAction forward issue

2003-09-12 Thread Andrew Hill
For that, I put in my request the "method" parameter No you didnt. You put in a "method" ATTRIBUTE. I saw you! See: request.setAttribute("method", "list"); What you want to do is something like the following: ActionForward forward = actionMapping.findForward("do_edition"); String path = addPa

[XHTML] Default submit button

2003-09-11 Thread Andrew Hill
Hopefully a quick & simple question: my page has a Cancel and a Submit button, both of which are input fields of type submit. At the moment the cancel button appears to be the 'default' - so I have to explicitly click save to save instead of just anyhow hitting the enter key. How to make Save the d

RE: What's the best strategy to handle this kind of thread issues?

2003-09-10 Thread Andrew Hill
hehe, my way is less subtle. I change the visibility style on most of the page (including the button) to invisible, and reveal a section containing a please wait message. (Wont work on older browsers, but our they dont meet this particular apps minimum requirements anyhow). Its also quite nice in

RE: YASJR (Yet Another Struts Justification Request)

2003-09-10 Thread Andrew Hill
How can I guarantee that there are no hacks, bombs, etc. in the Struts code or any OS code for that matter? Elementary my dear Watson! As struts is open source you have full access to the code. You can examine it microscopically in minute detail to assure yourself that it is all ok. (And no

RE: What's the best strategy to handle this kind of thread issues?

2003-09-10 Thread Andrew Hill
What we found in IE 6.0 sp1 is that end users do not have to press STOP and then manually trigger a second request. They could just press buttons in a web form and trigger different requests to the server. Is this a bug in IE 6.0? (The scenario (a) looks correct in IE 5.0) Ive seen this too. Had

RE: Serializing ActionForm (Urgent)

2003-09-10 Thread Andrew Hill
Hmm. I was about to finger the ActionServlet reference, and the MultipartRequestWrapper ref, but they are both transient, so can't be causing the problem. My next suspect would be the FormFile (but its the actionservletwrapper its listing in the except... ahhh... but of course its a wrapper - not t

RE: What's the best strategy to handle this kind of thread issues ?

2003-09-10 Thread Andrew Hill
Actually Id have to disagree with you about the requests for a particular session not needing to be multithreaded. For example in the app I was working on recently we needed the ability for the user to pop up (yes I know - I dont like it either) lots of editing windows for records selected from the

RE: What's the best strategy to handle this kind of thread issues ?

2003-09-10 Thread Andrew Hill
ould be better served to look into the app/web server code. Doing this at a servlet level will most likely just get one into a big mess. It actually seems like a good idea (if it isn't already there) for a caching proxy or appserver, but certainly not a web application. Just my $.02 -

RE: What's the best strategy to handle this kind of thread issues?

2003-09-10 Thread Andrew Hill
My undertsanding was that the browser will only show the response to the the second of the requests - forgetting about the first. The server of course hasnt forgetten about it and keeps processing (one hopes). Im not quite sure what happens to its response stream (>>null?) but the browser is now on

<    1   2   3   4   5   6   7   8   9   10   >