Jump to content

chanveil

Members
  • Content Count

    29
  • Joined

  • Last visited

Everything posted by chanveil

  1. hi ,I have a problem on reading a table in word document using XWPF.can any body tell how to read table in word document .i am using apache poi 3.8 beta 2.
  2. chanveil

    Gradient Question

    I have a gradient being used on a sidebar on a website, but I need to to somehow stretch the length of the page. Is it possible to create a larger image of the gradient and resize it to fit the size of the rest of the content?
  3. chanveil

    Stuborn div

    Hey there, using this code the div 'ts' shouldnt be just wide enough to accomodate the words? Like auto width or something.The thing is, no matter what I do, the div extentds itself @ 100% my screen's wideness.Where did I messed up this time?Thanks.
  4. Can someone point me in the right direction on where I would find a good tutorial (or any information at all) on how to do this? I know about parsing an XML file using SAX and DOM parsing, but what about parsing a data file to XML?
  5. Hi, I've a scenario wherein I've to convert multiple documents into a single pdf. A collection contains the respective xmls of the documents and I've to loop through them. in the loop, the obtained xml is converted to intermediate xsl-fo and then using fo processor; to a pdf file. I'm using byteArrayOutputStream for the final conversion. After the loop ends, I'm writing the output to response using the 'write' method of byteArrayOutputStream. Now the problem is that the output pdf contains only one document which was present last in the collection. Is there any way wherein all the documents ca
  6. I want to lock my java application for only one PC. How can i achieve this? can anyone help me? Thanks in advance..
  7. Hi friends Can any me suggets how to convert doc file into java using java?
  8. Hi,I am using 1. dbms_xmlgen.newContext to get the information from table.2. After that I am using dbms_lob.createtemporary3. Then I am using dbms_xmlgen.getXml4. Finally I am using dbms_xmlgen.closecontextI am using the above four steps to repatedly taking records from different tables.My requirement is : Each and every time I am getting the <?xml version = '1.0'?>.How to suppress <?xml version = '1.0'?> ?Regards
  9. Hi,Was trying to build XML-RPC client to connect to a business application having XML-RPC server which expects persistence connection for sending request to increase the performance.I have used xmlrpc-common-3.1.jar , xmlrpc-client-3.1.jar for building xml-rpc client.Below is the sample code for the same. In this code it creates a TCP/IP connection every time when 'xmlRpcClient.execute' is called. But I need to create a connection once and send request over that connection only.Your comments are welcome.
  10. I am trying to write a program that has spinners that cannot be edited by typing in them. I want them to be editable by the arrow buttons, but not by the user typing them in. Can anyone tell me how I might do this?
  11. HiI have opened one command prompt window usingProcess pr = Runtime.getRuntime().exec("cmd.exe /c start");Now I want to write some text in this window.Can any one help me?thanks.
  12. hi,i have an xmltype column name "NM" in table "XMLTEST", the content of the xml in NM is<ct><sp id="ALEX"><sp id="JOHN"><sp id="MIKE"><sp id="CALEB"/><sp id="PAUL"/></sp></sp><sp id="MAX"><sp id="WAYNE"/></sp><sp id="MAX"/></sp></ct>The group i want to select is ALEX except group "MIKE" and "MAX", which return<ct><sp id="ALEX"><sp id="JOHN"/><sp id="SEAN"/></sp></ct>Is it possible? i'm processing this using stored procedure PL/SQL, my environment is 11g R2 Win 32bit.please a
  13. I have a very simple question:I get a XML file and want to store that data in my Oracle database in a normal table.I have seen so many answers everywhere, varying from LOBs and using xDB etc.What i don't understand is why it is so difficult.When i want to load a CSV file in a table I make a very small Control File CTL and from the command prompt / command line I run the SQL Loader.Control file:load datainfile 'import.csv'into table empfields terminated by "," optionally enclosed by '"'( empno, empname, sal, deptno )command:sqlldr user/password@SID control=loader_Control_File.ctlNext I connect
  14. Hello all:I am on a font manager project. One of the features is to install the new font file. My understanding by "install" is to copy the file to the system directory Windows/fonts (correct me if I am wrong in this part). When I tried to use the java copy file api to do so, not surprisingly I got the access denied exception.Now two questions:1. How can I do a "force-copy" of file into the system directory?2. If that's not proper way, how can I create a "shortcut" like a softlink of the file into the system directory?Thanks
  15. HiI have a regular expression "regex" and I have a text , now I want to know if some parts of this text matches the "regex" i have , and what is the result.for example:if I have a text " bla bla bla bla R 25 bla bla R 25/30 bla bla bla S 30/50/30 bla bla "and I have a regex "[RS] (\\d+|\\d+/\\d+|\\d+/\\d+/\d+)" which will match the bold data ...now , I want a code that returns for me the bold expressions.any help please?
  16. Hi,I am having trouble in passing < symbol as a command line argument. I have to pass file name after that < symbol from which my program will take the input.but when i pass this and print all the command line paramters in the main function it does not print < than sign and any argument that is written after that.....But when i pass the arguments using netbeans IDE by setting the project properties it works perfectly.here is the command i am using to run the program....java EightPuzzle -s BreadthFirst < file_that_takes_14_moves_to_solvethe file name "file_that_takes_14_moves_to_sol
  17. Hi,I am using HttpURLCOnnection class to post a data to a url(which is a web service). The webservice accepts data as text/xml.Following is the code snippet i used:URL url = new URL("http://xxx.xxx.xx.xx:8080/SampleWebService.svc");HttpURLConnection conn =(HttpURLConnection) url.openConnection();conn.setDoOutput(true);conn.setRequestMethod("POST");conn.setRequestProperty("Content-Type","text/xml");String urlStr="param1="URLEncoder.encode(value1)"&param2="+URLEncoder.encode(value2)OutputStreamWriter wr = new OutputStreamWriter(conn.getOutputStream());wr.write(urlStr);wr.flush();InputStream
  18. HI,I am displaying delivery information in xml report.I have to email the output in pdf.Here i have to email the entire file. i am not bursing on each delivery. the output file will have more that 1 delivery details.can any one tell me how to do this ?thanks
  19. Hi Friends,I need some help in removing the duplicates from a xml file using the Excel Spreadsheet. The xml Im using does not have any schema.Can some one please let me know the steps.Thanks a lot.
  20. Hi All,I've create my website using Dreamweaver (not the point and click style though), having tested the page in firefox, I have uploaded all my files (css/html), to my website online however the following has happened;nav bar moved above header, text gone from bold to normal.has this happened to anyone else or does any one have an idea as to why?if you need to see the css just let me know.many thanks
  21. chanveil

    Frames to CSS

    I'm in the middle of learning CSS and am stuck with the job of migrating a frames based design to CSS. If it is possible, what is the basic CSS technique to accomplish the following:Assume a CSS designed page with a banner, sidebar and main content. When a link is executed off this page, how is it possible to keep the banner and sidebar the same and replace the main content with the contents of the executed link?Appreciate any offered suggestions.
  22. I am building a calorie counter/calculator and I am stuck on carrying the variable over so that it accumulates total value (java/ajax).So if you click on the letter A you will get a list of foods in the A group and as you modify the form you will increase your caloric value. If you choose a new food group the value is zero'd out.I need the counter to accumulate all choices from all food options. any ideas?I am a PHP coder and very very new to java and ajax.FYI when you click on a letter, it calls (ajax) a .php script that generates the table based on the MySQL database.
  23. I'm trying to make a div that is hidden at the top of a page until you click support, and then it slides out. I've got this working fine in FF, but in IE it's really choppy. I don't really have any idea why other than the fact that it's the way IE handles JS. Does anyone have any thoughts on how I can go about trouble shooting this?
  24. I have a db that I want to add a customer number field to a table in a db. However, there are already many exixting customers to do one at a time. I want to create unique numbers for each one. An example would be 6516f6511r100000. Then, each one thereafter would increment by one. In addtion, each new entrant would auto-increment. Can anyone help with this? Thanks
  25. I have several subdomains that share a single set of template files by symbolic link. In the template, I need to create a link that is unique to the subdomain being viewed. My thought was to store the URL in a text file in the root of each subdomain and write my link using the contents of that text file. can this be done? thanks!
×
×
  • Create New...