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 dencom 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: *

  • Users: jumper2
  • Content: Threads
  • Order by date
  1. jumper2

    Jakarta POI HWPFDocument

    Hi, I need to make a validation on the word file what the user want to upload. As soon my file is not a real word file I get this failure message: "java.lang.NoSuchMethodError: org.apache.poi.util.StringUtil.getFromUnicodeLE([BII)Ljava/lang/String;" My code is like: try { POIFSFileSystem...
  2. jumper2

    NoSuchMethodError POI Exception

    Hallo, I use POI 3.0.1 for my file upload on my Tomcat server where I got the following failure: "java.lang.NoSuchMethodError: org.apache.poi.util.StringUtil.getFromUnicodeLE([BII)Ljava/lang/String; org.apache.poi.hwpf.model.SavedByTable.<init>(SavedByTable.java:71)...
  3. jumper2

    location.href

    Hi Everybody, I have a javascript where I need to handling in the location.href as E-Mail address which contains "&" charachter. Looks like: location.href = "mailto:user.name@test.com?body=Test&Hier comes still something"; My problem is when I get back the email then the e-mail body is...
  4. jumper2

    Store Blob into CDATA

    Hello Everybody, can somebody help me out, my problem is the following => I have an xmlDocument with a CDATA section where I like to add the Blob data but I'm not sure how. I have this like: InputStream myInStr = myBlob.getBinaryStream(); Element myRootElement = myDoc.getRootElement()...
  5. jumper2

    get back CDATA

    Hi Everybody, Is there somebody who has a solution to get back CDATA from XML file. I put the Blob data into CDATA and now in my .xml I can see like: <filedata><![CDATA[[B@1581593]]></filedata> Now I like to see somehow if the file content is really in that CDATA. How can I get it? Thank you...
  6. jumper2

    Hi All, I wrote a filter in java

    Hi All, I wrote a filter in java which makes changes on the e-mail addresses. This filter works correctly on .jsp pages but doesn't do anything on .html sides. Is there somebody who has idea why is that? My filter mapping in the WEB.xml looks like: <url-pattern>/*</url-pattern> Thank you in...
  7. jumper2

    Java Filter

    Hello Everybody, I have a java filter which works correctly on the .jsp pages, but as soon as I have a page which is .html doesn't do anything anymore. Is somebody has idea why is that? Is there a settings what I need to do? In the WEB.xml I made the following settings but also doesn't helps...
  8. jumper2

    Progress bar

    Hi all, I never used progress bar but now I would need to do it. I have an Internet Application with file upload (commons-fileupload.jar). The file upload itself is done and works fine, now I need to show to the user how far is he with the uplading process. Can somebody gimme a hint how I...
  9. jumper2

    Servlet is not available

    Hello All, i made a servlet what I try to call from my .jsp like: <form name="myForm" method="post" action="http://localhost:8080/test/servlet/DownloadServlet"> When I submit my form I got a failure that my servlet doesn't exist there. I have done with the servlet configuration in...
  10. jumper2

    FileInputStream()

    Hi All, I would need to do a file upload. The user would choose a file from the local directory like C:/test.xls and makes an upload with. In my java code I try to get the file content like : String fileName = "C:/test.xls"; FileInputStream mystream = new FileInputStream(fileName); but I...
  11. jumper2

    Java Filter

    Hi All, I have a strange problem with my filter, if it runs then some part missing end of the html sites.... I tried to find a logic behind but for me seems to be random or depends maybe how big is the site (?) This is how my filter looks like: chain.doFilter(request, wrapper); String...
  12. jumper2

    ReplaceAll

    I have a problem with replaceAll. I like to replace for instance a record with something else. My variable looks like: String myReplacement = "mailto:test@test.address.com?cc=test.ccuser@somebody.com" As soon I try to replace this 'myReplacement' something else, doesn't work, but also...
  13. jumper2

    String Loop with indexOf ?

    Hello, I have a problem to write an algoritm which goes thrue on my String which looks like : String myText = "<table><tr><td><input type="Text" name="address1" value="test1@test.com"></td></tr> <tr><td><input type="Text" name="address2" value="test2@test.com"></td></tr> <tr><td><input...
  14. jumper2

    Find a String in a String

    Hi, Can somebody tell me which is the most easiest way to find a String in a String. For example I have an .jsp side where I would like to find all word which is like 'mailto:' Thank you in advance.
  15. jumper2

    String.fromCharCode (r.charCodeAt (i) + 1);

    Hello, can somebody tell me what is this function does exactly? "String.fromCharCode (r.charCodeAt (i) + 1);
  16. jumper2

    Equvivalent in java the &quot;String.fromCharCode&quot;

    Hello, I have a javascript which is able to crypt an e-mail address on my .jsp side like : crypted += String.fromCharCode (r.charCodeAt (i) + 1); I would like to take out this javascript from my .jsp and implement in .java the same functionality. So far I have done already this like...

Part and Inventory Search

Back
Top