RE: How to find length of a string in a bean

2005-11-18 Thread Vishal Dalal
try int lenth = beanId.StringName.length(); -Original Message- From: rahul [mailto:[EMAIL PROTECTED] Sent: Friday, November 18, 2005 2:19 PM To: user@struts.apache.org Subject: How to find length of a string in a bean Hi All, I have got a bean in my session scope. I want to find the

RE: Action.execute() only being invoked the first time a url is requested ??!!!

2005-11-17 Thread Vishal Dalal
Hi, sorry for intervening. Actually my query is realted to the Caching part... Actually i wanted to ask, do placing all these paramteres actually guarantee that the page will be cached, because i think not. I myself have tried writing all this code in the page. Then when you go forward from

RE: Is it Possible!

2005-11-15 Thread Vishal Dalal
hi, sorry. forgot to mention that you would have to take path.lastIndexOf(/) and then add your relative path -Original Message- From: Vishal Dalal Sent: Wednesday, November 16, 2005 10:17 AM To: 'Struts Users Mailing List' Subject: RE: Is it Possible! try using (className.class

RE: Is it Possible!

2005-11-15 Thread Vishal Dalal
try using (className.class).getResource(NameOfResourceInFolder); it returns a URL get path from String path = URLName.getPath(); and then, add your relative path to the path returned -Original Message- From: Shailesh Barde [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 16, 2005 9:51

RE: Client Side Validator Fails When Submit from Javascript

2005-11-07 Thread Vishal Dalal
hi, try to use onClick instead of onSubmit when you are using the javaScript submit Cheers, Vishal -Original Message- From: Jim Reynolds [mailto:[EMAIL PROTECTED] Sent: Friday, November 04, 2005 7:12 PM To: user@struts.apache.org Subject: Client Side Validator Fails When Submit from

RE: TagSupport - how to get request attribute

2005-11-04 Thread Vishal Dalal
try request.getParameter(ParameterName); -Original Message- From: Andrzej Bengner [mailto:[EMAIL PROTECTED] Sent: Friday, November 04, 2005 4:56 PM To: user@struts.apache.org Subject: TagSupport - how to get request attribute Hello, I have one problem with access to attribute in

RE: bean:write tag within html:link tag

2005-09-28 Thread Vishal Dalal
hi catherine, I am new to the struts framework so please ignore and correct if i am wrong But when using jsp without struts, you experience the same problem while passing parameters to javascript function. I think a better way(which always works!!!) is to make that java variable as a hidden