Re: Multi-channels tiles

2006-03-23 Thread Antonio Petrelli
tonny bruckers ha scritto: Does any one have a working example of the use of tiles multi-channels by implementing the org.apache.struts.tiles.DefinitionsFactory interface? Dimensions uses FactorySet to use the multi-channel facility of Tiles. http://mutidimensions.sf.net/ Ciao Antonio

Regards ajax

2006-03-23 Thread gomathi
Hi I want to use ajax in my java application.How to use it. Any samples for one jsp page that contains some fields. Kindly Regards gomes - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Regards ajax

2006-03-23 Thread David Delbecq
Take a look at the dwr framework. It allows you to easily map server object request to local forms / div It's prety easy to use, and convert server dwr exposed objects to javascript object, with similar method names. It pretty looks from javascript point of view like having an asynchronous version

[OT] Re: Regards ajax

2006-03-23 Thread Antonio Petrelli
gomathi ha scritto: Hi I want to use ajax in my java application.How to use it. Any samples for one jsp page that contains some fields. Kindly Regards gomes http://www.ajaxian.com/resources/ Go to Java based section Ciao Antonio

Re: Validation Problem

2006-03-23 Thread Thibaut
Dave Newton a écrit : Thibaut wrote: In the WEB-INF/user/struts-config.xml actionpath=/insertANewCandidate type=com.cvdunet.controller.action.UpdateResponsesForRequestAction input=essai.html Your input page is an HTML file? Yes it's just to

Re: Regards ajax

2006-03-23 Thread deepak
http://www.omnytex.com/articles/xhrstruts/ - Original Message - From: gomathi [EMAIL PROTECTED] To: user@struts.apache.org Sent: Thursday, March 23, 2006 1:31 PM Subject: Regards ajax Hi I want to use ajax in my java application.How to use it. Any samples for one jsp page that

Download through Outputstream

2006-03-23 Thread Mabusela, Koketso K
Hi I am using struts and my application downloads data in a PDF file. To make sure the download was successful I close the stream or flush it. Now I want to continue with my session by forwarding to another Struts action, unfortunately when the request is closed you cannot do a thing. Is

Struts + AVK

2006-03-23 Thread Raghuveer
Can anyone give more information on AVK tests for my struts application - Raghuveer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Download through Outputstream

2006-03-23 Thread Thomas Joseph
Hi Mabusela, Try popping up a new window (try out with target=new attribute for html anchor element)that should call the action to generate PDF, while continue with your rest of the action in the parent browser. Regards, Thomas Joseph - Original Message - From: Mabusela, Koketso K

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-23 Thread Jonathan Revusky
Henri Yandell wrote: On 3/22/06, Jonathan Revusky [EMAIL PROTECTED] wrote: Henri Yandell wrote: foo.apache.org maps to a PMC, which maps to a coding community, not to a codebase. Henri, I feel I should give you a bit of end-user feedback. I am not active in any apache.org projects, but,

RE: Download through Outputstream

2006-03-23 Thread Mabusela, Koketso K
Hi I did design it that way initially, unfortunately it was declined. No pop ups allowed. Thanks for the reply. -Original Message- From: Thomas Joseph [mailto:[EMAIL PROTECTED] Sent: 23 March, 2006 12:36 To: Struts Users Mailing List Subject: Re: Download through Outputstream Hi

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-23 Thread Jonathan Revusky
Niall Pemberton wrote: On 3/23/06, Henri Yandell [EMAIL PROTECTED] wrote: Struts is a cool community. The users are actively involved, in terms of answering and asking; people obviously care about the community - as shown by both your and Dakota's questions and by the desire of the committers

Re: Download through Outputstream

2006-03-23 Thread James Mitchell
Hi Koketso, I don't think you are going to be able to do what you want, at least not the way you describe. You won't be able to do anything server side with the binary stream (pdf) response once it is complete and you won't know on the client side when the pdf is finished or hung or whatever.

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-23 Thread James Mitchell
Jonathan, I can't seem to find your patch to fix the website anywhere in bugzilla. Can you point me to it? -- James Mitchell Software Engineer / Open Source Evangelist Consulting / Mentoring 678.910.8017 - Original Message - From: Jonathan Revusky [EMAIL PROTECTED] To:

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-23 Thread Niall Pemberton
On 3/23/06, Jonathan Revusky [EMAIL PROTECTED] wrote: Niall Pemberton wrote: I don't believe this is true - from what I see Jonathan Revusky's only desire is to see the demise of Apache - Very good, Niall. Since you're so good at reading my mind, could you tell me how I plan to bring

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-23 Thread Jonathan Revusky
James Mitchell wrote: Jonathan, I can't seem to find your patch to fix the website anywhere in bugzilla. Can you point me to it? James, I understand that this is some kind of attempt at sarcasm. The problem is that you're obviously not really thinking about what you're saying. Let's try to

RE: Download through Outputstream

2006-03-23 Thread Mabusela, Koketso K
Hi Thanks for that tip. I will put a link to download if the download did not start. I can download the file the main problem was the post conditions. To execute my post condition, I just decided to call the execute methods of those Action classes directly because calling them with a findForward

Re: Strategy for Controlling the Session Size

2006-03-23 Thread Julian Tillmann
thanks for all your ideas and advice especially the one with the filter was very helpful. :) ciao 4 now Julian --- Ursprüngliche Nachricht --- Von: Mark Lowe [EMAIL PROTECTED] An: Struts Users Mailing List user@struts.apache.org Betreff: Re: Strategy for Controlling the Session Size Datum:

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-23 Thread Emmanouil Batsis
Hello, As a mortal user i would suggest that all this discussion to be taken somewhere else, but i have a strong feeling that the motives behind this and many other thread posts during the last few months are actually fed by the visibility of the mailing list itself. Anyway, just wanted to

