Formulaire JSP: Soumetre un texte

Author:
       
//File: index.html

  
    

Hello Web Application

                                What is your name?                                                          

                          

        //File: hello.jsp        Hello Web Application           

Hello Web Application

    

    <%     String name   = request.getParameter("name");     if (name.trim().length() == 0) {     %>       You did not tell me your name!


    <%     } else {     %>       Hello <%=name%>


      <%     }     %>     Try again?                       

A Voir sur le même Sujet:

  • nombre caractere champ texte jsp
  • jsp formulaire
  • html formulaire image getParameter

Leave a Reply

Your email address will not be published. Required fields are marked *