dimanche 28 mai 2017

JSP can't find request(inner object)'s method

enter image description here

I am making simple sign up web using TomCat. My Tomcat Version is 8.5.15. I have problem on submit data

Here is Post Source

signup.jsp

        <form id="login_form" method="post" action="../controller/c_signup.jsp">
            <a>Sign Up</a><br>
            <label for="uid">ID</label>
            <input class="input_border" type="text" name="uid" id="uid"><br>
            <label for="pw">Password</label>
            <input class="input_border" type="password" name="pw" id="pw"><br>
            <label for="name">Name</label>
            <input class="input_border" type="text" name="name" id="name"><br><br>
            <input class="btn btn-blue" type="submit" value="Sign Up">
        </form>

and I want to use request.setCharacterEncoding("UTF-8"); but my IDE can't find Method

Here is error code

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
**request.(Here is error)**
%>

What shoud I do. D:




Aucun commentaire:

Enregistrer un commentaire