How to rename URL.CFID and URL.CFTOKEN

Hello,
Application have CF templates with .abc extension. Idea is to
hide which technology use application/website.
If I use CFID and CFTOKEN in URL, then is obvious that the
technology is CF.
I have tried following:
URL is
http://www.domain.com/template.abc?newCFIDname=123445&newCFTOKENname=938473
In OnRequestStart I have set SESSION.CFID, SESSION.CFTOKEN
and SESSION.URLTOKEN
<cfset SESSION.CFID = URL.newCFIDname>
<cfset SESSION.CFTOKEN= URL.newCFTOKENname>
<cfset SESSION.URLTOKEN=
"CFID=#URL.newCFIDname#&CFTOKEN=#URL.newCFTOKENname#">
session Variables have values from URL now, but in fact it's
always new session started (cookies are disabled in browser) and I
loose cart content between two clicks.
Have You any ideas,
Excuse me because of my bad english.
Thank's in advance.
dacha

not sure if this will work or not, but how about this:
format your URL like:
http://www.domain.com/template.abc?f=123445&t=938473
in your onrequeststart:
<cfif session.cfid neq url.f>
<cfset session.cfid = url.f>
</cfif>
<cfif session.cftoken neq url.t>
<cfset session.cftoken = url.t>
</cfif>
<cfif session.urltoken neq
"CFID=#url.f#&CFTOKEN=#url.t#">
<cfset session.urltoken =
"CFID=#url.f#&CFTOKEN=#url.t#">
</cfif>
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com

