RE: Get only first value using logic:iterate

2002-09-22 Thread Shekhar Jain
Where do you have your /logic:iterate -Original Message- From: Cathy Osekizoglu [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 7:44 PM To: Struts Users Mailing List Subject: RE: Get only first value using logic:iterate Thank you, Mark. I confirmed, there are two items in

How to manage application properties?

2002-09-22 Thread C F
Hello, This is a very newbie question I'm sure, so this might not be the appropriate forum. Maybe it belongs in the Tomcat forum? Not sure. Pretty basic objective I just want to be able to put application settings (things like path names, integer values, etc) in a *.properties file and

Re: How to manage application properties?

2002-09-22 Thread kiuma
You should prefer to use struts-config.xml to get applets props. Take a look to the samples bundled with struts and also use struts console to configure struts, at least at the beginning! C F wrote: Hello, This is a very newbie question I'm sure, so this might not be the appropriate forum.

RE: Scope of form beans

2002-09-22 Thread Robert Taylor
Howard, there are a couple different ways to achieve the results you desire. I'll explain one that is the path of least resistance. Screen 1: Displaying the list You already say you have a bean in session scope which contains your list. So, to display the list all you should really have to do

RE: Get only first value using logic:iterate

2002-09-22 Thread Stefan Hoehn
Cathy, Can you please make a very small example which reproduces the effect and either attach the files to the mail or send it directly to me. I will try to debug it by stepping through the struts sources and see why the iterate only shows one entry. Stefan

A question about struts ?

2002-09-22 Thread Zahid Rahman
Hi, I was informed that the expert group can be found at Struts, as I am interested in building applications which support business critical processes. Is this the struts group ? I have no question on the implementations because the documents I have seen so far are very nicely structured.

Re: A question about struts ?

2002-09-22 Thread kiuma
Wellcome! Zahid Rahman wrote: Hi, I was informed that the expert group can be found at Struts, as I am interested in building applications which support business critical processes. Is this the struts group ? I have no question on the implementations because the documents I have seen so far

RE: getting MessageResources within ActionForm.reset()

2002-09-22 Thread Taylor, Jason
I got my answer from struts-dev: MessageResources resources = (MessageResources) request.getAttribute(Action.MESSAGES_KEY) So basically anytime you have the request, you've got your resources (and a fair bit of other stuff too, I imagine). I'm not sure if this is ideal for

RE: Nested Indexed Property

2002-09-22 Thread Taylor, Jason
OK, I think I see what you're trying to do better now. Email really is one of the worst possible ways to discuss things of technical subtlety, but it's all we got, so patience and careful reading is sometimes required... Instead of trying to generate a list of objects with a logic:iterate that

Re: A question about struts ?

2002-09-22 Thread Eddie Bush
... the expert group can be found at Struts ... Which expert group are you refering to? If you're looking for a spot to get quick, high-quality feedback on your Struts problems, this is the place. If you're looking for a spot to gain access to any of the EGs concerning some certain JSR,

Re: A question about struts ?

2002-09-22 Thread Zahid Rahman
Thank you!!! It is a maze out there ! I finally found the right line. All of a sudden I feel like an expert too although I never call myself one. - Original Message - From: kiuma [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Sunday, September 22, 2002 3:00 PM

Re: How to manage application properties?

2002-09-22 Thread Eddie Bush
How many settings do you have? Are they volatile? You could: - specify settings as an init-param to the controller servlet. - specify settings as context params - use a properties file (as you mentioned) and look it up out of the classpath To get your properties read-in, you

This guy from the bank raised a question ?

2002-09-22 Thread Zahid Rahman
Have you made any contingency planning in the design of the architecture, with regard to the user pressing the back button on the browser, Or is that left up to me to implement some how, perhaps using branching statements. - Original Message - From: Eddie Bush [EMAIL PROTECTED] To:

Re: How to manage application properties?

2002-09-22 Thread C F
Excellent... thanks for the info. I probably average 5-10 properties for some of my controller servlets, so I think I'll use the init-param method as you suggested. I guess I just got confused as to why there was the ApplicationResources.properties files when we did have the

RE: How to manage application properties?

2002-09-22 Thread Taylor, Jason
Properties are huge. I'd use properties rather than init-params unless I *knew* I had no use for sub-applications. When you use multiple sub-applications, the properties files can give you fine-grained control over copy, media references and sub-context-specific configuration data. Meanwhile,

Re: How to manage application properties?

2002-09-22 Thread micael
Attached is a demo.Demo class which utilizes a PropertiesManager class. The PropertiesManager class creates a properties file to keep track of properties files, then creates and uses properties files with and without defaults. I use it to demonstrate to students. You can put anything you

Re: How to manage application properties?

2002-09-22 Thread micael
You can create classes and objects in struts just like you can with any other application. Attached is a file with a few classes I use to teach students about the Properties class in java.util. Change the value in Folder (line 138, if you are not using Windows). PropertiesManager creates

Re: How to manage application properties?

2002-09-22 Thread Eddie Bush
It really depends what the scope of things is you're trying to configure ... Taylor, Jason wrote: Properties are huge. I'd use properties rather than init-params unless I *knew* I had no use for sub-applications. -- Eddie Bush -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

Re: This guy from the bank raised a question ?

2002-09-22 Thread Eddie Bush
Huh? Zahid Rahman wrote: Have you made any contingency planning in the design of the architecture, with regard to the user pressing the back button on the browser, Or is that left up to me to implement some how, perhaps using branching statements. - Original Message - From: Eddie

RE: This guy from the bank raised a question ?

2002-09-22 Thread Galbreath, Mark
My reaction, too. (a) What is the relation between the subject line and your question? (b) Do a little research before asking questions; this subject has been discussed ad nauseum here. http://www.mail-archive.com/struts-user%40jakarta.apache.org/ Mark -Original Message- From: Eddie

I do not understand html:link with action

2002-09-22 Thread Ralf E. Stranzenbach
Hi, i tried to use the html:link tag with some action parameter within my navigation screen. But i can't find the right notation to reference one of my ActionMappings from the struts-config.xml. I've read the documentation but i have no idea what's wrong with it. Please enlight me! I have a

Re: This guy from the bank raised a question ?

2002-09-22 Thread Zahid Rahman
Eddie Bush wrote that the designer of the architecture, Craig R. McClannahan is present on this line. I was on the websphere line and Don Carlos, from DB.COM was talking about it. So I mentioned it. I have also read at the www.jspinsider.com that many people have asked this question. What do

RE: I do not understand html:link with action

2002-09-22 Thread Taylor, Jason
I found an example with Camino 2.0.3, a struts IDE. My stuff is unfortunately proprietary so I can't share it, but it's real simple to do. Basically, when you set up your web.xml, just add more config/ init-params for your ActionServlet. Like this: servlet

RE: I do not understand html:link with action

2002-09-22 Thread Taylor, Jason
sorry, my last post was a bit cryptic-- it was in response to Ralf's second question about multiple sub-apps, not his first one about html:link-- my bad! -Original Message- From: Taylor, Jason Sent: Sunday, September 22, 2002 2:17 PM To: 'Struts Users Mailing List' Subject: RE: I do not

RE: This guy from the bank raised a question ?

2002-09-22 Thread Day, Michael-IBM/TT
WHAT THE HELL IS THIS GUY TALKING ABOUT? -Original Message- From: Zahid Rahman [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 22, 2002 5:15 PM To: Struts Users Mailing List Subject: Re: This guy from the bank raised a question ? Eddie Bush wrote that the designer of the

RE: This guy from the bank raised a question ?

2002-09-22 Thread Taylor, Jason
I've heard there are programs that randomly spit out excerpts from newsgroups that appear to all but the most discerning observer to be human and almost pass the Turing test-- maybe this is one such case. This group's getting a bit weird-- I'll be back in a day or two when it gets back to

Re: This guy from the bank raised a question ?

2002-09-22 Thread Zahid Rahman
This is the original question :- Have you made any contingency planning in the design of the architecture, with regard to the user pressing the back button on the browser, Or is that left up to me to implement some how, perhaps using branching statements. In future address me directly. You

RE: This guy from the bank raised a question ?

2002-09-22 Thread Tero P Paananen
In future address me directly. You can call me Mr. Rahman or Sir. Mr. Zahid, Sir, kindly realise that today is not Friday. Whoever let their Friday posting bot loose, please come and collect it. -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

General Action classes question

2002-09-22 Thread Day, Michael-IBM/TT
Hopefully someone can help clear this question up. I am trying to use a few DispatchActions for all Actions in my application. As an example, I have a Category data object. All actions performed with this object directly are encompassed in the CategoryAction which extends DispatchAction.

urgent!!!---Re: does struts has the functionality?

2002-09-22 Thread Jenny
I have a question about using jspTags pager(http://jsptags.com/tags/navigation/pager/ ). Anand, I am sorry to send this email to you directly. I know you are expert on using jspTags pager. I urgently need your help. I hope you can recieve my email, and help me! If someone has used the jspTags

Re: This guy from the bank raised a question ?

2002-09-22 Thread Zahid Rahman
dsfd sdgfdskjgh aalgda dfjg dfkhsl ;lhg sdfdsjhg kjhl hfkj h fd kjj sihkj jfkdhg hlkjs hlkds lks lk fkgjfh glfd hgs dfdfg dfj j ud OK. - Original Message - From: Tero P Paananen [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Sunday, September 22, 2002

Re: This guy from the bank raised a question ?

2002-09-22 Thread David Graham
filtering all mail from [EMAIL PROTECTED] directly into the trash ... ah, that's better. From: Zahid Rahman [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: This guy from the bank raised a question ? Date: Mon,

Re: This guy from the bank raised a question ?

2002-09-22 Thread Zahid Rahman
This is fun. A hotmail account how original.! I was reading avaint's website which says Viant's culture is founded on our core values - excellence, innovation, can-do spirit, teamwork, sharing and learning, courage, speed and flexibility and empowerment. But hang on a second! This guy at Jini

Welcome

2002-09-22 Thread Zahid Rahman
The only person I am concerned about is the one who wrote Wellcome! - Original Message - From: David Graham [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 23, 2002 12:08 AM Subject: Re: This guy from the bank raised a question ? filtering all mail from [EMAIL

Re: This guy from the bank raised a question ?

2002-09-22 Thread Zahid Rahman
If you follow the thread it was one of your kind, Mark Galbreath who started the ranting. I gave as good as I got. I would like to remind you that you are directing your comments to an Aircraft Engineer trained by Smiths. Smiths is where Stroustrap worked, couple of years before myself. I am a

RE: This guy from the bank raised a question ?

2002-09-22 Thread Cliff Rowley
Does anyone have the faintest idea what he is going on about? -Original Message- From: David Graham [mailto:[EMAIL PROTECTED]] Sent: 23 September 2002 00:09 To: [EMAIL PROTECTED] Subject: Re: This guy from the bank raised a question ? filtering all mail from [EMAIL PROTECTED] directly

Re: This guy from the bank raised a question ?

2002-09-22 Thread Zahid Rahman
This is the link I am reading at the moment. http://jakarta.apache.org/struts/userGuide/index.html I am also reading documentation written Gal Schalor of IBM. These are the contributers of the Struts project. Craig R. McClanahan Mike Schachter

RE: This guy from the bank raised a question ?

2002-09-22 Thread Day, Michael-IBM/TT
Wow. Whoever wrote this is good :). -Original Message- From: Zahid Rahman [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 22, 2002 7:38 PM To: Struts Users Mailing List Subject: Re: This guy from the bank raised a question ? This is the link I am reading at the moment.

RE: This guy from the bank raised a question ?

2002-09-22 Thread Cliff Rowley
-Original Message- From: Zahid Rahman [mailto:[EMAIL PROTECTED]] Sent: 23 September 2002 00:38 To: Struts Users Mailing List Subject: Re: This guy from the bank raised a question ? This is the link I am reading at the moment. http://jakarta.apache.org/struts/userGuide/index.html

OK I have a real question

2002-09-22 Thread Zahid Rahman
What did Galbreath, Mark [EMAIL PROTECTED] mean by - We don't owe you anything ? The reason I am asking this question is because Kirk Yarina of www.securebydesign.com also asked me do you know about Intellect property rights. I was also asked the same question by an Australian Architect ? I

Re: This guy from the bank raised a question ?

2002-09-22 Thread Eddie Bush
LOL - I dunno but I think it's damn funny! LOL!! Day, Michael-IBM/TT wrote: WHAT THE HELL IS THIS GUY TALKING ABOUT? -- Eddie Bush -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: OK I have a real question

2002-09-22 Thread Tony Baity
Mark, It looks like you and Zahid go way back... you should be friends by now :) Summarize by:Date Author Subject Thread Search Description: [EMAIL PROTECTED] (See other lists) Subject: Results of Time slicing Thread Test Options: Browse list | Browse messages with this subject | Browse this

documenting jsp tags

2002-09-22 Thread A Stephen
Greetings, Is there a javadoc like facility, that documents TLD's /jsp Tags ? Thank you, A Stephen. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: urgent!!!---Re: does struts has the functionality?

2002-09-22 Thread Jenny
I have figured out how to have my action class be called whenever user click on a page index(solution is to have url=/rootcontext/paymentHistory.do). So the first question I asked below is solved. Now I encountered another problem. When user click on the 10th page(Please see the following

test.tomcat.41 failing due to LogService class

2002-09-22 Thread Brian Buckley
Hello, When I run the task test.tomcat.41 from the struts build.xml in cvs, that serverside test is failing on me because Tomcat is unable to compile jspRedirector.jsp. It appears the reason for the failure is Tomcat is not recognizing the org.apache.cactus.util.log.LogService class which is

Re: Indemnification copyright

2002-09-22 Thread Eddie Bush
I don't understand what you mean. I believe the ASF license is such that you can include things from them (you need to give credit somehow for what you do use), but not have to do anything special. You wouldn't have to make it open-source or anything like that. I suppose you mean your

Re: I do not understand html:link with action

2002-09-22 Thread Eddie Bush
Did you examine the example application at all? :-) I belive what you're looking for is the name= attribute of the link tag. You should actually look over some of the sample applications :-) They didn't write them just to make the download slower ;-) Ralf E. Stranzenbach wrote: Hi, i tried

Re: documenting jsp tags

2002-09-22 Thread David Graham
JSP tags are java code that is documented with javadoc like everything else. The only way to document tlds is to use xml comment lines but the tag's javadocs should let you know how to use the various attributes. Dave From: A Stephen [EMAIL PROTECTED] Reply-To: Struts Users Mailing List

RE: documenting jsp tags

2002-09-22 Thread Anand Belaguly
This may help for documenting JSP files. http://opensource.yourdecor.ca/jspdoc/ Anand -Original Message- From: David Graham [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 22, 2002 10:22 PM To: [EMAIL PROTECTED] Subject: Re: documenting jsp tags JSP tags are java code that is

Re: documenting jsp tags

2002-09-22 Thread Eddie Bush
That is actually kind of neat. It doesn't look for html:link .../ (or other special [and non-special - JSTL]) tags though :-) Anand Belaguly wrote: This may help for documenting JSP files. http://opensource.yourdecor.ca/jspdoc/ Anand -- Eddie Bush -- To unsubscribe, e-mail:

Re: This guy from the bank raised a question ?

2002-09-22 Thread kiuma
WHAT ARROGANCE! Zahid Rahman wrote: Eddie Bush wrote that the designer of the architecture, Craig R. McClannahan is present on this line. I was on the websphere line and Don Carlos, from DB.COM was talking about it. So I mentioned it. I have also read at the www.jspinsider.com