I am using sendRedirect JSP method to send pdf file to the browser, and then try to find a way to delete pdf file from the server. I understand, it does not work because of Client Browser is using the file after redirection.
But I need to find out how to delete this file from the server after...
I am using sendRedirect method to send to client the file, created on the Server side:
response.sendRedirect(ls_filename);
where ls_filename - it is report, which is created with different arguments, it saved as file in server directory.
When file name is changed, it works fine, client...
I implemented PDF and Excel file generation in my PowerBuilder code using generate() function and using redirection in JSP Client to send generated file to the Browser:
String ls_filename = htmldw.generatePDF();
if (ls_filename.length() > 0 )
{...
I wrote function verify, that performing form verifivation.
Function loop through the all text elements of the form:
function verify(f)
{
for(var i=0; i < f.length; i++) {
var e = f.elements[i];
if e.value == null) {
alert("All Arguments are required for the...
My first JSP Page includes a Form with Submit button. When user clicks the button, data items on the form send to the second Web Page, specified in the FORM ACTION attribute. This Web Page retrieve data from Database to print Report and pop-up with big delay.
I need to create message on the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.