Re: Re: Re: [Gmail] - All gone,

2004-09-13 Thread Bharathiraja
please send an GMAIL invitation. regards, Bharathiraja.T - Original Message - From: [EMAIL PROTECTED] To: Struts Users Mailing List Sent: Tuesday, September 14, 2004 11:37 AM Subject: Re: Re: Re: [Gmail] - All gone, I have three...any takers? Puneet Agarwal Tata

Still: Blank pages after three submits

2004-09-13 Thread Karsten Krieg
Hi List! No ideas on the topic below? There are two similar bugs in the struts-faces buglist, both of them unresolved. So I suppose I'm not the only one with this eraneous behaviour. It is, as far as I can tell, directly linked to tiles and tags-faces. Thanks alot for your time. Karsten Krieg --

Re: BeanUtils Class Cannot Be Found!

2004-09-13 Thread Andrew Hill
The error is run-time or compile-time? Caroline Jen wrote: I have the commons-beanutils.jar file in my AppName\WEB-INF\lib directory. And I have this statement: import org.apache.commons.beanutils.BeanUtils; in my .java class. Why do I get the error message that the BeanUtils class cannot be found

Re: detecting form data changes?

2004-09-13 Thread Andrew Hill
Generate a digest (ie: MD5) of those properties in the actionForm that you are watching, and render this to a hidden field in your JSP. When the form is submitted compare this digest to a digest of these fields generated after submission and if different you know that something has changed. Wo

Re: Re: Re: [Gmail] - All gone,

2004-09-13 Thread Jitender K Chukkavenkata
Hi Hari, Thanks for sending me the gmail invitation. Jitender Kumar C.V.

Re: SPAM-LOW: Re: Re: [Gmail] - All gone,

2004-09-13 Thread Jitender K Chukkavenkata
Return Receipt Your Re: SPAM-LOW: Re: Re: [Gmail] - All gone, document :

Re: SPAM-LOW: Re: Re: [Gmail] - All gone,

2004-09-13 Thread Bharathiraja
hi Hari, I am happy to receive your GMAIL invitation.Please send me an invitation. regards, Bharathiraj.T - Original Message - From: "Hari Haran" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>; "Big Chiz" <[EMAIL PROTECTED]> Sent: Tuesday, September 14, 2004 1

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

2004-09-13 Thread Jitender K Chukkavenkata
Return Receipt Your Re: SPAM-LOW: [OT] Gmail invites, 2 available. document :

crystal report10

2004-09-13 Thread kevin.huang
how to call the rpt of crystal report10 in action of struts ? couly anyone give a sample code, thanks very much !! Regards kevin

RE: Re: Re: [Gmail] - All gone,

2004-09-13 Thread Sachin Bhutada
hi puneet, Can you send me the invitation of GMAIL ? sachin xoriant, mumbai -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 14, 2004 11:38 AM To: Struts Users Mailing List Subject: Re: Re: Re: [Gmail] - All gone, I have three...any taker

Re: Re: Re: [Gmail] - All gone,

2004-09-13 Thread puneet . a
I have three...any takers? Puneet Agarwal Tata Consultancy Services Limited Mailto: [EMAIL PROTECTED] Website: http://www.tcs.comDISCLAIMER: The information contained in this message is intended only and solely for the addressed individual or entity indicated in this message and for the excl

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

2004-09-13 Thread Bharathiraja
Hi Peng, I am happy to receive your mail regarding GMAIL invites.Please invite me . regards, Bharathiraja.T INDIA - Original Message - From: "Peng Tuck Kwok" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, September 14, 2004 6:04 AM Subject: SPA

Re: Re: Re: [Gmail] - All gone,

2004-09-13 Thread Hari Haran
I have sent the invitation to [EMAIL PROTECTED] ok guys it was gr8 giving away gmail invitations. Lets get back to work now! On Tue, 14 Sep 2004 08:56:37 +0200, Karsten Krieg <[EMAIL PROTECTED]> wrote: > > Hi! > > If you've one left, I'd gladly take it! > > Thanks > Karsten Krieg > >

