Hello, there is a request with parameters

http://localhost:8080/Example/exampl?x=Hello&y=World 

How to make the values ​​from the request fall into the input field?

  • when you open the page were immediately in the fields, as I understand it? - Senior Pomidor
  • @SeniorAutomator yes to be in the fields - user229233
  • I would draw my servlet with these parameters, when loading the page, getting these parameters, I would deliver to the fields - Senior Pomidor

1 answer 1

EL expression :

 ${param.x} 

Java :

 <%= request.getParameter("x") %> 

URI :

 uri.getQuery()