Re: Strange Form Reset Behavior

2006-03-23 Thread Marcio Ghiraldelli
If you want to just return to the same page after you submit, then simply provide that as the return value in your Action and have it mapped just like you would for going to any other page in your flow. There is no difference what so ever. Maybe I'm confused what you are trying to accomplish?

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-23 Thread Dave Newton
Jonathan Revusky wrote: As regards insults, there is a difference of perspective here. My own feeling is that in all of my posts I have exercised a great degree of self-restraint. Unless you count being able to state your view concisely. [...] people literally claim that the managers of the

Re: Strange Form Reset Behavior

2006-03-23 Thread Dave Newton
Marcio Ghiraldelli wrote: How? Supose I have a form with an select combo. The itens should be populated with a database result. The only way I could acomplish this is getting data on the Action before the form view, set the list in the request, redirect to the view. Then, the view creates an

Re: AppServer comparison analysis (O/T)

2006-03-23 Thread Martin Gainty
By far the most complete AppServer comparison matrix I have seen At the risk of sounding like Red Green.. Thanks Moose! Martin-- - Original Message - From: Hey Nony Moose [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Wednesday, March 22, 2006 5:33 PM

Re: AppServer comparison analysis (O/T)

2006-03-23 Thread netsql
Let me make it simple for all you noobs: Resin! (It does PHP just like JSP, Groovy, 5x faster, easy reloader, used by most seniors on this list ) and most popular of the list: http://news.netcraft.com/archives/2003/04/10/java_servlet_engines.html .V Martin Gainty wrote: By far the most

Re: Strange Form Reset Behavior

2006-03-23 Thread Marcio Ghiraldelli
In the example below, the FirstAction action is responsable for getting a list from the db and pass it to the form Form. During the execution of the action.First class, doesn't exists yet any instance of the form. When the action.First class redirects to the form.jsp, after loading

html:option on a nested collection

2006-03-23 Thread Shoukat, Faisal
Hi Guys, I have a formBean which has a collection of objects within it called Apps. Each App object has several fields with one of these fields being a collection or list of Strings. ExampleFormBean properties are String Name String Class String Student List apps Each app object

Re: [Shale] where to put the jsp pages and shale-blank app

2006-03-23 Thread Mark Shifman
Thanks for the information on disallowing direct access via chain-config! I couldn't find any exceptions that were thrown while trying to access WEB-INF$pages$welcome. Craig McClanahan wrote: I suspect an exception (due to not being able to directly access things under /WEB-INF) is getting

Re: html:option on a nested collection

2006-03-23 Thread Vinit Sharma
You can use EL extention of html tag and use something like this: html:option value=${exampleFormBean.apps.actions.act}bean:write name=act//html:option Assuming getters are defined for all properties. Regds, On 3/23/06, Shoukat, Faisal [EMAIL PROTECTED] wrote: Hi Guys, I have a formBean

formbean of double type value chages when submitting the form

2006-03-23 Thread fea jabi
In struts config form-bean name=Form1 type=org.apache.struts.validator.DynaValidatorForm dynamic=true form-property name=netRevenue type=java.lang.Double/ . .. .. /form-bean In prepare action I am not doing

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-23 Thread James Mitchell
Jonathan, I can't seem to find your patch to fix the website anywhere in bugzilla. Can you point me to it? James, I understand that this is some kind of attempt at sarcasm. The problem is that you're obviously not really thinking about what you're saying. Oh, maybe you are right. What I

RE: html:option on a nested collection

2006-03-23 Thread Shoukat, Faisal
When I do the below in the form it submits {exampleFormBean.apps.actions.act} As the value. I have a getter defined for apps in the formbean and in apps there is a getter for actions. There is no getter for act as this is deifined in the iterate tag Still stuck!! -Original Message-

Re: html:option on a nested collection

2006-03-23 Thread Vinit Sharma
Try using: html:option value=${exampleFormBean.apps.actions[3]}bean:write name=act//html:option If act is the third element in the list apps. On 3/23/06, Shoukat, Faisal [EMAIL PROTECTED] wrote: When I do the below in the form it submits {exampleFormBean.apps.actions.act} As the value. I

RE: html:option on a nested collection

2006-03-23 Thread Shoukat, Faisal
I don't see how the order of elements would matter because apps is a collection within the formBean. A get on this returns the actions collection. The action collection is just a list of Strings. The act variable you are speaking about is just something I have assigned as an id in my logic

It's about basic human standards of behavior to some extent

2006-03-23 Thread Jonathan Revusky
James Mitchell wrote: Jonathan, I can't seem to find your patch to fix the website anywhere in bugzilla. Can you point me to it? James, I understand that this is some kind of attempt at sarcasm. The problem is that you're obviously not really thinking about what you're saying. Oh, maybe

Re: It's about basic human standards of behavior to some extent

2006-03-23 Thread Antonio Petrelli
Jonathan Revusky ha scritto: James Mitchell wrote: blah blah Will you stop to flood this mailing list and continue this flame war in your private mail boxes, please? I think we all had enough of this. - To unsubscribe,

Re: Get a list of defined Struts actions at runtime

2006-03-23 Thread Antonio Petrelli
Brantley Hobbs ha scritto: All, At runtime I need to get a list of /all/ the actions that are defined in Struts. I'd rather not extract them directly from the conf file(s) unless it's absolutely necessary, but I don't (readily) see an API for doing this so I might be forced into it. It

[java.util.Map] How can I alter a java.util.Map while I am iterating it

2006-03-23 Thread temp temp
I have a HashMap with some data .I must alter the Map by replacing the keys with their upper case. Map searchResultMap= (Map)request.getAttribute(searchResults); ListIterator

Re: [java.util.Map] How can I alter a java.util.Map while I am iterating it

2006-03-23 Thread Antonio Petrelli
temp temp ha scritto: I have a HashMap with some data .I must alter the Map by replacing the keys with their upper case. Ok first of all you cannot modify a HashMap while you are iterating it. But your problem has a solution. Iterate the map and store into another map the key-value

Re: [java.util.Map] How can I alter a java.util.Map while I am iterating it

2006-03-23 Thread temp temp
I get this Map from a collection and collection might have 1000 or more Maps so I first iterate over this collection retrieve the map and then iterate over this map so creating a new Map for each iteration is this a good design ? Thanks Regards Antonio Petrelli [EMAIL PROTECTED]

Re: It's about basic human standards of behavior to some extent

2006-03-23 Thread Dave Newton
Jonathan Revusky wrote: Maybe that's what you meant to say but you didn't have the intestinal fortitude to say it so you posted the asinine stuff about a patch. Oooo! Me! Me! Pick me! Put up or shut up! I'm leaning towards the shut up myself, but that didn't work years ago on the Velocity

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-23 Thread Dakota Jack
Lord, Mitchell, he said the problem was not the website. Do you just take jabs or do you every actually come up with a position and defend it? On 3/23/06, James Mitchell [EMAIL PROTECTED] wrote: Jonathan, I can't seem to find your patch to fix the website anywhere in bugzilla. Can you point

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-23 Thread Dakota Jack
Try using a good browser. I am not willing to change my life to suit your apparent inability to handle email. On 3/23/06, Emmanouil Batsis [EMAIL PROTECTED] wrote: Hello, As a mortal user i would suggest that all this discussion to be taken somewhere else, but i have a strong feeling that

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-23 Thread Dakota Jack
When someone is telling you that you are going in the wrong direction, a good answer is not Help me go faster. On 3/23/06, James Mitchell [EMAIL PROTECTED] wrote: Jonathan, I can't seem to find your patch to fix the website anywhere in bugzilla. Can you point me to it? James, I

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-23 Thread Dakota Jack
Sometimes I wonder if you are just not working on too little horsepower, James. Do you really, no kidding, honestly, think Jonathan was talking about a business model here? If so, I apologize for arguing with you. If not, try to be more genuine and to reply to what people are saying versus

RE: html:option on a nested collection

2006-03-23 Thread Shoukat, Faisal
I have this working using the following code: tdhtml:select property=action logic:iterate id=act name=app property=actions indexId=index % String literal =(String) act; % html:option value=%=literal%bean:write name=act//html:option /logic:iterate /html:select But as you can see I am

Sometimes, you post something worth reading...

2006-03-23 Thread DGraham
PREFACE: You is slang for a nice Southern You all. :) I can't speak for anybody else, but I don't have an inability to handle email. Or maybe I do, and I just don't know how to code a filter to determine when you are posting crap, and when you aren't. Regardless, I'm generally interested in

