RE: Broken pipe problem

2004-03-01 Thread Abhishek Srivastava
This exception is harmless exception. You can also ignore it ... If you want to. It doesn't stop weblogic from processing requests. Regards, Abhishek. -Original Message- From: Ray [mailto:[EMAIL PROTECTED] Sent: Monday, March 01, 2004 2:59 PM To: Struts Users Mailing List Subject: Re:

Avoiding app server restarts while doing struts development

2004-03-01 Thread Abhishek Srivastava
Hello All, I develop my apps on weblogic app server. When doing development on struts I feel for every little operation (change in resource file, change in source file, change config files) it requires me to either redeploy the app or to restart the app server. I have tried to switch to the

Bean:message in attribute causes non-matching extension tags error

2004-02-27 Thread Abhishek Srivastava
Hello All, I am trying to have text from my property file appear into one of the attributes of an html select element. The code which I have written is html:select property=destinationType onchange= javascript:fnLocationBlur(); fnChangeZoomImage() onfocus=fnSetFocus('0');window.status

[REPOST] Struts throws exception during load testing

2004-01-16 Thread Abhishek Srivastava
Hello All, I had posted this yesterday, but didn't receive any response so far. This error is coming more and more frequently when we increase the load on struts. Worst thing is that the stack trace shows that this error is not originated from any of my source. It seems to be an error being

Struts throws exception during load testing

2004-01-15 Thread Abhishek Srivastava
Hello All, My application works fine when I test it with my browser. But if I run load test on it (25 parallel users) I start getting this exception periodically. However in the stack trace I cannot see any of my code. Why is the struts code generating this exception? That too only under minor

Mandatory use of form rather than request object

2004-01-12 Thread Abhishek Srivastava
Hello All, I did some code reviews recently for my project being done on struts. I found that most people still do a request.getAttribute(NAME) kind of code even when the name is a property of the form object and is available in the form object. My question is should the use of form be

RE: Commons validation framework and struts

