RE: Struts Validation + Frames

2003-12-29 Thread Suresh Korvi
hi venkatesh You are saying that using lower frame so see which to which form this page belongs to and put that form name in the validate.xml then it will display easily i am think this is the problem of placing the form name correctly suresh -Original Message- From: VENKATESH

From Suresh

2003-12-24 Thread Suresh Korvi
Hi Guys Can anybody help how to work with StrutsTestCase i am using Eclipse suresh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Hi, problem using html:messages id=message property=specific

2003-09-26 Thread suresh kolli
Hi, I couldn't get the following to work: (though trying as per the Struts API reference). --- Doesn't work html:messages id=message property=specific li font color=red bean:write name=message/ /font /li /html:messages -Doesn't work I

Hi, problem using html:messages id=message property=specific

2003-09-26 Thread suresh kolli
Hi, I couldn't get the following to work: (though trying as per the Struts API reference). --- Doesn't work html:messages id=message property=specific li font color=red bean:write name=message/ /font /li /html:messages -Doesn't work I

Hi, problem using html:messages id=message property=specific

2003-09-26 Thread suresh kolli
Hi, I couldn't get the following to work: (though trying as per the Struts API reference). --- Doesn't work html:messages id=message property=specific li font color=red bean:write name=message/ /font /li /html:messages -Doesn't work I

[OT] Problem stopping Tomcat 4.1.18

2003-09-11 Thread Suresh Addagalla
to remain in some way? Thanks, Suresh **Disclaimer Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which

Message resource as a String variable

2003-09-05 Thread Suresh Addagalla
Hi, Is it possible to create a String variable out of a message resource defined in the resources files? bean:message doesn't seem to help. Thanks, Suresh **Disclaimer Information contained in this E-MAIL being proprietary to Wipro

Help in solving Code of a method longer than 65535 bytes

