AUTO {ICICICARE#005-210-319}resultset data not obtained

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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.



AUTO {ICICICARE#005-210-306}[OT] mail.apache.org dropping connections?

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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.



RE: [OT] RE: log4j integration

2004-01-29 Thread shankarr
hi!
I am still not clear as to where I need to write this class or method.
Will it not suffice to give the entries in the web.xml file itself.
This is the first time I am dealing with these, so please help.
What I have done till now is to get the static logger instance in the class 
and then put the logger.debug(xx); prints.
I need to know this :
a) In the struts framework, will it not suffice to just put entries in the 
web.xml
If not, then where in the framework should I write my class that uses the 
log4j apis?

Richie

At 12:50 PM 1/28/2004 -0500, you wrote:
Yup, that should work just fine. If you want to be able to modify the config
info while the app is running (e.g. turn on debugging in production without
reloading the app), here's another approach.
Create a directory and place it on the app server's classpath. For WLS
(depending on how you do your install and create your domains), it might be
something like C:\bea8\user_projects\domains\dotech\applib.
For each app, place a unique Log4j config file in the directory. For example,
app1-log4j.xml and app2-log4j.xml.
In your app's web.xml file, include context-param or env-entry 
elements for
the name of the config file and the watch delay value:

env-entry
  descriptionLog4j resource file name/description
  env-entry-namelog4j/resource/env-entry-name
  env-entry-valueapp1-log4j.xml/env-entry-value
  env-entry-typejava.lang.String/env-entry-type
/env-entry
env-entry
  descriptionLog4j resource file watch delay/description
  env-entry-namelog4j/watchDelay/env-entry-name
  env-entry-value3/env-entry-value
  env-entry-typejava.lang.Long/env-entry-type
/env-entry
Finally, create a context listener (or startup servlet) to perform the
configuration:
ClassLoader cl = Thread.currentThread().getContextClassLoader();
Context initCtx = new InitialContext();
Context envCtx = (Context)initCtx.lookup(java:comp/env);
String log4jResourceName = (String)envCtx.lookup(log4j/resource);
URL log4jResourceURL = cl.getResource(log4jResourceName);
String contentType = log4jResourceURL.openConnection().getContentType();
String fileName = log4jResourceURL.getFile();
Long log4jWatchDelay = (Long)envCtx.lookup(log4j/watchDelay);
long watchDelay = log4jWatchDelay.longValue();
if (application/xml.equals(contentType)) {
  DOMConfigurator.configureAndWatch(fileName, watchDelay);
} else {
  PropertyConfigurator.configureAndWatch(fileName, watchDelay);
}
It's not so bad with some additonal help from Ant. I've also used this 
approach
to make it a bit less painful for multiple developers to share a single WLS
instance during development.

Quoting Chappell, Simon P [EMAIL PROTECTED]:

 Jacob,

 We use log4j 1.2.8 and we include the jar file right in out WEB-INF/lib
 directory of our application. The log4j.properties file then lives 
inside the
 WEB-INF/classes directory. This works well for us on IBM's WAS 4.x.

 I've never seen anyone recommend having log4j at the container level, so go
 with it at the application level and forget about conventional wisdom! :-)

 Hope this helps.

 Simon

 -
 Simon P. Chappell [EMAIL PROTECTED]
 Java Programming Specialist  www.landsend.com
 Lands' End, Inc.   (608) 935-4526

 Wisdom is not the prerogative of the academics. - Peter Chappell

 -Original Message-
 From: Hookom, Jacob [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, January 28, 2004 11:08 AM
 To: Struts Users Mailing List
 Subject: [OT] RE: log4j integration
 
 
 I'm wondering if anyone has gotten log4j to be deployed within separate
 apps?  We are having issues with log4j jars and their
 properties files being
 deployed on each application under Weblogic.  Most of what I've read
 recommends putting log4j at the container level along with a single
 properties file, but that isn't as flexible as what we want it to be.
 
 -Thanks
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]
 
 Sent: Wednesday, January 28, 2004 10:20 AM
 To: [EMAIL PROTECTED]
 Subject: RE: log4j integration
 
 Hi,
 Also there is something called
 ReloadingPropertyConfigurator..May be this in
 combination with HierarchyEventListener will do the trick for you.
 
 I mean the log4j API is so feature rich, you should not be
 required to write
 something for such a common task.
 
 regards,
 Shirish.
 
 -Original Message-
 From: Geeta Ramani [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, January 28, 2004 4:02 PM
 To: Struts Users Mailing List
 Subject: Re: log4j integration
 
 
 *Yes*!!  The LogManager is the ticket - I didn't know about
 this class, so
 tried it
 out.  Works like a charm.. :) Thanks, Shirish (I think?  I
 inadvertently
 erased the
 response to this question so am not sure of its author..)
 
 Geeta

--
Kris Schneider mailto:[EMAIL PROTECTED]
D.O.Tech   http://www.dotech.com/