Re: Sometimes, you post something worth reading...

2006-03-23 Thread Dave Newton
[EMAIL PROTECTED] wrote: If not, then please be courteous enough to send a private email. Because maybe, just maybe, it's not that important to have the last word in a public forum. Sez you. ;) Dave - To

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-23 Thread Henri Yandell
On 3/23/06, Emmanouil Batsis [EMAIL PROTECTED] wrote: Hello, As a mortal user i would suggest that all this discussion to be taken somewhere else, but i have a strong feeling that the motives behind this and many other thread posts during the last few months are actually fed by the

RE: Re: Consequences of open commit privileges (was: has struts reached the saturation)

2006-03-23 Thread George.Dinwiddie
Jonathan Revusky wrote: George Dinwiddie wrote: There are many companies using Struts for far more important things than simple websites. I believe that many of these companies would be unwilling to trust Struts for these uses if the project were to greatly open up the commit

RE: html:option on a nested collection

2006-03-23 Thread Wang, Hansen
Do something like this: logic:iterate name=exampleformbean property=apps id=app html:select name=app property=action html:optionCollections propety=actions / /html:select /logic:iterate You also need to add action property to your app class. This is to hold the input specified by html:select

Re: Consequences of open commit privileges (was: has struts reached the saturation)

2006-03-23 Thread Jonathan Revusky
[EMAIL PROTECTED] wrote: Jonathan Revusky wrote: George Dinwiddie wrote: snip Scott Adams has made his fortune displaying the cynical view of managers that you describe. Indeed, from the point of view of the technical staff or others with limited access to those managers, it often looks

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-23 Thread Jonathan Revusky
Dave Newton wrote: Jonathan Revusky wrote: As regards insults, there is a difference of perspective here. My own feeling is that in all of my posts I have exercised a great degree of self-restraint. Unless you count being able to state your view concisely. There are 2 basic reasons that

