Hello,
I asked this before -
Is it possible to have more than one condition using struts logic
tags...like
If A B C then {
do something...
}
how to achieve this in the jsp using logic tags?
Please help
Thanks all...
David Graham [EMAIL PROTECTED]
10/29/2003 10:06 AM
Please respond to Struts Users Mailing List
To: Struts Users Mailing List [EMAIL PROTECTED]
cc:
Subject:Re: more than one condition using logic tags...
--- [EMAIL PROTECTED] wrote:
for ur question 2:
you can use javascript function to call two different action:
function faddpurpose() {
document.editform.methodtocall.value = addpurpose;
document.editform.forwardpage.value = totalsuccess;
document.editform.target=_self;
try using :
BeanUtils.copyProperties( formBean, searchBean );
Frers Michael [EMAIL PROTECTED]
10/27/2003 09:16 AM
Please respond to Struts Users Mailing List
To: Struts Users Mailing List [EMAIL PROTECTED]
cc:
Subject:DynaValidatorForm and
Hello,
I have a little query -
How can I check for more that one condition using struts logic tags? like
if (A B C) {
do something.
}
how do I achieve the same using struts logic tags?
Hello,
I am using one ActionForm bean for multiple pages..say for add.jsp and
edit.jsp.But when I validate and I get an error I want the user to go to
different error pages instead of one just specified in struts-config file
as input parameter?
Can somebody help??
Thanks geeta!
Yes that might be a roundabout way of doing it.Lemme try!
Geeta Ramani [EMAIL PROTECTED]
10/24/2003 02:36 PM
Please respond to Struts Users Mailing List
To: Struts Users Mailing List [EMAIL PROTECTED]
cc:
Subject:Re: Multiple error pages
Thanks Tim.This too makes good sense..thanks
Chen, Gin [EMAIL PROTECTED]
10/24/2003 02:45 PM
Please respond to Struts Users Mailing List
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
cc:
Subject:RE: Multiple error pages from validate method
Here's
try changing your mapping in web.xml to *.do and the for your form
html:form name=myForm method=post action=myAction.do
type=aaa.ers.struts.forms.myForm
and in ur config file
action name=myForm path=/myAction parameter=methodtocall scope=request
type=aaa.ers.struts.actions.myAction
I think your way should work too.You should be able to define any kind of
mapping as per rules!!Your mapping should match the call.
But when U define mapping as /pm/* then you also have to call servlet
like.
html:form name=myForm method=post action=/pm/myAction
10 matches
Mail list logo