Re: Re: Re: [Gmail] - All gone,

2004-09-13 Thread Karsten Krieg
Hi! If you've one left, I'd gladly take it! Thanks Karsten Krieg On 14.09.2004 06:48:58 Hari Haran wrote: >I have 6 more to go , and have decided all will be given to struts users groups. >so guys mail me fast. > >-Hari > > >On Tue, 14 Sep 2004 10:01:42 +0800, Big Chiz <[EMAIL PROTECTED]> wrote

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

2004-09-13 Thread Michael McGrady
Last try. Sorry about the noise:Rick Generic Action Solution | | ---|--- to updateFooBar.do of some GenericAction class. | --| Michael Generic Taglib Solution | | A: Solution Facade Interface: ---| |---B: Solution Implementation:

Need example of using DynaActionForm with ArrayList (1.1)

2004-09-13 Thread Antony Paul
Hi all, Sorry if it is a repost. Using Struts 1.1. I have an ActionForm in which displays an array of items. I want to use DynaValidatorForm here which uses ArrayList as property holders. I am able to pre-populate the form. I have trouble in displaying the values and on submission noth

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

2004-09-13 Thread Michael McGrady
Hoping this comes out better: Rick Generic Action Solution --| | ---|--- to updateFooBar.do of some GenericAction class. | --| Michael Generic Taglib Solution | | A: Solution Facade Interface: ---| |---B: So

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

2004-09-13 Thread Vic
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 example CoR patern is major part of Struts "2.0" code in CVS. You can p

Re: Re: [Gmail] - All gone,

2004-09-13 Thread Hari Haran
I have 6 more to go , and have decided all will be given to struts users groups. so guys mail me fast. -Hari On Tue, 14 Sep 2004 10:01:42 +0800, Big Chiz <[EMAIL PROTECTED]> wrote: > chk ur mail > > On 13 Sep 2004 07:47:45 -, vineesh . kumar > > > <[EMAIL PROTECTED]> wrote: > > Dear sir

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

2004-09-13 Thread Michael McGrady
Rick Reumann wrote: Some comments below... Michael McGrady wrote the following on 9/13/2004 5:40 PM: Yes, that is a slight benefit (which is the same benefit of using the regular DispatchAction), however, the slight cost of having to rely on the struts-config for deciding what dispatch method is

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

2004-09-13 Thread Leandro Melo
Hi, sorry for the kind of out of topic message, but i'm looking for some information that developers like the ones in this list may help me a little. I'm applying for a master degree (M.sC) and i need to have a project sumary, something like a "project idea" for start up. I've heard a lot about A

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

2004-09-13 Thread Michael McGrady
Rick Reumann wrote: Some comments below... Michael McGrady wrote the following on 9/13/2004 5:40 PM: Thanks for your comments below. It has helped clarify things. Your approach is pretty nice but in the above how would you be able to use this same Action for regular links? It seems like you have

Re: Fw: Iterate not work

2004-09-13 Thread mail
Hi, try to set the attribute in your page context: pageContext.setAttribute("qq", serverNames); This should do you the trick. Chris MaFai wrote: > > DearAll: > Alwaysthrowthefollowingexception > org.apache.jasper.JasperException:Cannotfindbeanaainanyscope > Here'sthecode >

Fw: Iterate not work

2004-09-13 Thread MaFai
Dear All:   Always throw the following exception org.apache.jasper.JasperException: Cannot find bean aa in any scope    

BeanUtils Class Cannot Be Found!

2004-09-13 Thread Caroline Jen
I have the commons-beanutils.jar file in my AppName\WEB-INF\lib directory. And I have this statement: import org.apache.commons.beanutils.BeanUtils; in my .java class. Why do I get the error message that the BeanUtils class cannot be found? ___ Do

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

2004-09-13 Thread Vic
THANKS again, great thread. .V Frank Zammetti wrote: With that comment I was really thinking of EJBs. I'm of the opinion that EJBs in many cases are not worth the trouble (maybe even most cases). That's always a hotly-debated opinion, people argue strongly for and against EJBs all the time. H