Similar Messages

  • How to display URL images and URL link (html) from Smartforms?

    Hi Gurus,
    I'm having difficulty on how to display targeted URL images and URL link from the smartforms, after i sending it out as html mail. The mail i sent just can be preview as a plain text, which can't execute the html code that i put inside the smartforms itself. I follow a few step from this very useful blog.. Hopefully, you guys can give me some solutions or ideas on this.
    /people/pavan.bayyapu/blog/2005/08/30/sending-html-email-from-sap-crmerp -thanks to Pavan for his useful blog.
    My code is like this..
    <--- Start Code.
    FORM call_smartforms.
      DATA : lv_subject TYPE so_obj_des,
             lc_true(1) VALUE 'X',
             lw_control_parameters TYPE ssfctrlop,
             lw_output_options TYPE ssfcompop,
             lc_graphics(8) VALUE 'GRAPHICS',
             lw_xsfparam_line TYPE ssfxsfp,
             lc_extract(7) VALUE 'EXTRACT',
             lc_graphics_directory(18) VALUE 'GRAPHICS-DIRECTORY',
             lc_mygraphics(11) VALUE 'mygraphics/',
             lc_content_id(10) VALUE 'CONTENT-ID',
             lc_enable(6) VALUE 'ENABLE',
             lw_job_output_info TYPE ssfcrescl,
             lw_html_data TYPE trfresult,
             lw_graphics TYPE ssf_xsf_gr,
             lt_graphics TYPE tsf_xsf_gr,
             lv_html_xstr TYPE xstring,
             lw_html_raw LIKE LINE OF lw_html_data-content,
             lv_incode TYPE tcp00-cpcodepage VALUE '4110',
             lv_html_str TYPE string,
             lv_html_len TYPE i,
             lc_utf8(5) VALUE 'utf-8',
             lc_latin1(6) VALUE 'latin1',
             lv_offset TYPE i,
             lv_length TYPE i,
             lv_diff TYPE i,
             lt_soli TYPE soli_tab,
             lw_soli TYPE soli,
             lc_mime_helper TYPE REF TO cl_gbt_multirelated_service,
             lv_name TYPE mime_text VALUE 'sapwebform.htm',
             lv_xstr TYPE xstring,
             lw_raw TYPE bapiconten,
             lt_solix TYPE solix_tab,
             lw_solix TYPE solix,
             lv_filename TYPE string,
             lv_content_id TYPE string,
             lv_content_type TYPE w3conttype,
             lv_obj_len TYPE so_obj_len,
             lv_bmp TYPE so_fileext VALUE 'BMP',
             lv_description TYPE so_obj_des VALUE 'Graphic in BMP format',
             lc_doc_bcs TYPE REF TO cl_document_bcs,
             lc_bcs TYPE REF TO cl_bcs,
             lc_send_exception TYPE REF TO cx_root,
             lw_adsmtp TYPE lty_adsmtp,
             lv_mail_address TYPE ad_smtpadr,
             lc_recipient TYPE REF TO if_recipient_bcs,
             lc_send_request TYPE REF TO cl_bcs,
             lv_sent_to_all TYPE os_boolean.
      DATA : v_language TYPE sflangu VALUE 'E',
             v_e_devtype TYPE rspoptype.
      v_form_name = 'ZTEST_EMAIL'.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = v_form_name
        IMPORTING
          fm_name            = v_namef
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      IF sy-subrc = 0.
       break mhusin.
      ENDIF.
    starting here. ***
    Set title for the output
      lv_subject = 'Smartforms.'.
    Set control parameters to "no dialog"
      lw_control_parameters-no_dialog = lc_true.
    IF lw_service_subject-code = lc_fm1.
    *--- To get output device type
      CALL FUNCTION 'SSF_GET_DEVICE_TYPE'
        EXPORTING
          i_language    = v_language
          i_application = 'SAPDEFAULT'
        IMPORTING
          e_devtype     = v_e_devtype.
      lw_output_options-tdprinter = v_e_devtype.
      lw_control_parameters-getotf = 'X'.
      IF sy-subrc = 0.
       break mhusin.
      ENDIF.
    Set output options
      lw_output_options-xsf        = lc_true.
      lw_output_options-xsfcmode   = lc_true.
      lw_output_options-xsfoutmode = 'A'.
      lw_output_options-xsfoutdev  = space.
      lw_output_options-xsfformat  = lc_true.
      lw_xsfparam_line-name  = lc_graphics.
      lw_xsfparam_line-value = lc_extract.
      APPEND lw_xsfparam_line TO lw_output_options-xsfpars.
      lw_xsfparam_line-name  = lc_graphics_directory.
      lw_xsfparam_line-value = lc_mygraphics.
      APPEND lw_xsfparam_line TO lw_output_options-xsfpars.
      lw_xsfparam_line-name  = lc_content_id.
      lw_xsfparam_line-value = lc_enable.
      APPEND lw_xsfparam_line TO lw_output_options-xsfpars.
    Get the smartform content
      CALL FUNCTION v_namef
        EXPORTING
          control_parameters   = lw_control_parameters
          output_options       = lw_output_options
    *pass other application specific parameters (eg order number, items ).
      IMPORTING
          job_output_info    = lw_job_output_info
      TABLES
          tt_tabh              = tt_tabh
          tt_tabb              = tt_tabb
          tt_tabf              = tt_tabf
      EXCEPTIONS
          formatting_error = 1
          internal_error   = 2
          send_error       = 3
          user_canceled    = 4
          OTHERS           = 5.
      IF sy-subrc = 0.
       break mhusin.
      ENDIF.
      lw_html_data  = lw_job_output_info-xmloutput-trfresult.
      lt_graphics[] = lw_job_output_info-xmloutput-xsfgr[].
      CLEAR lv_html_xstr.
      LOOP AT lw_html_data-content INTO lw_html_raw.
        CONCATENATE lv_html_xstr lw_html_raw INTO lv_html_xstr IN BYTE MODE.
      ENDLOOP.
      lv_html_xstr = lv_html_xstr(lw_html_data-length).
      CALL FUNCTION 'SCP_TRANSLATE_CHARS'
        EXPORTING
          inbuff       = lv_html_xstr
          incode       = lv_incode
          csubst       = lc_true
          substc_space = lc_true
        IMPORTING
          outbuff      = lv_html_str
          outused      = lv_html_len
        EXCEPTIONS
          OTHERS       = 1.
    *HACK THE HTML CODE GENERATED BY SMARTFORM TO MAKE THE
    *EXTERNAL IMAGES APPEAR AS <IMG> TAG IN HTML
      REPLACE ALL OCCURRENCES OF '<IMG' IN lv_html_str WITH '<IMG' IGNORING CASE.
      REPLACE ALL OCCURRENCES OF '/>' IN lv_html_str WITH '/>' IGNORING CASE.
      REPLACE ALL OCCURRENCES OF '</A>' IN lv_html_str WITH '' IGNORING CASE.
      REPLACE ALL OCCURRENCES OF '<' IN lv_html_str WITH '<' IGNORING CASE.
      REPLACE ALL OCCURRENCES OF '>' IN lv_html_str WITH '>' IGNORING CASE.
    CALL METHOD html_control - >load_mime_object
       EXPORTING
         object_id  = 'ZWN'
         object_url = 'ZWN.GIF'
       EXCEPTIONS
         OTHERS     = 1.
      REPLACE ALL OCCURRENCES OF lc_utf8 IN lv_html_str WITH lc_latin1.
    REPLACE ALL OCCURRENCES OF lc_utf8 IN lv_html_str WITH 'iso-8859-1'.
       break mhusin.
      lv_html_len = STRLEN( lv_html_str ).
      lv_offset = 0.
      lv_length = 255.
      WHILE lv_offset < lv_html_len.
        lv_diff = lv_html_len - lv_offset.
        IF lv_diff > lv_length.
          lw_soli-line = lv_html_str+lv_offset(lv_length).
        ELSE.
          lw_soli-line = lv_html_str+lv_offset(lv_diff).
        ENDIF.
        APPEND lw_soli TO lt_soli.
        ADD lv_length TO lv_offset.
      ENDWHILE.
      CREATE OBJECT lc_mime_helper.
      CALL METHOD lc_mime_helper->set_main_html
        EXPORTING
          content     = lt_soli
          filename    = lv_name
          description = lv_subject.
      LOOP AT lt_graphics INTO lw_graphics.
        CLEAR lv_xstr.
        LOOP AT lw_graphics-content INTO lw_raw.
          CONCATENATE lv_xstr lw_raw-line INTO lv_xstr IN BYTE MODE.
        ENDLOOP.
        lv_xstr = lv_xstr(lw_graphics-length).
        lv_offset = 0.
        lv_length = 255.
        CLEAR lt_solix[].
        WHILE lv_offset < lw_graphics-length.
          lv_diff = lw_graphics-length - lv_offset.
          IF lv_diff > lv_length.
            lw_solix-line = lv_xstr+lv_offset(lv_length).
          ELSE.
            lw_solix-line = lv_xstr+lv_offset(lv_diff).
          ENDIF.
          APPEND lw_solix TO lt_solix.
          ADD lv_length TO lv_offset.
        ENDWHILE.
        CONCATENATE lc_mygraphics lw_graphics-graphics text-001 INTO lv_filename.
        CONCATENATE lc_mygraphics lw_graphics-graphics text-001 INTO lv_content_id.
        lv_content_type = lw_graphics-httptype.
        lv_obj_len      = lw_graphics-length.
    *Add images to the email
        CALL METHOD lc_mime_helper->add_binary_part
          EXPORTING
            content      = lt_solix
            filename     = lv_filename
            extension    = lv_bmp
            description  = lv_description
            content_type = lv_content_type
            length       = lv_obj_len
            content_id   = lv_content_id.
      ENDLOOP.
      TRY.
          lv_subject = lv_subject.
          lc_doc_bcs = cl_document_bcs=>create_from_multirelated(
                   i_subject          = lv_subject
                   i_multirel_service = lc_mime_helper ).
        CATCH cx_document_bcs INTO lc_send_exception.
        CATCH cx_bcom_mime INTO lc_send_exception.
        CATCH cx_gbt_mime INTO lc_send_exception.
      ENDTRY.
    Create send request
      TRY.
          lc_bcs = cl_bcs=>create_persistent( ).
        CATCH cx_send_req_bcs INTO lc_send_exception.
      ENDTRY.
      TRY.
          lc_bcs->set_document( i_document = lc_doc_bcs ).
        CATCH cx_send_req_bcs INTO lc_send_exception.
      ENDTRY.
    Set-up email receiver
      lv_mail_address = '[email protected]'.
    TRANSLATE lv_mail_address TO UPPER CASE.
      TRY.
          lc_recipient = cl_cam_address_bcs=>create_internet_address(
              i_address_string = lv_mail_address ).
        CATCH cx_address_bcs INTO lc_send_exception.
      ENDTRY.
      TRY.
          lc_bcs->add_recipient( i_recipient = lc_recipient ).
        CATCH cx_send_req_bcs INTO lc_send_exception.
      ENDTRY.
    Send smartforms as HTML email
      TRY.
          lc_bcs->send( ).
        CATCH cx_send_req_bcs INTO lc_send_exception.
      ENDTRY.
      COMMIT WORK.
      WRITE:/ 'Mail sent'.
    ENDFORM.                    "call_smartforms
    End Code --->
    Thanks and Regards.

    1- put your images in a directory under the web app directory. Example: app/images/
    2- in your jsp, use: String file = application.getRealPath("/images/"); to get the images directory. See http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletContext.html#getRealPath(java.lang.String)
    3- it's not the right forum to post this kind of question. Post them in the JSP/Servlet JSTL forum instead

  • GS_CM. How to hide buttons: 'Attachment' and 'URL'

    Hi,
    Business object 'catalog product' use component GS_CM
    We want to hide buttons: Attachment and URL
    We need to use only button Advanced.
    How I can customize it?
    Denis.

    Dear Denis,
    Enhance Component GS_CM and view DocList.
    Redefine method IF_BSP_WD_TOOLBAR_CALLBACK~GET_BUTTONS and implement the following code:
    super->IF_BSP_WD_TOOLBAR_CALLBACK~GET_BUTTONS( ).
    delete gt_button where id ne 'advanced'.
    Hope this helps.
    Thanks
    Vishal
    Edited by: Vishal Kesar on Aug 9, 2011 2:07 PM

  • How i Rename Item Code and Description

    Dear All,
    Can you please tell me how i change Item code and item description in sap b1 8.8.

    This can be very annoying.  If there's a typo in the product code, we cannot update it anymore (since there are already transactions with this product) and the item is not displayed in the correct place when the item list is sorted on the item code.  We can start a new product with the correct code and transfer the items in stock to the new product code, but then all the current transactions are still linked with the old/deprecated product.  Very annoying.
    If someone could find a method to rename the item code without losing the linked transactions, this would really be helpful.  Thanks!
    Regards,
    Pieter Verhaeghe

  • Adf application not rendered correctly with url ip and url localhost.

    Hi all.
    I have a strange problem. When I enter to my adf application deployed in a local stand alone weblogic server with the ip:
    http://localhost:7001/Application/faces/index
    it renders fine. But when I load it with the url:
    http://10.5.14.15:7001/Application/faces/index (private ip), it doesn´t render fine. Tables haven´t the same style, and some elements appear selected like if I have selected them with the mouse.
    This problem only happens with internet explorer, not with Chrome.
    Also when I see a table inside a region in a jspx, the with of the header of the columns is not rendered correctly, causing the width of the header row not be the same than the other rows.
    This problem also happens only with internet explorer.
    Any help please?
    Internet Explorer 8. JDeveloper 11g.2. Weblogic 10.3.5.0
    Also happens with Internet Explorer.
    Maybe encoding? doctype?
    Thanks

    What would the DOCTYPE have to do with the IP address?
    Have you looked at the HTML source in the different browsers and tried to debug what's wrong? Sounds like there may be some images/css files that aren't being downloaded in IE when you use that IP address. Are you sure IE isn't configured with a proxy?
    John

  • How to rename project (.prj) and workspace (.cws) files?

    CVI lets me rename a project in the programming environment (Edit -> Project) but the name of the project file on disk (.prj) doesn't change. Is there a way to change the project file name?
    I want to do the same thing for the workspace file (.cws). How?
    thanks!

    querty999 ha scritto:
    Sometimes I want to open a random C file so I can copy and paste code into my program. But the CVI environment wants to make that random C file part of the project, I believe. If I recall correctly, it even changes my default folder to the location of the random C file. Very frustrating!
    The highlighted sentence is not true: you can open any number of source files in the editor without having them added to the project; the same happens for include files and for any text file you want. The CVI environment will remember you have those files open and will try to open them again the next time you run it, but they won't be included in the compilation and won't be part of your application / project.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • How to get Driver and url names from a connection pool

    Hi,
    How to get the DriverName and URL from an existing pool, If I know the name of
    connection pool ? Is it possible to know the name of related pool , if I know
    the name of datasource?
    Thx
    Manish

    hi
    there are 2 ways:
    url must be: jdbc:weblogic:pool[:connectionPoolID]
    or
    jdbc:weblogic:jts[:connectionPoolID] (if you want to use jts with your JDBC connection.)
    see http://e-docs.bea.com/wls/docs60//javadocs/weblogic/jdbc/pool/Driver.html
    However, I think it is safer to configure and use DataSource to get connection.
    Nicolas
    "kumar" <[email protected]> wrote:
    >
    Hi,
    How to get the DriverName and URL from an existing pool, If I know the name
    of
    connection pool ? Is it possible to know the name of related pool , if I
    know
    the name of datasource?
    Thx
    Manish

  • How to pass form value through URL?

    I have a page set up so that pressing the submit on a form will execute a certain page. For certain reasons I also have a URL HREF link that performs a different function. I need to get the value of a radio button group (all with the same name) and pass that value through the URL if it is pressed. So if someone clicks on the second radio button in the list which has a value of 2, I need to somehow set that to a variable to pass through a URL link. Each time the user changes the radio button I need to dynamically change the variable too.
    Is there any way to do this?

    Thanks for the suggestions everyone. Here is what I have so far:
    I have a cfInput that binds to the radio buttons so the value of the cfinput changes dynamically.
    I have a CFDIV that binds to a separate .cfm page that passes the cfinput through as an argument.
    The .cfm is very basic:
    <cfoutput>
        <cfif isdefined("url.InputText") AND url.InputText NEQ "">
            <cfset FeedVar = #url.InputText#>
        <cfelse>
        </cfif>
    </cfoutput>
    This method appears to work and it sets the Feedvar variable to the appropriate value. However on my first page with the cfdiv tag when I try to pass the #FeedVar# variable through a URL it says it is not defined.
    Any clue if I am doing something wrong passing the new variable back?
    Here is the CFINPUT and CFDIV tags:
    <cfinput type="text" name="update_typeURL" bind="{update_type}" bindonload="true" />
    <cfdiv bind="URL:setURlVar.cfm?InputText={update_type}" ID="theDiv" bindonload="true"  />
    Any ideas on how to read the newly set variable?

  • Difference between url-pattern / and /*  ?

    There appears to be a subtle difference between:
    <url-pattern>/</url-pattern>and
    <url-pattern>/*</url-pattern>Both seem to send all requests through the servlet I'm aming for, but the /* on messes up forwards to JSP files. My app works as I expect when I use the "/" version (I don't need suffixes or prefixes since I've written some routing code). I'm wondering if they are supposed to be behave differently or if my Tomcat container has a little bug I'm exploiting wrongly?
    If you use the "/" version, would you expect a URL like this to map to it....
    http://mysite.com/
    ... and also ones like this...
    http://mysite.com/some/arbitrary/path/here
    ?

    Same question appears here:
    http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=7&t=019661
    And with lot of discussion.

  • How do i personalize it and password protect it?

    My internet works, I was trying to set up my new airport extreme and my computer froze in the process and now it works but the light blinks amber and its an open network connection that anyone can connect to.  I tried a factory reset, but it won't go back to the easy setup process like the first time.  It just opens and my computer connects.  Any thoughts for how to rename the network and password protect it?

    To rename the Network Name: AirPort Utility > Select the AirPort Extreme Base Station (AEBS) > Manual Setup > AirPort > Wireless tab > Wireless Network Name
    To enable wireless security: AirPort Utility > Select the AEBS > Manual Setup > AirPort > Wireless tab > Wireless Security. I would recommend using "WPA2 Personal" for the security type.

  • I have Firefox 6.0 running under Windows XL. When I forward an email with a URL in it, my recipients tell me the URL is not highlighted and they have to cut and paste it into their browser. Why? How can I get my forwarded URLs to be highlighted?

    I have Firefox 6.0 running under Windows XL. When I forward an email with a URL in it, my recipients tell me the URL is not highlighted and they have to cut and paste it into their browser. Why? How can I get my forwarded URLs to be highlighted?

    If you think getting your web pages to appear OK in all the major browsers is tricky then dealing with email clients is way worse. There are so many of them.
    If you want to bulk email yourself, there are apps for it and their templates will work in most cases...
    http://www.iwebformusicians.com/Website-Email-Marketing/EBlast.html
    This one will create the form, database and send out the emails...
    http://www.iwebformusicians.com/Website-Email-Marketing/MailShoot.html
    The alternative is to use a marketing service if your business can justify the cost. Their templates are tested in all the common email clients...
    http://www.iwebformusicians.com/Website-Email-Marketing/Email-Marketing-Service. html
    "I may receive some form of compensation, financial or otherwise, from my recommendation or link."

  • How do you connect your photoshop elements on your computer to your account online? and how do you create a customized url? how does the gallery work and how do you access it? i have trouble signing in on my program from my computer to connect to the onli

    how do you connect your photoshop elements on your computer to your account online? and how do you create a customized url? how does the gallery work and how do you access it? i have trouble signing in on my program from my computer to connect to the online photoshop, and I really want to create my own customized url and post photos to my gallery and share them with the world, family, and friends, but i need help because i can't figure how to do any of this, would really appreciate feedback and assistance, thanks, - claire conlon

    To add to sig's reply, "calibrating" does not calibrate Lithiu-Ion batteries, it calibrates the charge reporting circuitry.  If you look at the effect of deep discharging Lithium-Ion batteries in the data from the independent test group, Battery University, you will see that doing so shortens the life of the battery significantly. It looks like an optimum balance between use and life is at a discharge level of 50%.

  • How to disable the "autoload" of pdf in preview and url in Safari

    I hate that new feature,
    How can i disable the "resume" of pdf in preview and url in Safari on every time i restart those prg?

    Sorry Noel - create an extended desktop and open photoshop - create a file the same size as your second monitor and drag it over to the second screen. Press F to make it full screen and Ctl 1 to make it actual pixels. We now have just what we require for projection mapping onto say a building assuming the second monitor is a projector. Now take a brush and stamp it in the middle of your page - which is on the second monitor, photoshop itself is on your Ist monitor. If you press hold Shift down and stamp your brush at the edge of your full page you will see it jump too the side. It will also do this if you try to drag a selection too close to the edge. The page will begin to scroll to accomodate the selection which is perhaps useful in some circumstances but in others like to projection map it is a horror because we need the page to remain exactly where it is at all times or it will no longer be `registered` to the architecture previously done. Beleive me
    this can be deeply frustrating when you are out in the cold trying to get all the facets of a building mapped, but even when in the warm trying to do it with a theatre set. 
    Should you have a solution then you would indeed become much revered in these parts  - best wishes  John   --
     a couple of mapped buildings done with this method below
    http://vimeo.com/31496197               ness chrurch
    http://vimeo.com/17762125                 xmas lights

  • How best to display Company name and URL.

    I want to display my company name and URL throughout short videos to be posted on YouTube. I would like them to be nonintrusive, lower right corner, small font. Should I follow the Apple instructions for adding a watermark (but I'm not using a logo)? Or do I treat it like a title (but how do I get it to display for the entire video?)? Thank you for any help.

    Here is more on the YouTube options (and its limitations).
    http://support.google.com/youtube/bin/answer.py?hl=en&answer=92710

  • How to Extract the URLs,Tittles and Snippets only

    Hi,
    My HTML file looks like the fallowing.
    [ URL = "http://www.apple.com/" Title = "Apple" Snippet = "Official site of Apple Computer, Inc." Directory Category = {SE="", FVN=""} Directory Title = "" Summary = "" Cached Size = "33k" Related information present = true Host Name = "www.apple.com" ],
    [ URL = "http://www.apple.com/quicktime/" Title = "Apple - QuickTime" Snippet = "Apple's free media player supporting innumerable audio and video formats. The proversion includes an abundance of media authoring capabilities." Directory Category = {SE="", FVN=""} Directory Title = "" Summary = "" Cached Size = "7k" Related information present = true Host Name = "www.apple.com" ],
    thus it contains set of URL's,tittles and Snippets.Now my task is how to extract only URL,title and snippet part only.Can you please suggest me suitable method.
    thanking you inadvance.

    Regex is an option, here's a small start:import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    public class Main {
        public static void main(String[] args) {
            String htmlText = "[ URL = \"http://www.apple.com/\" Title = \"Apple\" Snippet = "+
                            "\"Official site of Apple Computer, Inc.\" Directory Category = "+
                            "{SE=\"\", FVN=\"\"} Directory Title = \"\" Summary = \"\" Cached "+
                            "Size = \"33k\" Related information present = true Host Name = "+
                            "\"www.apple.com\" ], [ URL = \"http://www.apple.com/quicktime/\" "+
                            "Title = \"Apple - QuickTime\" Snippet = \"Apple's free media player "+
                            "supporting innumerable audio and video formats. The proversion "+
                            "includes an abundance of media authoring capabilities.\" Directory "+
                            "Category = {SE=\"\", FVN=\"\"} Directory Title = \"\" Summary = \"\" "+
                            "Cached Size = \"7k\" Related information present = true Host Name = "+
                            "\"www.apple.com\" ],";
            String regex = "[a-zA-Z]+.*?\\s+=\\s+\"(.*?)\"";
            Pattern pattern = Pattern.compile(regex);
            Matcher matcher = pattern.matcher(htmlText);
            while(matcher.find()) {
                String s = matcher.group();
                System.out.println(s);
    }Details: http://java.sun.com/docs/books/tutorial/essential/regex/

Maybe you are looking for

  • HT204003 Since I downloaded version 1.06 my app store is not working anymore !?? Can u help me plz?

    Since I downloaded version 1.06 my app store is not working anymore !?? Can u help me plz?

  • Multivalue LDAP attrinute

    HI I have a multivalue LDAP attribute named changedate Each time I have to update it I need it to be updateedlikethis changedate-ddmmyy creation changedate-ddmmyy termination but this is not happening and the attribute value is overwritten I have set

  • Report not  retrieving data

    Hi Friends, I have a problem with retrieving data from Crystal Reports. I have three parameters to get the records from OINV and INV1. The frist two is 'from date' and  'to date' for the DocDate. The third one is for getting Sales Employee and has to

  • Problem with the fiells MEINS(PO Unit ) and MENGE(Quantity) .

    Hi experts I am having problem with the fiells MEINS(PO Unit ) and MENGE(Quantity) of the datasource 2lis_02_acc . I have created custom cube and have mapped the fiels MEINS to infoobject 0PO_UNIT and MENGE(Quantity) to infoobject 0CPQUAOU. Now the d

  • Is there no way to report catalog mistakes in iTunes Store?

    There are mistakes in the iTunes Store catalog, most commonly conflating two bands with the same name. I've looked all over Apple's website as well as the iTunes interface with the store and can't find any way to report such mistakes so they can be c