struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manfred Wolff <wo...@manfred-wolff.de>
Subject Re: Several action in a jsp
Date Thu, 07 Sep 2006 07:17:42 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 

Marcello!

Of course you can. But only the values of the special form will be
submitted and transport via the request. Otherwise you have to collect
the values via javascript.

Manfred

Struts goes mobile. See http://www.strutsme.org


Marcello Savino wrote:
> In a struts jsp files can I have more form with different action defined
> ?
> I mean something like that
>
> <?xml version="1.0" encoding="UTF-8" ?>
> <%@ page language="java" contentType="text/html; charset=UTF-8"
> pageEncoding="UTF-8"%>
> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> <html:html locale="true">
> <head>
> <body>
> <html:form action="/action1">
> </html:form>
> <html:form action="/action2">
> </html:form>
> </body>
> </html:html>
> Thanks in advancee for reply
> Marcello
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: GnuPT 2.7.2
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iQEVAwUBRP/HldokyUkhmcy6AQLN+wf/VXqfHM+cgR81StKIGjI2dxilofqUS5Jp
OWlZf9EtvdxmIDZjYfWeu71TNcwZVDkw+68Kb6pht8Rwo4agPYdfwkUVIScg2ukC
I0zk1MIE8qSb0V/gvb9i5/I7RZ7j6hTWqAqmGJ7uTBpFUCXq/dgXQLQSHab9HV3o
AJaO2yB0L/LCrh4quJWk3JvecxFXaKMmWpzkS9ClfcxfYistYppjPXjj8+1EVHuX
JNfmu1LTZ6moEEP9YSCqhOkPBXr1qN78A0bobfIoUrzHgi36SRvUouFx444tkJUN
fqdvgx975200zE5FneW5x5w6X61O5P+7zS3LERRsqZPGBg1PldwQsQ==
=4IeK
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message