RE: calling bean reset() in Action class?

2006-12-11 Thread Chandra.Ravinithala
Did you override the reset() method?. Abstract ActionForm has no implementation for reset() method; if you want to set the values to be blank/default values on reset() method call - override reset() method. public abstract class ActionForm implements Serializable { public void rese

RE: Cannot create JDBC driver of class '' for connect URL 'null'

2006-12-04 Thread Chandra.Ravinithala
Did you check http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.h tml - examples Chandra -Original Message- From: nagesh.kumar [mailto:[EMAIL PROTECTED] Sent: Monday, December 04, 2006 9:43 AM To: Struts Users Mailing List Subject: Cannot create JDBC driver of cla

RE: exception

2006-09-06 Thread Chandra.Ravinithala
Did you mention LoginForm in struts-config properly - I mean And mailto:[EMAIL PROTECTED] Sent: Thursday, September 07, 2006 9:51 AM To: Struts Users Mailing List Subject: Re: exception Error 500--Internal Server Error javax.servlet.jsp.JspException: Exceptio

RE: problem with processValidate in RequestProcessor.java

2006-08-31 Thread Chandra.Ravinithala
Check this - http://issues.apache.org/struts/browse/STR-1960 Might help Chandra -Original Message- From: Raghuveer [mailto:[EMAIL PROTECTED] Sent: Thursday, August 31, 2006 4:50 PM To: user@struts.apache.org Subject: problem with processValidate in RequestProcessor.java I am getting "

RE: Plz Help, Urgent

2006-08-10 Thread Chandra.Ravinithala
You can locate that in Drive:\Program Files\netbeans-5.5beta2\enterprise3\apache-tomcat-5.5.17\work. But, having going thru the exception in details - you try what Kalpesh and Shervin Asgari mentioned. Chandra -Original Message- From: Medicherla Lakshmi [mailto:[EMAIL PROTECTED] Sent: T

RE: Plz Help, Urgent

2006-08-10 Thread Chandra.Ravinithala
If its tomcat, worth clearing the cache. Goto work/Catalina/ and remove whatever in there. Chandra -Original Message- From: Medicherla Lakshmi [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 4:47 PM To: user@struts.apache.org Subject: Plz Help, Urgent Hi All, I developed

RE: About Display Tag

2006-07-24 Thread Chandra.Ravinithala
I have used http://extremecomponents.org/extremesite/index.jsp Pretty neat. Chandra -Original Message- From: Paul Benedict [mailto:[EMAIL PROTECTED] Sent: Monday, July 24, 2006 12:52 PM To: Struts Users Mailing List Subject: Re: About Display Tag http://displaytag.sourceforge.net/11/

RE: ajax:autocomplete tag

2006-06-14 Thread Chandra.Ravinithala
Check this: http://java.sun.com/developer/EJTechTips/2005/tt1122.html This has a simple example on how to return the list of employee(Ajax way). Note: This does not use the tags you mentioned. But would give one more perspective. Ignore if does not help. Chandra -Original Message- Fro

RE: Example needed for saveToken

2006-05-02 Thread Chandra.Ravinithala
http://jaxmag.com/itr/online_artikel/psecom,id,648,nodeid,147.html More in saveToken(); Chandra -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 02, 2006 2:32 PM To: user@struts.apache.org Subject: RE: Example needed for saveToken Some useful cod

RE: Example needed for saveToken

2006-05-02 Thread Chandra.Ravinithala
Some useful code: The action code may look like this. // Check for a valid token if(isTokenValid(request)){ // If the token is valid, reset it and perform the business logic resetToken(request); insertRecord(request);//Business logic call. return mapping.findForward(Global

RE: Session without cookies

2006-04-24 Thread Chandra.Ravinithala
I think some where(may be in the action class association with the action /test.do) you are creating new session each time for each request. Most possible mistake could be using Request.getSession(true); See below documentation from Servlet Specifications ***

RE: Invalidating a session using JAVASCRIPT

2006-03-21 Thread Chandra.Ravinithala
Use ... function callAMethod(){ submit to server(may be a servlet); } I have not tested this by summiting to a servlet.But, I am sure onUnload() works when you click on browser 'X; Chandra -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesda

RE: Using message resources in non-action class

2006-03-13 Thread Chandra.Ravinithala
http://java.sun.com/j2se/1.4.2/docs/api/java/util/ResourceBundle.html Check the description for the following method: public static ResourceBundle getBundle(String baseName, Locale locale, ClassLoader loader) Give it a shot Chandra -Original Message- From: starki78 [mailto:[EMAIL PRO

RE: Using message resources in non-action class

2006-03-13 Thread Chandra.Ravinithala
Use resource bundle: ResourceBundle messageresources = ResourceBundle.getBundle("ApplicationResources"); Or Properties messageresources = new Properties(); BufferedInputStream is = new BufferedInputStream( getClass().getResourceAsStream("ApplicationResources")); properties.load(is); Chandra

RE: Using message resources in non-action class

2006-03-12 Thread Chandra.Ravinithala
The following should work. MessageResources messageresources = (MessageResources) servlet.getServletContext().getAttribute("allMessages"); Chandra -Original Message- From: Anuradha S.Athreya [mailto:[EMAIL PROTECTED] Sent: Monday, March 13, 2006 1:09 PM To: 'Struts Users Mailing List

RE: Sorting & paging search results with delete button for each row?

2006-02-23 Thread Chandra.Ravinithala
Not sure if you are looking for a good open source solutions here. If you are, have a look at the following site: http://extremecomponents.org/extremesite/welcome.jsp Chandra -Original Message- From: Narayanan, Shiva [mailto:[EMAIL PROTECTED] Sent: Thursday, February 23, 2006 8:23 PM T

RE: question

2006-02-23 Thread Chandra.Ravinithala
Which version of Struts are you using? >From Struts 1.0: DEPRECATIONS - The entire custom tag library that is documented in struts-form.tld has been deprecated because this library has been renamed struts-html.tld instead; for ref: http://struts.apache.org/struts-action/userGuide/release-notes-1.0

RE: debuging in eclipse

2006-02-22 Thread Chandra.Ravinithala
Is your server(i.e tomcat or Jboss or whatever) running and listening for debugging connections? here is how I use Tomcat, JBoss and Eclipse to build and debug applications. Which ever platform you are using (tomcat or JBoss) you need to start them with the JPDA debugging enabled. For tomcat thi