PLEASE READ: Spam block

2004-01-29 Thread Martin Cooper
Folks, I've requested a block on all those AUTO messages, so it should quiet down soon. Please, no more follow-ups on that thread - it only makes the noise worse, and doesn't help anyone. We can all see there's a problem! -- Martin Cooper

AUTO {ICICICARE#005-220-427}log4j integration

2004-01-29 Thread NRI Cell
Dear Sir / Madam,Thank you for writing to [EMAIL PROTECTED] We confirm receipt of your mail and assure you of a response shortly.To help us serve you better, we would request you to kindly mention your account number or any reference number you may have in your future correspondence. Kindly

AUTO {ICICICARE#005-220-413}Best Practice for long running tasks with status check

2004-01-29 Thread NRI Cell
Dear Sir / Madam,Thank you for writing to [EMAIL PROTECTED] We confirm receipt of your mail and assure you of a response shortly.To help us serve you better, we would request you to kindly mention your account number or any reference number you may have in your future correspondence. Kindly

Re: page vs session

2004-01-29 Thread Alvaro Martinez
I just guess the problem. ActionForms can have only two different levels of scope: request and session. When I put in the mapping tag scope=page it doesn't understand it and it uses scope=session beacuse this one is the scope by default. Alvaro Martinez - Original Message - From: Alvaro

AUTO {ICICICARE#005-220-652}select box in struts

2004-01-29 Thread NRI Cell
Dear Sir / Madam,Thank you for writing to [EMAIL PROTECTED] We confirm receipt of your mail and assure you of a response shortly.To help us serve you better, we would request you to kindly mention your account number or any reference number you may have in your future correspondence. Kindly

AUTO {ICICICARE#005-220-647}page vs session

2004-01-29 Thread NRI Cell
Dear Sir / Madam,Thank you for writing to [EMAIL PROTECTED] We confirm receipt of your mail and assure you of a response shortly.To help us serve you better, we would request you to kindly mention your account number or any reference number you may have in your future correspondence. Kindly

AUTO {ICICICARE#005-220-655}best way to handle an indexed property and a textarea

2004-01-29 Thread NRI Cell
Dear Sir / Madam,Thank you for writing to [EMAIL PROTECTED] We confirm receipt of your mail and assure you of a response shortly.To help us serve you better, we would request you to kindly mention your account number or any reference number you may have in your future correspondence. Kindly

RE: Best Practice for long running tasks with status check

2004-01-29 Thread Marco Mistroni
Hi, My 2 cents.. For the first half of your query, you can use JMX timer. Best way to do that Is to write an MBean that register itself with the timer and eventually receive notifications. You can make so that the 'object htat needs to be updated all the time' is A listener to

RE: multiple action forms in a single jsp

2004-01-29 Thread Hookom, Jacob
What you are describing almost sounds like a good use of JSF-- If you have 5 forms on a page, separate, do you want to save the state of the other 4 forms if submit is sent for one of them? -Original Message- From: Mathew, Manoj [mailto:[EMAIL PROTECTED] Sent: Thursday, January 29,

RE: Best Practice for long running tasks with status check

2004-01-29 Thread Hookom, Jacob
Create a bean with a list of tasks to complete and have a thread execute them and then have a getter that will respond with the total tasks over tasks completed. -Original Message- From: Martin Gross [mailto:[EMAIL PROTECTED] Sent: Thursday, January 29, 2004 11:20 AM To: Struts Users

Re: struts-user being spammed

2004-01-29 Thread Craig R. McClanahan
Quoting Martin Cooper [EMAIL PROTECTED]: The struts-user list is being spammed with dozens of bogus messages. The titles vary slightly, including the subjects of prior messages to the list. Here's what we're seeing: http://marc.theaimsgroup.com/?l=struts-userw=2r=1s=%3CAUTO%3Eq=t Can

FW: Redirect and request params question

2004-01-29 Thread Nigel Barrett
_ From: Nigel Barrett [mailto:[EMAIL PROTECTED] Sent: 29 January 2004 14:38 To: '[EMAIL PROTECTED]' Subject: Redirect and request params question Hi, I have a table based site where a page is made up of a number of forms. I want to have a separate action and form class

RE: multiple action forms in a single jsp

2004-01-29 Thread Mathew, Manoj
Actually my real issue is i have a huge volume of data to deal in a page.So my Action form was very huge. Then i thought of using multiple forms.I would appreciate if you can suggest me some other ways to deal this issue. Right now i have aroung 170 form elements, hence 170 * 2 methods(getters

RE: multiple action forms in a single jsp

2004-01-29 Thread Hookom, Jacob
I would put it all in one action form instead of splitting it up. Husted.com has a tip on staying away from making your action forms too specific. There might be a way to have child objects of a main parent form (which is what you reference in your action mapping). I've never tried it, but I

Re: session control

2004-01-29 Thread P. Hill
Manfred Wolff wrote: Vinicius. I think having objects in the session is no good solution. It might have a little bit of global variables, but thats only my 0.02$. I try to group objects into own contexts - I call it action-contexts, and allow actions only write information in these context.

2 unanswered questions

2004-01-29 Thread Matt Bathje
Hi all. I have a few questions I've posted to the list recently that have not been answered. 2 of them are somewhat important, and I was wondering if anybody had any insights. I will simplify the questions in this message and include a link to the full description. First - how can I have

Re[2]: Best Practice for long running tasks with status check

2004-01-29 Thread Martin Gross
hi marco, thanks for the information. I will check JMX. Regards, Martin Hi, My 2 cents.. For the first half of your query, you can use JMX timer. Best way to do that Is to write an MBean that register itself with the timer and eventually receive notifications. You can make so

Re[2]: Best Practice for long running tasks with status check

2004-01-29 Thread Martin Gross
How would I get the results from the getter to the browser if I want them regularily? With a meta-refresh in the html page? Or some kind of keeping the connection or response open? Create a bean with a list of tasks to complete and have a thread execute them and then have a getter that will

RE: Re[2]: Best Practice for long running tasks with status check

2004-01-29 Thread Hookom, Jacob
The only way to force a client to update is to do a meta-refresh in the html. The other thing you can do is setup a callback handler, so you can have Bean A, listen for events from you task thread, telling you when things are completed. You in turn, ask Bean A for information that it receives as

How to nest iterations?

2004-01-29 Thread Slattery, Tim - BLS
I'm trying to work with an unusual ActiveForm bean in Struts. The bean contains a collection of objects called ItemBean. Each ItemBean contains (among many other things) a collection of beans called PriceBean. In my HTML form I want to show each price for each item. So I coded something like this

Re: 2 unanswered questions

2004-01-29 Thread Joe Germuska
First - how can I have multiple forms on the same page all use javascript validation? The javascript that struts prints out for each form conflicts with each other, and causes only the last form's validations to work. Originally asked here:

Re[4]: Best Practice for long running tasks with status check

2004-01-29 Thread Martin Gross
Thanks, I think I will do it this way. I do not know how they managed to do that: But I saw in another webapp that the application did send some kind of continuing response to the browser. The resulting page kept on growing with the messages until all tasks were finished. It was the same effect

AW: Re[2]: Best Practice for long running tasks with status check

2004-01-29 Thread Kasterovic, Slobodan
-- The only way to force a client to update is to do a -- meta-refresh in the -- html. and what is whith asynch pushing of data from server to client ? IMHO it is possible, but not simple, however interesting :). Slobodan -

[OT] JSF Model Lifecycle Management

2004-01-29 Thread Hookom, Jacob
I've been looking at using JSF for our next large project. A lot of what we want to do for managing state would be in the session scope, treated like controllers. My question is: how can I know when these beans are initialized and is there any way for me to manage their lifecycle through

test

2004-01-29 Thread krg9263
test - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[SOLVED]Convert JSP to static HTML...

2004-01-29 Thread Jacob Wilson
Hi guys... Sorry I wasn't able to get back to you immediately on this question I had asked... I was pretty busy on other things and had asked my friend to work on the same... The way he had implemented was by using the Apache Commons HTTP Client... Here is code snippet... It's very simple...

Validation PlugIn

2004-01-29 Thread krg9263
When using the ValidationPlugIn where should the ApplicationResource.properties page be placed? Is anywhere on the classpath sufficient? -K - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: How to nest iterations?

2004-01-29 Thread Slattery, Tim - BLS
I'm trying to work with an unusual ActiveForm bean in Struts. The bean contains a collection of objects called ItemBean. Each ItemBean contains (among many other things) a collection of beans called PriceBean. In my HTML form I want to show each price for each item. So I coded something

RE: Validation PlugIn

2004-01-29 Thread Matthias Wessendorf
store it in /WEB-INF/classes when in config is: message-resources parameter=ApplicationResources / or in /WEB-INF/classes/com/foo/bar/ when in config is: message-resources parameter=com.foo.bar.ApplicationResources / -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf

Unable to redirect to error page in declarative Exception handling

2004-01-29 Thread Shyam A
Hi, I use declarative Exception handling for my Struts application in 2 places - struts-config.xml and web.xml. I use the following in my Struts-config.xml: ## global-exceptions exception key=error.exception

image input tags and list-backed action forms?

2004-01-29 Thread Bradford Holcombe
I have a page where I need to submit a form with a variable number of image buttons. I have been successful with using the ImageButtonBean util to parse the parameters in the request for a single image button. I have also been successful using the list-backed action forms for variable numbers

Re: image input tags and list-backed action forms?

2004-01-29 Thread Jay Haines
Don't know if this helps or not but I'm using the onclick event of the input to set a hidden form property that carries back to the bean via reflection. Jay - Original Message - From: Bradford Holcombe [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 29, 2004 12:54 PM

stop user from clicking the submit button twice

2004-01-29 Thread Ashish Kulkarni
Hi I have a process which takes about 30 seconds, i want to show some kind of image or disable the submit button untill the process is complete and tell user that the process is running How can i do it, i m using struts1.1 any code example or article will greatly help Ashish (Some thing like the

Validation problem

2004-01-29 Thread Nathan Pitts
I am wondering how to solve the following problem with a minimal amount of recoding, and hope someone can give some input. I have a form the has three html:submit buttons -- Update, Cancel and Delete. I am using a LookupDispatchAction and an ActionForm with the validation in the validate()

RE: Validation problem

2004-01-29 Thread Robert Taylor
What's the name of your Cancel button? Struts should not validate if it finds org.apache.struts.taglib.html.CANCEL or org.apache.struts.taglib.html.CANCEL.x Take a look at the RequestProcessor.processValidate() code: if (request.getAttribute(Globals.CANCEL_KEY) != null) { if

RE: Validation problem

2004-01-29 Thread Barnett, Brian W.
The Struts Validator provides a mechanism to deal with Cancel buttons. A flag is set in the onclick method for the cancel button in the jsp page. The validate methods check this flag and if it is set, they skip validation and just return true. html:cancel onclick=bCancel=true; If you're not

Re: 2 unanswered questions

2004-01-29 Thread Matt Bathje
I'm assuming that you've at least specified distinct values for the method attribute for each use of html:javascript? http://jakarta.apache.org/struts/userGuide/struts-html.html#javascript (Actually, looking at the doc I see that the process when this isn't specified should result in unique

Please unsubscribe yxchen2@qwest.com

2004-01-29 Thread Chen, Yuan

Responding to Your Newsletter Request

2004-01-29 Thread requests
Your request was not completed because the newsletter [EMAIL PROTECTED] could not be found. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: no process to read data written to a pipe ??

2004-01-29 Thread Paul McCulloch
This looks like what happens if the the browser gives up on the reqest in question and makes a new one. I don't use Websphere so I can't be sure, but the Tomcat error in that situation is very similair. Try and reproduce it in development - make a request to your app then navigate anywhere else

File /tags/struts-logic not found

2004-01-29 Thread Theodosios Paschalidis
Hi all, I had to delete my application's temporary directory in Tomcat's \work\Standalone\localhost because it was not running using my latest compiled files. Now when I access my application I get the following error and I don't have a clue why that is so! Any ideas? Thank you for your

RE: stop user from clicking the submit button twice

2004-01-29 Thread Andrew Hill
Havent used it yet myself so dont have any code to show, but struts provides a token based mechanism which can be used to detect when the same page has been submitted twice and thus take appropriate action (such as showing an error message). Have a look under 'tokens' in the struts documentation,

RE: Please unsubscribe yxchen2@qwest.com

2004-01-29 Thread Andrew Hill
pak chooie unf Im sorry Dave. I cant do that. /unf /chooie /pak -Original Message- From: Chen, Yuan [mailto:[EMAIL PROTECTED] Sent: Friday, 30 January 2004 08:01 To: [EMAIL PROTECTED] Subject: Please unsubscribe [EMAIL PROTECTED]

Responding to Your Newsletter Request

2004-01-29 Thread requests
Your request was not completed because the newsletter [EMAIL PROTECTED] could not be found. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Email with file created on the fly

2004-01-29 Thread hhlow
How can I send email with a file created on the fly using Struts? Thank you Clement - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Email with file created on the fly

2004-01-29 Thread Joe Hertz
I see an action that uses the JavaMail API in your future. Nice little QuickStart article can be found here: http://www.javaworld.com/javaworld/jw-10-2001/jw-1026-javamail-p1.html -Original Message- From: hhlow [mailto:[EMAIL PROTECTED] Sent: Thursday, January 29, 2004 9:41 PM To:

[OT]caching XML object

2004-01-29 Thread Prashanth.S
Hi all, How can i cache XML object in my web application?I dont want to always read the xml file for constructing XML objecti also need a way to check weather there has been any changes between the existing object in cache and xml file???Iam using jdom Thanks Prashanth

RE: Email with file created on the fly

2004-01-29 Thread Andrew Hill
1. Create the file 2. Email it (duh!) Struts is a web ui framework. It's not about email and all that, so its not really a question of how to do it 'with struts', but more a case of *where* to do it in a struts app - and that depends on when your sending the mail (interactive or batch). Go take

RE: [OT]caching XML object

2004-01-29 Thread Andrew Hill
Im not familiar with JDOM, but Ive had to do some DOM caching for standard DOMs (with Xerces DOM impl) which proved to be a pain, as xerces DOM objects arent thread-safe - even for reading apparently - which meant I had to clone it from a synchronized block (thus eliminating most of the benefit of

error-page does not work with IOException?

2004-01-29 Thread Song Qiu
I use error-page to do global error handling. It works perfectly for ServletException. I can see the eror page displayed properly. But for IOException, It does not work, I can only see a blank page. Here is part of my web.xml: error-page !-- This is to catch any ServletException --

Re: File /tags/struts-logic not found

2004-01-29 Thread shankarr
Hi! I am not much aware of the application's temp directory part. But, it seems that you have accidentally deleted the struts-logic.tld file in WEB-INF folder. Richie At 01:26 AM 1/30/2004 +, you wrote: Hi all, I had to delete my application's temporary directory in Tomcat's

Shall i use two form beans under one Action

2004-01-29 Thread Ramachandran
Hi, Shall i use two form beans under one action. Is it possible. I am having 1) LoginForm 2) LoginAction 3) RequirementForm Here when the users login, i want to display the home jsp, caontains menu. For that i am having username and password fields in

RE: File /tags/struts-logic not found

2004-01-29 Thread Ramachandran
Hi ! No problem will occurs by deleting the files in work folder. If u restarted the server then it will have new compiled files. i thought your tld file for struts-logic is corrupted. So relace that one. It will work Ram -Original Message- From: shankarr [mailto:[EMAIL

Struts Module

2004-01-29 Thread kchris1
Hi, I am looking for an example of how to setup and access struts modules. Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Email with file created on the fly

2004-01-29 Thread Nadeem Bitar
You can use VelocityEmail or VelocityHtmlEmail which are part of turbine. http://jakarta.apache.org/turbine/turbine-2.3/apidocs/org/apache/ turbine/util/velocity/package-frame.html Since these are the only classes that I use from turbine, I just removed these along with commons-mail that is used

RE: [OT]caching XML object

2004-01-29 Thread Prashanth.S
Hi andrew, Iam using xml for displaying,deleting,updating and adding categories in a tree like hierarchy...so i need to cache it as it will be pain to read the same xml file again and again even though it has not changed[Will be in most cases]so how to go abt it??? Thanks Prashanth

StrutsEJB

2004-01-29 Thread avinash . tiwari
Hi Struts Users Has anybody tried and implemented the StrutsEJB framework? What are its advantages and disadvantages over Struts? Thanks in advance. Regards AvinashDISCLAIMER: The information contained in this message is intended only and solely for the addressed individual or entity

Re: StrutsEJB

2004-01-29 Thread Far Naq
Hi, i want to develop a solution using Struts and EJB .. could anyone give me URLs to download and tutorials maybe about this StrutsEJB. I would be really thankful, thanks in advance. Regards, Farrukh. [EMAIL PROTECTED] writes: Hi Struts Users Has anybody tried and implemented the

managing struts modules

2004-01-29 Thread kchris1
Hello, Please, may someone provides me with informations or examples on howto create new modules, configure the struts config, and accessing and switching between modules. Thanks in advance. - To unsubscribe, e-mail: [EMAIL

<    1   2