2003-12-14 Thread Abhishek Srivastava
- From: Abhishek Srivastava [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 9:35 AM To: [EMAIL PROTECTED] Subject: Commons validation framework and struts Hello All, I am trying to learn the new validation framework provided with struts 1.1 and am facing a few problems. I

RE: Commons validation framework and struts

2003-12-13 Thread Abhishek Srivastava
, org.apache.struts.action.ActionErrors, javax.servlet.http.HttpServletRequest msg=errors.requiredArray/ You could also implement DynaValidatorActionForm if you want to validate per action rather than per form. hth, Ben From: Abhishek Srivastava [EMAIL

RE: Commons validation framework and struts

2003-12-13 Thread Abhishek Srivastava
occur. robert -Original Message- From: Abhishek Srivastava [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 9:35 AM To: [EMAIL PROTECTED] Subject: Commons validation framework and struts Hello All, I am trying to learn the new validation framework provided with struts

Commons validation framework and struts

2003-12-12 Thread Abhishek Srivastava
Hello All, I am trying to learn the new validation framework provided with struts 1.1 and am facing a few problems. I have a form object which I have derived from ValidatorForm class. In this form I have fields like operator1, operator2. I have created a file called validation.xml where I have

Re: Struts Actions are Singletons?

2002-04-24 Thread Abhishek Srivastava
for performance? regards, Abhishek. - Original Message - From: Nelson, Laird [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Wednesday, April 24, 2002 6:27 PM Subject: RE: Struts Actions are Singletons? -Original Message- From: abhishek srivastava [mailto:[EMAIL

Struts with WAP+HTML projects

2002-04-19 Thread abhishek srivastava
Hello All, Apologies for posting this again. If you had replied to my question could you please re-send your post to my email address directly ([EMAIL PROTECTED]). Because of my mistake in seting up rules for my mail client all mails from this mailing list were getting deleted.

Struts with WAP+HTML projects

2002-04-18 Thread Abhishek Srivastava
Hello All, I am working on a project which is for a portal which serves to HTML and WAP clients. This project is developed using a home grown MVC model + jsp + XSL So one jsp serves many types of clients by looking up the header sent by the device and applying the right XSL file .. thus creating

Action an overkill ??

2001-12-05 Thread Abhishek Srivastava
to decide which approach to take and why. Can someone help me on this. regards, Abhishek. A ship in harbor is safe, but that is not what ships are built for. John A. Shedd * * Abhishek Srivastava *** /_ __ *** Hewlett-Packard - Solutions Organization

RE: Action an overkill ??

2001-12-05 Thread Abhishek Srivastava
or as jsp tags.But I want to make a consistent decision through out the application. regards, Abhishek. A ship in harbor is safe, but that is not what ships are built for. John A. Shedd * * Abhishek Srivastava *** /_ __ *** Hewlett-Packard - Solutions Organization

RE: Action an overkill ??

2001-12-05 Thread Abhishek Srivastava
for your reply and help. regards, Abhishek. A ship in harbor is safe, but that is not what ships are built for. John A. Shedd * * Abhishek Srivastava *** /_ __ *** Hewlett-Packard - Solutions Organization ** / / /_/ ** 19 Cunningham Road. Bangalore -560052

How to get ActionForm as input

2001-11-30 Thread Abhishek Srivastava
Hello All, I have a html:form this form can be used to create, read, update and delete a record from a ejb service. Since one form can have only one html:submit / button, I have created all four of these operations as hyperlinks. Now when I click on these links My Action does get executed, but

Usage to Table with struts

2001-11-26 Thread Abhishek Srivastava
Hello All, I have 2 questions regarding the display of a html table when using struts. 1. Is there a table tag library with struts. currently I am rendering the table my means of a scriptlet. something like % Collection col = (Collection) session.getAttribute(list);

Action does not get executed

2001-11-23 Thread Abhishek Srivastava
Hello All, I have a menu, in which I put the a hyperlink to a jsp. When this jsp is displayed, some of the fields should have data pre-populated in it. This data which is used to pre-populate the form is fetched from ejbs. Now, I have written a struts Form class and a struts Action class and

RE: Action does not get executed

2001-11-23 Thread Abhishek Srivastava
Thank you Gitangali for your reply. I removed the input attribute from the action element. My menu points towards my jsp. html:link href='/jsp/applist.jsp'applications list/html:link if I click on it, the my action does not get executed. and the no values are prefilled when the jsp comes up.

RE: Action does not get executed

2001-11-23 Thread Abhishek Srivastava
have mapped ActionServlet to *.do then, the link for SaveDataAction will be SaveData.do. So the link will be like this: html:link href='/SaveData.do'App list/html:link Abhishek Srivastava [EMAIL PROTECTED] on 11/23/2001 11:11:35 PM Please respond to [EMAIL

RE: Action does not get executed

2001-11-23 Thread Abhishek Srivastava
PROTECTED] Subject: RE: Action does not get executed To remove the dummy jsp page,u need to point to the action class directly instead of the jsp page and on success of this action forward ur request to the jsp page. regards, gitanjali. Abhishek

list boxes and struts

2001-11-13 Thread Abhishek Srivastava
!! regards, Abhishek. A ship in harbor is safe, but that is not what ships are built for. John A. Shedd * * Abhishek Srivastava *** /_ __ *** Hewlett-Packard - Solutions Organization ** / / /_/ ** 19 Cunningham Road. Bangalore -560052

Form class contacting an Ejb

2001-11-12 Thread Abhishek Srivastava
hello all, I have a form, in which some of the fields should be populated by default when the form is displayed to the user. These values are available from an ejb. Is it OK, if I have an class which derives from ActionForm to contact an ejb and get default values? or should i keep these

List boxes and Form classes

2001-11-12 Thread Abhishek Srivastava
Hello All, Another new-bie question. I have a html form that has a drop down box. When writing the Form object for this html form what should be the data type of the property which represents this field of the html-form? should it be a string or a collection type like ArrayList.(as the drop

newbie got struck with error!!

2001-10-28 Thread Abhishek Srivastava
Hello all, I tried my first action mapping sample today and I am facing the following problem. - java.lang.NoSuchMethodException at java.lang.Class.getMethod0(Native Method) at java.lang.Class.getMethod(Class.java:888)