RE: handling form based authentication w/ remember-me cookie

2004-01-13 Thread Parmar, Dipakkumar
the constraints in a separate config file rather than web.xml). -Max - Original Message - From: Parmar, Dipakkumar [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, January 12, 2004 7:43 AM Subject: RE: handling form based authentication w/ remember-me cookie Hi

RE: handling form based authentication w/ remember-me cookie

2004-01-12 Thread Parmar, Dipakkumar
Hi Chris, You can do this using Servlet Filter. What you need to do is write postLoginFilter that maps to the j_security_check url. In doFilter method, you can write your post login code after j_security_check done is work. Something like: public void doFilter(.)

RE: JAAS Login using LoginAction...

2003-09-22 Thread Parmar, Dipakkumar
http://www.theserverside.com/resources/article.jsp?l=JAAS -Original Message- From: Keith Pemberton [mailto:[EMAIL PROTECTED] Sent: Sunday, September 21, 2003 11:50 PM To: [EMAIL PROTECTED] Subject: JAAS Login using LoginAction... I'm having a bit of trouble trying to login to a

RE: [JSTL] c:out and DynaBeanClass

2002-10-29 Thread Parmar, Dipakkumar
Hi flare, It doesn't work for me. I'm getting error org.apache.jasper.JasperException: An error occurred while evaluating custom action attribute value with value ${flare.ciccio}: Unable to find a value for ciccio in object of class org.apache.commons.beanutils.BasicDynaBean using operator .

RE: [JSTL] c:out and DynaBeanClass

2002-10-29 Thread Parmar, Dipakkumar
Hi flare, I don't know how you got c:out working with DynaBean but seems like that JSTL doesn't support DynaBean. Here is the link http://nagoya.apache.org/eyebrowse/ReadMsg?listName=taglibs-user;jakarta.apa che.orgmsgId=367697. I also looked at the source code and couldn't find anything related

RE: [JSTL] c:out and DynaBeanClass

2002-10-28 Thread Parmar, Dipakkumar
sometimes I need to display field value from my DynaValidatorForm based on user role and some criteria. For example c:choose c:when test=${user.Admin} html:text property=budget / /c:when c:otherwise bean:write name=MyDynaValidatorForm property=budget / /c:otherwise and sometimes

[JSTL] c:out and DynaBeanClass

2002-10-27 Thread Parmar, Dipakkumar
Hello, Obviously c:out tag doesn't work with DynaBeanClass and we haven't converted bean:write to use EL syntax. In this we do need to convert bean:write to use EL syntax. Deepak -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail:

RE: DynaActionForm and ImageButtonBean

2002-10-10 Thread Parmar, Dipakkumar
Me too... It seems like that (after looking code) struts never instantiated ImageButtonBean class while populating DynaActionForm properties. Deepak -Original Message- From: kirusshna [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 2:17 PM To: Struts Users Mailing List

DynaValidatorForm with bean property

2002-10-09 Thread Parmar, Dipakkumar
Hi, I search the archive but could not find the answer. I'm getting IllegalArgumentexception when struts try to populate the DynaValidatorForm properties. Jsp File snippets: Blah html:image src=images/btn_addto.gif property=addImageButton border=0 altKey=add / Blah--- snippets from

LookupDispatchAction and DynaValidator

2002-07-30 Thread Parmar, Dipakkumar
Hello everyone, I have subclass LookUpDispatchAction and provided implementation for getKeyMethodMap like protected Map getKeyMethodMap() { Map map = new HashMap(); map.put(button.add, add); map.put(button.delete, delete); map.put(button.save, save);

RE: LookupDispatchAction and DynaValidator

2002-07-30 Thread Parmar, Dipakkumar
Hi scott, Yes, I'm using html:cancel. I just test your solution and works fine... Thanks Deepak -Original Message- From: Scott Carlson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 30, 2002 11:48 AM To: Parmar, Dipakkumar Cc: [EMAIL PROTECTED] Subject: RE: LookupDispatchAction

RE: Confusion with Filter: please help

2002-05-02 Thread Parmar, Dipakkumar
--- WEB.xml !-- Filter Configuration -- filter filter-nameCheckSignOnFilter/filter-name filter-classcom.cgmp.ccm.web.logon.CheckSignOnFilter/filter-class init-param param-namesignon_url/param-name param-valuelogon.do/param-value /init-param init-param

RE: Validating indexed properties?

2002-05-01 Thread Parmar, Dipakkumar
Hi I'm having the same problem. Please let me know if you find a solution. Thanks Deepak -Original Message- From: Struts Newsgroup [mailto:@[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 8:40 PM To: [EMAIL PROTECTED] Subject: Validating indexed properties? Subject: Validating

RE: How do we use sevlet filter with actionservlet?

2002-05-01 Thread Parmar, Dipakkumar
Hi vivek, You just need to add FILTER configuration in your WEB.XML file. You don't need to do anything in struts configuration. !-- Filter Configuration -- filter filter-nameCheckSignOnFilter/filter-name filter-classcom.cgmp.ccm.web.logon.CheckSignOnFilter/filter-class /filter

RE: How do we use sevlet filter with actionservlet?

2002-05-01 Thread Parmar, Dipakkumar
a Filter class for login authectication and session validation. i would really appreciate. Thanks From: Parmar, Dipakkumar [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: How do we use sevlet filter

RE: DynaActionForm example

2002-04-30 Thread Parmar, Dipakkumar
); String password = (String) PropertyUtils.getSimpleProperty(form, password); ... ... JM -Original Message- From: Parmar, Dipakkumar [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 11:38 PM To: Struts Users Mailing List Subject: DynaActionForm example can

DynaActionForm example

2002-04-29 Thread Parmar, Dipakkumar
can anyone point me the DynaActionForm example? i could not able to find it. Tx in advance. Deepak -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Validator help

2002-04-20 Thread Parmar, Dipakkumar
cumbersome and unpredictable, so I just wrote a custom tag to validate my input forms. If anyone is interested, I'll post the code. Mark -Original Message- From: Parmar, Dipakkumar [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 5:48 PM To: Struts Users Mailing List Subject

How can i turn on debug for org.apache.commons.validator

2002-04-19 Thread Parmar, Dipakkumar
I'm having problem with validator, so before ask to list i would like to try myself to find what's going wrong. For this i would like to turn on debug for validator. i tried setting debug level 0 in ActionServlet mapping in web.xml but didn't help. Any help? Regards, Deepak -- To unsubscribe,

RE: How can i turn on debug for org.apache.commons.validator

2002-04-19 Thread Parmar, Dipakkumar
, 2002 3:21 PM To: 'Struts Users Mailing List' Subject: RE: How can i turn on debug for org.apache.commons.validator I have debug set to 10 and it is working all too well in JRun. Mark -Original Message- From: Parmar, Dipakkumar [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 3:18

RE: How can i turn on debug for org.apache.commons.validator

2002-04-19 Thread Parmar, Dipakkumar
set to 10 and it is working all too well in JRun. Mark -Original Message- From: Parmar, Dipakkumar [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 3:18 PM To: Struts Users Mailing List Subject: How can i turn on debug for org.apache.commons.validator I'm having problem

Validator help

2002-04-19 Thread Parmar, Dipakkumar
Hi, I'm having really hard time to figure out why the validator is not working. Here is the summary what i did: 1. I tried to produce debug/error messages for org.apache.commons.validator but no luck. (see thread How can i turn on debug for org.apache.commons.validator) 2. I override

RE: Validator help

2002-04-19 Thread Parmar, Dipakkumar
:58 PM To: Struts Users Mailing List Subject: RE: Validator help I am having issues with my validation too. Did you initialize the validator in the web.xml file? -Original Message- From: Parmar, Dipakkumar [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 2:48 PM To: Struts Users