Re: It's about basic human standards of behavior to some extent

2006-03-23 Thread Jonathan Revusky
Dave Newton wrote: Jonathan Revusky wrote: Maybe that's what you meant to say but you didn't have the intestinal fortitude to say it so you posted the asinine stuff about a patch. Oooo! Me! Me! Pick me! Put up or shut up! I'm leaning towards the shut up myself, but that didn't work years

Expression Language

2006-03-23 Thread David M Sledge
Do EL expressions only evaluate to String and primitive types? I have code similar to the following in my jsp. logic:iterate name=uriList id=uri write:iterate name= uriValueMap property=${uri}/ /logic:iterate Where uriList is an object of type java.util.List only containing

Breadcrumb Trails

2006-03-23 Thread Caroline Jen
I have found taglibs to do breadcrumb trails for servlet and JSP technology. Is there breadcrumb trails code available for the Struts technology? I mean that I plan to create a list of links that has a horizontal orientation on a web page. It shows users where they are in the hierarchy of a

ajax with struts

2006-03-23 Thread Joel Alejandro Espinosa Carra
Hello all, I'm coding a simple action that retrieves some data from the database in order to create an xml object for an ajax-based autocomplete field, I'm worried about the load of the database beacuse this action is called from a javascript event onkeyup() this means that the action will be

Re: ajax with struts

2006-03-23 Thread Rick Reumann
Joel Alejandro Espinosa Carra wrote the following on 3/23/2006 3:45 PM: I'm worried about the load of the database beacuse this action is called from a javascript event onkeyup() this means that the action will be executed every time when user press a key in the field, is there an other way to

