Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. blevy9

    Delete file

    I am n't using blob, I am using EAServer and PowerBuilder components, deployed to EAServer. So I should use redirection. If it is not possible to delete the redirected file, I am interested if it is possible use File object to delete all pdf files, generated in the certain directory on the...
  2. blevy9

    Calling JSP script from JavaScript handler

    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...
  3. blevy9

    Delete file

    It is correct, I am doing sendRedirect to a pdf, and then try to find a way to delete pdf file from the server. I understand now, 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 redirection, as...
  4. blevy9

    Delete file

    I found, that I have problem when I try to delete File after redirection in my JSP page to Client browser (this is PDF file, so I need to use redirection): response.sendRedirect(ls_filename); ( I have error message in Server log file: Static Resource not found) If I simply use (for HTML file)...
  5. blevy9

    Delete file

    I know exactly what absolute path is on my local drive, so I use it in my JSP code : <%@ page import=&quot;java.io.*&quot; %> <% String ls_path = &quot;c:\\program files\\sybase\\easerver 4.1.1\\Repository\\WebApplication\\my_jspclient\\&quot;; String s_full; String s_dataset =...
  6. blevy9

    Delete file

    File descriptor includes full pathname: File(String pathname) For example, for absolute path name: c:\Program Files\Sybase\EAServer\rpt\report1.pdf how we can create a new File object in our jsp page? What separator we should use for Windows : &quot;/&quot; or &quot;\&quot; ? In different books...
  7. blevy9

    Delete file

    I know forward only path to the directory, where file located, and file name to delete must be a String variable, which is changed at run time.
  8. blevy9

    Delete file

    I need to implement code in my JSP page to delete file from certain catalog if file exists; File name is a String variable. How to do it?
  9. blevy9

    sendRedirect question

    Yes, the two files have exactly the same name - that the new file actually overwriting the previous and replaces the previous file in server directory. But a new file was created with another arguments, than previous. When I using sendRedirect method: response.sendRedirect(ls_filename); to...
  10. blevy9

    sendRedirect question

    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...
  11. blevy9

    How to map the host name to the listener (ip?) in the hosts file

    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 ) {...
  12. blevy9

    Prforming Form Validation

    I found desigion myself. I moved my call GetElementById function from onClick event into verify function if return value = true. It works fine!
  13. blevy9

    Prforming Form Validation

    Thank you, bnymk. I fixed error and now function verify works fine. But now I got another problem. My script for Submit button includes onClick event, which let me get message on the screen, while retrieving data from database: <input type=&quot;Submit&quot; value=&quot;Run Report&quot...
  14. blevy9

    Prforming Form Validation

    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(&quot;All Arguments are required for the...
  15. blevy9

    Create message when user click Submit button

    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...
  16. blevy9

    EAServer Error - 'Unable to find Java class 'GetClassInfo'

    I recommend you to use JSP instead of PowerDynamo. Sybase will not support PowerDynamo in future release.

Part and Inventory Search

Back
Top