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 wOOdy-Soft 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: kanghao
  • Content: Threads
  • Order by date
  1. kanghao

    how to delete all style attributes

    I want to delete all style attributes in some html files. How can I delete them? are there easy ways? thanks.
  2. kanghao

    dynamic table rows...

    I mean I want to add table rows in javascript and I tried. but I had a infinate loop. the input elements in each table row are named, so they can be processed by action pages or servlets. the names are "string"_"number" and they should be incresed by 1. here is the code. <!DOCTYPE html PUBLIC...
  3. kanghao

    Is it possible to include html page in another html page?

    Is it possible to include html page in another html page? I'm saying static html page.
  4. kanghao

    usb memory unwritable.

    usb memory is unwritable. unformatable, but it is deletalbe. It's formatted FAT32, but windows xp recognizes as NTFS. according my company code, I have to install a media security program. Should I change cmos settings? is it possible to ignore it? so annoying.
  5. kanghao

    parsing a file user is uploading without save it to server.

    I want to parse the file(Excel file) user is uploading, without save it to server first. I mean in memory. How can I do that?
  6. kanghao

    simple trigger...

    I have a trigger looks simmar like this. GET_NAME is a function and works good. What's wrong? create or replace trigger trg_update_USER after update on USER for each row begin if UPDATING then UPDATE USER set NAME = GET_NAME(:new.EMP_NO,:new.DEPT,'2') where EMP_NO =...
  7. kanghao

    where are oracle ddl(create table, create index etc) stored?

    I don't have Toad etc. so I need to know where the ddls are stored. where are they? Thanks.
  8. kanghao

    change the default option of the smart tags.

    I use Office 2003(Powerpoint). when I copy from the web pages, the ppt smart tag gives 3 options ; 1.keep original format 2.use design template 3.copy text only default is 2. I want 3 to be the default option. How can I change the setting in powerpoint or office-wide?
  9. kanghao

    re: xsi:schemaLocation and xsi:noNamespaceSchemaLocation

    what's the difference of the xsi:schemaLocation and xsi:noNamespaceSchemaLocation attributes? xsi:noNamespaceSchemaLocation is used for the physical location of schemas like xsi:noNamespaceSchemaLocation="http://.../my.xsd" or xsi:noNamespaceSchemaLocation="mylocal.xsd", right? what about...
  10. kanghao

    handling large text files...

    I have a large text file sized 1MB or over. I have to modify just the first or second line and the remaing remains as the same. I tried LineNumberReader and it works fine. (read each line and the modify first or the second line and append them to stringbuffer and toStringed it.) but I'm...
  11. kanghao

    catching comments in SAX

    my handler looks like --------------- public class RMSAXDefaultHandler extends DefaultHandler implements LexicalHandler { ... ... public void comment(char[] ch, int start, int length) throws SAXException { System.out.println("comment ==============="); String...
  12. kanghao

    determine whether the element have text or not in it

    In SAX, Is it possible to determine whether the element have the text or not in it in startElement()? I want the collapsed form of element like <EMPTY_ELEMENT/> when the element have no text in it. I have the form of <EMPTY_ELEMENT></EMPTY_ELEMENT>, because I put "<", element_name,">" in...
  13. kanghao

    filter out tag name in cdata sections or comments

    how can I filter out xml elements in cdata sections or comments. I have to parse xml elements and manupulate their attributes. but I want the text in the form of <TAG> ... </TAG> or <TAG/> in the cdata sections or comments untouched. help me. Thanks.
  14. kanghao

    ways of connecting to Oracle..

    What's the difference between two cases below. case 1) String url = "jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=10.133.103.142)(PORT=1522))(ADDRESS=(PROTOCOL=TCP)(HOST=10.133.103.112)(PORT=1522)))(CONNECT_DATA = (SERVICE_NAME = ORAKIPO))))" String driver =...
  15. kanghao

    How can I run some commands repeatedly?

    How can I run some commands repeatedly? for example I want to print "ps -ef | grep Exus | wc -l" the below won't work. while true do "ps -ef | grep Exus | wc -l ;sleep 1" done; Thanks.
  16. kanghao

    what is Windows equivalent of LC_CTYPE=C ?

    what is Windows equivalent of LC_CTYPE=C ? and how can I change that on windows?(on unix LC_CTYPE=C;export LC_CTYPE) Thanks.
  17. kanghao

    regular expression quantifiers

    how can I filter m or n times, not m through n times in "&#[0-9]{3,5};". for example &#123; => true &#12345; => true &#1234; => false thanks.
  18. kanghao

    JDBC connection problem

    What's the difference the value of "rm.oracle.db.url" case A, and case B why the url A is not working? Thanks in advance. ========= Java source ======= Class.forName(conf.get("rm.oracle.db.driver")); con = DriverManager.getConnection(conf.get("rm.oracle.db.url")...
  19. kanghao

    prompt download dialog

    I want to implement download feature with zip archive file. but the code below won't work. Can you help me? <%@ page import="java.util.zip.ZipOutputStream" %> <% ZipOutputStream zos = request.getAttribute("zip_output_stream"); String file_name = (String)request.getAttribute("file_name")...
  20. kanghao

    Java logging framework...

    I want to log more gracefully, more readable and so more informative. Do you have any tutorials or articles? Thanks.

Part and Inventory Search

Back
Top