Responding back to application's HTTP POST values with application/x-www-form-urlenc
I am trying to communicate back to an executable (installer file) that is sending me values via HTTP POST but continue to run into problems with the HttpContentType being converted back to “text/html;charset=UTF-8” within OpenCMS 6.2.1.
How do I set my pages’s response (HttpContentType) as “application/x-www-form-urlencoded” and keep it that way. I’ve tried a number of different methods directly within my blocks of JSTL EL logic but it seems as though OpenCMS is forcing the HttpContentType to revert back before I can communicate back to the application by way of out.print(“something”);
Is this a known problem in OpenCMS 6.2.1? Is there something within the configuration files that I can do to prevent my attempts to responsd from being converted back to “text/html;charset=UTF-8”.
Thanks in advance and I realized this is primarily a question about OpenCMS configuration but hopefully somebody here within the Java community has seen the problem and knows the solution.
Here is the code (index.jsp) I’m trying to create the response back to the application with: