Re: Trying to come up with a Mapping-Dispatch combo Action

2004-09-14 Thread Michael McGrady
Hi, Rick, WITHIN: Rick Reumann wrote: In the beginning of this application I assumed the client would always want to see all users so I created a MappingDispatchAction method (or regular DispatchAction method) called "getUsers(...)" which returned a list of all users in the company and put them

RE: Validation in struts

2004-09-14 Thread Divya B Sridhar
Greg, Thanks for your response. Is this validator framework supported for struts 1.1 since I use struts 1.1 for my application. Thanks, Divya. -Original Message- From: Greg Ludington [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 15, 2004 10:11 AM To: Struts Users Mailing List Sub

RE: FOP for PDF

2004-09-14 Thread Jesse Alexander (KXT)
I would say it is ready. If you are worried about the interface changes... and if at your shop several people must use it... then the best strategy might be to isolate your app from FOP using a thin layer... (that's what we did anyway to accomodate our own logging and config rules...) hth PS: w

RE: Best load testing tool for Java applications

2004-09-14 Thread Jesse Alexander (KXT)
or Jakarta's JMeter. It even can use client-certificates. not TOOO difficult to set up as well -Original Message- From: Hari Haran [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 15, 2004 7:07 AM To: Struts Users Mailing List Subject: Re: Best load testing tool for Java applications

Re: Trying to come up with a Mapping-Dispatch combo Action

2004-09-14 Thread Rick Reumann
Michael McGrady wrote the following on 9/14/2004 11:04 PM: Your notes on links confuse me a bit. Let me consider what confuses me and then we can go from there. FIRST You said ". . . MappingDispatchAction has . . . a cetnralized place to decide what method is called based on the action name."

RE: Validator with DispatchAction...help!...newbie

2004-09-14 Thread lixin chu
There is an interesting article talking about validation in DispatchAction. That may not be what you are looking for but I would like to know if the method suggestted by the author is a good choice or not: http://www.reumann.net/struts/articles/request_lists.jsp Another common practice is to have

Re: Best load testing tool for Java applications

2004-09-14 Thread Hari Haran
u can try grinder as well . On Wed, 15 Sep 2004 04:18:03 +0100, Niall Pemberton <[EMAIL PROTECTED]> wrote: > Can't say whats best but here are a couple that others on this list have > said they are using: > > http://www.opensta.org/ > > http://www.b2net.co.uk/mercury-interactive/mercury_interac

Re: Struts development methodology

2004-09-14 Thread Brett Connor
Sounds like a case for mock objects and actions perhaps. I like this kind of approach because it is useful for early prototyping and testing, leaving a clear seperation between the responsibilities either side of this interface, and supports the 'test driven' approach. I have little experience

Re: Validation in struts

2004-09-14 Thread Greg Ludington
> It is said that the validation(client side validations like say a particular > textbox field can contain numbers only etc) should not be explicitly written > in client-side validation javascripts in a struts framework. How can such > things be accomplished using struts without writing specific cl

Re: Need example of using DynaActionForm with ArrayList (1.1)

2004-09-14 Thread Antony Paul
Thanks for the reply. I scraped the original code and replaced it with my own implementation using Map. I will experiment your suggestions in the next opportunity. rgds Antony Paul - Original Message - From: "Matt Bathje" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECT

Struts - Delhi....

2004-09-14 Thread puneet . a
Everyone here in Delhi... check the link.. http://struts.meetup.com go for "Dilli" instead of Delhi...!!! Cheers... Puneet Agarwal Tata Consultancy Services Limited Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com - Forwarded by Puneet A/DEL/TCS on 09/15/2004 10:10 AM - "Meetup.

Re: Validation in struts

2004-09-14 Thread Jitender K Chukkavenkata
U can use struts validations framework as well go thru struts validation framework.. Jitender Kumar C.V. IBM Global Services India (Pvt.) Ltd., Embassy Golf Links Business Park, Block C, Bangalore - 560 071. Phone : + 91 (80) 51056320 Mobile: + 91 9886219429 Location : EGC-3*-058.

Validation in struts

2004-09-14 Thread Divya B Sridhar
Hi All, It is said that the validation(client side validations like say a particular textbox field can contain numbers only etc) should not be explicitly written in client-side validation javascripts in a struts framework. How can such things be accomplished using struts without writing specific cl

RE: Mail Archive Access

2004-09-14 Thread Josh Holtzman
Text search is not available for: http://mail-archives.apache.org/eyebrowse/SummarizeList?listId=241 Thanks for the alternative access. Josh Holtzman AMERICAN DATA COMPANY Developing and Supporting your Online Applications [EMAIL PROTECTED] Voice: (310) 470-1257 Fax:(310) 362-8454

Re: Trying to come up with a Mapping-Dispatch combo Action

2004-09-14 Thread Michael McGrady
Michael McGrady wrote: Ooops, Rick! I de-ooopsed the situation by adding if(methodName == null) { String parameter = mapping.getParameter(); if(parameter.endsWith(".x")) { methodName = buttonValue.substring(0,buttonValue.indexOf('.')); }

Re: Trying to come up with a Mapping-Dispatch combo Action

2004-09-14 Thread Michael McGrady
Ooops, Rick! I made an error speeding on this. Let me work on it and get back to you later. Michael Michael McGrady wrote: Rick Reumann wrote: Hey, yes that is pretty cool. Hi, Rick, Your notes on links confuse me a bit. Let me consider what confuses me and then we can go from there. FIRST

Re: Best load testing tool for Java applications

2004-09-14 Thread Niall Pemberton
Can't say whats best but here are a couple that others on this list have said they are using: http://www.opensta.org/ http://www.b2net.co.uk/mercury-interactive/mercury_interactive_loadrunner.htm Niall - Original Message - From: "Prasad, Kamakshya" <[EMAIL PROTECTED]> To: "Struts Users

Re: Struts DTDs fail to validate on WebLogic8.1

2004-09-14 Thread Niall Pemberton
Struts 1.2.2 contains the wrong version of the Commons Validator jar - which doesn't contain the appropriate dtd, causing the problems you are experiencing. Version 1.2.4 of Struts is the latest version and should resolve this issue. It's been posted for people to test and hasn't been officially "

Re: Trying to come up with a Mapping-Dispatch combo Action

2004-09-14 Thread Michael McGrady
Rick Reumann wrote: Hey, yes that is pretty cool. Hi, Rick, Your notes on links confuse me a bit. Let me consider what confuses me and then we can go from there. FIRST You said ". . . MappingDispatchAction has . . . a cetnralized place to decide what method is called based on the action name

Re: Mail Archive Access

2004-09-14 Thread Hubert Rabago
Which archive are you using? Try http://marc.theaimsgroup.com/?l=struts-user&r=1&w=2 Hubert On Tue, 14 Sep 2004 19:08:40 -0700, Josh Holtzman <[EMAIL PROTECTED]> wrote: > Can someone please provide me with the location of a mirror of the mailing > list archive? > > The search feature seems to be

Re: Struts development methodology

2004-09-14 Thread Aditya Kapur
We always have the UI folks pototype in Dreanweaver, then Java folks will put merge it with Struts tags. Once the app is working then a combination of dreamweaver and notepad does the job. On Tue, 14 Sep 2004 21:35 -0400, Victor Grazi <[EMAIL PROTECTED]> wrote: > Not sure I understand. > What's a

Mail Archive Access

2004-09-14 Thread Josh Holtzman
Can someone please provide me with the location of a mirror of the mailing list archive? The search feature seems to be down again. Thanks. Josh Holtzman AMERICAN DATA COMPANY Developing and Supporting your Online Applications Sun Microsystems iForce Partner

Re: Struts DTDs fail to validate on WebLogic8.1

2004-09-14 Thread Jacob Weber
In article <[EMAIL PROTECTED]>, ddylla <[EMAIL PROTECTED]> wrote: > I am using WebLogic8.1 sp3 and am trying to deploy an application that uses > struts-blank.war from the Struts 1.2.2 binary distribution. The .EAR that I > built errors when deploying and fails to run, complaining that it canno

Re: Struts development methodology

2004-09-14 Thread Victor Grazi
Not sure I understand. What's a CVS? Are u referring to a versioning tool? Yes we have that. The ui developers can do wysiwyg development using struts tags in Dreamweaver. The problem is when they go to view there work in IE, they can't, because the Java people don't work as fast as the ui folks

Re: SPAM-LOW: [OT] Gmail invites, 2 available.

2004-09-14 Thread Darryl Pierce
On Tuesday 14 September 2004 01:56 am, Bharathiraja wrote: > Hi Peng, >I am happy to receive your mail regarding GMAIL invites.Please invite me While I am getting quite annoyed at the number of emails I have to delete from a Struts mailing list that have nothing to do with Struts and are inst

RE: Validator with DispatchAction...help!...newbie

2004-09-14 Thread Robert Taylor
ValidatorForm, ValidatorActionForm, DynaValidatorForm, and DynaValidatorActionForm allow you to leverage the validation framework in Struts. How you use DispatchAction determines what you need to do to make it work with the validation framework. For example there are two basic approaches: 1. Di

Re: Struts development methodology

2004-09-14 Thread Vic
Struts works great for this. I assume you have a CVS, and then leverage the HTML people to write and maintain your JSP pages. They can use the html input tags or what ever, and DW has plugins for JSP tag libs, any and all. The java People can write formbeans that map to the html forms and unit

Best load testing tool for Java applications

2004-09-14 Thread Prasad, Kamakshya
Hi, Which is the best load testing tool available for testing java applications? Please suggest. KP - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts development methodology

2004-09-14 Thread Don Brown
Why not combine Struts with Velocity: http://jakarta.apache.org/velocity/tools/struts/ Velocity is really easy to learn and is Dreamweaver-friendly. Don On Tue, 14 Sep 2004 19:28 -0400, Victor Grazi <[EMAIL PROTECTED]> wrote: > We are developing an important struts application for a major bank,

Validator with DispatchAction...help!...newbie

2004-09-14 Thread O. Oke
--- Matt Bathje <[EMAIL PROTECTED]> wrote: > O. Oke wrote: > > > Can anyone please tell me how to use the Struts > > Validator with DispatchAction. > > > > This article in bugzilla does not seem to deal > with > > the issue: > > > http://issues.apache.org/bugzilla/showattachment.cgi?attach_id=

RE: Where's that friggin' bean?

2004-09-14 Thread Jim Barrows
> -Original Message- > From: Dave Bender [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 14, 2004 4:34 PM > To: Struts Users Mailing List > Subject: Where's that friggin' bean? > > > OK, I'm stumped. Can anybody tell me why I'm getting: > javax.servlet.ServletException: Cannot f

Where's that friggin' bean?

2004-09-14 Thread Dave Bender
OK, I'm stumped. Can anybody tell me why I'm getting: javax.servlet.ServletException: Cannot find bean org.apache.struts.taglib.html.BEAN in any scope when I try to reference the Struts HTML TagLib in a new module I've created? I've got a Struts application with a couple of modules, and I'm u

Struts development methodology

2004-09-14 Thread Victor Grazi
We are developing an important struts application for a major bank, and we need some advice on methodology... Our graphic designers are developing the UI in HTML using Dreamweaver and Notepad. (They are gifted artists, but they don't much know about Struts or JSTL). We also have Java developers

Re: how about some clarification vs saying things are ludicrous- Re: Trying to come up with a Mapping-Dispatch combo Action

2004-09-14 Thread Kris Schneider
Oh I definitely think it's more than okay to use tags to help generate JavaScript. In fact, using server-side code to generate client-side code is a telltale sign of a very seasoned and very respected developer ;-). The only reason I jumped in at all (and yes, it was late, sorry if I missed som

Re: Trying to come up with a Mapping-Dispatch combo Action

2004-09-14 Thread Rick Reumann
Michael McGrady wrote the following on 9/14/2004 2:26 PM: Any way, I have something else on this. Rick, I have written a class I call SimpleDispatchAction which allows you to use links, submits, and images with the same code without involving struts-config.xml in the process. I put it up at h

how about some clarification vs saying things are ludicrous- Re: Trying to come up with a Mapping-Dispatch combo Action

2004-09-14 Thread Rick Reumann
Durham David Contr 805 CSPTS/SCE wrote the following on 9/14/2004 1:31 PM: I tested the code -- not that I needed to do so, but still. I'm sure you didn't need to test it "Oh almighty coding God." Just throw it into a JSP and look at the resulting HTML. Here's an index.jsp that I've ran in Tomcat 5

Re: Displaying Validator messages.

2004-09-14 Thread Terry Roe
Mark, Here's what I do to achieve just what you are talking about: I have a property in my ApplicationResources.properties file for "errors.present" and I display this message at the top of the page when there are errors. I use the logic tag to determine if there are errors present.

Displaying Validator messages.

2004-09-14 Thread Mark Benussi
As a Struts 1.0 developer I used to use the traditional struts methods for error messages e.g. saveErrors(). Ive moved (not so gracefully) to using Struts 1.1 and Validator. My simple problem is that I cant work out how to display the messages produced by the validator. I have included the vali

Re: Off Topic Post Air Time vs. Struts Answers

2004-09-14 Thread Terry Roe
Matt, I understand how open source works, but I appreciate your comments, too. I wish I were a part of a larger group of developers so there was more time to "give back" to the community. My largest frustration lies in finding out answers to issues I come up with. It seems I spend an inordin

Using a Quartz Scheduler in a Struts Web Application

2004-09-14 Thread Nikola Banovic
Hello, Can you please give me a list of Quartz plug-ins for Struts you recommend? I'm not after any particular feature so any Quartz plug-in qualifies. Thank you. Nikola - To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

Re: Validator with DispatchAction...help!...newbie

2004-09-14 Thread Matt Bathje
O. Oke wrote: Can anyone please tell me how to use the Struts Validator with DispatchAction. This article in bugzilla does not seem to deal with the issue: http://issues.apache.org/bugzilla/showattachment.cgi?attach_id=8633 Thank you. Ola Ola - we more information to be able to help you. I can't

Re: Off Topic Post Air Time vs. Struts Answers

2004-09-14 Thread Matt Bathje
I think Ted Husted (one of the gurus who occasionally reads this list for those who don't know) has stated it best - it all depends on what itches need scratching. None of the "core" struts or validator developers have a need for multi-level indexed validation, so it isn't done. None of the "co

Re: Off Topic Post Air Time vs. Struts Answers

2004-09-14 Thread Michael McGrady
Terry Roe wrote: Michael, I think we're all here trying to help each other. Comments of dissatisfaction or frustration should be used as an impetus to improve things. Waving the "open source" flag because something isn't done as well as it might be doesn't seem very constructive. There's a bi

Validator with DispatchAction...help!...newbie

2004-09-14 Thread O. Oke
Can anyone please tell me how to use the Struts Validator with DispatchAction. This article in bugzilla does not seem to deal with the issue: http://issues.apache.org/bugzilla/showattachment.cgi?attach_id=8633 Thank you. Ola ___

Re: Off Topic Post Air Time vs. Struts Answers

2004-09-14 Thread Terry Roe
Michael, I think we're all here trying to help each other. Comments of dissatisfaction or frustration should be used as an impetus to improve things. Waving the "open source" flag because something isn't done as well as it might be doesn't seem very constructive. There's a big push to legiti

Re: Trying to come up with a Mapping-Dispatch combo Action

2004-09-14 Thread Michael McGrady
Kris Schneider wrote: You mean the thing that starts " and are great for generating URLs to be used by JavaScript code that needs to interact with web apps. One of the reasons they're so useful is that they have built-in support for URL rewriting (encoding of session info). BTW, in an earlier note

Re: The Tag and Drop Down Menu

2004-09-14 Thread Jason Lea
Something like this in JSP1.2: assuming the Struts form bean is called 'formbean' and the property is called 'property' selected> or in JSP2.0: ${item.label} Caroline Jen wrote: To make it simple, there is a JavaBean. This JavaBean has two properties: label and

Re: Off Topic Post Air Time vs. Struts Answers

2004-09-14 Thread Michael McGrady
Terry Roe wrote: Geeta, I, too, am disappointed that none of the mailing list searches for The Apache Software Foundation appear to work. Given the fact that one "should not" post a question until one has attempted a thorough search for an answer, it seems utterly ridiculous that you can't do a

Re: Validation for Two Levels of Indexed Properties

2004-09-14 Thread Terry Roe
Matt, In my case, it wouldn't be very useful to provide the source code for my workaround as it would require too much background information. However, here is a summary of what I did to validate my second level of nested properties... First, I use the Validator to validate as much of the form

Page with two forms and different sets of errors

2004-09-14 Thread Adrian Kamiński
Hi, I have two forms on one page: First form is the regular registration form, second is small login form in the corner of the page. I want to display errors for each form in different places on the page (for first form above it, and for

Re: Validation for Two Levels of Indexed Properties

2004-09-14 Thread Matt Bathje
Unfortunatley not, because my workaround was to re-work the class so it wasn't necessary. The user interface for that area became a little bit "clunkier" but it was the quickest thing to do at the time. Matt Terry Roe wrote: Matt, Thank you for your comments. Could you point me to where you po

Re: Validation for Two Levels of Indexed Properties

2004-09-14 Thread Terry Roe
Matt, Thank you for your comments. Could you point me to where you posted your workaround for nested validation? Thanks, TR Matt Bathje wrote: Might I suggest (to everybody, not just Terry) that when you come up with a solution to these or other things, you either put it into the struts wiki (

RE: FOP for PDF

2004-09-14 Thread Jirole, Amar
I already did that. But I feel its like going to republican convention and asking whether I should vote for Bush or Kerry. I sent this mail out to this list because I am hoping I will get more balanced comments here. Thanks -Amar -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PR

Re: Off Topic Post Air Time vs. Struts Answers

2004-09-14 Thread dhay
H (blush) - just realised that it's a little out of date. Still a little useful though...?! - Forwarded by David Hay/Lex/Lexmark on 09/14/2004 04:09 PM - |-+> | | David Hay| | || |

Re: Off Topic Post Air Time vs. Struts Answers

2004-09-14 Thread dhay
Have you tried: http://www.mail-archive.com/[EMAIL PROTECTED]/ Works fine for me! cheers, David |-+> | | Terry Roe| | | <[EMAIL PROTECTED]| | | om> | | |

Re: Off Topic Post Air Time vs. Struts Answers

2004-09-14 Thread Matt Bathje
I usually use http://marc.theaimsgroup.com/?l=struts-user as the main archive of struts-user that I search. It seems to work best out of the available options. Matt Terry Roe wrote: Geeta, I, too, am disappointed that none of the mailing list searches for The Apache Software Foundation appear t

RE: FOP for PDF

2004-09-14 Thread Jarnot Voytek Contr AU/SC
Yes, but you'd be far better off discussing it on the FOP list... -- Voytek Jarnot "Racing makes heroin addiction look like a vague longing for something salty." - Peter Egan > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 14, 2004 3:0

RE: C:out and LazyValidatorActionForm

2004-09-14 Thread Kris Schneider
The Struts tags are BeanUtils-enabled, so should work... Quoting "Seaman, Sloan" <[EMAIL PROTECTED]>: > That's what I thought. > > I even tried LazyValidatorActionMap but that didn't seem to do it either... > > Ah well... > > -- > Sloan > > > -Original Message- > From: Kris Schneide

Re: Off Topic Post Air Time vs. Struts Answers

2004-09-14 Thread Terry Roe
Geeta, I, too, am disappointed that none of the mailing list searches for The Apache Software Foundation appear to work. Given the fact that one "should not" post a question until one has attempted a thorough search for an answer, it seems utterly ridiculous that you can't do a search through

FOP for PDF

2004-09-14 Thread Jirole, Amar
I am planning to use fop for rendering my objects in PDF. Is it production ready. Does anyone have any experience either way? Thanks in Advance -Original Message- From: Matthias Wessendorf [mailto:[EMAIL PROTECTED] Sent: Thursday, September 02, 2004 8:06 AM To: 'Struts Users Mailing List'

RE: C:out and LazyValidatorActionForm

2004-09-14 Thread Seaman, Sloan
That's what I thought. I even tried LazyValidatorActionMap but that didn't seem to do it either... Ah well... -- Sloan -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 14, 2004 3:53 PM To: Struts Users Mailing List Subject: Re: C:out and LazyV

Re: Validation for Two Levels of Indexed Properties

2004-09-14 Thread Matt Bathje
Might I suggest (to everybody, not just Terry) that when you come up with a solution to these or other things, you either put it into the struts wiki (http://wiki.apache.org/struts) Or do it in a generic enough manner that you can put in a bugzilla report with the new code, and it could be adde

Re: C:out and LazyValidatorActionForm

2004-09-14 Thread Kris Schneider
It's not a DynaActionForm, so it doesn't inherit the "map" property, and it doesn't appear to define one of its own: ActionForm ^ __|__ | | ValidatorForm DynaActionForm ("map" property defined here) ^ | BeanValidat

Re: Validation for Two Levels of Indexed Properties

2004-09-14 Thread Terry Roe
Hubert, I'd LOVE to be able to work on creating some nested indexed property validation code! However, I am lone developer working on a "not small" multi-tier application. I have to write almost all the code (I have some part-time help) from front to back, so I have zero extra time for "fun s

Re: Validation for Two Levels of Indexed Properties

2004-09-14 Thread Terry Roe
Jonathan, Yes, I would be very interested in learning more about number one on the list (handle nested indexed lists). I'd also like to know if she ever looked into JavaScript validation of indexed properties. That's another item that I've posted here. I did receive a response that it is bas

C:out and LazyValidatorActionForm

2004-09-14 Thread Seaman, Sloan
I'm trying to use c:out to display the contents of a form bean that is of type: I set a form value like so: DynaBean df = (DynaBean)_form; df.set("accessionDate", new java.util.Date()); I thought that doing a would do it but I keep getting an error that it can't find .map How do I go about g

Re: Validation for Two Levels of Indexed Properties

2004-09-14 Thread jmoran
Hello, One of my co-workers was looking into something like this and was not able to find a solution. She ended up modifying commons-validator. Below is a copy and paste from her cvs commit for Field.java 1. handle nested indexed lists 2. continue validating until all errors have been found -

Re: Trying to come up with a Mapping-Dispatch combo Action

2004-09-14 Thread Kris Schneider
You mean the thing that starts " and are great for generating URLs to be used by JavaScript code that needs to interact with web apps. One of the reasons they're so useful is that they have built-in support for URL rewriting (encoding of session info). BTW, in an earlier note, Rick was thinking of

Re: Validation for Two Levels of Indexed Properties

2004-09-14 Thread Hubert Rabago
Well, it's good to know you already have a solution working. Just fyi, my guess on the two layers not being supported is based on the example on http://struts.apache.org/userGuide/dev_validator.html#validwhen : test ((orderLines[].partNumber == null) or (*

RE: Off Topic Post Air Time vs. Struts Answers

2004-09-14 Thread Geeta Ramani
Hi Nick/all: This may be relevant to this topic, but the "Search" feature for the Struts archives seems to be broken..? I just get a "Text search not available for this list" regardless of what I do/how I search. I used this link: http://mail-archives.apache.org/eyebrowse/[EMAIL PROTECTED] s.apac

Re: Off Topic Post Air Time vs. Struts Answers

2004-09-14 Thread Michael McGrady
Nick Heudecker wrote: Terry: I agree with you that struts-user is mostly noise, although you phrased it much better than I did. I know it's frustrating to have your question go unanswered, but I really don't think it's intentional. There is so much cruft on this list, with the same questions aske

Re: Off Topic Post Air Time vs. Struts Answers

2004-09-14 Thread Nick Heudecker
Terry: I agree with you that struts-user is mostly noise, although you phrased it much better than I did. I know it's frustrating to have your question go unanswered, but I really don't think it's intentional. There is so much cruft on this list, with the same questions asked repeatedly, that yo

Re: Validation for Two Levels of Indexed Properties

2004-09-14 Thread Terry Roe
Hubert, Thank you for your response. At present, I am using the Validator for my first level of indexed properties and custom validation for the second level. I'd really like to use the Validator for everything as it makes it much easier for maintenance and makes the code clearer when you don

Re: Trying to come up with a Mapping-Dispatch combo Action

2004-09-14 Thread Michael McGrady
Kris Schneider wrote: I'm guessing David's getting at how to properly construct a request-time value for a tag attribute. If you're using a scripting expression, everything must be contained within "<%=" and "%>". If you're using an EL-enabled tag, then you can do something like: "/${action}.do" (a

Re: Trying to come up with a Mapping-Dispatch combo Action

2004-09-14 Thread Kris Schneider
I'm guessing David's getting at how to properly construct a request-time value for a tag attribute. If you're using a scripting expression, everything must be contained within "<%=" and "%>". If you're using an EL-enabled tag, then you can do something like: "/${action}.do" (assuming "action" is a

Re: Validation for Two Levels of Indexed Properties (was: Off Topic Post Air Time vs. Struts Answers)

2004-09-14 Thread Hubert Rabago
Terry, I share your concern about OT messages drowning out valid Struts questions. However, in this particular case, it could be a matter of not a whole lot of people having experience with the problem. For the situation you have, I have to say I just avoided it when I encountered it. At the ti

Struts Validator with DispatchAction...help!...newbie

2004-09-14 Thread O. Oke
Can anyone please tell me how to use the Struts Validator with DispatchAction. This article in bugzilla does not seem to deal with the issue: http://issues.apache.org/bugzilla/showattachment.cgi?attach_id=8633 Thank you. Ola _

Re: Trying to come up with a Mapping-Dispatch combo Action

2004-09-14 Thread Michael McGrady
Rick and David, DAVID I cannot see what you are getting at, David. What is the problem? I ran your code without incident. I assume that the result is what Rick wants. Please state what you think the problem is. Apparently you don't think the problem is JavaScript will have to run taglib cod

Re: Advantages of J2EE w. Struts vs .NET ASP.NET

2004-09-14 Thread Vic
Frank Zammetti wrote: Yep, tie-in to Windows is I think clearly the one big disadvantage to .Net. And here is a day in a life of Java RiA: http://madbean.com/blog/2004/17/totallygridbag.html C# Express does not look so bad. Go Mono! .V -- Please post on Rich Internet Applications User Interface

RE: Trying to come up with a Mapping-Dispatch combo Action

2004-09-14 Thread Durham David Contr 805 CSPTS/SCE
> Please correct me if I am wrong, but I think that you think that somehow > the is going to show up in the > response object and be present in the JavaScript on the page, which > would be bad. However, that is not the case. What shows up on the page > is the result of . The JSP page is > going

Off Topic Post Air Time vs. Struts Answers

2004-09-14 Thread Terry Roe
Greetings, I find it interesting that most of the recent activity on this mailing list has to do with items such as .NET, AOP, Flash, Crystal Reports, and even Notepad! I don't mind the off topic posts, as they are usually at least tangentially related to the topic of this list and are interest

Re: please wait page... like NWA.com

2004-09-14 Thread Yves Sy
The "threading stuff" only sounds intimidating but its actually simple. In the execute() method of your action class, all you need to do is go something like: new Thread() { public void run() { //your processing logic Business.processWhatever(); //place flag in sess

Re: Trying to come up with a Mapping-Dispatch combo Action

2004-09-14 Thread Rick Reumann
Durham David Contr 805 CSPTS/SCE wrote the following on 9/14/2004 10:05 AM: Considering that "action" was a parameter passed to a javascript function... Here's the original code: function swapAction( formName, action) { formAction = document.getElementById( formName ).action; newAction =

Re: please wait page... like NWA.com

2004-09-14 Thread Andrew Close
On Tue, 14 Sep 2004 18:45:47 +0200, Håkon T Sønderland <[EMAIL PROTECTED]> wrote: > OK, thanks, I think I understood that. > However, does not this page then stay up there even after the action is > completed and you go to your result page? > > My problem is that the struts page I'm developing is

Re: [CURIOUS-OT] 44 bytes in notepad txt file

2004-09-14 Thread Terry Roe
Henrique, I saved the file as Unicode from Notepad and it restored the text just fine when I reopened it in Notepad. TR Henrique VIECILI wrote: Hi guys, today i was creating a single file with a single property on it and got this strange behavior: 1. Opened notepad.exe 2. Wrote this line: html.s

Re: Trying to come up with a Mapping-Dispatch combo Action

2004-09-14 Thread Michael McGrady
Don't worry, David, this is a list for exchanging ideas. Yours are appreciated. However, I think you are mistaken in this instance. I am fairly sure that is the case, since this code has been run and works. Please correct me if I am wrong, but I think that you think that somehow the is go

RE: Advantages of J2EE w. Struts vs .NET ASP.NET

2004-09-14 Thread Frank Zammetti
1. java is free so learning it as a student was cheaper (well, legally anyway!) .Net is free as well. You can go download the SDK, same as with Java, and off you go. True, VS.Net costs, but VS.Net is NOT .Net. The one point that is absolutely true though is that .Net only runs on Windows, henc

Re: please wait page... like NWA.com

2004-09-14 Thread Håkon T Sønderland
Wayne Fuller wrote: On Tue, 14 Sep 2004 17:05:58 +0200, Håkon T Sønderland <[EMAIL PROTECTED]> wrote: Sorry for being a complete clueless newbie, but could you expand a bit on this? I don't have the concepts quite clear enough to understand what you mean. Thanks, Håkon That's quite alright, no ne

RE: Advantages of J2EE w. Struts vs .NET ASP.NET

2004-09-14 Thread Daniel Perry
Having been exposed to both .NET and java i have to say i've prefered java. My main reasons are: 1. java is free so learning it as a student was cheaper (well, legally anyway!) 2. the amount of free stuff out there for java. There is soo much available! Show this to most .NET developers and t

Re: please wait page... like NWA.com

2004-09-14 Thread Wayne Fuller
On Tue, 14 Sep 2004 17:05:58 +0200, Håkon T Sønderland <[EMAIL PROTECTED]> wrote: > Sorry for being a complete clueless newbie, but could you expand > a bit on this? I don't have the concepts quite clear enough to > understand what you mean. > > Thanks, > Håkon That's quite alright, no need to a

Re: Advantages of J2EE w. Struts vs .NET ASP.NET

2004-09-14 Thread Vic
Agreed. The only "advancment" is past was applet, now it's Web Start. .V Pilgrim, Peter wrote: -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Vic Sent: 14 September 2004 14:48 To: [EMAIL PROTECTED] Subject: Re: Advantages of J2EE w. Struts vs .NET ASP.NET Pilgrim, Peter

Re: please wait page... like NWA.com

2004-09-14 Thread Yves Sy
One way to do this is: 1. Start a thread on your search action that does the actual retrieval and processing of the data. At the end of the thread's execution, place a flag in the session that you will check for later on to see if the search/processing is done. 2. Right after starting the thread,

RE: Advantages of J2EE w. Struts vs .NET ASP.NET

2004-09-14 Thread Pilgrim, Peter
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of Vic > Sent: 14 September 2004 14:48 > To: [EMAIL PROTECTED] > Subject: Re: Advantages of J2EE w. Struts vs .NET ASP.NET > > > Pilgrim, Peter wrote: > > > > The trouble with RIA is that there is no universal defacto >

AW: Kind of out of topic, but... AOP in j2ee

2004-09-14 Thread Gleichmann, Mario
Hi Leandro, JBoss AOP is another source (http://www.jboss.org/products/aop) where you could find some ideas about 'AOP in J2EE'... One interesting feature is the Posibility to declare some Annotations (check the new Sun's Tiger Release for more information about Metadata/annotations - http://java.

Re: please wait page... like NWA.com

2004-09-14 Thread Håkon T Sønderland
Wayne Fuller wrote: The way we have implemented it is with javascript. You set the href for the window and then submit the form. Sorry for being a complete clueless newbie, but could you expand a bit on this? I don't have the concepts quite clear enough to understand what you mean. Thanks, Håkon

Re: please wait page... like NWA.com

2004-09-14 Thread machemc
Would something like this work if you put an img reference in the "please wait" page, that actually did the search process, and put its results in a session object, before returning an image to the page? Then the page could have an onLoad function to bounce to the results display page, which pu

Re: please wait page... like NWA.com

2004-09-14 Thread Wayne Fuller
On Tue, 14 Sep 2004 09:32:16 -0500, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Northwest airlines (www.nwa.com) and other similar sites have a very nice > "Please wait/searching" page concept. When searching for a flight, it > sends you to a Please Wait/searching page that continues to load un

RE: BeanUtils Class Cannot Be Found!

2004-09-14 Thread VAN BROECK Jimmy
This means that this library isn't on your classpath when your compiling your application. When you are compiling, the compiler isn't automagically including the WEB-INF/lib dir, because he doesn't know you are developping a webapp. If you are using an ide try setting in your project options, t

please wait page... like NWA.com

2004-09-14 Thread tj . herring
Northwest airlines (www.nwa.com) and other similar sites have a very nice "Please wait/searching" page concept. When searching for a flight, it sends you to a Please Wait/searching page that continues to load until the search has finished. (Sorry it is hard to describe... it's easier to just chec

Re: Kind of out of topic, but... AOP in j2ee

2004-09-14 Thread Leandro Melo
Thanks vic! --- Vic <[EMAIL PROTECTED]> escreveu: > > You should check out Spring Framework. One of their > major features is > AOP so check there on that. > > (I like your idea about agents (check > managebility.org, click open > source and find agents) and design paters book by > GoF. For

  1   2   >