User Profile

Collapse

Profile Sidebar

Collapse
baldwasagar
baldwasagar
Last Activity: Mar 29 '08, 04:20 AM
Joined: Mar 25 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • baldwasagar
    replied to Parsing JavaScript from HTML file
    in Java
    I have build my own methowd which parse the SCRIPT Tag. Using HTMLEditorKit.P arserCallback, I diverted the control flow whenever a SCRIPT tag occured.

    This method would have handle any <SCRIPT> tag in a HTML file. Also< i wanted the <A> which is placed in SCRIPT tag which i am also able to get. thanks for every1 who contributed to my queriers.

    Below is the code.

    BufferedReader br;
    ...
    See more | Go to post

    Leave a comment:


  • baldwasagar
    replied to Parsing JavaScript from HTML file
    in Java
    I have tried using it Jos but it does not works.


    <SCRIPT> document.write ( "<A onclick=\"OpenM SDigestWin()\" target=\"MSDige stWin\" HREF = \"" + msdigestLink + "dna_reading_fr ame=1&access_me thod=Accession+ Number&hide_pro tein_sequence=2 &open_reading_f rame=1&coverage _map=0+138+13+3 2+14+38+6+25+14 +5+12+77+12+ 34+13+4+14+97+9 +23+27&search_c ycle=1&accessio n_num=P02769\"> 22%</A>"...
    See more | Go to post

    Leave a comment:


  • baldwasagar
    started a topic Parsing JavaScript from HTML file
    in Java

    Parsing JavaScript from HTML file

    <SCRIPT> document.write ( "<A onclick=\"OpenM SDigestWin()\" target=\"MSDige stWin\" HREF = \"" + msdigestLink + "dna_reading_fr ame=1&access_me thod=Accession+ Number&hide_pro tein_sequence=2 &open_reading_f rame=1&coverage _map=0+138+13+3 2+14+38+6+25+14 +5+12+77+12+34+ 13+4+14+97+9+23 +27&search_cycl e=1&accession_n um=P02769\">22%</A>" );</SCRIPT>

    ...
    See more | Go to post

  • baldwasagar
    started a topic Parsing JavaScript from HTML file
    in Java

    Parsing JavaScript from HTML file

    I want to parse a HTML file in Java which has JavaScript also in it. I want to fetch the data of Java Script tag also. The tag is SCRIPT. Please help with suggestions / solutions.

    I have tried using Java HTMLEditorKit API but it does not work for SCRIPT tag/

    Regards,
    Sagar
    See more | Go to post
No activity results to display
Show More
Working...