1. How to invoke a servlet from js in a jsf environment? while i invoke using
var slWindow = window.open("../InitServerServlet","","dialogWidth:815px;dialogHeight:390px;help:no;status:no;scroll:no;titlebar:no");
It is throwing Http 405 exception, Peage not found is displayed. But I have an entry in the web.xml for the servlet.
2. Will it be possible to open a new window from a servlet and how?
3.I have to open a pdf from a server location and read as byte array and then i am again writing it as pdf , but I get illegal state exception, output stream already obtained ( Basically I need to print a pdf from the clinet side)