Re: Re: [Gmail] - All gone,

2004-09-13 Thread Big Chiz
chk ur mail On 13 Sep 2004 07:47:45 -, vineesh . kumar <[EMAIL PROTECTED]> wrote: > Dear sir, > can u help me on getting a gmail account? > vinu > > On Mon, 13 Sep 2004 Emmanouil Batsis wrote : > > > >Ruben Cepeda wrote: > > > >>Guys, > >> > >>I just ran out. > > > > > >No you didn't

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

2004-09-13 Thread Frank Zammetti
With that comment I was really thinking of EJBs. I'm of the opinion that EJBs in many cases are not worth the trouble (maybe even most cases). That's always a hotly-debated opinion, people argue strongly for and against EJBs all the time. However, when you start talking about a truly distribu

Re: [OT] Gmail invites, 2 available.

2004-09-13 Thread Benny Ng
Hi all, I have 6 invites to give away to peoples on the list as well. Send your first and last name to me. Cheers, Benny Ng On Tue, 14 Sep 2004 08:34:25 +0800, Peng Tuck Kwok <[EMAIL PROTECTED]> wrote: > Hi list, > I have 2 invites to give away to ppl on the list, so if anybody needs > a G

Re: [OT] Gmail invites, 2 available.

2004-09-13 Thread Peng Tuck Kwok
Hi list, The 2 invites have already been given away to ppl on the list. On Tue, 14 Sep 2004 08:34:25 +0800, Peng Tuck Kwok <[EMAIL PROTECTED]> wrote: > Hi list, > I have 2 invites to give away to ppl on the list, so if anybody needs > a Gmail account, just drop me a line. > > Thanks. > -

[OT] Gmail invites, 2 available.

2004-09-13 Thread Peng Tuck Kwok
Hi list, I have 2 invites to give away to ppl on the list, so if anybody needs a Gmail account, just drop me a line. Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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

2004-09-13 Thread Bill Siggelkow
Frank, I appreciate the honest opinions ... unfortunately, even-handed honest opinions tend to be rare when it comes to this discussion. - Bill Siggelkow Frank Zammetti wrote: As someone who is 98% a J2EE developer but has done two reasonably complex .Net web projects... Forget comparing the two

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

2004-09-13 Thread kjc
I'll pitch in with a response to Frank's opinions. BTW, this was a well thought out Mr. Spock like summary by Frank. IMHO, I can sum up the ease of .NET development with one sentence. ALL MS. It's much easier to make things easier when you have only ONE target environment. So, the tools, the lang

Re: tag

2004-09-13 Thread Rick Reumann
andy wix wrote the following on 9/13/2004 12:49 PM: I have an interface containing all my field size definitions and wish to use this info for setting the size of tags, so that I don't have this hardcoded. I get an error saying that this tag won't accept expressions if I do it the 'old fashione

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

2004-09-13 Thread Vic
Thanks so much Frank Can you exapand on this just a bit on what you said: ">J2EE might have the edge in terms of developing distributed > applications, although I will say that my opinion is that even today > with all the strides that have been made over the past year, .Net is > still a superio

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

2004-09-13 Thread Michael McGrady
Durham David Contr 805 CSPTS/SCE wrote: From: Michael McGrady [mailto:[EMAIL PROTECTED] Why don't you think this will work, Dave? Why would the serverside script care that there was client side script? This looks okay to me. Well, if you look at this line: newAction = ''; It looks like Ja

RE: detecting form data changes?

2004-09-13 Thread Frank Zammetti
I don't think there's any *easy* answer, but let me offer up some possibilities... (1) Start the process on the server to do the work. Immediately return a page that has a Javascript refresh (or a meta refresh) that calls another job on the server to check the status and return the same waitin

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

2004-09-13 Thread Rick Reumann
Durham David Contr 805 CSPTS/SCE wrote the following on 9/13/2004 6:42 PM: What about cookies? I'm not trying to be a jerk (that's a difficult task for me, btw), but I'd like to point out that this logic exists within the Struts framework, and replicating it in JavaScript would be, well, replicati

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

