Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Dec 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Inserting c:out values into form fields

    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.

    Code:
    <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>

  • #2
    Regular Coder
    Join Date
    Jun 2008
    Posts
    173
    Thanks
    2
    Thanked 9 Times in 9 Posts
    if you need jsp help then try

    http://codingforums.com/java-jsp/

    vineet


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •