Turn the validation off on the second dropdown.
-Original Message-
From: Kranti Parisa [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 29, 2004 9:39 AM
To: Struts Users Mailing List
Subject: Re: Error Handling in Struts
How u r getting the error message.. urself has done something
but I'm not using the validation.xml
Remove the loading of the validation xml from the struts-config.xml or the
web.xml whereever you set it to load from.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 29, 2004 9:51 AM
To: Struts Users
The way i have done it is to pass a parameter to the same action. The
parameter value changes based on what button was clicked before the form is
submitted.
It is impossible to have 2 methods with the same signature to be invoked.
-Original Message-
From: struts lover [mailto:[EMAIL
just add a mapping.findForward(secondpage); to the action corresponding to
the register button form submission.
the action mapping would be
action path=/register type=FirstRegisterAction input=/firstpage.jsp
name=registerform scope=request validate=false
forward name=secondpage
Hi,
I have an application written in struts and i want to return xml in the
response to the request. The request is being made from a client which makes
http connection to my servlet and posts the request to it. I was wondering
whats the best way to send the response back.
Option:
Setting the
Yup. You should be using your session object as implementing the
sessionbindinglistener...and from the session binding event, you can
find out the session information and for an unbound event, implement your
business logic.
sahil
-Original Message-
From: Geeta Ramani [mailto:[EMAIL
because i have tried this already.
Asim
Gupta, Sahil [EMAIL PROTECTED] wrote:
If the session object is invalidated(timed out), add the action errors in
the request and call the saverequest(errors, req) in the action servlet and
do a mapping.findForward to the login page. The login page should display
I cant seem to get logging working on my apache+tomcat5 set up. I have the
log4j.properties file in the tomcat_install/conf directory and the
environment variable
CATALINA_OPTS set to
-Dlog4j.configuration=file:/c:/webmd/Tomcat4.1/conf/log4j.properties EXPORT
CATALINA_OPTS
I am attaching the
Hi,
I'd like to pass multiple values in my form hidden parameter. Is there any
way i can do this?
html:hidden property=svalues value=abc,def/
Bean:
private String []svalues;
private String []getSvalues(){
return svalues;
}
private void setSvalues(String []vals){
svalues = vals;
}
TIA
S
You could use the focus attribute of the form tag in the html api
html:form action=/xyz focus=abc
where abc is your property.
sahil
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 20, 2004 11:47 AM
To: Struts Users Mailing List
Subject: Re: form
] = val;
}
private String getSvalues(int index)
{
return svalues[index];
}
HTH,
--Rob
On Tue, 20 Jul 2004 11:40:48 -0400, Gupta, Sahil [EMAIL PROTECTED] wrote:
Hi,
I'd like to pass multiple values in my form hidden parameter. Is there
any
way i can do this?
html:hidden property
11 matches
Mail list logo