Not using showDocument. You can use the HttpURLConnection class to send a POST request to a JSP, but that will not replace the current page like showDocument does.
I am using HttpUrlConnection to communicate to servlet and its working fine. Is there any way to pass control and post data to jsp page at the same time?