Re: Form reset()

2006-06-07 Thread vijay r
Suppose we have a page P1.jsp which has a corrosponding form bean, say, TestForm. If the scope of the bean is request, then whenever we access P1.jsp, the reset() method will be called. If the scope is session, reset() method will be called only for the first time, when the bean is actually loade

Re: why do we need to create packages

2006-06-07 Thread vijay r
Its not that I do not want to create any packages, I just wanted to check whether the ActionForms, Actions work without a package or not. http://marc.theaimsgroup.com/?l=tomcat-user&m=104265745710637&w=2 My ActionForm, Action have no packages and they are working. I made a silly mistake in str

Re: why do we need to create packages

2006-06-06 Thread vijay r
egards, Sharadha Yadav M.S. Infosys Technology Ltd. -Original Message----- From: vijay r [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 11:32 AM To: Struts Users Mailing List Subject: why do we need to create packages Hello, I was wondering why do we need to create packages to keep

why do we need to create packages

2006-06-06 Thread vijay r
Hello, I was wondering why do we need to create packages to keep our ActionForms, Action classes. Can't we do without creating packages. I created the .class files in WEB-INF\classes directory and gave no package names in struts-config.xml file. It gave NullPoniterException - Error creating form

date picker (tried javawebparts but facing problem)

2006-04-20 Thread vijay r
Hello, I need to use a data picker. I tried javawebparts but I am getting the problem of class version incompatibility for class 'CalendarTag'. I am using WAS 5.0 which is based on JDK 1.3. Is there a version of javawebparts for JDK 1.3 which I can use. Or is there any other free date picker avai

Re: {Maybe OT} Ajax with struts

2006-04-11 Thread vijay r
<[EMAIL PROTECTED]> wrote: > > On 4/10/06, vijay r <[EMAIL PROTECTED]> wrote: > > Hello, > > > > I used AJAX to fill details for a corrosponding selected value listed in > a > > combo box. So for a particular registration number, the details of the &g

{Maybe OT} Ajax with struts

2006-04-10 Thread vijay r
Hello, I used AJAX to fill details for a corrosponding selected value listed in a combo box. So for a particular registration number, the details of the vehicle are filled. On the onchange() event of the combo box, I am calling a JavaScript function which creates a XmlHttpRequest with the url = "