Alon Bar-Lev has posted comments on this change.
Change subject: core: Non-plugin automatic invocation of console session
......................................................................
Patch Set 1: (1 inline comment)
....................................................
File
backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/IniServlet.java
Line 22: private static final long serialVersionUID = 119752080913341323L;
Line 23: private static final Logger log =
Logger.getLogger(IniServlet.class);
Line 24:
Line 25: @Override
Line 26: protected void doGet(HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException {
It always simpler to do get than post... however get always suffers from the
size of the payload. All you need is a simple <form> and <input type=hidden>
and submit the form... as the servlet is sending attachment the page will
remain intact.
Line 27: try {
Line 28: writeIniToStream(response.getOutputStream(),
request.getParameterMap());
Line 29: } catch (IOException e) {
Line 30: log.error("Error when writing to response stream " +
e.getMessage());
--
To view, visit http://gerrit.ovirt.org/11702
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I18b9d2efad15f5e9bb98a8176112b721c810205f
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Frank Kobzik <[email protected]>
Gerrit-Reviewer: Alon Bar-Lev <[email protected]>
Gerrit-Reviewer: Frank Kobzik <[email protected]>
Gerrit-Reviewer: Juan Hernandez <[email protected]>
Gerrit-Reviewer: Omer Frenkel <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches