У меня есть сервлет, который формирует страницу с комобобоксом. Вопрос - могу ли я применить CSS
к странице, сформированной этим сервлетом, и если да, то как?
public class EditGenreServlet extends HttpServlet {
public void service(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
PrintWriter out = response.getWriter();
SocketConnection.output.println("load_genres");
String sourceString = SocketConnection.input.readLine();
HashMap<String, String> genres = Parser.getNamedObjectMap(SourceString);
out.println("<html><body>");
out.println("<select>");
for (String string : genres.values()) {
out.println("<option>" + string + "</option>");
}
out.println("</select>");
out.println("</body></html>");
}
}