Re: Consequences of open commit privileges (was: has struts reached the saturation)

2006-03-23 Thread Dave Newton
Jonathan Revusky wrote: [EMAIL PROTECTED] wrote: Now we're leaving empiricism for speculation. No, because the above propositions can, in principle, be put to an empirical test. If it _hasn't_ been put to an empirical test then it's speculation. Obviously, it is completely natural to wonder

Re: ajax with struts

2006-03-23 Thread Frank W. Zammetti
Hello, The first thing I would suggest is this is one of those cases where the X in AJAX probably isn't appropriate. Remember that there is NO requirement to use XML when doing AJAX (although I suppose it isn't AJAX then strictly speaking). Take Google Suggests for example. They are not

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-23 Thread Dave Newton
Jonathan Revusky wrote: I already am spending too much time on this [...] Agreed. 2. I know that there is significant animosity towards me here [...] My animosity towards you is from years ago, actually; I won't speak for anybody else. From whence From whence Is the Shakespearean

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-23 Thread Al Eridani
On 3/23/06, James Mitchell [EMAIL PROTECTED] wrote: You claim that someone who hits the website cannot understand what the product is or does. How can you claim this unless you actually DO understand what it is and therefore it must be confusing for someone who doesn't. This is hilarious

Re: ajax with struts

2006-03-23 Thread Mark Lowe
On 3/23/06, Frank W. Zammetti [EMAIL PROTECTED] wrote: Hello, The first thing I would suggest is this is one of those cases where the X in AJAX probably isn't appropriate. Remember that there is NO requirement to use XML when doing AJAX (although I suppose it isn't AJAX then strictly

Re: Consequences of open commit privileges (was: has struts reached the saturation)

2006-03-23 Thread Michael Jouravlev
On 3/23/06, Jonathan Revusky [EMAIL PROTECTED] wrote: In order to be able to offer something reasonably state of the art, the Struts community is basically abandoning the Struts 1.x codebase and inviting the Webwork people in. The Webwork 2.2 codebase then gets rechristened Struts Action

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-23 Thread Dakota Jack
The bar to committing on Struts is NOT the issue. The issue is the mess. I cannot agree more with Jonathan. It is s good to hear from someone who sounds mature and sensible. On 3/23/06, Dave Newton [EMAIL PROTECTED] wrote: Jonathan Revusky wrote: I already am spending too much time on

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-23 Thread Dakota Jack
Lord, Al, do you realize you have just concluded that it is impossible to fail to see what a product is or does from a website? This is not like you. Usually you make sense. But, this is right along the lines of a Newton (Dave) or a Mitchell (James). Oh, wait, it was Mitchell. LOL Sorry, Al.

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-23 Thread Jonathan Revusky
Dave Newton wrote: Jonathan Revusky wrote: I already am spending too much time on this [...] Agreed. 2. I know that there is significant animosity towards me here [...] My animosity towards you is from years ago, actually; I remember that vaguely, yes. Still feeling animosity over

Re: Consequences of motor vehicle heresy (was Consequences of open commit privileges (was: has struts reached the saturation))

2006-03-23 Thread Hey Nony Moose
(caveat: it's a joke, i have no actual emotional investment in cars or any other childish my X is better than yours manifestation) Michael Jouravlev wrote: Do you care that Pontiac GTO is actually a Holden Monaro, which is heavily based on Opel Omega? GODAM HERESY

Re: Consequences of open commit privileges (was: has struts reached the saturation)

2006-03-23 Thread Jonathan Revusky
Michael Jouravlev wrote: On 3/23/06, Jonathan Revusky [EMAIL PROTECTED] wrote: In order to be able to offer something reasonably state of the art, the Struts community is basically abandoning the Struts 1.x codebase and inviting the Webwork people in. The Webwork 2.2 codebase then gets

Re: Consequences of open commit privileges (was: has struts reached the saturation)

2006-03-23 Thread Michael Jouravlev
On 3/23/06, Jonathan Revusky [EMAIL PROTECTED] wrote: Michael Jouravlev wrote: In the above you say you will try again to explain this. I have no recollection that you ever tried to explain it to me before. It was in the other longer thread :) Core Struts people are moving to JSF/Shale,

[NSC] taking this discussion somewhere else (was: has struts reached the saturation)

2006-03-23 Thread Hey Nony Moose
[NSC] = No Struts Content ... a tagging that I've seen used on other lists ( N?C ) where ? = initial of the lists name Emmanouil Batsis wrote: Hello, As a mortal user i would suggest that all this discussion to be taken somewhere else, There have been a few similar calls for this. I already

