Java Tutorial/JSP/Form TextArea

Материал из Java эксперт
Перейти к: навигация, поиск

Read value in Form TextArea using JSP

index.jsp



<HTML>
    <HEAD>
        <TITLE>Submitting Text Areas</TITLE>
    </HEAD>
 
    <BODY>
        <H1>Submitting Text Areas</H1>
        <FORM ACTION="basic.jsp" METHOD="POST">
            Please enter your text:
            <BR>
            <TEXTAREA NAME="textarea1" ROWS="5"></TEXTAREA>
            <BR>
            <INPUT TYPE="SUBMIT" VALUE="Submit">
        </FORM>
    </BODY>
<HTML>