Re: populating Drop down -pls help

2003-09-05 Thread Thomas Max
I use the html:options tag : Just create a Collection (here gender of the Databaseentries (f,m) and pass as a bean to the page with the form. html:select name=yourForm property=gender html:options collection=gender property=id labelProperty=description/ /html:select If you need more

Message resource as a String variable

2003-09-05 Thread Suresh Addagalla
Hi, Is it possible to create a String variable out of a message resource defined in the resources files? bean:message doesn't seem to help. Thanks, Suresh **Disclaimer Information contained in this E-MAIL being proprietary to Wipro

RE: Message resource as a String variable

2003-09-05 Thread James Mitchell
You mean like this? bean:define id=myVar bean:message key=someKey/ /bean:define -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 678.910.8017 AIM:jmitchtx -Original Message- From: Suresh Addagalla [mailto:[EMAIL PROTECTED] Sent: Friday,

RE: Message resource as a String variable

2003-09-05 Thread Lars Bergstrm
Yep, Use one of the getMessae methods on the MessageResources class. http://jakarta.apache.org/struts/api/org/apache/struts/util/MessageResou rces.html The locale is fetched from a session attribute. Here is an example: Locale locale = (Locale) session.getAttribute( Action.LOCALE_KEY );

MultiRow Save in Struts(Urgent!!!!!)

2003-09-05 Thread Konstadinis Euaggelos
Hi, I have a table with data suppose with 100 rows, I have change some text in 5 rows, I want to save these 5 rows back in database, Does Struts has support for multiple row save , and if yes how it's done? (hidden multibox or s.m.th like that) Thanks in advance

Re: Validator cannot find message key

2003-09-05 Thread Adam Hardy
Hi Saul, to try to narrow this down a little, is the problem javascript or server-side, or both? One thing it might be is where you specified your ApplicationResources.properties. It should be something like this in struts-config.xml : message-resources

request.getContextPath();

2003-09-05 Thread Mohd Amin Mohd Din
Hi, Having a wired problem here. On some of my pages, the request.getContextPath() works great, but on other pages, it doesn't seem to work, it only gets the webapp. Eg. page is in http://192.168.1.111:8080/PostGraduate/admission/application/listProfile Setup

releasing session variables using a generic way without giving control to the developer

2003-09-05 Thread Seyhan BASMACI (Internet Yazilimlari Yetkilisi)
I have to many programs in my applicaiton , to call each program, url syntax is /program.do?page=default also most of my programs has more than one page , most of programs store some part of data in session for security reasons, what I need is I must clear user stored session data when the

RE: releasing session variables using a generic way without giving control to the developer

2003-09-05 Thread Andrew Hill
And theres a 3rd option: in a filter, though overriding the RequestProcessor should serve just as well in this case. (Forget the ActionServlet option unless your using struts 1.0.2) -Original Message- From: Seyhan BASMACI (Internet Yazilimlari Yetkilisi) [mailto:[EMAIL PROTECTED] Sent:

tiles, modules tiles-defs

2003-09-05 Thread Nathan Coast
Hi, I posted a question earlier as to whether it was possible to have a module based web-app with each module having its own tiles defs configuration. The tiles-documentation web app is a working example of this. So that answers my first question. On looking at the details of the webapp

Probelm with global-exceptions routing.

2003-09-05 Thread sreekant_gottimukkala
I have written my own RequestProcessor class (MyRequestProcessor.java) by extending the STRUTS provided RequesrProcessor class. I have overridden the processPreprocess() method as below. Also I have defined the java.lang.NullPointerException in the global-exceptions of struts-config.xml as shown

Messages in DialogBox!!!!!

2003-09-05 Thread Goldy J
Hello, I am using Struts 1.1 and facing a peculiar problem. In my application I am deleting adding records and I want to show on the JSP as Popup Window with the message like Deleted Successfully or Added successfully. In struts it comes on the top of the page. Is there any way where I can

RE: Probelm with global-exceptions routing.

2003-09-05 Thread Andrew Hill
Afaik, the global-exceptions only traps exceptions thrown up from your actions (not from the RP or the JSPs) (I could be wrong about this though!) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, 5 September 2003 16:50 To: [EMAIL PROTECTED] Subject:

RE: Probelm with global-exceptions routing.

2003-09-05 Thread sreekant_gottimukkala
Basically what I wanted to do in the processPreprocess() method of MyRequestProcessor class was Check if there were any User related credentials in the session, if yes let the process continute. If not then throw the Logon page. Is there any otherway I can achieve this so that the application

RE: Probelm with global-exceptions routing.

2003-09-05 Thread Navjot Singh
not sure if struts handles exceptions thrown from RequestProcessor. |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED] |Sent: Friday, September 05, 2003 2:20 PM |To: [EMAIL PROTECTED] |Subject: Probelm with global-exceptions routing. | | |I have written my own

RE: Tabindex missing in html:link generated code.

2003-09-05 Thread deepaksawdekar
Hi Mark, I found why its working at your end. You have given a tabindex to hmtl:img tag, What i am doing is html:link page=/NewContact.do tabindex=30Create new/html:link Using the tabindex in the html:link tag only. Thanks and Regards Deepak . -Original Message- From: Mark Lowe

bean:message problem

2003-09-05 Thread deepaksawdekar
When i have a number as a key in properties file, tag bean:message key=10007 / gives me some wired error. I am using this tag in javascripts. Deepak. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: Probelm with global-exceptions routing.

2003-09-05 Thread Rohit Aeron
U can add a Servlet in your web.xml which will check for User credential Regards Rohit -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 3:17 PM To: Struts Users Mailing List Cc: Struts Users Mailing List Subject: RE: Probelm with

RE: Thanks

2003-09-05 Thread Rohit Aeron
All the best for your future endeavour Regards Rohit -Original Message- From: Mehta, Chirag (IT) [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 3:29 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Thanks Hello guys, My internship had finished and I would just like to

RE: request.getContextPath();

2003-09-05 Thread Navjot Singh
but this your contextPath. so, request returns that string that you set. Is PostGraduate.war your file name? or in server.xml you have set contextPath=/PostGraduate. navjot |-Original Message- |From: Mohd Amin Mohd Din [mailto:[EMAIL PROTECTED] |Sent: Friday, September 05, 2003 1:44 PM

RE: bean:message problem

2003-09-05 Thread deepaksawdekar
Sorry My mistake . Wrong properties file. Had put value in double quotes. like 10007=error; -Original Message- From: deepaksawdekar Sent: Friday, September 05, 2003 3:43 PM To: Struts Users Mailing List Subject: bean:message problem When i have a number as a key in properties

RE: Probelm with global-exceptions routing.

2003-09-05 Thread Robert Taylor
Look into using a Filter for this. robert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 5:47 AM To: Struts Users Mailing List Cc: Struts Users Mailing List Subject: RE: Probelm with global-exceptions routing. Basically

Re: Information about visitors using my portal

2003-09-05 Thread Stefan Trcko
I have installed clickstream into my portal and it works. I tested it on many computers and works ok. But in one computer I get message below. This computer was connected to Internet through modem to one company. Then I connect with my computer to the Internet through modem to the same company

RE: Thanks

2003-09-05 Thread Andrew Hill
+1 -Original Message- From: Rohit Aeron [mailto:[EMAIL PROTECTED] Sent: Friday, 5 September 2003 18:16 To: Struts Users Mailing List Subject: RE: Thanks All the best for your future endeavour Regards Rohit -Original Message- From: Mehta, Chirag (IT) [mailto:[EMAIL PROTECTED]

RE: How to reference multiple form beans from one VelocityLayoutS ervlet set of page fragments?

2003-09-05 Thread Edgar P Dollin
I have gotten two html:forms two work in a limited fashion with struts. Note that your always visible form, doesn't have to be connected with a struts action so the problems with actions wouldn't apply. Also, the rules for forms are different if you are using tiles since each tile has an action

debug level of struts...

2003-09-05 Thread Pady Srinivasan
Is there a way to make Struts print out more messages to standard out ? Like when it loads the form-bean and resets form values into the jsp ? Thanks -- pady [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: Syntax for accessing an object nested in a List of Lists [SOLVED]

2003-09-05 Thread Robert Taylor
Okay. After looking at PropertyUtils I determined that this sort of syntax is not allowed when accessing an object from an ArrayList of ArrayLists. You have to wrap the child lists in an object which provides some type of accessor/mutator. So in my case I have an ArrayList of ListWrapper objects.

RE: debug level of struts...

2003-09-05 Thread Bradley Handy
http://jakarta.apache.org/struts/userGuide/building_controller.html#logg ing -Original Message- From: Pady Srinivasan [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 8:11 AM To: [EMAIL PROTECTED] Subject: debug level of struts... Is there a way to make Struts print

Re: debug level of struts...

2003-09-05 Thread Peter Smith
Hi Pady, You might try adding this to your action servlet in web.xml: init-parm param-namedebug/param-name param-value99/param-value /init-param Let me know if this works for you, Peter -- Peter Smith Software Engineer InfoNow Corporation From: Pady Srinivasan [EMAIL PROTECTED]

RE: Syntax for accessing an object nested in a List of Lists [SOLVED]

2003-09-05 Thread Kris Schneider
Robert, Damn, I was just replying to your original note when you posted ;-). I'll include my response below in case the two-step idea appeals to you: Not sure if you've moved on from this, but I think you're either gonna have to change the structure of your data or access it in multiple steps.

Design Question - Need to put assertions in Actions?

2003-09-05 Thread White, Joshua A (HTSC, CASD)
Say I have a form formFoo which manages some noun Foo. It has two different actions, newFoo and editFoo. Each has specific logic depending on whether or not Foo exists. I am experiencing a problem where users create Foo, but then (either by bookmark or the back button) users are

RE: debug level of struts...

2003-09-05 Thread Navjot Singh
quick dirty way :-) In you jdk installation dir..look out for logging.properties and append the following line in the end org.apache.struts = FINE navjot |-Original Message- |From: Pady Srinivasan [mailto:[EMAIL PROTECTED] |Sent: Friday, September 05, 2003 5:41 PM |To: [EMAIL

RE: Syntax for accessing an object nested in a List of Lists [SOLVED]

2003-09-05 Thread Robert Taylor
Thanks for the reply Kris. My problem wasn't really accessing the data on the page, it was rather Struts accessing a property in an object buried in an ArrayList of ArrayLists when the page was being rendered. I was trying to keep my question as simple and to the point as possible and therefore

Avoid Validate After Submit

2003-09-05 Thread Andre Michel
Hello ... I'd like to have two submit buttons on a page. Pressing no. 1 should run through validation, pressing no. 2 should avoid this. How am I able to this in a good way? I'm using Struts 1.01 thus validate method is in the form bean. Any hints would be welcomed, Andre Michel --

RE: form value not loaded...

2003-09-05 Thread Pady Srinivasan
Yep. That did it. Thanks. I couldn't find any documentation that stated that the html form name and the form-bean definition name in struts-config.xml have to match. Maybe it is so obvious... Thanks -- pady [EMAIL PROTECTED] -Original Message- From: David Friedman [mailto:[EMAIL

RE: Avoid Validate After Submit

2003-09-05 Thread Mark Galbreath
You can't unless you move the validation to the Action class. Mark -Original Message- From: Andre Michel [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 8:36 AM To: [EMAIL PROTECTED] Subject: Avoid Validate After Submit Hello ... I'd like to have two submit buttons on a

RE: Avoid Validate After Submit

2003-09-05 Thread Pady Srinivasan
I don't know if this works in 1.01 but I tried in 1.1. You can use the HttpServletRequest passed into the validate method to find out which button was pressed ( getParameter(Button2) ), and return an empty ActionErrors. Thanks -- pady [EMAIL PROTECTED] -Original Message- From:

[FRIDAY] Project Management

2003-09-05 Thread Mark Galbreath
A tourist walked into a pet shop and was looking at the animals on display. While he was there, another customer walked in and said to the shopkeeper, I'll have a C monkey please. The shopkeeper nodded, went over to a cage at the side of the shop and took out a monkey. He fit a collar and

RE: [OT] Scheduling

2003-09-05 Thread Hue Holleran
Using this method could you not do this in a servlet set in web.xml with load-on-startup? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 01 September 2003 11:58 To: Struts Users Mailing List Subject: RE: [OT] Scheduling Yes, I have done that. But, now

RE: debug level of struts...

2003-09-05 Thread José Gustavo Zagato
Hey Folks ! I tried This configuration, and it seams that it don’t change anything to me... any ideias ? José Gustavo Zagato Rosa System Analyst - Atos Origin [EMAIL PROTECTED] -Original Message- From: Peter Smith [mailto:[EMAIL PROTECTED] Sent: sexta-feira, 5 de setembro

How to set action in javascript.

2003-09-05 Thread deepaksawdekar
I am using the same jsp for create and modify techonolgy. Due to this i am facing some problems, like for that i need to set the action in the javascript. But for that i have to give the full path of action including base folder. which i think its hardcoding, which i want to avoid. Is there

RE: [OT] Scheduling

2003-09-05 Thread Andrew Hill
Or: Implement the PlugIn interface add the appropriate reference to your class in yoir struts-config.xml -Original Message- From: Hue Holleran [mailto:[EMAIL PROTECTED] Sent: Monday, 1 September 2003 19:41 To: Struts Users Mailing List Subject: RE: [OT] Scheduling Using this method

populating input tag of type image

2003-09-05 Thread Das, Amar
Hi, I am using the following input tag in my html:form. html:input type=image src=mapSource property= / How can I populate this input image in the associated Action Form? I am using the following method, but it is not working. public void setMapSource() { this.mapSource =

Reg: Dyna Form Validation - Filed match

2003-09-05 Thread Raj Atchutuni
Does any one have validation rule to match two fileds. Like PASSWORD, CONFIRM PASSWORD on the form. If both are not the same display error. Thanks Raj - Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software

RE: Validator cannot find message key

2003-09-05 Thread Yuan, Saul (TOR-ML)
Hi Adam, The problem happens to both client side (javascript) and serverside. Below are the codes for each file: Struts-config.xml: !-- form beans -- form-bean name=messageForm type=com.mmi.ratt.emailmanager.message.form.MessageForm / !-- action mapping -- action

[FRIDAY] Project Management

2003-09-05 Thread Mark Galbreath
A tourist walked into a pet shop and was looking at the animals on display. While he was there, another customer walked in and said to the shopkeeper, I'll have a C monkey please. The shopkeeper nodded, went over to a cage at the side of the shop and took out a monkey. He fit a collar and

Three questions

2003-09-05 Thread Rouven Gehm
Hi, i'm new to Struts and have some minor questions which haven't been answered by Dr. Google, book or tutorial i've found and done so far, so maybe someone here can give me a fast answer. I've started working on a small application, where i nearly try to use everything Struts offers me,

Re: How to reference multiple form beans from one VelocityLayoutServlet set of page fragments?

2003-09-05 Thread Mike Kienenberger
Edgar P Dollin [EMAIL PROTECTED] wrote: I have gotten two html:forms two work in a limited fashion with struts. Anything usable you'd like to be specific about? :) I still have no clue how I can get a reference to a second form-bean. Note that your always visible form, doesn't have to be

[FRIDAY] Some flash fun

2003-09-05 Thread Andrew Hill
I just know Mark loves flash stuff ;-) This should take your mind off dealing with validator quirks for a while. (Sorry mate - couldnt find any lisp to go with it!) http://www.freshsensation.com/samorost.swf - To

OT: JBuilder and Web apps ?

2003-09-05 Thread Pady Srinivasan
JBuilder seems to translate/compile every jsp in current project everytime you run the project ( it uses Tomcat for running the web app ). I couldn't find a setting to make JB only translate/compile JSP pages that have changed since the last build. It gets real slow when there are many JSP pages.

RE: debug level of struts...

2003-09-05 Thread Pady Srinivasan
This did not work for me also. And looking at ActionServlet code, I am not even sure if this is used anywhere. Also this is deprecated. Also Navjot had suggested to set org.apache.struts = FINE in jre/lib/logging.properties. This didn't work. But when I set

Re: Reg: Dyna Form Validation - Filed match

2003-09-05 Thread Adam Hardy
Somebody else asked that last week - check the archives, I don't have it off the top of my head. Actually it might be in the apachewiki - and if it isn't, it should be. Adam On 09/05/2003 03:44 PM Raj Atchutuni wrote: Does any one have validation rule to match two fileds. Like PASSWORD,

Re: [FRIDAY] Project Management

2003-09-05 Thread Adam Hardy
A golden oldie! On 09/05/2003 03:12 PM Mark Galbreath wrote: A tourist walked into a pet shop and was looking at the animals on display. While he was there, another customer walked in and said to the shopkeeper, I'll have a C monkey please. The shopkeeper nodded, went over to a cage at the side

[OT] Test

2003-09-05 Thread Stephan
Sorry I have not been able to send! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [OT] Test

2003-09-05 Thread Chen, Gin
I didn't get it.. can you try it again? -Original Message- From: Stephan [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 4:26 PM To: [EMAIL PROTECTED] Subject: [OT] Test Sorry I have not been able to send!

RE: [FRIDAY] Some flash fun

2003-09-05 Thread Bradley Handy
That was neat. -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 10:21 AM To: Struts Subject: [FRIDAY] Some flash fun I just know Mark loves flash stuff ;-) This should take your mind off dealing with validator quirks for a while.

Re: [FRIDAY] Some flash fun

2003-09-05 Thread Adam Hardy
I can hardly believe I am saying this, but the aardvark keeps eating my pixie. On 09/05/2003 05:28 PM Bradley Handy wrote: That was neat. -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 10:21 AM To: Struts Subject: [FRIDAY] Some flash fun

Property files containing countries

2003-09-05 Thread Jeroen Breedveld
Hi all, Can someone please tell me if someone outthere is maintaining property files containing all country names and their translations in different languages? I need them for a webapp I'm creating. thanks and regards, Jeroen -- X-Hive Corporation e-mail: [EMAIL PROTECTED]

Re: Validator cannot find message key

2003-09-05 Thread Adam Hardy
I see you're validating manually in the action. Have you tried doing it automatically with validate=true in the mapping? I'm not saying you have to do it like that, but it should work that way. You should specify the input attribute in the mapping as well. On 09/05/2003 03:49 PM Yuan, Saul

Re: [FRIDAY] Some flash fun

2003-09-05 Thread Michael Ruppin
Distract him with some tasty ants. Mmmm. Ants. Adam Hardy [EMAIL PROTECTED] wrote:I can hardly believe I am saying this, but the aardvark keeps eating my pixie. On 09/05/2003 05:28 PM Bradley Handy wrote: That was neat. -Original Message- From: Andrew Hill [mailto:[EMAIL

Re: Reg: Dyna Form Validation - Filed match

2003-09-05 Thread Mike Kienenberger
Raj Atchutuni [EMAIL PROTECTED] wrote: Does any one have validation rule to match two fileds. Like PASSWORD, CONFIRM PASSWORD on the form. If both are not the same display error. http://jakarta.apache.org/struts/userGuide/dev_validator.html#plugs Scroll to Comparing Two Fields

RE: [FRIDAY] Some flash fun

2003-09-05 Thread Chen, Gin
I thought those were spiders -Original Message- From: Michael Ruppin [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 12:10 PM To: Struts Users Mailing List Subject: Re: [FRIDAY] Some flash fun Distract him with some tasty ants. Mmmm. Ants. Adam Hardy [EMAIL PROTECTED]

[OT] Character Encoding

2003-09-05 Thread Yann Lebreton
As part of localizing a site, I'm trying to set the content type of the response. Now I now I can do this within the JSP (%@ page contentType=text/html; charset=UTF-8 % ). But I'd rather do this globally. I found out that you can set this as a parameter of the controller in struts. This would

RE: [OT] Character Encoding

2003-09-05 Thread José Gustavo Zagato
Hey Yann Lebreton ! I have the same doubt as you, but for time constraints we decide to use the encode at the JSP. I have some questions about Internationalizations and maybe you / someone else could give me a more clear perspective on this subject... I' am developing a

Installation problems on debian

2003-09-05 Thread Volker Cordes
Hi, I'm using debian with Tomcat4. I copied all struts *.war-files into the tomcat webapp-directory and they are listed in the manager. But running the applications throws Exceptions like: struts-example: javax.servlet.ServletException: org/apache/jasper/runtime/JspException at

RE: Validator cannot find message key

2003-09-05 Thread Yuan, Saul (TOR-ML)
Well, problem solved!!! As a last resort, I updated all my jar files (struts.jar, struts-validator.jar etc dated at 06/19/03) with the ones (dated at 06/29/03) from a fresh download of the Struts1.1 binary release. And like a magic, the problem disappeared. Thank you all for the suggestions,

RE: Probelm with global-exceptions routing.

2003-09-05 Thread David Friedman
Dear Sreekant, When I programmed my RequestProcessor a about 2 weeks ago, I found processRoles() throws exceptions which are absolutely not catchable by any Exceptions listings in struts-config.xml. So, I wrote better Java code to catch things like null pointers. Or (pardon the thick sarcasm),

Struts performance tips???

2003-09-05 Thread Pete Serafin
All, I have a Struts1.1.3 based application running on Jrun4 and Iplanet Enterprise 5 servers. I was wondering if there were any guidelines, faq's, or help in any of the Struts books on how to improve application performance. Any help is appreciated. Pete Serafin HealthCare Recruiters

RE: [OT] Character Encoding

2003-09-05 Thread Yann Lebreton
did you set the character encoding on the request before getting the data to the db ? if you don't the input may be interpreted using the default JVM's encoding. -Original Message- From: José Gustavo Zagato [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 9:53 AM To: 'Struts

Combining struts and JSTL tags...

2003-09-05 Thread Pady Srinivasan
I am using the html library from struts, otherwise use JSTL libraries for my other requirements. I was curious if anybody uses both these tag libraries together ? If so, which ones do you use from which library and why ? Also, is there any document/article comparing the 2 tag libraries ?

RE: Combining struts and JSTL tags...

2003-09-05 Thread Siggelkow, Bill
Pady -- generally, there is very little overlap between JSTL and the Struts HTML tags. There are no JSTL tags that do the work that the Struts html tags do ... that being said, I encourage you to use the html-el library (basically the Struts html tags which support EL) so you have the full

RE: Combining struts and JSTL tags...

2003-09-05 Thread Chen, Gin
pady this has been discussed many many times before in this list. please search the archives. -Original Message- From: Pady Srinivasan [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 1:58 PM To: [EMAIL PROTECTED] Subject: Combining struts and JSTL tags... I am using the

RE: Combining struts and JSTL tags...

2003-09-05 Thread Slattery, Tim - BLS
I am using the html library from struts, otherwise use JSTL libraries for my other requirements. I was curious if anybody uses both these tag libraries together ? If so, which ones do you use from which library and why ? Also, is there any document/article comparing the 2 tag libraries ?

Re: Struts performance tips???

2003-09-05 Thread David Graham
--- Pete Serafin [EMAIL PROTECTED] wrote: All, I have a Struts1.1.3 based application running on Jrun4 and Iplanet Enterprise 5 servers. I was wondering if there were any guidelines, faq's, or help in any of the Struts books on how to improve application performance. Any help is

RE: Combining struts and JSTL tags...

2003-09-05 Thread Paananen, Tero
I am using the html library from struts, otherwise use JSTL libraries for my other requirements. I was curious if anybody uses both these tag libraries together ? If so, which ones do you use from which library and why ? Also, is there any document/article comparing the 2 tag

RE: Combining struts and JSTL tags...

2003-09-05 Thread Jarnot Voytek Contr AU HQ/SC
fmt:message -Original Message- From: Paananen, Tero [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 1:07 PM To: 'Struts Users Mailing List' Subject: RE: Combining struts and JSTL tags... I am using the html library from struts, otherwise use JSTL libraries for

how to start a background process using a struts action ?

2003-09-05 Thread José Gustavo Zagato
Hi Folks ! Does anyone here know if is possible to start a background process ( like a daemon/service) using an action ? I need this feature because the user will input a few parameters and a schedule date then the system generate the user specific information. Im using struts

RE: Combining struts and JSTL tags...

2003-09-05 Thread Pady Srinivasan
I thought so. Although Google didn't return any thing. I will look in the Struts archives. Thanks -- pady [EMAIL PROTECTED] -Original Message- From: Chen, Gin [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 1:58 PM To: 'Struts Users Mailing List' Subject: RE: Combining

RE: Combining struts and JSTL tags...

2003-09-05 Thread Paananen, Tero
fmt:message It does not use MessageResources, from what I can gather. Or does it? -TPP - This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use,

Failing to get an answer,can it be done?

2003-09-05 Thread Das, Amar
Hi, Is it possible to set the src URL of an input image tag in the action form? For example, how can I assign a URL dynamically to the src attribute of an input tag of type image? html:form .. html:image src=??? / /html:form Thanks

RE: Combining struts and JSTL tags...

2003-09-05 Thread Paananen, Tero
fmt:message It does not use MessageResources, from what I can gather. Or does it? Never mind, found the way to do that: http://www.mail-archive.com/[EMAIL PROTECTED]/msg49508.html -TPP - This email may contain

issue with the multi select

2003-09-05 Thread Mathew, Manoj
I tried it and still form is not retaining the value this is the select i declared in my jsp html:select size=6 property=s2 multiple=5 style=width: 80px /html:select there were another issue in the function which map the fields to the form till date my dynaaction form were

RE: issue with the multi select

2003-09-05 Thread Mathew, Manoj
I tried it and still form is not retaining the value this is the select i declared in my jsp html:select size=6 property=s2 multiple=5 style=width: 80px /html:select there were another issue in the function which map the fields to the form till date my dynaaction form were

RE: Combining struts and JSTL tags...

2003-09-05 Thread Pady Srinivasan
That was the answer I was looking for. Thanks -- pady [EMAIL PROTECTED] -Original Message- From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 1:58 PM To: 'Struts Users Mailing List' Subject: RE: Combining struts and JSTL tags... I am using the

RE: how to start a background process using a struts action ?

2003-09-05 Thread Mike Jasnowski
Well, fancy scheduling API's aside, the action could launch a process via the JDK's Runtime.exec() method. You can pass that parms and properties. -Original Message- From: José Gustavo Zagato [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 1:11 PM To: 'Struts Users Mailing

RE: Failing to get an answer,can it be done?

2003-09-05 Thread Mike Jasnowski
Sure, html:image src='%= formBean.url %'/ or wi html-el html:image src=${formBean.url}'/ I haven't used the html-el lib so I'm guessing on that last one -Original Message- From: Das, Amar [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 2:24 PM To: [EMAIL PROTECTED]

Upload Problem

2003-09-05 Thread Lilian Maria Ramos Lima
Hi, We are using the Struts Upload support in our application, and it's working in our development and test enviromnent, but not in our production enviromnent. The exception is very strange and ambigous : java.io.IOException: The operation completed successfully. I have looked for permissions

Re: Syntax for accessing an object nested in a List of Lists [SOLVED]

2003-09-05 Thread Jason Lea
Did you try list[index][index].property? It is too late for me to test (1:34am - going to bed) Robert Taylor wrote: Okay. After looking at PropertyUtils I determined that this sort of syntax is not allowed when accessing an object from an ArrayList of ArrayLists. You have to wrap the child lists

How to click on a button to link to a page?

2003-09-05 Thread Rick Col
Hi, If I have a go button like this: html:submitbean:message key=button.go/html:submit once I click on this button, I want it to go to another jsp page sample.jsp. How can I do that? Is it possible to use html:link to do the job? regards, __ Do you Yahoo!?

RE: how to start a background process using a struts action ?

2003-09-05 Thread Steve Hall
José, This is really a system design question rather than a Struts specific question so I've add the [OT] to the subject. I've seen an implementation similar to what you're asking about. I'm not sure if what I can contribute will help you with your situation. Something to keep

setting caching true from struts-config

2003-09-05 Thread Anand M S
Hi All, I need to set the cache = true for all my pages using struts-config, how can we do this? any ideas? Thanks, Anand _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail

RE: How to click on a button to link to a page?

2003-09-05 Thread Aleksandr Shneyderman
input type=button value=Click Me onclick=document.location='html:rewrite page=sample.jsp /' -Original Message- From: Rick Col [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 2:43 PM To: [EMAIL PROTECTED] Subject: How to click on a button to link to a page? Hi, If I

RE: Combining struts and JSTL tags...

2003-09-05 Thread Siggelkow, Bill
Basically, any of the struts tags that are struts-aware were not eliminated from Struts-EL -- specifically, the bean:message tag was not eliminated because it specifically looks in the application resources as specified in struts-config. The fmt:message can be made to look into that bundle but

RE: Avoid Validate After Submit

2003-09-05 Thread Kurt Post
Here's how I do it in Struts 1.1. I'm not sure how 1.1 is different from 1.01 in the validation area so your mileage may very. First I have a base class for all my ActionForm's called ExtendedActionBase. Among other things, this class defines some standard button name for next, back, cancel, and

RE: How to click on a button to link to a page?

2003-09-05 Thread Rick Col
Thanks, Sorry, I did not make it clear. I actually need to retrieve form data after I click go button. So, basically, it has to go to action path specified in struts-config.xml after clicking on the button. Can I simply replace sample.jsp with action path specified in struts-config.xml in your

RE: Failing to get an answer,can it be done?

2003-09-05 Thread Das, Amar
Thanks. But it is not working. In my form bean (MapForm) I am setting the following variable public class MapForm extends ActionForm { /* Map Source*/ private String mapSource=http://geo.tpmc.com/output/dqs_GEO2056217212.jpg;; . public MapForm(){ try {

closing tag for html tags...

2003-09-05 Thread Pady Srinivasan
I was wondering why Struts doesn't put closing tags on the html generated. Like html:text property=name / Generates input type=text name=name value= Where is the / or /input ? Is there a reason for not generating this ? Thanks -- pady [EMAIL PROTECTED]

RE: How to click on a button to link to a page?

2003-09-05 Thread Aleksandr Shneyderman
you would need to create a mapping the for the sample.jsp suppose you call it sample in the action that will be processing your request when you ready to redirect to sample.jsp just state return mapping.findForward (sample); Unless I misunderstood again, but this is just a regular way to do the

Re: Upload Problem

2003-09-05 Thread Robert Leland
Lilian Maria Ramos Lima wrote: Hi, We are using the Struts Upload support in our application, and it's working in our development and test enviromnent, but not in our production enviromnent. The exception is very strange and ambigous : java.io.IOException: The operation completed successfully.

Re: closing tag for html tags...

2003-09-05 Thread David Graham
Place html:xhtml/ at the top of your page. David --- Pady Srinivasan [EMAIL PROTECTED] wrote: I was wondering why Struts doesn't put closing tags on the html generated. Like html:text property=name / Generates input type=text name=name value= Where is the / or /input ? Is

  1   2   >