2003-08-14 Thread Suresh Addagalla
names and values. More over, I need to access as well as *change* the data of this form bean in these views :( Please suggest me a way to solve this problem. Is there anyway I can pass my form to other JSPs and still be able to modify the form elements?? Thanks, Suresh

RE: Code of a method longer than 65535 bytes

2003-08-14 Thread Suresh Addagalla
, please let me know. Thanks, Suresh -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2003 10:21 AM To: Struts Users Mailing List Subject: Re: Code of a method longer than 65535 bytes On Wed, 13 Aug 2003, David Thielen wrote

RE: Uploading a file to server using struts

2003-07-30 Thread Suresh Addagalla
You can use this code in your Action class after declaring a form element of type FormFile. FormFile file = (FormFile) theForm.get(theFile) ; String fileName = file.getFileName() ; int fileSize = file.getFileSize() ; if ( (fileName != null)

[OT] Line numbers while parsing XML

2003-07-25 Thread Suresh Addagalla
; for example, a code attribute of an element may be such that it is not unique when a DB insertion is attempted. Is this possible to implement with DOM? Or do I need to switch to SAX and use the Locator handler to get the line number information? Thanks, Suresh

scope:request doubt

2003-06-30 Thread Suresh Babu
this is removed, the page works just fine. Why is this??? Please advice. Thanks in advance, Suresh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: html:hidden and value

2003-06-12 Thread Suresh Babu
In your reset() try to initialize the string to null. (Not ) Hope this helps. -- From: Anurag Garg[SMTP:[EMAIL PROTECTED] Reply To: Struts Users Mailing List Sent: Thursday, June 12, 2003 11:46 AM To: Struts Users Mailing List Subject: html:hidden and

RE: need all info. regd Tags in Struts..

2003-06-11 Thread Suresh Babu
Hi Rajat, Check out this link. http://www.novell.com/documentation/lg/workbench4/docs/help/books/tutwarTOC. html Hope it helps. Regards, Suresh -- From: Rajat Nayer[SMTP:[EMAIL PROTECTED] Reply To: Struts Users Mailing List Sent: Wednesday, June 11, 2003 5:41

RE: Help with requiredif validation

2003-06-11 Thread Suresh Babu
Try this arg1 name=requiredif key=A name is resource=false / -- From: Brian McSweeney[SMTP:[EMAIL PROTECTED] Reply To: Struts Users Mailing List Sent: Wednesday, June 11, 2003

Disableing a Text Field in 4.7

2003-03-31 Thread Suresh Athmakuri
Yeah Netscape 4.7 does not support the property of Disabled is TRUE.If you want to achieve this put this String onFocus=blur(). thanks Suresh A

html:select validation

2003-02-05 Thread Suresh Addagalla
/ /field Thanks, Suresh **Disclaimer** Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which

Logging

2003-01-27 Thread Suresh Addagalla
. Thanks, Suresh **Disclaimer** Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which

RE: Need help with html:select and html:options

2003-01-23 Thread Suresh Addagalla
Check if you have month day properties defined in your form bean. Suresh -Original Message- From: Scott Seong [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 11:32 AM To: Struts Users Mailing List Subject: Need help with html:select and html:options Hello, I'm having

Tag as an attribute

2003-01-23 Thread Suresh Addagalla
, pageContext.APPLICATION_SCOPE) ; % html:image property=submit src=%= image %/ Thanks, Suresh **Disclaimer Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only

Date Validation: Help Required

2003-01-22 Thread Suresh Addagalla
specifying the dateFormat/dateFormatStrict in validator-rules.xml since I want to use the default locale's SHORT form. Thanks, Suresh **Disclaimer** Information contained in this E-MAIL being proprietary to Wipro Limited

To check if user is logged in

2003-01-22 Thread Suresh Addagalla
be able to login?? Or am I missing something? Any other approach, please let me know. Thanks, Suresh **Disclaimer** Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged

RE: To check if user is logged in

2003-01-22 Thread Suresh Addagalla
Hi, Are you talking about CheckLoginTag.java in struts-example.war? This implements the check using a custom tag. But I need to forward to login page even before I forward my request to the JSP, in my controller itself. Suresh -Original Message- From: julian green [mailto:[EMAIL

pageContext beans

2003-01-22 Thread Suresh Addagalla
Hi, Does Struts provide any tag to access attributes set in a ServletContext? Thanks, Suresh **Disclaimer Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended

Validator and Form Field Population

2003-01-21 Thread Suresh Addagalla
depends="required" arg0 key="text.servicesets.servicesetname.defaultlang"/ /field /form /formset JSP _javascript_: html:form action="" onsubmit="return validateServiceSetsForm(this)" html:_javascript_ formName="serviceSetsForm"/ Thanks, Sur

Struts Validator Problem

2003-01-17 Thread Suresh Addagalla
' || form[oRequired[x][0]].type == 'password') (form[oRequired[x][0]].value == '')) { Please let me know if anyone knows how to fix this problem. Thanks, Suresh **Disclaimer** Information contained

Validator and Form Bean

2003-01-17 Thread Suresh Addagalla
message, I should display the submitted values so that the user can correct them and re-submit. But now, my whole form is not getting displayed because I am not getting the form bean back. Any thing I am missing? **Must the form bean be in session scope if I want this functionality?** Thanks, Suresh

RE: Application scope variables

2003-01-17 Thread Suresh Addagalla
Hi, Thanks for the suggestion. Can someone outline the procedure for storing ServletContext attributes through a strust plug-in? I really couldn't find much help on the web to start working on the plug-in related things. Thanks, Suresh -Original Message- From: Craig R. McClanahan

RE: [OT] Date format

2003-01-17 Thread Suresh Addagalla
and not SimpleDateFormat. Suresh -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 9:11 AM To: Struts Users Mailing List Subject: RE: [OT] Date format Your best bet is to use the static factory methods in the DateFormat class. ie: Locale

Validator and Form Bean

2003-01-17 Thread Suresh Addagalla
message, I should display the submitted values so that the user can correct them and re-submit. But now, my whole form is not getting displayed because I am not getting the form bean back. Any thing I am missing? **Must the form bean be in session scope if I want this functionality?** Thanks, Suresh

Struts Validator Problem

2003-01-17 Thread Suresh Addagalla
' || form[oRequired[x][0]].type == 'password') (form[oRequired[x][0]].value == '')) { Please let me know if anyone knows how to fix this problem. Thanks, Suresh **Disclaimer** Information contained

RE: Validator and Form Bean

2003-01-17 Thread Suresh Addagalla
=Success path=/services.jsp / /action Thanks, Suresh -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 8:44 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: Validator and Form Bean On Friday, January 17, 2003, 8

Date format

2003-01-16 Thread Suresh Addagalla
a But what I want is *only* the date part, excluding the time part of it. Thanks, Suresh **Disclaimer** Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential

All values of html:select

2003-01-15 Thread Suresh Addagalla
the values) or does the framework provide some built-in support? Thanks, Suresh **Disclaimer** Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use

jsp:directive.taglib doesn't work

2003-01-12 Thread Suresh Addagalla
idea why the first syntax wouldn't work? I am using Tomcat 4.1.12 on Win2K. Thanks, Suresh **Disclaimer** Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential

RE: Declarative Exception Handling

2003-01-12 Thread Suresh Addagalla
the following exceptin declared in struts-config.xml: exception type=ss.prwp.service.InvalidLoginException key=error.invalid.login path=login.jsp / Thanks, Suresh -Original Message- From: Manomohan K Kalathil [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 11, 2003 2:17 PM To: Struts

RE: jsp:directive.taglib doesn't work

2003-01-12 Thread Suresh Addagalla
) at org.apache.jasper.compiler.ParserController.parse(ParserController.java: 153) at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:219) Thanks, Suresh -Original Message- From: David M. Karr [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 12:11 AM To: [EMAIL PROTECTED] Subject: Re

RE: Declarative Exception Handling(solved)

2003-01-12 Thread Suresh Addagalla
Thanks David. It worked this way: logic:messagesPresent html:messages id=error bean:write name=%= Action.EXCEPTION_KEY % property=message/ /html:messages /logic:messagesPresent Suresh -Original Message- From: David M. Karr [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 12:15

Declarative Exception Handling

2003-01-10 Thread Suresh Addagalla
Title: Message Hi, If I am using Declarative exception handling, is it possible to extract some information from the exception object and display the same on the browser? Or is it that I need to use programmatic exception handling if I have such requirements? Thanks, Suresh

problem with bean:define

2003-01-09 Thread Suresh Addagalla
roperty="name"/ Retrieving the code and name attributes of the bean /html:select/logic:iterate Do I anywhere need to mention the type of objects contained in the Vector? Thanks, Suresh **Disclaimer Information c

problem with bean:define (with error)

2003-01-09 Thread Suresh Addagalla
e org.apache.struts.taglib.html.BEAN at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:248) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240) Thanks, Suresh **Disclaimer

Validator Question

2003-01-09 Thread Suresh Addagalla
Title: Message Hi, I need to validate that the user does not enter only spaces in a particular text field. Validator framework doesn't seem to providing any validation directly to achieve this. Do I need to write custom _javascript_, or is something already available? Thanks, Suresh

Problem with form submission

2003-01-08 Thread Suresh Addagalla
s' of type 'java.util.Vector' Any help is greatly appreciated. Thanks, Suresh **Disclaimer Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the

RE: Problem with form submission

2003-01-08 Thread Suresh Addagalla
with searchServicesForm (again a DynaActionForm with two String varaiables for holding the selections from two combo boxes). Thanks, Suresh -Original Message- From: Iris [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 2:07 PM To: Struts Users Mailing List Subject: Re: Problem with form submission

Passing data to presentation objects

2003-01-08 Thread Suresh Addagalla
on knowing more about this? Any examples would be highly useful. Also, is there any sample application I can download and which can be used as sort of a reference for common tasks required for struts programming? Thanks, Suresh **Disclaimer

RE: 'collection' dropdown trouble

2003-01-08 Thread Suresh Addagalla
services of type Vector. The services property contains a list of objects for whom get/set methods are defined on code and name properties again. Suresh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 5:25 PM To: [EMAIL PROTECTED] Subject

RE: Call Struts Action from JS

2003-01-08 Thread Suresh Addagalla
Hi, IE 5.0 seems to be treating document.forms[0].action as an Object, where as, earlier I used it directly set an URL string many times. Any ideas? Suresh -Original Message- From: Siggelkow, Bill [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 9:54 PM To: 'Struts Users

Application scope variables

2003-01-08 Thread Suresh Addagalla
? What's the best way to do this? Thanks, Suresh **Disclaimer Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which

problem with bean:define

2003-01-07 Thread Suresh Addagalla
same bean name more than once in a single page. See the Bean Developer's Guide section on bean creation for more information about these differences, as well as alternative approaches to introducing beans into a JSP page. Thanks, Suresh **Disclaimer**

Validator problem

2003-01-07 Thread Suresh Addagalla
properly, but when I click on the OK button, I want the form to remain unsubmitted. I am using onsubmit="validateLoginForm(this) in html:form tag and am including html:_javascript_ formName="loginForm"/ before closing the body tag. Thanks, Suresh *

Error in getting message resouces

2003-01-06 Thread Suresh Addagalla
in advance, Suresh **Disclaimer Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified

Help needed

2003-01-06 Thread Suresh Addagalla
"Failure") ; } How should I access these errors in my JSP to show the errors? Thanks, Suresh **Disclaimer** Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and

Struts equivalent of if...else (newbie)

2003-01-06 Thread Suresh Addagalla
writing a cryptic looking scriptlet? Thanks, Suresh **Disclaimer** Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only

RE: Struts equivalent of if...else (newbie)

2003-01-06 Thread Suresh Addagalla
Well, as you guessed, I do have scriptlets. Now my effort is to minimize or remove them completely. And I tried to use logic with local variables, it worked. Thanks for that. And still, logic:equal offers only if..then; is there any way to simulate if..then..else? Thanks, Suresh -Original

RE: Struts equivalent of if...else (newbie)

2003-01-06 Thread Suresh Addagalla
Sorry for the haste.. Logic:equal doesn't seem to be working with local variables... Suresh -Original Message- From: Suresh Addagalla [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 7:49 PM To: 'Struts Users Mailing List' Subject: RE: Struts equivalent of if...else (newbie

RE: Struts equivalent of if...else (newbie)

2003-01-06 Thread Suresh Addagalla
/logic:equal logic:notEqual parameter=curr value=Tracking No /logic:notEqual Thanks, Suresh -Original Message- From: David M. Karr [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 9:23 PM To: [EMAIL PROTECTED] Subject: Re: Struts equivalent

Struts Exception

2003-01-06 Thread Suresh Addagalla
=org.apache.struts.validator.ValidatorPlugIn set-property property=pathnames value=/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml/ /plug-in /struts-config Thanks, Suresh **Disclaimer Information contained in this E

RE: Struts equivalent of if...else (newbie)

2003-01-06 Thread Suresh Addagalla
Thanks, that helps. Suresh -Original Message- From: David M. Karr [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 1:01 PM To: [EMAIL PROTECTED] Subject: Re: Struts equivalent of if...else (newbie) Suresh == Suresh Addagalla [EMAIL PROTECTED] writes: Suresh Hi

redirect attribute (newbie)

2002-12-30 Thread Suresh Addagalla
, Suresh **Disclaimer Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any

Validator (newbie)

2002-12-18 Thread Suresh Addagalla
? Thanks, Suresh **Disclaimer Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified

RE: Validator (newbie)

2002-12-18 Thread Suresh Addagalla
that using the form bean is the best idea. In the scenario which I described, what can be the alternative and best practise? Thanks, Suresh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 18, 2002 4:37 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED

Form Errors (Newbie)

2002-12-18 Thread Suresh Addagalla
do I see the same values when it is displayed again with some errors? Thanks for your time. Suresh **Disclaimer** Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confident

Form Errors (Newbie)

2002-12-18 Thread Suresh Addagalla
? Thanks for your time. Suresh **Disclaimer** Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which

Struts Validator

2002-12-17 Thread Suresh Addagalla
() or what exactly is needed? Thanks, Suresh **Disclaimer** Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity

RE: Struts Validator

2002-12-17 Thread Suresh Addagalla
Thanks Iris. Could you recommend a good book (or online tutorial) for me to learn Struts? I am going through a lot of material on the web, but more often I am getting confused than learning something new. Suresh -Original Message- From: Iris [mailto:[EMAIL PROTECTED]] Sent: Tuesday

RE: Struts Validator

2002-12-17 Thread Suresh Addagalla
into the Commons Validator package, you can remove this last piece of code and get rid of the form bean. Are we sure that we do need to define the form bean (which extends ValidatorForm) if we use Struts Validator? Thanks, Suresh -Original Message- From: Iris [mailto:[EMAIL PROTECTED]] Sent: Tuesday

javax.servlet.ServletException: BeanUtils.populate

2001-09-11 Thread Govindaraj, Suresh
) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498) at java.lang.Thread.run(Thread.java:484) Thanks, Suresh Topaz Development Team, QuadraMed Phone - (W) x6107, Direct 510-337-6107 (H) 510-440-9088 e-mail : [EMAIL PROTECTED]

Re: How to redirect to the input jsp page from the formbean's validat emethod instead of populating ActionErrors.

2001-03-29 Thread suresh
Hi Senthil, Sorry for answering a question with a question. How do you redirect errors from perform to the input page without ActionErrors? Best regards Suresh

Connection to Oracle 8i datasource

2001-03-28 Thread suresh
g and gives a nullPointerException. Would appreciate some inputs to solve the problem. Also would appreciate code snippets used to connect to datasources (example Oracle). Best regards Suresh