2004-09-13 Thread Frank Zammetti
As someone who is 98% a J2EE developer but has done two reasonably complex .Net web projects... Forget comparing the two for a moment and just look at .Net by itself... There's not too much bad to say about it on it's own. Microsoft has frankly put out something that is technically a fine piece

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

2004-09-13 Thread Durham David Contr 805 CSPTS/SCE
> It works fine and it's not a 'true' mix of server-side scripting. I > could avoid the use of the Considering that you passed the "action" to be re-written to a JavaScript function, yeah it's a true mix. :) > but didn't want to hardcode > the context name. I could do away with that tag and ju

RE: How to implement Custom webapp classloader? [OT]

2004-09-13 Thread Durham David Contr 805 CSPTS/SCE
> And, a lawyer might... and only after the damage was done. IP > is best protected by continually improving ones product, not > with lawyers. You should put "damage" in quotes. Furthermore, I would quote the P in I"P." When did ideas become property? ... if we're talking about brain cells.

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

2004-09-13 Thread Rick Reumann
Durham David Contr 805 CSPTS/SCE wrote the following on 9/13/2004 3:13 PM: function swapAction( formName, action) { formAction = document.getElementById( formName ).action; newAction = ''; I don't think this will work, and I find it ironic that you literally mixed client-side and server-si

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

2004-09-13 Thread Durham David Contr 805 CSPTS/SCE
> From: Michael McGrady [mailto:[EMAIL PROTECTED] > > Why don't you think this will work, Dave? Why would the serverside > script care that there was client side script? This looks okay to me. Well, if you look at this line: newAction = ''; It looks like JavaScript is being used to genera

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

2004-09-13 Thread Rick Reumann
Some comments below... Michael McGrady wrote the following on 9/13/2004 5:40 PM: The following class works fine: public abstract class CrackWillowLookupDispatchAction extends DispatchAction { public ActionForward execute( ActionMapping mapping, ActionForm form,

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

2004-09-13 Thread Michael McGrady
Durham David Contr 805 CSPTS/SCE wrote: function swapAction( formName, action) { formAction = document.getElementById( formName ).action; newAction = ''; I don't think this will work, and I find it ironic that you literally mixed client-side and server-side scripting. Still, I see what

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

2004-09-13 Thread Michael McGrady
I am enjoying the discussion as well. I can see that your schedule and my attempting to say too much are confusing things. Let me also clarify a couple things so we are clear what we each are saying. Then I will address the bigger issues. The following class works fine: public abstract cl

RE: Page refresh

2004-09-13 Thread meena r
David, I am not able to figure out the following: Let us say I have a page A.jsp in which I have a hidden iframe called B.jsp. Now this page A.jsp has the select onchange call which in turn sets some values in the form present in the hidden iframe B.jsp and submits the form in the iframe B.jsp.

RE: How to implement Custom webapp classloader? [OT]

2004-09-13 Thread Jim Barrows
> -Original Message- > From: Greg Ludington [mailto:[EMAIL PROTECTED] > Sent: Monday, September 13, 2004 12:08 PM > To: Struts Users Mailing List > Subject: Re: How to implement Custom webapp classloader? [OT] > Importance: High > > > > > nothing is going to stop the user from accessing

Re: How to implement Custom webapp classloader? [OT]

2004-09-13 Thread Jason King
What compression do you use to stuff a laywer into a JAR? :) I've always thought the Dahmer method was best, but there's some things even HE wouldn't eat! Greg (Forgive the Friday-style comment on a Monday...) - To unsubscri

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

2004-09-13 Thread Durham David Contr 805 CSPTS/SCE
> function swapAction( formName, action) { > formAction = document.getElementById( formName ).action; > newAction = ''; I don't think this will work, and I find it ironic that you literally mixed client-side and server-side scripting. Still, I see what you're going for, and I myself hav

Re: How to implement Custom webapp classloader? [OT]

2004-09-13 Thread Greg Ludington
> > nothing is going to stop the user from accessing the JAR file > > directly and decompiling it if they want to :-). > > A lawyer might ... What compression do you use to stuff a laywer into a JAR? :) Greg (Forgive the Friday-style comment on a Monday...)

Re: tag

2004-09-13 Thread Bill Siggelkow
That's odd because according the doco on html:text and the TLD you can use a RTEXPR on the 'size' attribute. andy wix wrote: Hi, I have an interface containing all my field size definitions and wish to use this info for setting the size of tags, so that I don't have this hardcoded. I get an er

RE: How to implement Custom webapp classloader? [OT]

2004-09-13 Thread Durham David Contr 805 CSPTS/SCE
> From: Craig McClanahan [mailto:[EMAIL PROTECTED] > > nothing is going to stop the user from accessing the JAR file > directly and decompiling it if they want to :-). A lawyer might ... - Dave - To unsubscribe, e-mail: [EM

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

2004-09-13 Thread Rick Reumann
(not commenting below, just up top on this) In reference to your first comment: > I think that what appears to be a model emphasis for the > solution in your [rick's] approach is bound to fail. Further, making > the > solution view based frees the model to be built for performance, which > is why

Re: the real world is always dirtier

2004-09-13 Thread Dan Allen
As always, Jim and Craig, you have been a tremendous help in pointing me in the correct direction. Your responses definitely do not go unread. I have studied, and will continue to review, your comments so that I can be sure to inject best practices and good engineering into this system. Many of

Re: the real world is always dirtier

2004-09-13 Thread James Mitchell
Frames -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: "Woodchuck" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>; "Craig McClanahan" <[EMAIL PROTECTED]> Sent: Monday, September 13

Re: the real world is always dirtier

2004-09-13 Thread Woodchuck
hihi! but theoretically, isn't it impossible to have more than one request at any single point in time? i'm trying to picture simultaneous requests for the same session, but i can't see it... :p when you say simultaneous requests for the same session do you mean: - the user has logged into the

Re: the real world is always dirtier

2004-09-13 Thread Michael McGrady
WITHIN: Michael McGrady My thought would be to initialize a state object and put it in either the http session or a session bean and then each page can work with this state object as a general filter when executing business logic. This way, each form and link will be just the core data needed

detecting form data changes?

2004-09-13 Thread Woodchuck
hihi all, what is the best way to detect changes on a form without using any client side methods? i have a very typical requirement to implement something that could warn the user that they made changes to the form but have not saved yet these changes yet. is the only way to do this by keeping

RE: FileUploadException: Stream ended unexpectedly

2004-09-13 Thread Björn Ingimundarson
Yes that is pretty much what I wan't to do, but I seem to be unable to reach this FileUploadException and make sure it is only handled the way I want it to be handled... -- Björn Ingimundarson > -Original Message- > From: Björn Ingimundarson [mailto:[E

tag

2004-09-13 Thread andy wix
Hi, I have an interface containing all my field size definitions and wish to use this info for setting the size of tags, so that I don't have this hardcoded. I get an error saying that this tag won't accept expressions if I do it the 'old fashioned' way with a scriptlet expression (i.e., size=

Re: the real world is always dirtier

2004-09-13 Thread Craig McClanahan
On Mon, 13 Sep 2004 12:08:06 -0400, Brantley Hobbs <[EMAIL PROTECTED]> wrote: > > Some platforms don't allow sessions to be available to each machine in a > cluster, most notably the web "platform" (I use the term loosely) found > to be in widespread use by a certain large unnamed software company

Re: How to implement Custom webapp classloader? [OT]

2004-09-13 Thread G Q
Hi Craig, Thanks for taking the time to reply. Yes, the plan is to distribute the WAR file to the customer. I did try obfuscating it with "RetroGuard" but then I decompiled it with "JAD" and noticed that the method names and such changed but for the most part it still seemed readable. Yes, you a

Re: the real world is always dirtier

2004-09-13 Thread Craig McClanahan
See intermixed. On Mon, 13 Sep 2004 11:34:17 -0400, Dan Allen <[EMAIL PROTECTED]> wrote: > This nice thing about examples is that they are so clean and pretty. > The real world just hands you a shovel and says "Start moving this > horse crap." > > I have an application in which there are a handf

RE: FileUploadException: Stream ended unexpectedly

2004-09-13 Thread Jim Barrows
> -Original Message- > From: Björn Ingimundarson [mailto:[EMAIL PROTECTED] > Sent: Monday, September 13, 2004 9:34 AM > To: [EMAIL PROTECTED] > Subject: FileUploadException: Stream ended unexpectedly > > > I´m getting this exception in my logs when a user tries to > upload a large > f

Re: How to implement Custom webapp classloader? [OT]

2004-09-13 Thread Craig McClanahan
Are you distributing the WAR file to your customer, or does your customer just run the app on your server? In the former case, the only way to do this would be to modify the customer's servlet container; something they would be very unlikely to let you do. In the latter case, the user can't downl

FileUploadException: Stream ended unexpectedly

2004-09-13 Thread Björn Ingimundarson
I´m getting this exception in my logs when a user tries to upload a large file and cancels by pressing the stop or back button. I'm catching this exception in Global Exceptions and just returning the user to the upload form, which works fine except I´m still gettin the exception stack trace in

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

2004-09-13 Thread Vic
And of course... there's a little thing could profit. Keep your hands of my stash. W/ any O/S, I get better quality and keep more of my penies, important for profesional developers. But specificaly, I have not used VB or C# Express, so it's hard for me to compare detials. It be great to hear f

RE: the real world is always dirtier

2004-09-13 Thread Brantley Hobbs
>You're manager may be an idiot on this... depending on platform, settings >etc. Most importantly, everything you put in the session must be >serializable in order for the servers to pass around the session data. >I would also be interested in knowing why, in your case, server affinity >would be

Re: MappingDispatchAction

2004-09-13 Thread Craig McClanahan
The current JavaDocs for this class: http://struts.apache.org/api/org/apache/struts/actions/MappingDispatchAction.html will tell you that this is indeed a Struts 1.2 feature: Since: Struts 1.2 Craig On Mon, 13 Sep 2004 08:36:43 -0400, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

RE: the real world is always dirtier

2004-09-13 Thread Jim Barrows
> -Original Message- > From: Dan Allen [mailto:[EMAIL PROTECTED] > Sent: Monday, September 13, 2004 8:34 AM > To: Struts Users Mailing List > Subject: the real world is always dirtier > > > This nice thing about examples is that they are so clean and pretty. > The real world just hands

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

2004-09-13 Thread Jim Barrows
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of Anders Jacobsen > Sent: Sunday, September 12, 2004 3:01 PM > To: [EMAIL PROTECTED] > Subject: Advantages of J2EE w. Struts vs .NET ASP.NET > > > Hi > > I think this place would be a good place to good some colored >

the real world is always dirtier

2004-09-13 Thread Dan Allen
This nice thing about examples is that they are so clean and pretty. The real world just hands you a shovel and says "Start moving this horse crap." I have an application in which there are a handful of parameters that are required on each page, regardless of its content, to represent the general

How to implement Custom webapp classloader? [OT]

2004-09-13 Thread G Q
Hi, This might be OT but I would appreciate any help. The scenario I have is as follows: The application jar file is located on a remote server. When tomcat starts up, I would like to make a URL connection to the remote server and download the latest jar file and use that instead of actually plac

Re: Creating a Struts Plugin,

2004-09-13 Thread Niall Pemberton
All you have to do is create a class which implements org.apache.struts.action.PlugIn interface - it has two methods (init and destroy) http://struts.apache.org/userGuide/building_controller.html#plugin_classes then configure struts to use it in the struts-config.xml: http://struts.apache.org

Re: Validation for Two Levels of Indexed Properties

2004-09-13 Thread Matt Bathje
OK, I unfortunatley won't be very much help then. If I had to guess I would say that this is not supported, but maybe somebody else will chime in. Sorry for the lack of help. Matt Terry Roe wrote: Matt, I have several nested levels of properties on one page. First level is "plan" which has some

Re: Validation for Two Levels of Indexed Properties

2004-09-13 Thread Terry Roe
Matt, I have several nested levels of properties on one page. First level is "plan" which has some general information and also contains a collection of "phase" properties called phaseList. Each "phase" has some information associated with it, as well as containing a collection of "procedure"

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

2004-09-13 Thread Michael McGrady
SEE WITHIN: Michael McGrady Rick Reumann wrote: I hope you have a bit of time to discuss this in detail, Rick, because the amount of activity in this area is huge. I think this is one of those areas, along with looking for persistence not identical to the normal scopes, where there is continued

RE: Struts London Networking BOF #3 / 13 Sept 2004 / Venue [THE G RIF IN]

2004-09-13 Thread Pilgrim, Peter
> -Original Message- > From: Pilgrim, Peter [mailto:[EMAIL PROTECTED] This is the FINAL CALL! > Hi > > I am pleased to announce that the Third Birds of Feather Struts London > Networking is > taking place in the West End, London at "The Griffin" pub. > Event is starting > at > around 1

Creating a Struts Plugin,

2004-09-13 Thread Ruben Cepeda
Hello everyone, I am interested in writing a Plugin to load my set up my database connection pool. Just like the ArtimusServlet does in the Artimus project. In all honesty exackly like the ArtimusServlet, but am unsure as to what a is necessary to create a Struts Plugin. For example, is it re

Re: Validation for Two Levels of Indexed Properties

2004-09-13 Thread Matt Bathje
Terry - maybe I'm a dope...but can you define what you mean by multiple level? I at first though you meant the validations such as (required,intRange) but looking at it, I think I may be wrong and it means something else. A better definition of what phaseList and procedureList are, and how the

Re: creating tld(help)

2004-09-13 Thread Matt Bathje
vineesh . kumar wrote: Can someone suggest a good example of creating a jsp custom tag and using it?. Actually i want to access a vector object at the request scope and tried to write a tld and the class. my tld has the attribute name and at in the tld handling class i tried like this Ve

Re: Validator not validating

2004-09-13 Thread Magnus
Sorry, I forgot to include a code snippet from my Action ( /admin/news ) My edit method is: public ActionForward edit ( ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponseresponse ) throws Exception { Actio

Re: Validator not validating

2004-09-13 Thread Luis Urueña Frías
Hello: To perform a validation over an action, it's required to enable the validation attribute, is'n it? validate=true like follows [ some forwards ] Regards Luis Urueña Frías Oficina 101 Edificio Galileo, módulo Rojo Parque Tecnológico de Boecillo Valladolid - España -

Validator not validating

2004-09-13 Thread Magnus
Hi, I'm trying to use the Struts validator to validate some input parameters. The problem is that no matter what I do the parameters are always valid, I've tried removing newsId from the url, and it's still valid. If it makes any difference ( which I hope it doesn't ), I want to validate paramet

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

2004-09-13 Thread Rick Reumann
Hi Michael. I'm replying to his quickly before I run into work so I might not have looked these approaches over enough but here are my first impressions. First I'd like to point out that I like to keep an application as consistent as possible. That means that I like my links, my form submits,

RE: MappingDispatchAction - thanks

2004-09-13 Thread bmf5
Sachin Bhutada <[EMAIL PROTECTED] oriant.com>

Re: PlugIn/ ActionServlet init() method called 2 times in Linux

2004-09-13 Thread Joe Germuska
Can anyone pl suggest ways to initialize a struts webapp other than plugIn and extended ActionServlet. If you are using Servlet 2.3 or newer, you could use a ServletContextListener http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletContextListener.html Although from what you describe, I wou

RE: MappingDispatchAction

2004-09-13 Thread Sachin Bhutada
hi bmf5, yeah its struts1.2.2 feature. You can get the beta version of it n then add it in ur code instead of putting struts 1.2.2 jar file. sachin xoriant mumbai -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, September 13, 2004 6:07 PM To: [EMA

MappingDispatchAction

2004-09-13 Thread bmf5
I just read about this this w/e and it suits my needs perfectly. However, I can't find it in 1.1 struts.jar. Is it a 1.2 feature? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE

RE: Single sign-on

2004-09-13 Thread Pilgrim, Peter
> -Original Message- > From: Seaman, Sloan [mailto:[EMAIL PROTECTED] > Sent: 09 September 2004 13:36 > To: 'Struts Users Mailing List' > Subject: RE: Single sign-on > > > We use JNDI to hit our MS Active Directory server. > Works rather well :) > -- [[Catching up with email]] You also m

Re: Struts 1.1 and

2004-09-13 Thread James Mitchell
The action attribute was implemented just after 1.1 was released. Sorry, I know I wish it was part of 1.1 myself. It would have saved me many hacks in a few projects. You should forget about 1.2.2, there were issues found that caused us to downgrade that release to a beta (or was it alpha).a

Implementing Back, Next, and Cancel buttons in a wizard

2004-09-13 Thread Langdon Stevenson
Hi I have gotten down to the business end of implementing my wizard. I wish to use "image" buttons based on the input tag, rather than Submit and Cancel version. I have looked at, and experimented with the Struts custom tag. It allows me to use images of my choice for the buttons to make th

Re: Frame problem using Struts

2004-09-13 Thread Sebastian Ho
Sorry but I don't understand where is the 'dynamic targetting'. From the example, don't we need to hard code the setDynamicTarget(XX) in the JSP? But I won't know the taget to set at that time.. Sebastian Ho On Mon, 2004-09-13 at 16:33, Bj wrote: > Here is an example of dynamic targeting :-) > B

RE: PlugIn/ ActionServlet init() method called 2 times in Linux - resolved

2004-09-13 Thread Uma Yarakaraju
Hi Sachin & others, I have resolved the problem. The problem was not in any code but due to a different configuration we had in the tomcat/conf/server.xml for some other feature. Becoz of this the applications were being initialized two times each. Now I am using the same old InitPlugIn code and

Re: Frame problem using Struts

2004-09-13 Thread Bj
Here is an example of dynamic targeting :-) By default, the target will be '_self' but depending on the clicked button, you can change the target to '_top','_parent',..., a frame name or any opended window. Your Action will forward your path (succes, failure,...) to the corresponding target wind

RE: PlugIn/ ActionServlet init() method called 2 times in Linux

2004-09-13 Thread Uma Yarakaraju
Hi Sachin, Thanks a lot for your reply. But creating another servlet for initialization doesn't work still. Tomcat is initializing that servlet also twice on Linux and only once on windows. Below is my class that extends HttpServlet: import javax.servlet.http.*; import javax.servlet.*; publi

Custom jsp tags

2004-09-13 Thread vineesh . kumar
I want to create a cudtom jsp tag which accesses a Vector object in the request scope and displays it in a specified format. So i wrote a tld with a single attribute name and my setName method looks like private String name; public void setName(String name) { this.name=name; } and i tried

Re: Frame problem using Struts

2004-09-13 Thread Sebastian Ho
When you say depending on the clicked button, are u assuming that there are >1 button. I only have one button in the frame. The behaviour is coded in actino class. If this is not what u meant, some pointers or example will be appreciated. thanks sebastian On Mon, 2004-09-13 at 15:26, Benjamin L

Re: Re: [Gmail] - All gone,

2004-09-13 Thread vineesh . kumar
Dear sir, can u help me on getting a gmail account? vinu On Mon, 13 Sep 2004 Emmanouil Batsis wrote : >Ruben Cepeda wrote: > >>Guys, >> >>I just ran out. > > >No you didn't. I already have one so I'm not going to use your invitation... thanks! > > >Manos > >

  1   2   >