De un XML intento crear un formulario usando XSLT.
En el body del xslt hago:
<body>
<h3><xsl:value-of select="formulario/comentarios/text()"/></h3>
<form>
<xsl:attribute name="name"><xsl:value-of select="formulario/titulo/text()"/></xsl:attribute>
<xsl:attribute name="method">Post</xsl:attribute>
<xsl:attribute name="action">../ProcesarPrueba.jsp</xsl:attribute>
<input type="hidden">
<xsl:attribute name="name">idForm</xsl:attribute>
<xsl:attribute name="value"><xsl:value-of select="formulario/id/text()"/></xsl:attribute>
</input>
<input type="hidden">
<xsl:attribute name="name">titulo</xsl:attribute>
<xsl:attribute name="value"><xsl:value-of select="formulario/titulo/text()"/></xsl:attribute>
</input>
<xsl:apply-templates select="formulario/controles" />
</form>
</body>
Pero en ProcesarPrueba.jsp intento hacer request.getParameter() con algun campo que he definido en controles, y no me deja, me lo saca como null.
esta bien definido asi el form??
Gracias.