jax79sg
12-14-2009, 01:10 PM
Hi, i am new to web programming and hit a rock when i tried to create a jsp that will perform a http post to another server, based on values passed down via a servlet.
This doesn't work well with the following error.
According to the TLD or the tag file, attribute value is mandatory for tag out.
I would appreciate any advice. thanks.
<html>
<body onload="document.forms[0].submit();">
<form action="<c:out name="${model.redirecturl}"/>" method="post">
<input type="submit" name="xstr" value="<c:out name="${param1}"/>">
</form>
<body>
<html>
This doesn't work well with the following error.
According to the TLD or the tag file, attribute value is mandatory for tag out.
I would appreciate any advice. thanks.
<html>
<body onload="document.forms[0].submit();">
<form action="<c:out name="${model.redirecturl}"/>" method="post">
<input type="submit" name="xstr" value="<c:out name="${param1}"/>">
</form>
<body>
<html>