Re: [FRIDAY] taking this discussion somewhere else

2006-03-23 Thread Hey Nony Moose
Hey Nony Moose wrote: It's FRIDAY, have a bloody laugh for crying out loud! here ... take your pick: http://www.google.com.au/search?hl=enq=%22how+many%22+%22does+it+take+to+change+a+light+bulb%22btnG=Google+Searchmeta= - To

[ANNOUNCE] Struts 1.2.9 (General Availability)

2006-03-23 Thread Niall Pemberton
The Struts team is pleased to announce the release of Struts 1.2.9 for General Availability. This release is primarily to fix three security issues which have been identified and supersedes the earlier 1.2.8 version as the latest official release of Struts from The Apache Software Foundation. For

Re: Consequences of open commit privileges (was: has struts reached the saturation)

2006-03-23 Thread James Mitchell
I like your analogy, however I disagree with the following: Core Struts people are moving to JSF/Shale ... That's not true for everyone. The whole reason Shale is not Struts 2.0 in the first place is that a majority of the Struts leadership decided that JSF should not be the future

Re: [FRIDAY] taking this discussion somewhere else

2006-03-23 Thread James Mitchell
LMAO..I like this one: http://www.rider.edu/suler/psycyber/listbulb.html -- James Mitchell EdgeTech, Inc. http://edgetechservices.net/ 678.910.8017 Skype: jmitchtx On Mar 23, 2006, at 8:35 PM, Hey Nony Moose wrote: Hey Nony Moose wrote: It's FRIDAY, have a bloody laugh for crying out

Re: [OT]Loading Image Problem

2006-03-23 Thread Vinit Sharma
It's always better to use context root to access web site content instead of using ../.. in the path. For eg, your application context root is MyApp and your images folder is a part of WebContent folder in Websphere, then image src should be: img src=/MyApp/images/arrow_collapsed.gif border=0

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-23 Thread Dave Newton
Jonathan Revusky wrote: I have no recollection of having wronged you in any specific way. You sprayed then, you spray now. No change. They told me not to feed the trolls then, they tell me not to feed the trolls now. I really don't believe we're so far apart on this: I think the bar for

Re: formbean of double type value chages when submitting the form

2006-03-23 Thread Laurie Harper
fea jabi wrote: In struts config form-bean name=Form1 type=org.apache.struts.validator.DynaValidatorForm dynamic=true form-property name=netRevenue type=java.lang.Double/ .. ... ... /form-bean In prepare

Re: Breadcrumb Trails

2006-03-23 Thread Laurie Harper
Caroline Jen wrote: I have found taglibs to do breadcrumb trails for servlet and JSP technology. Is there breadcrumb trails code available for the Struts technology? I mean that I plan to create a list of links that has a horizontal orientation on a web page. It shows users where they are in

Re: formbean of double type value chages when submitting the form

2006-03-23 Thread Laurie Harper
fea jabi wrote: In struts config form-bean name=Form1 type=org.apache.struts.validator.DynaValidatorForm dynamic=true form-property name=netRevenue type=java.lang.Double/ .. ... ... /form-bean In prepare

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-23 Thread Dakota Jack
I flat don't believe this. Who, what, where, when, etc? On 3/23/06, Dave Newton [EMAIL PROTECTED] wrote: Jonathan Revusky wrote: I have no recollection of having wronged you in any specific way. You sprayed then, you spray now. No change. They told me not to feed the trolls then, they

[OT]

2006-03-23 Thread Neil Meyer
Hi All, This ons is off topic again. When I loop for an arraylist I normally use the the first option as it seems to me that it will execute the quickest. I know supposedly I should use the foreach loop. All that I want to do is go through the list no adding new elements or anything. Am I

Re: [OT]

2006-03-23 Thread Tamas Szabo
Hi, for ArrayList it is. But you should code to interfaces so you can change the implementation without any problems. Anf if your a is declared as a List then you won't know. The for loop is faster for an ArrayList but it can't be faster for a linked listed for example. If you take it on step

Re: [java.util.Map] How can I alter a java.util.Map while I am iterating it

2006-03-23 Thread Antonio Petrelli
temp temp ha scritto: I get this Map from a collection and collection might have 1000 or more Maps so I first iterate over this collection retrieve the map and then iterate over this map so creating a new Map for each iteration is this a good design ? Surely it is not a good