AUTO {ICICICARE#005-210-569}redirect=true ActionErrors

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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.



Re: redirect=true ActionErrors

2004-01-29 Thread Hubert Rabago
There's no built-in support for this in the current version of Struts.
I'm currently working on a patch which would support this
(http://issues.apache.org/bugzilla/show_bug.cgi?id=866), but of course there's no
guarantee that the patch (or something like it) will make it to a struts release.

In the meantime, you may want to look into using struts' transaction tokens to
allow you to detect double submissions when the user clicks refresh.

If you're aching for this enhancement for your app, let me know and I'll send you
some Struts subclasses that you can incorporate in your current project.

(It's 2 AM my time, though, so I may not get back to you right away.)

- Hubert

--- Manjunath Bhat [EMAIL PROTECTED] wrote:
 The errors that I populated in ActionErrors in my action classes are not
 displayed in page if I use redirect=true. I am using redirect=true
 to handle user clicking refresh button.
 
 If I use redirect=false the ActionErrors are displayed. But I don't
 want to use redirect=false. Is there any work around for this problem?
 
 TIA
 
 Majnunath
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: collection+javascript

2004-01-29 Thread firat
See the javascript FAQ entry in Jguru...

http://www.jguru.com/faq/view.jsp?EID=923880

F.


 Hello,

 Question:
 I use logic iterate tag to display a dropdownbox with countries. How can i
 use javascript to add dropdownboxes ?
 in other words:
 I have a button add country, how can i display a new dropdown when i
 user clicks on it. The number of dropdowns can be infinite (depending of
 the number of clicks).

 Thanks



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Declarative exception handling with wildcards?

2004-01-29 Thread Nicklas Karlsson

Hello,

Is declarative exception handling with wildcards possible if I
e.g. want to map a global exception of type java.lang.* to a certain path? 
If not (didn't find any mention in the user manual and list archives), 
where would be a good place to look for it?

If it is implemented with an instanceof, it should in this case 
probably be changed to a regexp match on the classname of the exception(?)

---
Nicklas Nik Karlsson, Murkiogatan 3 B 29 20740 Åbo, 040 9000 724
[EMAIL PROTECTED] ::: http://www.abo.fi/~nickarls ::: [EMAIL PROTECTED]

If a man speaks in the forest and there is no woman around to hear him -
 Is he still wrong?


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tool for jsp debug

2004-01-29 Thread dilip
test
- Original Message -
From: [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, January 20, 2004 7:58 PM
Subject: Re: Tool for jsp debug


 Ive seen netbeans3.5.1  do both.

 - Original Message -
 From: Florin Pop [EMAIL PROTECTED]
 To: 'Struts Users Mailing List' [EMAIL PROTECTED]
 Sent: Tuesday, January 20, 2004 9:27 AM
 Subject: Tool for jsp debug


  Hi,
 
  does anyone know a tool for debugging jsp files? So that you are able to
  trace the code in the jsp source not in the generated servlets.
 
  Thanks,
 
  Florin
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 


 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.564 / Virus Database: 356 - Release Date: 1/19/2004

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Regarding your email to Marc.

2004-01-29 Thread marc
Hi. This is Marc. I am using a new email spam filter.  Please reply to this email and 
type the given access number in the message to add yourself to my approved list.  You 
will only have to do this once and I will be able to receive all your emails.  

Spam robots will not be able to read these numbers and this is how I stop them from 
sending junk emails.

 TYPE THE ACCESS NUMBER (BELOW) IN YOUR REPLY
 ,,   ,,,,   
,,,,,  ,,,   
 ,,,,   ,,   
 ,, ,,   
 ,,,,   ,,   
 ,,,,   ,,   
   ,, ,,  ,, 


Thanks, Marc

Regarding your email to Marc.

2004-01-29 Thread marc
Hi. This is Marc. I am using a new email spam filter.  Please reply to this email and 
type the given access number in the message to add yourself to my approved list.  You 
will only have to do this once and I will be able to receive all your emails.  

Spam robots will not be able to read these numbers and this is how I stop them from 
sending junk emails.

 TYPE THE ACCESS NUMBER (BELOW) IN YOUR REPLY
 ,,   ,,,,   
,,,,,  ,,,   
 ,,,,   ,,   
 ,, ,,   
 ,,,,   ,,   
 ,,,,   ,,   
   ,, ,,  ,, 


Thanks, Marc

Re: Regarding your email to Marc.

2004-01-29 Thread shankarr
131

At 02:30 AM 1/29/2004 -0600, you wrote:
Hi. This is Marc. I am using a new email spam filter.  Please reply to 
this email and type the given access number in the message to add yourself 
to my approved list.  You will only have to do this once and I will be 
able to receive all your emails.

Spam robots will not be able to read these numbers and this is how I stop 
them from sending junk emails.

 TYPE THE ACCESS NUMBER (BELOW) IN YOUR REPLY
 ,,   ,,,,
,,,,,  ,,,
 ,,,,   ,,
 ,, ,,
 ,,,,   ,,
 ,,,,   ,,
   ,, ,,  ,,
Thanks, Marc
To achieve all that is possible, one must attempt the impossible



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


iterate with Vector

2004-01-29 Thread Paulo Murphy
Hi,

new to the list so hello to all.

Have a problem.
I'm trying to use the logic:iterate tag with a vector.

This vector is a vector of Beans.
Can't see to figure out how to iterate over this vector of Beans.

This is probably not enough information but hopefully someone will reply
and I can provide more info.

Thanks in advance

/Paulo Murphy de Freitas


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



jstl error messages

2004-01-29 Thread Andy Richards
Hi,

Does any one know how to display individual error messages created via the
validator or my actions using jstl?

c:out value=${. myProperty} /

I guess its along the lines of the above but i am missing something?

cant seems to find the answer to this one on the archives?

thanks

Andy



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat 3.3.1 and Struts 1.1

2004-01-29 Thread Daniel Richter
Hi, I have a Problwm with using Struts 1.1 within Tomcat 3.3.1
On my local computer I use Tomcat 4.1.28 and my application works well, but
on my providers server I get the following stacktrace:

Während der Abarbeitung Ihrer Anfrage ist ein Fehler aufgetreten.
  javax.servlet.ServletException: Error - tag.getAsString : component
context is not defined. Check tag syntax
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:460)
at base_1._jspService(base_1.java:614)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at
org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
at org.apache.tomcat.core.Handler.service(Handler.java:235)
at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:91
7)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
at
org.apache.tomcat.modules.server.Ajp12Interceptor.processConnection(Ajp12Int
erceptor.java:221)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:516)
at java.lang.Thread.run(Thread.java:484)


It seems that this older version of struts cannot handle the tiles
definitions from Struts 1.1
Is it because of the Tomcat version? Is there anything I can do against it?
My provider don't want to update Tomcat yet, so is there anything else I can
do?

Daniel


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



PlugIn problems in looking up initial context

2004-01-29 Thread Marco Mistroni
Hi all,
I have written a plugIn in which I have to lookup something in
the JNDI tree..
However,whenever I try to lookup something (In the plugIn), I got the
exception.
My servlet is loaded at startup...so my guess is that when the plugIn is
initialized the context is not yet there
Is that true?
If not, what is the problem? Are there any solutions?

Thanx in advance and regards
marco


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AUTO {ICICICARE#005-212-151}[OT] RE: 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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.



best way to handle an indexed property and a textarea

2004-01-29 Thread Arne Brutschy
Hi all,

I want to use an indexed property with a textarea. Line 0 in the 
textarea should be array[0] etc. What is the best way to do this? Right 
now, I'm thinking about writing a custom tag, subclassing TextareaTag 
and splitting up the data something like value.split(\\r\\n);
Is there a more simple way?

Regards,
Arne Brutschy


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: iterate with Vector

2004-01-29 Thread Claire Wall
Hi Paulo,

Assuming that your Bean class contains simple data types you can do the
following:

logic:iterate id=id name=FormName property=VectorName
bean:write name=id property=PropertyName/
/logic:iterate

So, for example, if you had a Bean with two fields, 'name' and 'phone' in
it, your form was called 'PeopleForm' in struts-config and your vector of
bean objects was called 'people', you could output the bean details to the
screen for each bean in the vector list like so:

logic:iterate id=person name=PeopleForm property=people
bean:write name=person property=name/
bean:write name=person property=phone/
/logic:iterate


hope this helps.
claire

- Original Message -
From: Paulo Murphy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 29, 2004 9:02 AM
Subject: iterate with Vector


 Hi,

 new to the list so hello to all.

 Have a problem.
 I'm trying to use the logic:iterate tag with a vector.

 This vector is a vector of Beans.
 Can't see to figure out how to iterate over this vector of Beans.

 This is probably not enough information but hopefully someone will reply
 and I can provide more info.

 Thanks in advance

 /Paulo Murphy de Freitas


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AUTO {ICICICARE#005-212-999}redirect=true ActionErrors

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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.



AUTO {ICICICARE#005-213-002}collection+javascript

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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.



AUTO {ICICICARE#005-213-153}Declarative exception handling with wildcards?

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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.



Graphically modelling Struts mappings when extensions have been m ade to Struts?

2004-01-29 Thread Andrew Bate
Hi,

Is anyone aware of any graphical modelling tools out there for Struts that
are flexible enough to handle when Struts has been extended?  

I'm currently working on a project where ActionMappings have been extended
to provide extra attributes and the Struts DTD has been modified
accordingly.  I guess most graphical tools out there would not be able to
handle this situation but would be interested to know if anyone can think of
anything that might.

Thanks in advance,.

Andrew

This e-mail and any attachments may contain confidential and/or privileged
material; it is for the intended addressee(s) only.  If you are not a named
addressee, you must not use, retain or disclose such information.

Serco cannot guarantee that the e-mail or any attachments are free from
viruses.

The views expressed in this e-mail are those of the originator and do not
necessarily represent the views of Serco.

Nothing in this e-mail shall bind Serco in any contract or obligation.

Serco Group plc.  Registered in England and Wales.  No: 2048608
Registered Office:  Serco House, 16 Bartley Wood Business Park, Bartley Way,
Hook, Hampshire, RG27 9UY, United Kingdom.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AUTO {ICICICARE#005-213-249}Tool for jsp debug

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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.



AUTO {ICICICARE#005-213-673}Regarding your email to Marc.

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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.



AUTO {ICICICARE#005-213-820}jstl error messages

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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.



AUTO {ICICICARE#005-213-701}iterate with Vector

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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.



AUTO {ICICICARE#005-213-392}Regarding your email to Marc.

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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.



Re: iterate with Vector

2004-01-29 Thread Paulo Murphy

Thanks Claire

That's really quite simple and exactly the answer to my question.
The jsp with the logic:iterate now loops through the beans contained in the
vector. Just had to add the vector to my Form.

Thanks for the quick reply.

/Paulo Murphy de Freitas

- Original Message -
From: Claire Wall [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: iterate with Vector

Hi Paulo,

Assuming that your Bean class contains simple data types you can do the
following:

logic:iterate id=id name=FormName property=VectorName
bean:write name=id property=PropertyName/
/logic:iterate

So, for example, if you had a Bean with two fields, 'name' and 'phone' in
it, your form was called 'PeopleForm' in struts-config and your vector of
bean objects was called 'people', you could output the bean details to the
screen for each bean in the vector list like so:

logic:iterate id=person name=PeopleForm property=people
bean:write name=person property=name/
bean:write name=person property=phone/
/logic:iterate


hope this helps.
claire

- Original Message -
From: Paulo Murphy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 29, 2004 9:02 AM
Subject: iterate with Vector


 Hi,

 new to the list so hello to all.

 Have a problem.
 I'm trying to use the logic:iterate tag with a vector.

 This vector is a vector of Beans.
 Can't see to figure out how to iterate over this vector of Beans.

 This is probably not enough information but hopefully someone will reply
 and I can provide more info.

 Thanks in advance

 /Paulo Murphy de Freitas


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: best way to handle an indexed property and a textarea

2004-01-29 Thread Guillermo Meyer
I needed this feature in one place of my application and made it but
didn´t subclass TextAreaTag, neither created a custom tag (thought i
should). In fact, now that I see it, it's a little messy :P. I know it
can be done better, but it's just only as an idea of what i did and a
starting point for you to solve this problem:


%@ taglib uri=/WEB-INF/tld/struts-bean.tld prefix=bean %
%@ taglib uri=/WEB-INF/tld/struts-html.tld prefix=html %
%@ taglib uri=/WEB-INF/tld/x71taglib.tld prefix=x71 %

%
String maxLength = 78; //max lenght of each row
String size = 145; //size of each row
int max = 10; //number of rows
%

style
.editMsg { BORDER-BOTTOM: #104a7b 1px solid; BORDER-LEFT: #afc4d5 1px
solid; BORDER-RIGHT: #104a7b 1px solid; BORDER-TOP: #afc4d5 1px solid;
COLOR: #00; CURSOR: none; FONT-FAMILY: tahoma,sans-serif; FONT-SIZE:
11px; HEIGHT: 19px; TEXT-DECORATION: none}
/style
%-- you could use logic:iterate --%
% for(int i=0;imax;i++) { %
brinput type=text name=textoMensaje size=%=size%
maxlength=%=maxLength% class=editMsg
onkeypress=inputKeyPress(%=i%, this, event);
% } %

%-- this is the property that replaces the textarea
--%
html:hidden property=elemento.adenda.MCStexto/
script
!--
//detects keypressed on each row
function inputKeyPress(index, input, e) {
var whichASCCan = (document.all?e.keyCode:e.which);
if((whichASCCan==13 || input.value.length == %=maxLength%) 
index  %=max - 1%) {
document.forms['0'].textoMensaje[index+1].focus();
}
}

//load text and splits in each row
function loadText() {
var textoCompleto =
document.forms[0].elements['elemento.adenda.MCStexto'].value;
var ind = 0;
var k2 = 0;
var strAux = ;
for(k=0;ktextoCompleto.length;k++) {
strAux+=textoCompleto.charAt(k);
k2++;
if(k2=%=maxLength%) {

document.forms[0].textoMensaje[ind].value=trim(strAux);
strAux = ;
ind++;
k2=0;
}
}
if(ind  %=max%)
document.forms[0].textoMensaje[ind].value=strAux;
}

//collects all rows and append the result in the hidden value.
function saveText() {
var textoCompleto =
document.forms[0].elements['elemento.adenda.MCStexto'];
textoCompleto.value = ;
for(k=0;k  %=max%;k++) {

textoCompleto.value+=padd(document.forms[0].textoMensaje[k].value,
%=maxLength%, ' ');
}
return true;
}

//it could be placed onload of body
loadText();
//--
/script

Cheers
Guillermo.

-Original Message-
From: Arne Brutschy [mailto:[EMAIL PROTECTED] 
Sent: Jueves, 29 de Enero de 2004 07:10 a.m.
To: Struts Users Mailing List
Subject: best way to handle an indexed property and a textarea


Hi all,

I want to use an indexed property with a textarea. Line 0 in the 
textarea should be array[0] etc. What is the best way to do this? Right 
now, I'm thinking about writing a custom tag, subclassing TextareaTag 
and splitting up the data something like value.split(\\r\\n); Is there
a more simple way?

Regards,
Arne Brutschy



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AUTO {ICICICARE#005-214-420}PlugIn problems in looking up initial context

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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.



Using bean:write as a tag's value atrribute

2004-01-29 Thread Mailing List

Dear All;

Using bean:write name=myBeanName property=its property works properly
in my jsp page body. But when I want to use it in a tag to fill its
attribute, it fails.
 Actually I don't know the syntax of using bean:write, obviously the below
way is wrong:

someTag value=bean:write name=myBeanName property=its property

Using expression is wrong, too:

someTag 
 value=%=bean:write name=myBeanName property=its property%

So how could I use bean:write in my tags?!

Any help would be greatly appreciated
Nafise


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Page is not Valid Any More error with IE with the Back button

2004-01-29 Thread Zsolt Koppany
Hi,

I have a problem with a form and with Internet Explorer. Because the FROM
method is POST IE cannot go back to the previous page when I hit the
Back button, I get the error message (I translated it from German to
English):
Warning: Page is not valid any more.

I don't get this error when the form method is GET but in this form we
might have a lot of data (especially checkboxes) and as far as I know with
the form method GET it is limited how much data can be sent to the server.

Any ideas how to solve this problem?

Zsolt



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AUTO {ICICICARE#005-214-866}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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.



AW: Using bean:write as a tag's value atrribute

2004-01-29 Thread Kasterovic, Slobodan
Try this:

someTag value=%= pageContext.getAttribute(myBeanName).getItsproperty()
% /

Casting is sometimes necessary !!!


Slobodan


-- -Ursprngliche Nachricht-
-- Von: Mailing List [mailto:[EMAIL PROTECTED]
-- Gesendet: Donnerstag, 29. Januar 2004 11:54
-- An: 'Struts Users Mailing List'
-- Betreff: Using bean:write as a tag's value atrribute 
-- 
-- 
-- 
-- Dear All;
-- 
-- Using bean:write name=myBeanName property=its 
-- property works properly
-- in my jsp page body. But when I want to use it in a tag to fill its
-- attribute, it fails.
--  Actually I don't know the syntax of using bean:write, 
-- obviously the below
-- way is wrong:
-- 
-- someTag value=bean:write name=myBeanName property=its 
-- property
-- 
-- Using expression is wrong, too:
-- 
-- someTag 
--  value=%=bean:write name=myBeanName property=its 
-- property%
-- 
-- So how could I use bean:write in my tags?!
-- 
-- Any help would be greatly appreciated
-- Nafise
-- 
-- 
-- 
-- -
-- To unsubscribe, e-mail: [EMAIL PROTECTED]
-- For additional commands, e-mail: [EMAIL PROTECTED]
-- 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AUTO {ICICICARE#005-214-958}iterate with Vector

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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.



lifetime for scope page

2004-01-29 Thread Alvaro Martinez
Hi,
I have written in the file struts-config.xml a bean with scope=page. This
bean inherits from ValidatorForm. If I overwrite the request method and I
set
all the attributes of the bean to null then, after having populated the
bean in a form when I use it again in the same page, the values have a null
value.
But if I don´t overwrite the reset method after having populated the bean,
when
I return to the same form where I have previously populated the bean it
keeps
the same values. Even if I stop tomcat this bean keeps without change the
values of
the atributes.
The only way of making the bean dissapear is opening a new explorer window.
Why is this happening?
What lifetime does a bean have with scope=page?
Without a reset method a bean with page scope behaves equally to a bean
with a sesion scope?

Best Regards


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Regarding Server Side Validation in Struts

2004-01-29 Thread Ramachandran

Hi all,

 Can any one can tell, how to perform server side validation using struts. 
For example there is foem called departments, here depname is unique. How can i 
perform here.

 I know the logic at all. But is there any validator here.Can any one have 
any idea. Please mail regarding this...

Thanks,
Ram


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AUTO {ICICICARE#005-215-242}Graphically modelling Struts mappings when extensions have been made to 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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.



RE: Regarding Server Side Validation in Struts

2004-01-29 Thread McCormack, Chris
http://www.developer.com/java/other/article.php/2214681

-Original Message-
From: Ramachandran [mailto:[EMAIL PROTECTED]
Sent: 29 January 2004 12:02
To: Struts Users Mailing List
Subject: Regarding Server Side Validation in Struts



Hi all,

 Can any one can tell, how to perform server side validation using struts. 
For example there is foem called departments, here depname is unique. How can i 
perform here.

 I know the logic at all. But is there any validator here.Can any one have 
any idea. Please mail regarding this...

Thanks,
Ram


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


***
This e-mail and its attachments are confidential
and are intended for the above named recipient
only. If this has come to you in error, please 
notify the sender immediately and delete this 
e-mail from your system.
You must take no action based on this, nor must 
you copy or disclose it or any part of its contents 
to any person or organisation.
Statements and opinions contained in this email may 
not necessarily represent those of Littlewoods.
Please note that e-mail communications may be monitored.
The registered office of Littlewoods Limited and its
subsidiaries is 100 Old Hall Street, Liverpool, L70 1AB.
Registered number of Littlewoods Limited is 262152.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Can i access session or request object from a bean which is A ctionform variable

2004-01-29 Thread Paul McCulloch
My base ActionFrom has a session attribute on it. In the base reset() method
I set the ActionForm's session to the current session. 

I considered having a request attribute on the from bean, but that looked
like a problem waiting to happen if I used session scoped forms.

Paul

 -Original Message-
 From: Yajamanyam Venugopal
 [mailto:[EMAIL PROTECTED]
 Sent: 28 January 2004 17:50
 To: [EMAIL PROTECTED]
 Subject: Can i access session or request object from a bean which is
 Actionform variable
 
 
 
 Hi 
 
 I have a nested bean in my ActionForm.
 Is there any way to access the session object or HttpRequest 
 from that nestedbean.
 
 class MyActionForm extends ActionForm{
 
 private Tree  myTree;
 }
 
 class Tree{
 
  I would like to access session or http request 
 from this bean
 
 }
 
 Thnaks in advance,
 Venu
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


**
Axios Email Confidentiality Footer
Privileged/Confidential Information may be contained in this message. If you are not 
the addressee indicated in this message (or responsible for delivery of the message to 
such person), you may not copy or deliver this message to anyone. In such case, you 
should destroy this message, and notify us immediately. If you or your employer does 
not consent to Internet email messages of this kind, please advise us immediately. 
Opinions, conclusions and other information expressed in this message are not given or 
endorsed by my Company or employer unless otherwise indicated by an authorised 
representative independent of this message.
WARNING:
While Axios Systems Ltd takes steps to prevent computer viruses from being transmitted 
via electronic mail attachments we cannot guarantee that attachments do not contain 
computer virus code.  You are therefore strongly advised to undertake anti virus 
checks prior to accessing the attachment to this electronic mail.  Axios Systems Ltd 
grants no warranties regarding performance use or quality of any attachment and 
undertakes no liability for loss or damage howsoever caused.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: AUTO {ICICICARE#005-213-153}Declarative exception handling with wildcards?

2004-01-29 Thread shankarr
Can the moderator get rid of this annoying thing please!

Richie

At 03:54 PM 1/29/2004 +0530, you wrote:
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 
visit our website www.icicibank.com\nri to know more on our products and 
services.  With regards,Customer Care
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is 
privileged and confidential, and is directed to and for the use of the 
addressee only. If this message reaches anyone other than the intended 
recipient, we request the reader not to reproduce, copy, disseminate or in 
any manner distribute it. We further request such recipient to notify us 
immediately by return email and delete the original message. ICICI Bank 
Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete 
transmission thereof. Before opening any attachments please check them for 
viruses and defects.
To achieve all that is possible, one must attempt the impossible



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Using bean:write as a tag's value atrribute

2004-01-29 Thread Claire Wall
This is fine as long as the tag you're using the bean:write.../ is not
another custom tag e.g. html:.../ or logic:.../ etc. It is done like
this:

input type=submit value=bean:write name=FormName
property=Property/ / - make sure you include '/' at the end of the bean
tag.


If you want to use this in a custom tag you're going to have to define a
bean first and then use a jsp expression so you can set the value like so:

bean:define id=prop name=FormName property=Property/

html:option value=%= prop %/


hope this answers your question

claire :)

- Original Message -
From: Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Thursday, January 29, 2004 10:53 AM
Subject: Using bean:write as a tag's value atrribute



 Dear All;

 Using bean:write name=myBeanName property=its property works
properly
 in my jsp page body. But when I want to use it in a tag to fill its
 attribute, it fails.
  Actually I don't know the syntax of using bean:write, obviously the below
 way is wrong:

 someTag value=bean:write name=myBeanName property=its property

 Using expression is wrong, too:

 someTag
  value=%=bean:write name=myBeanName property=its property%

 So how could I use bean:write in my tags?!

 Any help would be greatly appreciated
 Nafise


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Regarding Server Side Validation in Struts

2004-01-29 Thread shankarr
Hi!
My $0.02 on this.
As a design, it is best if we let the db throw exception and we handle it 
using ActionError/ActionMessage in the Action file.
I feel it is better that way. Then, you can formulate the page using 
html:errors/ and the application.resources .
This is my understanding.
I am willing to learn though.

Richie

At 05:31 PM 1/29/2004 +0530, you wrote:

Hi all,

 Can any one can tell, how to perform server side validation 
using struts. For example there is foem called departments, here depname 
is unique. How can i perform here.

 I know the logic at all. But is there any validator here.Can 
any one have any idea. Please mail regarding this...

Thanks,
Ram
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To achieve all that is possible, one must attempt the impossible



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Using bean:write as a tag's value atrribute

2004-01-29 Thread Nicolas De Loof

bean:define id=value name=myBeanName property=its property
someTag value=%= value %

Nico.



 
 Dear All;
 
 Using bean:write name=myBeanName property=its property works properly
 in my jsp page body. But when I want to use it in a tag to fill its
 attribute, it fails.
  Actually I don't know the syntax of using bean:write, obviously the below
 way is wrong:
 
 someTag value=bean:write name=myBeanName property=its property
 
 Using expression is wrong, too:
 
 someTag 
  value=%=bean:write name=myBeanName property=its property%
 
 So how could I use bean:write in my tags?!
 
 Any help would be greatly appreciated
 Nafise
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [OT] RE: log4j integration

2004-01-29 Thread shankarr
Hi!
I managed to get it working.
I wrote a Servlet and gave the entry in the web.xml file and in my file 
called the logging file
I could not use the following though
env-entry
  descriptionLog4j resource file name/description
  env-entry-namelog4j/resource/env-entry-name
  env-entry-valueapp1-log4j.xml/env-entry-value
  env-entry-typejava.lang.String/env-entry-type
/env-entry
env-entry
  descriptionLog4j resource file watch delay/description
  env-entry-namelog4j/watchDelay/env-entry-name
  env-entry-value3/env-entry-value
  env-entry-typejava.lang.Long/env-entry-type
/env-entry
as it gave me , the name is not bound in the context error.

Thanks once again folks!
Richie
At 01:02 PM 1/29/2004 +0530, you wrote:
hi!
I am still not clear as to where I need to write this class or method.
Will it not suffice to give the entries in the web.xml file itself.
This is the first time I am dealing with these, so please help.
What I have done till now is to get the static logger instance in the 
class and then put the logger.debug(xx); prints.
I need to know this :
a) In the struts framework, will it not suffice to just put entries in the 
web.xml
If not, then where in the framework should I write my class that uses the 
log4j apis?

Richie

At 12:50 PM 1/28/2004 -0500, you wrote:
Yup, that should work just fine. If you want to be able to modify the config
info while the app is running (e.g. turn on debugging in production without
reloading the app), here's another approach.
Create a directory and place it on the app server's classpath. For WLS
(depending on how you do your install and create your domains), it might be
something like C:\bea8\user_projects\domains\dotech\applib.
For each app, place a unique Log4j config file in the directory. For example,
app1-log4j.xml and app2-log4j.xml.
In your app's web.xml file, include context-param or env-entry 
elements for
the name of the config file and the watch delay value:

env-entry
  descriptionLog4j resource file name/description
  env-entry-namelog4j/resource/env-entry-name
  env-entry-valueapp1-log4j.xml/env-entry-value
  env-entry-typejava.lang.String/env-entry-type
/env-entry
env-entry
  descriptionLog4j resource file watch delay/description
  env-entry-namelog4j/watchDelay/env-entry-name
  env-entry-value3/env-entry-value
  env-entry-typejava.lang.Long/env-entry-type
/env-entry
Finally, create a context listener (or startup servlet) to perform the
configuration:
ClassLoader cl = Thread.currentThread().getContextClassLoader();
Context initCtx = new InitialContext();
Context envCtx = (Context)initCtx.lookup(java:comp/env);
String log4jResourceName = (String)envCtx.lookup(log4j/resource);
URL log4jResourceURL = cl.getResource(log4jResourceName);
String contentType = log4jResourceURL.openConnection().getContentType();
String fileName = log4jResourceURL.getFile();
Long log4jWatchDelay = (Long)envCtx.lookup(log4j/watchDelay);
long watchDelay = log4jWatchDelay.longValue();
if (application/xml.equals(contentType)) {
  DOMConfigurator.configureAndWatch(fileName, watchDelay);
} else {
  PropertyConfigurator.configureAndWatch(fileName, watchDelay);
}
It's not so bad with some additonal help from Ant. I've also used this 
approach
to make it a bit less painful for multiple developers to share a single WLS
instance during development.

Quoting Chappell, Simon P [EMAIL PROTECTED]:

 Jacob,

 We use log4j 1.2.8 and we include the jar file right in out WEB-INF/lib
 directory of our application. The log4j.properties file then lives 
inside the
 WEB-INF/classes directory. This works well for us on IBM's WAS 4.x.

 I've never seen anyone recommend having log4j at the container level, 
so go
 with it at the application level and forget about conventional wisdom! :-)

 Hope this helps.

 Simon

 -
 Simon P. Chappell [EMAIL PROTECTED]
 Java Programming Specialist  www.landsend.com
 Lands' End, Inc.   (608) 935-4526

 Wisdom is not the prerogative of the academics. - Peter Chappell

 -Original Message-
 From: Hookom, Jacob [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, January 28, 2004 11:08 AM
 To: Struts Users Mailing List
 Subject: [OT] RE: log4j integration
 
 
 I'm wondering if anyone has gotten log4j to be deployed within separate
 apps?  We are having issues with log4j jars and their
 properties files being
 deployed on each application under Weblogic.  Most of what I've read
 recommends putting log4j at the container level along with a single
 properties file, but that isn't as flexible as what we want it to be.
 
 -Thanks
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]
 
 Sent: Wednesday, January 28, 2004 10:20 AM
 To: [EMAIL PROTECTED]
 Subject: RE: log4j integration
 
 Hi,
 Also there is something called
 ReloadingPropertyConfigurator..May be this in
 combination with HierarchyEventListener will 

MappingDispatchAction

2004-01-29 Thread Graham Lounder
Hey All,

I grabbed the nightly build for struts yesterday and notice the
MappingDispatchAction.  Can I used this function in my Struts 1.1 code?  It
looks like a regular extension to the Action class (through the
DispatchAction).

Also, is Struts 1.2 far off?  I'd really like to use the wildcard matching
in my current project.  I've got about 20 lookup tables and the action
mappings are getting out of hand (view,search,insert,update,delete x 20).
If its possible, can I grabbed the classes responsible for this
functionality and update by Struts 1.1 code?

Cheers,
Graham

Graham Lounder - Java Developer
Spatial Components Division
CARIS www.caris.com
Tel: +1-506-458-8533 Fax: +1-506-459-3849
CARIS has expanded to new office facilities. Our new mailing address is:
115 Waggoners Lane, Fredericton, New Brunswick, E3B 2L4, Canada.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AUTO {ICICICARE#005-215-908}Using bean:write as a tag's value atrribute

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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.



AUTO {ICICICARE#005-216-115}AW: Using bean:write as a tag's value atrribute

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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.



AUTO {ICICICARE#005-216-213}Regarding Server Side Validation 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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.



AUTO {ICICICARE#005-216-320}Can i access session or request object from a bean which is Actionform variable

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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.



RE: AUTO {ICICICARE#005-216-320}Can i access session or request object from a bean which is Actionform variable

2004-01-29 Thread McCormack, Chris
Can the moderator of this list please remove this user, or the owner of the email 
[EMAIL PROTECTED] please stop spamming this list. 

-Original Message-
From: NRI Cell [mailto:[EMAIL PROTECTED]
Sent: 29 January 2004 12:25
To: Struts Users Mailing List
Subject: AUTO {ICICICARE#005-216-320}Can i access session or request
object from a bean which is Actionform variable


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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.


***
This e-mail and its attachments are confidential
and are intended for the above named recipient
only. If this has come to you in error, please 
notify the sender immediately and delete this 
e-mail from your system.
You must take no action based on this, nor must 
you copy or disclose it or any part of its contents 
to any person or organisation.
Statements and opinions contained in this email may 
not necessarily represent those of Littlewoods.
Please note that e-mail communications may be monitored.
The registered office of Littlewoods Limited and its
subsidiaries is 100 Old Hall Street, Liverpool, L70 1AB.
Registered number of Littlewoods Limited is 262152.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: log4j integration

2004-01-29 Thread Geeta Ramani
Hi Shankar:

Two other people asked this same question so if you don't mind, I'll
post my (simple) solution to the list.  Btw, for those who don't
remember, this is a way to enable changes in log4j.properties to be seen
by the application without a server reboot.  Here goes:

1. Create a simple action class say ReloadLog4jAction with just a couple
of statements in the perform/execute method: Create a new LogManager,
then call its resetConfiguration() method. (Write the class within the
application context where you want your log4j.properties file
reconfigured)
2. Create the appropriate action mapping in your struts-config.xml, so
that (say) /admin/reloadLog4j.do would map to this class and maybe
redirect to an OK page. (am following the way /admin/reload.do works).

3. Reload struts-config either by server restart (or simply by calling
/admin/reload.do if you have that mapping in your struts-config.xml.) Of
course you will need to do this just once..
4. Make any changes to your log4j.properties file and then point your
browser now to the url /admin/reloadLog4j.do. The log4j.properties file
will then be reloaded and after your OK page displays, the new
log4j.properties file will then be read in.

Really simple and works so nicely..:)
Regards,
Geeta

shankarr wrote:

 Hi Geeta,

 If you could let me know how to achieve the integration will be great.

 Where have you written the class which observes the file?
 What I mean is, where in the struts framework are u using it at the
 RequestProcessor level or what.
 As I understand, in order for making the struts application in itself
 monitor the file, I need to write some init file only .
 Which class to extend and where do I put the entries.
 Sample code for the class file and the web.xml entries will be greatly
 appreciated.

 Shankar

 To achieve all that is possible, one must attempt the impossible



Re: Tomcat 3.3.1 and Struts 1.1

2004-01-29 Thread Geeta Ramani
Daniel:

A fwe months ago I wanted to move to Struts 1.1 and found that unless you upgraded
tomcat to 4 or above, at least one fundamental thing would not work.  I forget the
details of my exact problem, but my situation was the same as yours: I wanted to make
struts 1.1 work on Tomcat 3.3.1.   I remember searching for a solution and I found that
heavyweights like Ted and Craig had thrown their hands in the air and stated that the
solution was to upgrade tomcat.  Sorry i don't remember the deatils, else I could point
you to Ted's note about this.. But i do remember clearly that struts 1.1 and tomcat 3.*
don't work well together..

Hope this helps,
Geeta

Daniel Richter wrote:

 Hi, I have a Problwm with using Struts 1.1 within Tomcat 3.3.1
 On my local computer I use Tomcat 4.1.28 and my application works well, but
 on my providers server I get the following stacktrace:

 Während der Abarbeitung Ihrer Anfrage ist ein Fehler aufgetreten.
   javax.servlet.ServletException: Error - tag.getAsString : component
 context is not defined. Check tag syntax
 at
 org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
 l.java:460)
 at base_1._jspService(base_1.java:614)
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java)
 at
 org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
 at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
 at org.apache.tomcat.core.Handler.service(Handler.java:235)
 at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
 at
 org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:91
 7)
 at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
 at
 org.apache.tomcat.modules.server.Ajp12Interceptor.processConnection(Ajp12Int
 erceptor.java:221)
 at
 org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
 at
 org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
 a:516)
 at java.lang.Thread.run(Thread.java:484)

 It seems that this older version of struts cannot handle the tiles
 definitions from Struts 1.1
 Is it because of the Tomcat version? Is there anything I can do against it?
 My provider don't want to update Tomcat yet, so is there anything else I can
 do?

 Daniel

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: Tomcat 3.3.1 and Struts 1.1

2004-01-29 Thread Daniel Richter
Thanks a lot Geeta,that confirms my assumption that the problem is not my
implementation, but Tomcat 3.3.1
I hope my provider will update the server soon.

yours sincerly Daniel

-Ursprüngliche Nachricht-
Von: Geeta Ramani [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 29. Januar 2004 14:29
An: Struts Users Mailing List
Betreff: Re: Tomcat 3.3.1 and Struts 1.1


Daniel:

A fwe months ago I wanted to move to Struts 1.1 and found that unless you
upgraded
tomcat to 4 or above, at least one fundamental thing would not work.  I
forget the
details of my exact problem, but my situation was the same as yours: I
wanted to make
struts 1.1 work on Tomcat 3.3.1.   I remember searching for a solution and I
found that
heavyweights like Ted and Craig had thrown their hands in the air and stated
that the
solution was to upgrade tomcat.  Sorry i don't remember the deatils, else I
could point
you to Ted's note about this.. But i do remember clearly that struts 1.1 and
tomcat 3.*
don't work well together..

Hope this helps,
Geeta

Daniel Richter wrote:

 Hi, I have a Problwm with using Struts 1.1 within Tomcat 3.3.1
 On my local computer I use Tomcat 4.1.28 and my application works well,
but
 on my providers server I get the following stacktrace:

 Während der Abarbeitung Ihrer Anfrage ist ein Fehler aufgetreten.
   javax.servlet.ServletException: Error - tag.getAsString : component
 context is not defined. Check tag syntax
 at

org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
 l.java:460)
 at base_1._jspService(base_1.java:614)
 at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java)
 at
 org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
 at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
 at org.apache.tomcat.core.Handler.service(Handler.java:235)
 at
org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
 at

org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:91
 7)
 at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
 at

org.apache.tomcat.modules.server.Ajp12Interceptor.processConnection(Ajp12Int
 erceptor.java:221)
 at
 org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
 at

org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
 a:516)
 at java.lang.Thread.run(Thread.java:484)

 It seems that this older version of struts cannot handle the tiles
 definitions from Struts 1.1
 Is it because of the Tomcat version? Is there anything I can do against
it?
 My provider don't want to update Tomcat yet, so is there anything else I
can
 do?

 Daniel

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Problems with taglib BEAN in some Pages

2004-01-29 Thread Edgar Silva
Thanks richard...

I will check it

Thanks very much

Edgar


From: Richard Hightower [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: Problems with taglib BEAN in some Pages
Date: Wed, 28 Jan 2004 18:04:43 -0700
Make sure you are not missing a taglib declaration.

It seems like you have a hmtl:text (or html:radio or something) that is
missing the html:form.
html:form access the ActionForm and puts it in a place where the html:text,
etc. can find it.
-Original Message-
From: Edgar Silva [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 28, 2004 2:57 PM
To: [EMAIL PROTECTED]
Subject: Problems with taglib BEAN in some Pages
Hi Folks...

I am building a huge project with Struts, and in some pages, without a
special way some of these pages presents the following message error:
org.apache.jasper.JasperException: Cannot find bean
org.apache.struts.taglib.html.BEAN in any scope
	at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
54)
	at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
blablabla and nothing useful to solve trouble :)

And it´s strange , and I already checked the taglibs declarations in these
pages, but nothing is wrong, and other pages with the same format and
strutcture works fine...
Somebody have seen some similar error like this above?

since now...Thanks very much

Edgar

_
MSN Hotmail, o maior webmail do Brasil.  http://www.hotmail.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
MSN Hotmail, o maior webmail do Brasil.  http://www.hotmail.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


select box in struts

2004-01-29 Thread Ramachandran
Hi,

   I am having a table called employees. I want to display all the employees 
in the select box in an jsp when i click a link called 'Deactive'.

   For that what i have to do...Is there any way in struts using 
html:select

   Any body knows, give your queries
Thanx,
Regards,
Ram


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AUTO {ICICICARE#005-216-626}Regarding Server Side Validation 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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.



AUTO {ICICICARE#005-213-962}Tomcat 3.3.1 and Struts 1.1

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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.



[OT] Distribute a Struts Application on CD ??

2004-01-29 Thread Rouven Gehm
Just want to know if its possible to run Tomcat/Resin + Java + StrutsApplication 
from a CD ? 
If yes, what have i to do ? (Precompile the JSPs i think, but what more ?)


Thanx

Rouven

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: entity includes in tiles-defs.xml (again)

2004-01-29 Thread Matt Bathje
Looking at the xml spec (1.0, second edition, section 4.2.2) it appears as
though entities should be processed as relative to the resource within which
they appear.

The spec does allow for special circumstances that change the default
relativity - but why would tiles and validator need to do this? And why
would they change it to be %SystemRoot% (on my system, they appear to both
be relative to c:\windows\system)

Looking through the tiles parser code and the struts-config.xml parser code,
I can see no difference - nothing that sets the entity root to be
different, and there is nothing in the dtd from what I can tell.

I can run the xml file with the relative path through a validating parser
and it validates perfectly, reading the included entity as it should.

I am left with 2 decisions on this then. Either there is some sort of
(weird) requirement in tiles and validator (maybe all plugins that use
config files?) that the default relative path for entities needs to change
to %Systemroot% and that requirement DOESN'T exists for the struts-config
files. Else, there is some sort of bug in both of their parsers which
changes the relative path. I can't seem to find it though otherwise I would
fix it myself.

Let me know what you all think.

Thanks,
Matt Bathje

- Original Message - 
From: Hubert Rabago [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, January 28, 2004 5:31 PM
Subject: Re: entity includes in tiles-defs.xml (again)


 Hi Matt,

 I ran into the same problem (with the same error message) when I tried
 using my own DTDs for XML files that Digester was processing.  I found
 that the solution is to put my DTD in the apps' class path, and then
 register my dtd with the Digester instance which parses my config file.

 I'm not sure if the solution that worked for me would work for you.
 I don't know if there's a way you can register a resource in such a
 way that allows it to be recognized by the digester instance that
 the tiles plugin uses.  If there is, then that would solve your problem.
 If not, it seems like you'd have to implementing your own tiles xml
 digester, register the dtd with that instance, and parse your XML.
 Looking at the tiles plugin source code, the class which does
 the actual parsing is buried deep.  Look at
 org.apache.struts.tiles.xmlDefinition.XmlParser.
 I didn't dig deep enough to see if you can configure its factory so
 that your customized parse could be called instead.

 Maybe one of the Tiles developers can help.

 - Hubert

 --- Matt Bathje [EMAIL PROTECTED] wrote:
  James -
 
  I'm 99.999% sure that spelling is not the issue. To test this out, I am
just
  cutting the path out and leaving the filename. Since it works with the
path,
  I am deducing that the filename is correct.
 
  What other information can I give you to help? Unfortunatley I can't
give
  you my entire application - but I was able to duplicate it in
struts-example
  using validation.xml.
 
  I created a file in WEB-INF called testValidationInclude.xml and
cut/paste
  the registrationForm validator into it out of validation.xml. Then in
  validation.xml I created an entity using the following syntax:
 
  !DOCTYPE form-validation PUBLIC
  -//Apache Software Foundation//DTD Commons Validator Rules
  Configuration 1.0//EN
  http://jakarta.apache.org/commons/dtds/validator_1_0.dtd;
  [
  !ENTITY testinclude SYSTEM
 
C:\apache_group\tomcat\Tomcat_4_1_24\webapps\struts-example\WEB-INF\testVal
  idationInclude.xml
  ]
 
 
  and where the registrationForm was, I put testinclude;
 
  This works without a problem
 
  When I change the entity definition to:
 
  !DOCTYPE form-validation PUBLIC
  -//Apache Software Foundation//DTD Commons Validator Rules
  Configuration 1.0//EN
  http://jakarta.apache.org/commons/dtds/validator_1_0.dtd;
  [
  !ENTITY testinclude SYSTEM testValidationInclude.xml
  ]
 
  I get an error:
 
  Jan 28, 2004 4:35:17 PM org.apache.struts.validator.ValidatorPlugIn
  initResources
  INFO: Loading validation rules file from '/WEB-INF/validation.xml'
  Jan 28, 2004 4:35:17 PM org.apache.struts.validator.ValidatorPlugIn
  initResources
  SEVERE: C:\WINDOWS\system32\testValidationInclude.xml (The system cannot
  find the file specified)
  java.io.FileNotFoundException:
C:\WINDOWS\system32\testValidationInclude.xml
  (The system cannot find the file specified)
   at java.io.FileInputStream.open(Native Method)
 
 
  There are a bunch more lines, I can get them for you if you want.
 
  Let me know what else may be helpful to you.
 
  Thanks,
  Matt Bathje
 
 
 
  - Original Message - 
  From: James Mitchell [EMAIL PROTECTED]
  To: Struts Users Mailing List [EMAIL PROTECTED]
  Sent: Wednesday, January 28, 2004 4:20 PM
  Subject: Re: entity includes in tiles-defs.xml (again)
 
 
   Sorry, I thought you *wanted* to specify it directly.
  
   From what you've said below, that's an odd problem and my first
  inclination
   would be to check and 

Re: log4j integration

2004-01-29 Thread shankarr
Hi Geeta.

Thanks for the response.
I have been able to get the thing done in an alternate manner which I have 
posted.
Do let me know your comments on the same if time permits.
The method you have suggested is new to me. I will definitely give it a shot.

Thanks for the help to all.
Richie
At 08:02 AM 1/29/2004 -0500, you wrote:
Hi Shankar:

Two other people asked this same question so if you don't mind, I'll
post my (simple) solution to the list.  Btw, for those who don't
remember, this is a way to enable changes in log4j.properties to be seen
by the application without a server reboot.  Here goes:
1. Create a simple action class say ReloadLog4jAction with just a couple
of statements in the perform/execute method: Create a new LogManager,
then call its resetConfiguration() method. (Write the class within the
application context where you want your log4j.properties file
reconfigured)
2. Create the appropriate action mapping in your struts-config.xml, so
that (say) /admin/reloadLog4j.do would map to this class and maybe
redirect to an OK page. (am following the way /admin/reload.do works).
3. Reload struts-config either by server restart (or simply by calling
/admin/reload.do if you have that mapping in your struts-config.xml.) Of
course you will need to do this just once..
4. Make any changes to your log4j.properties file and then point your
browser now to the url /admin/reloadLog4j.do. The log4j.properties file
will then be reloaded and after your OK page displays, the new
log4j.properties file will then be read in.
Really simple and works so nicely..:)
Regards,
Geeta
shankarr wrote:

 Hi Geeta,

 If you could let me know how to achieve the integration will be great.

 Where have you written the class which observes the file?
 What I mean is, where in the struts framework are u using it at the
 RequestProcessor level or what.
 As I understand, in order for making the struts application in itself
 monitor the file, I need to write some init file only .
 Which class to extend and where do I put the entries.
 Sample code for the class file and the web.xml entries will be greatly
 appreciated.

 Shankar

 To achieve all that is possible, one must attempt the impossible

To achieve all that is possible, one must attempt the impossible



RE: [OT] Distribute a Struts Application on CD ??

2004-01-29 Thread Ben Anderson
I'm assuming you're trying to use a Linux Live distro.  Perhaps you could 
test by removing write capabilities to your Tomcat/Resin directories - 
chmod -R -w /some/dir.  If Resin still operates ok, I don't see why it 
wouldn't work from a live CD.

-Ben

From: Rouven Gehm [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: [OT] Distribute a Struts Application on CD ??
Date: Thu, 29 Jan 2004 13:00:18 +0100
Just want to know if its possible to run Tomcat/Resin + Java + 
StrutsApplication
from a CD ?
If yes, what have i to do ? (Precompile the JSPs i think, but what more ?)

Thanx

Rouven

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
Rethink your business approach for the new year with the helpful tips here. 
http://special.msn.com/bcentral/prep04.armx

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [OT] Distribute a Struts Application on CD ??

2004-01-29 Thread Joe Germuska
At 1:00 PM +0100 1/29/04, Rouven Gehm wrote:
Just want to know if its possible to run Tomcat/Resin + Java + 
StrutsApplication
from a CD ?
If yes, what have i to do ? (Precompile the JSPs i think, but what more ?)
You'd have to make sure to configure Tomcat to not want to write 
sessions to its work directory, or figure out how to set Tomcat's 
work directory to a writeable directory.

Tomcat seems to use the filesystem less than, say, Weblogic or JBoss, 
but I only use it for local development, not for deployment, so I'm 
not expert.

If you just made your Tomcat directories read-only you could probably 
do a pretty effective test without burning a bunch of CDs.

Joe

--
Joe Germuska
[EMAIL PROTECTED]  
http://blog.germuska.com
  Imagine if every Thursday your shoes exploded if you tied them 
the usual way.  This happens to us all the time with computers, and 
nobody thinks of complaining.
-- Jef Raskin

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


frame encode parameter in UTF-8

2004-01-29 Thread dutrieux
Hello,

I do that on my JSP:

html:frame page=/UnitAttachSearchForm.jsp name=parameterMap
frameName=formFrame/
The problem is that the parameter is encode in UTF-8 and all my page is
in ISO-8859-1.
How can solve my problem.
Best regards



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


frame encode parameter in UTF-8

2004-01-29 Thread dutrieux
Hello,

I do that on my JSP:

html:frame page=/UnitAttachSearchForm.jsp name=parameterMap 
frameName=formFrame/

The problem is that the parameter is encode in UTF-8 and all my page is 
in ISO-8859-1.
How can solve my problem.

Best regards

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Struts text field 'value' attribute set from another ActionForm?

2004-01-29 Thread Adam Bickford
I have a web form such as:

strutshtml:form action=/someAction enctype=multipart/form-data
   strutshtml:text name=someForm property=someProperty size=10 value=???/
/strutshtml:form
How can I set a default value for the text field, where the value I want 
is in a different session scoped ActionForm than the one named in the 
strutshtml:text tag? The only way I've been able to do it is saving a 
value as a session attribute and retrieving it with a scriptlet, like this:

   strutshtml:text name=someForm property=someProperty size=10 
value=%= (String)session.getAttribute(sessionAttributeValue) %/

This approach works, but should I need to use a scriptlet and 
sessionAttributes to do this? I've heard that it's best to avoid putting 
scriptlet/java code in my jsp pages. What I'd like to do is reference 
the value in the existing session scoped ActionForm, such as:

   strutshtml:text name=someForm property=someProperty size=10 
value=otherSessionScopedForm.someProperty/

Can something like this be done?



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


AUTO {ICICICARE#005-217-540}Tomcat 3.3.1 and Struts 1.1

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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.



AUTO {ICICICARE#005-217-541}AW: Tomcat 3.3.1 and Struts 1.1

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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.



RE: Struts text field 'value' attribute set from another ActionForm?

2004-01-29 Thread Ben Anderson
if you use the struts-el tag libraries you can try this:
html-el:text name=someForm property=someProperty 
value=${otherForm.map.yourProp/

I've heard that it's best to avoid putting scriptlet/java code in my jsp 
pages.
It is, but you're specific problem isn't pertaining to scriptlet vs. 
non-scriplet.  That is solved with expression language.

It'd probably be easier if you combined these 2 forms.  Remember, you don't 
need to have different forms for every page.  You can even have one big form 
for the entire application.

-Ben

From: Adam Bickford [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Struts text field 'value' attribute set from another ActionForm?
Date: Thu, 29 Jan 2004 09:54:56 -0500
I have a web form such as:

strutshtml:form action=/someAction enctype=multipart/form-data
   strutshtml:text name=someForm property=someProperty size=10 
value=???/
/strutshtml:form

How can I set a default value for the text field, where the value I want is 
in a different session scoped ActionForm than the one named in the 
strutshtml:text tag? The only way I've been able to do it is saving a 
value as a session attribute and retrieving it with a scriptlet, like this:

   strutshtml:text name=someForm property=someProperty size=10 
value=%= (String)session.getAttribute(sessionAttributeValue) %/

This approach works, but should I need to use a scriptlet and 
sessionAttributes to do this? I've heard that it's best to avoid putting 
scriptlet/java code in my jsp pages. What I'd like to do is reference the 
value in the existing session scoped ActionForm, such as:

   strutshtml:text name=someForm property=someProperty size=10 
value=otherSessionScopedForm.someProperty/

Can something like this be done?



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
Rethink your business approach for the new year with the helpful tips here. 
http://special.msn.com/bcentral/prep04.armx

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


AUTO {ICICICARE#005-217-818}[OT] Distribute a Struts Application on CD ??

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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.



AUTO {ICICICARE#005-218-061}[OT] Distribute a Struts Application on CD ??

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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.



AUTO {ICICICARE#005-218-069}[OT] Distribute a Struts Application on CD ??

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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.



Re: AUTO {ICICICARE#005-217-818}[OT] Distribute a Struts Application on CD ??

2004-01-29 Thread amr





Can something be done to stop these messages?
Thanks, Amy



   
 NRI Cell
 [EMAIL PROTECTED] 
 m To 
   Struts Users Mailing List 
 01/29/2004 10:17  [EMAIL PROTECTED]
 AM cc 
   
   Subject 
 Please respond to AUTO {ICICICARE#005-217-818}[OT]  
   Struts Users   Distribute a Struts Application on  
   Mailing List   CD ??   
 [EMAIL PROTECTED] 
  rta.apache.org  
   
   
   
   




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
visit our website www.icicibank.com\nri to know more on our products and
services.  With regards,Customer Care
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is
privileged and confidential, and is directed to and for the use of the
addressee only. If this message reaches anyone other than the intended
recipient, we request the reader not to reproduce, copy, disseminate or in
any manner distribute it. We further request such recipient to notify us
immediately by return email and delete the original message. ICICI Bank
Ltd. does not guarantee the security of any information transmitted
electronically and is not liable for the proper, timely and complete
transmission thereof. Before opening any attachments please check them for
viruses and defects.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AUTO {ICICICARE#005-218-317}iterate with Vector

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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.



AUTO {ICICICARE#005-218-313}Page is not Valid Any More error with IE with the Back button

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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.



AUTO {ICICICARE#005-218-318}Using bean:write as a tag's value atrribute

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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.



AUTO {ICICICARE#005-218-312}MappingDispatchAction

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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.



AUTO {ICICICARE#005-218-242}frame encode parameter in UTF-8

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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.



RE: AUTO {ICICICARE#005-218-242

2004-01-29 Thread Long, Robert
Okay, this is getting old... 
-Original Message-
From: NRI Cell [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 29, 2004 9:25 AM
To: Struts Users Mailing List
Subject: AUTO {ICICICARE#005-218-242}frame encode parameter in UTF-8

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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.


AUTO {ICICICARE#005-218-632}Struts text field 'value' attribute set from another ActionForm?

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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.



RE: AUTO {ICICICARE#005-217-818}[OT] Distribute a Struts Application on CD ??

2004-01-29 Thread Matthias Wessendorf
+1
on it!

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 29, 2004 4:25 PM
To: Struts Users Mailing List
Subject: Re: AUTO {ICICICARE#005-217-818}[OT] Distribute a Struts
Application on CD ??







Can something be done to stop these messages?
Thanks, Amy



 

 NRI Cell

 [EMAIL PROTECTED]

 m
To 
   Struts Users Mailing List

 01/29/2004 10:17  [EMAIL PROTECTED]

 AM
cc 
 

 
Subject 
 Please respond to AUTO
{ICICICARE#005-217-818}[OT]  
   Struts Users   Distribute a Struts Application
on  
   Mailing List   CD ??

 [EMAIL PROTECTED]

  rta.apache.org

 

 

 

 





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 visit our website www.icicibank.com\nri to know
more on our products and services.  With regards,Customer Care ICICI
Bank Limited This communication being sent by ICICI Bank Ltd. is
privileged and confidential, and is directed to and for the use of the
addressee only. If this message reaches anyone other than the intended
recipient, we request the reader not to reproduce, copy, disseminate or
in any manner distribute it. We further request such recipient to notify
us immediately by return email and delete the original message. ICICI
Bank Ltd. does not guarantee the security of any information transmitted
electronically and is not liable for the proper, timely and complete
transmission thereof. Before opening any attachments please check them
for viruses and defects.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



multiple action forms in a single jsp

2004-01-29 Thread Mathew, Manoj
Hi

I am having multiple action forms in a single jsp and wondering how to give multiple 
form names in the mappings.
action path=/saveAdd 
type=com.group.myproject.ui.module1.SaveAndAddMemberAction   
 name=form1 scope=request input=my.jsp
forward name=success path=/my.jsp /
forward name=failure path=/my.jsp /
/action

here my.jsp has form1,form2,form3 and form 4 and i want my action saveAdd to access 
all these forms and execute some functions.
1. How will i specify multiple forms in the strutsconfig mapping
2.How can i access each forms in my actions since the scope is request.
  public ActionForward execute(ActionMapping mapping, ActionForm form, 
javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse 
response) throws Exception {
form1 frm = (form1) form;

but how will i get other forms?

Thank-you,
Manoj Mathew



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AUTO {ICICICARE#005-218-311}Regarding Server Side Validation 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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.



RE: Struts text field 'value' attribute set from another ActionForm?

2004-01-29 Thread Robert Nocera

You could call an action before going to the form that takes the value from
the session and sets someForm.someProperty to that value and then forwards
to your jsp.  

-Rob

-Original Message-
From: Adam Bickford [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 29, 2004 9:55 AM
To: [EMAIL PROTECTED]
Subject: Struts text field 'value' attribute set from another ActionForm?

I have a web form such as:

strutshtml:form action=/someAction enctype=multipart/form-data
strutshtml:text name=someForm property=someProperty size=10
value=???/
/strutshtml:form

How can I set a default value for the text field, where the value I want 
is in a different session scoped ActionForm than the one named in the 
strutshtml:text tag? The only way I've been able to do it is saving a 
value as a session attribute and retrieving it with a scriptlet, like this:

strutshtml:text name=someForm property=someProperty size=10 
value=%= (String)session.getAttribute(sessionAttributeValue) %/

This approach works, but should I need to use a scriptlet and 
sessionAttributes to do this? I've heard that it's best to avoid putting 
scriptlet/java code in my jsp pages. What I'd like to do is reference 
the value in the existing session scoped ActionForm, such as:

strutshtml:text name=someForm property=someProperty size=10 
value=otherSessionScopedForm.someProperty/

Can something like this be done?



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



multiple action forms in a single jsp

2004-01-29 Thread Mathew, Manoj
Hi

I am having multiple action forms in a single jsp and wondering how to give multiple 
form names in the mappings.
action path=/saveAdd 
type=com.group.myproject.ui.module1.SaveAndAddMemberAction   
 name=form1 scope=request input=my.jsp
forward name=success path=/my.jsp /
forward name=failure path=/my.jsp /
/action

here my.jsp has form1,form2,form3 and form 4 and i want my action saveAdd to access 
all these forms and execute some functions.
1. How will i specify multiple forms in the strutsconfig mapping
2.How can i access each forms in my actions since the scope is request.
  public ActionForward execute(ActionMapping mapping, ActionForm form, 
javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse 
response) throws Exception {
form1 frm = (form1) form;

but how will i get other forms?

Thank-you,
Manoj Mathew


AUTO {ICICICARE#005-218-314}lifetime for scope page

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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.



RE: multiple action forms in a single jsp

2004-01-29 Thread Ben Anderson
I think you need to take a step back and understand how http works.  Per 
each request, only one html form can be submitted(whether it's a get or a 
post).  This is not specific to Struts, Java or any web server solutions.  
Your design is flawed, but it doesn't pertain to Struts.  You can have more 
than one form one a page, but only one will be submitted in the request.

-Ben

From: Mathew, Manoj [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: multiple action forms in a single jsp
Date: Thu, 29 Jan 2004 09:38:33 -0600
Hi

I am having multiple action forms in a single jsp and wondering how to give 
multiple form names in the mappings.
	action path=/saveAdd 
type=com.group.myproject.ui.module1.SaveAndAddMemberAction 
	name=form1 scope=request input=my.jsp
			forward name=success path=/my.jsp /
			forward name=failure path=/my.jsp /
	/action

here my.jsp has form1,form2,form3 and form 4 and i want my action saveAdd 
to access all these forms and execute some functions.
1. How will i specify multiple forms in the strutsconfig mapping
2.How can i access each forms in my actions since the scope is request.
  public ActionForward execute(ActionMapping mapping, ActionForm form, 
javax.servlet.http.HttpServletRequest request, 
javax.servlet.http.HttpServletResponse response) throws Exception {
	form1 frm = (form1) form;

but how will i get other forms?

Thank-you,
Manoj Mathew


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
Scope out the new MSN Plus Internet Software — optimizes dial-up to the max! 
  http://join.msn.com/?pgmarket=en-uspage=byoa/plusST=1

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


AUTO {ICICICARE#005-219-256}multiple action forms in a single jsp

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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.



RE: multiple action forms in a single jsp

2004-01-29 Thread Mathew, Manoj

Actually i had a single action form till yesterday. But since the form is getting 
bigger and bigger (it is very huge now and i am just half way done), I was thinking of 
other possibilities. My application is very complicated and have to deal with huge 
datas and i need to show very huge amount of data ina  single page in this case. I 
already have issues with jsp size and doing dynamic include to oversome that. So now 
you can imagine the amount of data i am dealing with..
Any other alternatives are welcomed.

Thank-you,
Manoj Mathew
GIS 515-362-0539


-Original Message-
From: Ben Anderson [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 29, 2004 9:51 AM
To: [EMAIL PROTECTED]
Subject: RE: multiple action forms in a single jsp


I think you need to take a step back and understand how http works.  Per 
each request, only one html form can be submitted(whether it's a get or a 
post).  This is not specific to Struts, Java or any web server solutions.  
Your design is flawed, but it doesn't pertain to Struts.  You can have more 
than one form one a page, but only one will be submitted in the request.

-Ben

From: Mathew, Manoj [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: multiple action forms in a single jsp
Date: Thu, 29 Jan 2004 09:38:33 -0600

Hi

I am having multiple action forms in a single jsp and wondering how to give 
multiple form names in the mappings.
   action path=/saveAdd 
type=com.group.myproject.ui.module1.SaveAndAddMemberAction 
   name=form1 scope=request input=my.jsp
   forward name=success path=/my.jsp /
   forward name=failure path=/my.jsp /
   /action

here my.jsp has form1,form2,form3 and form 4 and i want my action saveAdd 
to access all these forms and execute some functions.
1. How will i specify multiple forms in the strutsconfig mapping
2.How can i access each forms in my actions since the scope is request.
   public ActionForward execute(ActionMapping mapping, ActionForm form, 
javax.servlet.http.HttpServletRequest request, 
javax.servlet.http.HttpServletResponse response) throws Exception {
   form1 frm = (form1) form;

but how will i get other forms?

Thank-you,
Manoj Mathew



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_
Scope out the new MSN Plus Internet Software - optimizes dial-up to the max! 
   http://join.msn.com/?pgmarket=en-uspage=byoa/plusST=1


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AUTO {ICICICARE#005-219-266}Struts text field 'value' attribute set from another ActionForm?

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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.



RE: AUTO {ICICICARE#005-218-313}Page is not Valid Any More error with IE with the Back button

2004-01-29 Thread Norm Deane
Could someone please unsubscribe this person?

-- 
Norm Deane
MIS Consultant
Vanderbilt University
(615) 322-7855
[EMAIL PROTECTED] 

 -Original Message-
 From: NRI Cell [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, January 29, 2004 9:25 AM
 To: Struts Users Mailing List
 Subject: AUTO {ICICICARE#005-218-313}Page is not Valid Any 
 More error with IE with the Back button
 
 
 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 visit our 
 website www.icicibank.com\nri to know more on our products 
 and services.  With regards,Customer Care 
 ICICI Bank Limited This communication being sent by ICICI 
 Bank Ltd. is privileged and confidential, and is directed to 
 and for the use of the addressee only. If this message 
 reaches anyone other than the intended recipient, we request 
 the reader not to reproduce, copy, disseminate or in any 
 manner distribute it. We further request such recipient to 
 notify us immediately by return email and delete the original 
 message. ICICI Bank Ltd. does not guarantee the security of 
 any information transmitted electronically and is not liable 
 for the proper, timely and complete transmission thereof. 
 Before opening any attachments please check them for viruses 
 and defects.
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: AUTO {ICICICARE#005-218-313}Page is not Valid Any More erro r with IE with the Back button

2004-01-29 Thread Kasterovic, Slobodan
-- Could someone please unsubscribe this person?
Is not a person. It is automatic generated absence message of one user from
the list.


A have added this eMail to my junk-mail filter !


Slobodan


-- 
-- -- 
-- Norm Deane
-- MIS Consultant
-- Vanderbilt University
-- (615) 322-7855
-- [EMAIL PROTECTED] 
-- 
--  -Original Message-
--  From: NRI Cell [mailto:[EMAIL PROTECTED] 
--  Sent: Thursday, January 29, 2004 9:25 AM
--  To: Struts Users Mailing List
--  Subject: AUTO {ICICICARE#005-218-313}Page is not Valid Any 
--  More error with IE with the Back button
--  
--  
--  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 visit our 
--  website www.icicibank.com\nri to know more on our products 
--  and services.  With regards,Customer Care 
--  ICICI Bank Limited This communication being sent by ICICI 
--  Bank Ltd. is privileged and confidential, and is directed to 
--  and for the use of the addressee only. If this message 
--  reaches anyone other than the intended recipient, we request 
--  the reader not to reproduce, copy, disseminate or in any 
--  manner distribute it. We further request such recipient to 
--  notify us immediately by return email and delete the original 
--  message. ICICI Bank Ltd. does not guarantee the security of 
--  any information transmitted electronically and is not liable 
--  for the proper, timely and complete transmission thereof. 
--  Before opening any attachments please check them for viruses 
--  and defects.
--  
--  
-- 
-- 
-- 
-- -
-- To unsubscribe, e-mail: [EMAIL PROTECTED]
-- For additional commands, e-mail: [EMAIL PROTECTED]
-- 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AUTO {ICICICARE#005-217-937}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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.



Re: AUTO {ICICICARE#) BLOCK THIS GUY!!

2004-01-29 Thread Khalid K.
Hello, can someone block this guy from the list ???
I've gotten about 50 emails from this email address

Regards,

Khalid




Quoting NRI Cell [EMAIL PROTECTED]:

 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 visit
 our website www.icicibank.com\nri to know more on our products and services. 
 With regards,Customer Care 
 ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is
 privileged and confidential, and is directed to and for the use of the
 addressee only. If this message reaches anyone other than the intended
 recipient, we request the reader not to reproduce, copy, disseminate or in
 any manner distribute it. We further request such recipient to notify us
 immediately by return email and delete the original message. ICICI Bank Ltd.
 does not guarantee the security of any information transmitted electronically
 and is not liable for the proper, timely and complete transmission thereof.
 Before opening any attachments please check them for viruses and defects.
 
 


-- 
Khalid K.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



no process to read data written to a pipe ??

2004-01-29 Thread Khalid K.
If anyone has seen this error, your input is appreciated, I can't
seem to find any references to this on the web. 

Looks like the error is thrown during the rendering of jsp: billingInfo.jsp. 
Since this happens in production, I am not sure what is the outcome etc.

stack trace:

[1/28/04 8:38:00:380 PST] 21e97599 WebGroup  
X Servlet Error: There is no process to read data written to a pipe.: 
java.io.IOException: There is no process to read data written to a pipe.

at java.net.SocketOutputStream.socketWrite(Native Method)
at java.net.SocketOutputStream.write(SocketOutputStream.java(Compiled 
Code))
at com.ibm.ws.io.Stream.write(Stream.java(Compiled Code))
at com.ibm.ws.io.WriteStream.flushMyBuf(WriteStream.java(Inlined 
Compiled Code))
at com.ibm.ws.io.WriteStream.flush(WriteStream.java(Inlined Compiled 
Code))
at com.ibm.ws.http.ResponseStream.flush(ResponseStream.java(Compiled 
Code))
at com.ibm.ws.io.WriteStream.flush(WriteStream.java(Compiled Code))
at com.ibm.servlet.engine.http11.HttpConnection.flush
(HttpConnection.java(Inlined Compiled Code))
at com.ibm.servlet.engine.srp.SRPConnection.flush(SRPConnection.java
(Compiled Code))
at com.ibm.servlet.engine.srt.SRTOutputStream.flush(SRTOutputStream.java
(Compiled Code))
at java.io.OutputStreamWriter.flush(OutputStreamWriter.java(Compiled 
Code))
at com.ibm.servlet.engine.srt.BufferedWriter.flushChars
(BufferedWriter.java(Compiled Code))
at com.ibm.servlet.engine.srt.BufferedWriter.flush(BufferedWriter.java
(Inlined Compiled Code))
at com.ibm.servlet.engine.srt.BufferedWriter.flushBuffer
(BufferedWriter.java(Compiled Code))
at com.ibm.servlet.engine.srt.SRTServletResponse.flushBuffer
(SRTServletResponse.java(Compiled Code))
at com.ibm.servlet.engine.webapp.HttpServletResponseProxy.flushBuffer
(HttpServletResponseProxy.java(Compiled Code))
at com.ibm.servlet.engine.webapp.HttpServletResponseProxy.flushBuffer
(HttpServletResponseProxy.java(Compiled Code))
at org.apache.jasper.runtime.JspWriterImpl.flush(JspWriterImpl.java
(Compiled Code))
at _billingInfo_jsp_30._jspService(_billingInfo_jsp_30.java:763)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java
(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled 
Code))
at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service
(JspServlet.java(Compiled Code))
at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java
(Compiled Code))
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java
(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled 
Code))
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService
(ServletManager.java(Compiled Code))
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service
(StrictLifecycleServlet.java(Compiled Code))
at com.ibm.servlet.engine.webapp.IdleServletState.service
(StrictLifecycleServlet.java(Compiled Code))
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service
(StrictLifecycleServlet.java(Inlined Compiled Code))
at com.ibm.servlet.engine.webapp.ServletInstance.service
(ServletManager.java(Compiled Code))
at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch
(ServletManager.java(Compiled Code))
at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch
(ServletManager.java(Inlined Compiled Code))
at 
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch
(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch
(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward
(WebAppRequestDispatcher.java(Compiled Code))
at org.apache.struts.action.ActionServlet.processActionForward
(ActionServlet.java(Compiled Code))
at org.apache.struts.action.ActionServlet.process(ActionServlet.java
(Compiled Code))
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java
(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled 
Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled 
Code))
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService
(ServletManager.java(Compiled Code))
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service
(StrictLifecycleServlet.java(Compiled Code))
at com.ibm.servlet.engine.webapp.ServicingServletState.service
(StrictLifecycleServlet.java(Compiled Code))
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service
(StrictLifecycleServlet.java(Inlined Compiled Code))
at com.ibm.servlet.engine.webapp.ServletInstance.service
(ServletManager.java(Compiled 

AUTO {ICICICARE#005-220-053}{ICICICARE#) BLOCK THIS GUY!!

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 visit our website www.icicibank.com\nri to know 
more on our products and services.  With regards,Customer Care 
ICICI Bank Limited This communication being sent by ICICI Bank Ltd. is privileged and 
confidential, and is directed to and for the use of the addressee only. If this 
message reaches anyone other than the intended recipient, we request the reader not to 
reproduce, copy, disseminate or in any manner distribute it. We further request such 
recipient to notify us immediately by return email and delete the original message. 
ICICI Bank Ltd. does not guarantee the security of any information transmitted 
electronically and is not liable for the proper, timely and complete transmission 
thereof. Before opening any attachments please check them for viruses and defects.



page vs session

2004-01-29 Thread Alvaro Martinez
Could somebody say me the difference between scope page and scope session
when it´s configured in tag action-mappings in struts-config.xml.
I think it have the same scope .

Thanks in advance.
Alvaro


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Best Practice for long running tasks with status check

2004-01-29 Thread Martin Gross
Hi,

  I need to start an long running task by a struts action which will
  run for maybe half an hour. I dont want the action to run for half
  an hour. It should start the task and then respond that the task has
  been started. Also it should be possible to check the
  status of the task and see for example how many elements have already
  been processed.

  What would be the best practice to do this? Code examples would be
  also appreciated.
  

Regards,
 Martin



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: log4j integration

2004-01-29 Thread Norm Deane
We use an alternative approach that allows for a more dynamic log4j
configuration approach.  In our webapps we have a Servlet that loads on
startup that is responsible for configuring log4j and updating the log4j
configuration when the configuration file changes.  


web.xml-sinppets

   servlet
  servlet-nameLog4JConfigurator/servlet-name
 
servlet-classedu.vanderbilt.mis.log4j.ConfigureLog4jServlet/servlet-class

  init-param
 param-namereloadDelay/param-name
 param-value30/param-value
 /init-param
  init-param
param-namepropertyFile/param-name
   param-value/log4j/fis/config/edog.log4j.properties/param-value
  /init-param
  load-on-startup1/load-on-startup
   /servlet

   servlet-mapping
  servlet-nameLog4JConfigurator/servlet-name
  url-pattern/config/url-pattern
   /servlet-mapping

/web.xml-sinppets



servlet-code

package edu.vanderbilt.mis.log4j;

import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.util.*;

import org.apache.log4j.*;
import org.apache.log4j.spi.*;
import org.apache.log4j.helpers.*;
import java.net.URL;

/**
 * Handles the initialization of Log4j.  On startup, this method with deifne
 * the reload frequency of the property file and where the property file is
 * located.
 * p
 * This servlet expects two properties to be defined as configuration
 * properties.  They are as follows...
 * ul
 * lireloadDelay - the number of miliseconds to wait before reloading the
property file./li
 * lipropertyFile - the property file to be reloaded./li
 * /ul
 * @author unascribed
 * @version 1.0
 */
public class ConfigureLog4jServlet  extends HttpServlet
{
   public static final String RELOAD_DELAY_PROPERTY_NAME = reloadDelay;
   public static final String PROPERTY_FILE_PROPERTY_NAME = propertyFile;

   /**
* Handles the initialization of Log4j.  On startup, this method with
deifne
* the reload frequency of the property file and where the property file
is
* located.
*/
   public void init( ServletConfig config ) throws ServletException
   {
  super.init( config );
  long delay = getReloadDelay();
  LogLog.debug( Reload Delay is [ + delay + ] );

  String cfgFile = getPropertyFileLocation();
  LogLog.debug( Log4j configuration file is [ + cfgFile + ] );

  if ( cfgFile == null )
 throw new ServletException( Log4j configuration file was not
specified. );

  PropertyConfigurator.configureAndWatch( cfgFile, delay );
   }


   /**
* Diaplays the reload delay and the location of the configuration file.
*/
public void doGet(HttpServletRequest request, HttpServletResponse
response) throws ServletException, IOException
{
  response.addHeader( Cache-Control, no-cache );
  response.addHeader( Pragma, no-cache );
  response.addHeader( Expires, -1 );
  response.setContentType( text/html );

  PrintWriter out = response.getWriter();

  out.println( HTMLBODY );
  out.println( BLog4J Configurator/BBRBR );
  out.println( Reload Delay is [ + getReloadDelay() + ]
millisecondsbr );
  out.println( Configuration File is [ + getPropertyFileLocation() +
] );

  File logConfigFile = new File( getPropertyFileLocation() );
  if ( !logConfigFile.exists() )
  {
 out.println( pConfiguration file does not exist/p );
  }
  else
  {
 out.println( pConfiguration file contents/p );
 out.println( pre );

 FileReader fReader = new FileReader( logConfigFile );
 BufferedReader bReader = new BufferedReader( fReader );


 String line = null;
 while (  (line = bReader.readLine() ) != null)
 {
out.println( line );
 }
  }
  out.println( /pre );
  out.println( /BODY/HTML );
  out.close();
}


   /**
* Returns the reload delay for the Log4J configuration file.  This
method
* first checks for the reload delay property in the web.xml.  If it is
not
* set in the web.xml the default is used as defined in the FileWatchDog.
*/
   public long getReloadDelay()
   {
  String s = getServletConfig().getInitParameter(
RELOAD_DELAY_PROPERTY_NAME );
  try
  {
 return new Long( s ).longValue();
  }
  catch ( NumberFormatException nfe )
  {
 return FileWatchdog.DEFAULT_DELAY;
  }
   }

   /**
* Returns the location of the log4j property file.  The property file
location
* should be an init parameter for this servlet.
*/
   public String getPropertyFileLocation()
   {
  return getServletConfig().getInitParameter(
PROPERTY_FILE_PROPERTY_NAME );
   }
}

/servlet-code

-- 
Norm Deane
MIS Consultant
Vanderbilt University
(615) 322-7855
[EMAIL PROTECTED] 

 -Original Message-
 From: Geeta Ramani [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, January 28, 2004 6:01 AM
 To: Struts Users Mailing List
 Subject: Re: log4j integration
 
 
 Please forgive this 

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

2004-01-29 Thread Geeta Ramani
Khalid:

Have you looked at the servlet generated by your billingInfo.jsp?  Looking at your
stack trace, the problem seems to occur in that servlet in line 763:

at _billingInfo_jsp_30._jspService(_billingInfo_jsp_30.java:763)

Regards,
Geeta

Khalid K. wrote:

 If anyone has seen this error, your input is appreciated, I can't
 seem to find any references to this on the web.

 Looks like the error is thrown during the rendering of jsp: billingInfo.jsp.
 Since this happens in production, I am not sure what is the outcome etc.

 stack trace:

 [1/28/04 8:38:00:380 PST] 21e97599 WebGroup
 X Servlet Error: There is no process to read data written to a pipe.:
 java.io.IOException: There is no process to read data written to a pipe.

 at java.net.SocketOutputStream.socketWrite(Native Method)
 at java.net.SocketOutputStream.write(SocketOutputStream.java(Compiled
 Code))
 at com.ibm.ws.io.Stream.write(Stream.java(Compiled Code))
 at com.ibm.ws.io.WriteStream.flushMyBuf(WriteStream.java(Inlined
 Compiled Code))
 at com.ibm.ws.io.WriteStream.flush(WriteStream.java(Inlined Compiled
 Code))
 at com.ibm.ws.http.ResponseStream.flush(ResponseStream.java(Compiled
 Code))
 at com.ibm.ws.io.WriteStream.flush(WriteStream.java(Compiled Code))
 at com.ibm.servlet.engine.http11.HttpConnection.flush
 (HttpConnection.java(Inlined Compiled Code))
 at com.ibm.servlet.engine.srp.SRPConnection.flush(SRPConnection.java
 (Compiled Code))
 at com.ibm.servlet.engine.srt.SRTOutputStream.flush(SRTOutputStream.java
 (Compiled Code))
 at java.io.OutputStreamWriter.flush(OutputStreamWriter.java(Compiled
 Code))
 at com.ibm.servlet.engine.srt.BufferedWriter.flushChars
 (BufferedWriter.java(Compiled Code))
 at com.ibm.servlet.engine.srt.BufferedWriter.flush(BufferedWriter.java
 (Inlined Compiled Code))
 at com.ibm.servlet.engine.srt.BufferedWriter.flushBuffer
 (BufferedWriter.java(Compiled Code))
 at com.ibm.servlet.engine.srt.SRTServletResponse.flushBuffer
 (SRTServletResponse.java(Compiled Code))
 at com.ibm.servlet.engine.webapp.HttpServletResponseProxy.flushBuffer
 (HttpServletResponseProxy.java(Compiled Code))
 at com.ibm.servlet.engine.webapp.HttpServletResponseProxy.flushBuffer
 (HttpServletResponseProxy.java(Compiled Code))
 at org.apache.jasper.runtime.JspWriterImpl.flush(JspWriterImpl.java
 (Compiled Code))
 at _billingInfo_jsp_30._jspService(_billingInfo_jsp_30.java:763)
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java
 (Compiled Code))
 at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled
 Code))
 at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service
 (JspServlet.java(Compiled Code))
 at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java
 (Compiled Code))
 at org.apache.jasper.runtime.JspServlet.service(JspServlet.java
 (Compiled Code))
 at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled
 Code))
 at com.ibm.servlet.engine.webapp.StrictServletInstance.doService
 (ServletManager.java(Compiled Code))
 at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service
 (StrictLifecycleServlet.java(Compiled Code))
 at com.ibm.servlet.engine.webapp.IdleServletState.service
 (StrictLifecycleServlet.java(Compiled Code))
 at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service
 (StrictLifecycleServlet.java(Inlined Compiled Code))
 at com.ibm.servlet.engine.webapp.ServletInstance.service
 (ServletManager.java(Compiled Code))
 at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch
 (ServletManager.java(Compiled Code))
 at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch
 (ServletManager.java(Inlined Compiled Code))
 at
 com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch
 (WebAppRequestDispatcher.java(Compiled Code))
 at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch
 (WebAppRequestDispatcher.java(Compiled Code))
 at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward
 (WebAppRequestDispatcher.java(Compiled Code))
 at org.apache.struts.action.ActionServlet.processActionForward
 (ActionServlet.java(Compiled Code))
 at org.apache.struts.action.ActionServlet.process(ActionServlet.java
 (Compiled Code))
 at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java
 (Compiled Code))
 at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled
 Code))
 at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled
 Code))
 at com.ibm.servlet.engine.webapp.StrictServletInstance.doService
 (ServletManager.java(Compiled Code))
 at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service
 (StrictLifecycleServlet.java(Compiled Code))
   

  1   2   >