I want to send a POST - method line, for example, "Nadezhda Larionova," in the following way:
<select name="lawyer"> <option value="ΠΠ°ΡΠΈΠΎΠ½ΠΎΠ²Π° ΠΠ°Π΄Π΅ΠΆΠ΄Π° ΠΠΈΠΊΠΎΠ»Π°Π΅Π²Π½Π°">ΠΠ°ΡΠΈΠΎΠ½ΠΎΠ²Π° ΠΠ°Π΄Π΅ΠΆΠ΄Π° ΠΠΈΠΊΠΎΠ»Π°Π΅Π²Π½Π°</option>"); </select> In the servlet I get "Larionov" instead of the whole line, if it somehow helps, then just in case: I use portlets in jsp - pages.
out.println("<select name=\"lawyer\">"); out.println("<option selected value=" + lawyerNames.get(0) + ">" + lawyerNames.get(0) + "</option>"); for(String lawyerName : lawyerNames) { out.println("<option value=" + lawyerName + ">" + lawyerName + "</option>"); } out.println("</select>"); Why don't I get a whole string?