Context information to HTML

Hi all,
I have the following task/problem:
In the context of my component controller are different nodes with certain elements. These information have to be transformed to html-coding for sending an html-email with the information.
What is the easiest way to put the information from the context into a "html-code"?
The information respectively the body of the mail should consists of certain tables, ...
Thanks and regards,
Dominik

Hi
   converting context-tree to xml? thread tells you how to convert the context tree to XML.
   Now you can either follow this and create an XSLT to convert to HTML. Or you can use a similar method and convert to HTML instead of writing XML.
Regards,
Satyajit.

Similar Messages

  • Web Services  No JAX-WS context information available.

    Hi Guys,
    Hope you are doing well. I need a bit of help here. I have developed a java application and I am trying to make it a web service. So can you guys help me . Whenever I try "http://localhost:9090/" I keep getting "Web Services No JAX-WS context information available." this message. I have not yet developed a client. So far I am just trying to run it as a service. Below is the code for a sample Java application. I am thinking if I can get this Java program to work then maybe I will be able to get my Java program to work.
    package Endpoint;
    import javax.jws.WebMethod;
    import javax.jws.WebService;
    import javax.jws.*;
    import javax.jws.soap.SOAPBinding;
    import javax.xml.ws.Endpoint;
    @WebService
    public class Example25 {
         private String message = new String("Hello, ");
         public String sayHello(){
              return message + "Dipin" + ".";
         public static void main(String []args){
              String endpointUri = "http://localhost:9090/";
            Endpoint.publish(endpointUri, new Example25());
              //System.out.println("Service started at: " + endpointUri);
    }***********Here is the Java version I am using. ******************
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\Administrator>java -version
    java version "1.6.0_07"
    Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
    Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode)
    C:\Documents and Settings\Administrator>
    **********Here is my Classpath Setting***************
    ;.;C:\Program Files\Java\jre1.6.0_07\lib\ext\QTJava.zip;.;
    C:\Program Files\Java\jre1.6.0_07\bin;.;
    C:\Program Files\Java\jre1.6.0_07\lib\ext\mail-1.4.1.jar;.;
    C:\Program Files\Java\jre1.6.0_07\lib\ext\activation.jar;.;
    C:\generodb\antsjdbc\antsjdbc.jar;.;
    C:\Program Files\Java\jre1.6.0_07\lib\ext\metro-1_2.jar;.;
    C:\Program Files\Java\jre1.6.0_07\lib\ext\JAXWS2.1.5-20081030.jar;.;
    C:\Program Files\Java\jre1.6.0_07\lib\ext\jaxws-ri\lib\jaxws-tools.jar;.;
    C:\Program Files\Java\jre1.6.0_07\lib\ext\jaxws-ri\lib\*.*;.;
    C:\Program Files\Java\JavaEE5\jdk\jre\lib\javaws.jar;.;
    **********Java Program compliation and running*************
    C:\Documents and Settings\Java Samples\Example25\src>javac Endpoint/Example25.java
    C:\Documents and Settings\Java Samples\Example25\src>java Endpoint.Example25
    Mar 5, 2009 4:05:49 PM com.sun.xml.ws.model.RuntimeModeler getRequestWrapperClas
    s
    INFO: Dynamically creating request wrapper Class Endpoint.jaxws.SayHello
    Mar 5, 2009 4:05:49 PM com.sun.xml.ws.model.RuntimeModeler getResponseWrapperCla
    ss
    INFO: Dynamically creating response wrapper bean Class Endpoint.jaxws.SayHelloRe
    Sponse
    Thanks and Regards,
    Dipin

    Hi Guys,
    Hope you are doing well. I need a bit of help here. I have developed a java application and I am trying to make it a web service. So can you guys help me . Whenever I try "http://localhost:9090/" I keep getting "Web Services No JAX-WS context information available." this message. I have not yet developed a client. So far I am just trying to run it as a service. Below is the code for a sample Java application. I am thinking if I can get this Java program to work then maybe I will be able to get my Java program to work.
    package Endpoint;
    import javax.jws.WebMethod;
    import javax.jws.WebService;
    import javax.jws.*;
    import javax.jws.soap.SOAPBinding;
    import javax.xml.ws.Endpoint;
    @WebService
    public class Example25 {
         private String message = new String("Hello, ");
         public String sayHello(){
              return message + "Dipin" + ".";
         public static void main(String []args){
              String endpointUri = "http://localhost:9090/";
            Endpoint.publish(endpointUri, new Example25());
              //System.out.println("Service started at: " + endpointUri);
    }***********Here is the Java version I am using. ******************
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\Administrator>java -version
    java version "1.6.0_07"
    Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
    Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode)
    C:\Documents and Settings\Administrator>
    **********Here is my Classpath Setting***************
    ;.;C:\Program Files\Java\jre1.6.0_07\lib\ext\QTJava.zip;.;
    C:\Program Files\Java\jre1.6.0_07\bin;.;
    C:\Program Files\Java\jre1.6.0_07\lib\ext\mail-1.4.1.jar;.;
    C:\Program Files\Java\jre1.6.0_07\lib\ext\activation.jar;.;
    C:\generodb\antsjdbc\antsjdbc.jar;.;
    C:\Program Files\Java\jre1.6.0_07\lib\ext\metro-1_2.jar;.;
    C:\Program Files\Java\jre1.6.0_07\lib\ext\JAXWS2.1.5-20081030.jar;.;
    C:\Program Files\Java\jre1.6.0_07\lib\ext\jaxws-ri\lib\jaxws-tools.jar;.;
    C:\Program Files\Java\jre1.6.0_07\lib\ext\jaxws-ri\lib\*.*;.;
    C:\Program Files\Java\JavaEE5\jdk\jre\lib\javaws.jar;.;
    **********Java Program compliation and running*************
    C:\Documents and Settings\Java Samples\Example25\src>javac Endpoint/Example25.java
    C:\Documents and Settings\Java Samples\Example25\src>java Endpoint.Example25
    Mar 5, 2009 4:05:49 PM com.sun.xml.ws.model.RuntimeModeler getRequestWrapperClas
    s
    INFO: Dynamically creating request wrapper Class Endpoint.jaxws.SayHello
    Mar 5, 2009 4:05:49 PM com.sun.xml.ws.model.RuntimeModeler getResponseWrapperCla
    ss
    INFO: Dynamically creating response wrapper bean Class Endpoint.jaxws.SayHelloRe
    Sponse
    Thanks and Regards,
    Dipin

  • No JAX-RPC Context Information Available

    Hello
    I am new to java and webservice.
    I am using jdk1.4.2 and jwsdp1.2 and tomcat 4.1.27
    I have problems in running ant so i manually ran wscompile, wsdeploy to create and deploy a war file. when i put the war file in the webapps directory of tomcat(attached with jwsdp) it unpacks and when i browse the url http://localhost:8080/hello-jaxrpc/hello i get the error
    "No JAX-RPC Context Information Available"
    When i tried to deploy the war file in tomcat4.1.27 standalone server it unpacked the file but when i browsed the url it returned 404.
    What could be the problem? Please help
    Thanks in advance
    Shiva

    I would encourage you to use the tomcat which comes
    packaged with jwsdp1.2
    I seems to me that context name that you are using
    in your URL does not match the context used by your
    desired endpoint. So you need to ensure that thisis
    correct.

  • Error meesage on UI sCannot insert/update Array without context information

    Hi All,
    As soon as page runs , i m getting the below error on server logs and also getting the same error once page page loads , user click on SellectmnayListBOx components on screen .
    Appriciate if any inputs on this . using ADF6 .
    <ApplicationModuleImpl> <doPoolMessage>
    oracle.jbo.AfterRollbackException: JBO-26102: An error occurred after rollback was performed.
         at oracle.jbo.server.DBTransactionImpl.rollback(DBTransactionImpl.java:2595)
         at oracle.jbo.server.ApplicationModuleImpl.resetState(ApplicationModuleImpl.java:4840)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:336)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9084)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4607)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.resetApplicationModule(ApplicationPoolImpl.java:2026)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.removeSessionCookie(ApplicationPoolImpl.java:879)
         at oracle.jbo.common.ampool.SessionCookieImpl.removeFromPool(SessionCookieImpl.java:711)
         at oracle.jbo.common.ampool.SessionCookieImpl.destroy(SessionCookieImpl.java:650)
         at oracle.jbo.common.ampool.SessionCookieImpl.timeout(SessionCookieImpl.java:697)
         at oracle.adf.model.bc4j.DCJboDataControl.releaseImmediateAMUnmanaged(DCJboDataControl.java:2525)
         at oracle.adf.model.bc4j.DCJboDataControl.releaseApplicationModule(DCJboDataControl.java:2429)
         at oracle.adf.model.bc4j.DCJboDataControl.release(DCJboDataControl.java:903)
         at oracle.adf.model.dcframe.DataControlFrameImpl.release(DataControlFrameImpl.java:364)
         at oracle.adf.model.BindingContext.resetState(BindingContext.java:637)
         at oracle.adf.model.BindingContext.release(BindingContext.java:609)
         at oracle.adf.model.servlet.HttpBindingContext.valueUnbound(HttpBindingContext.java:77)
         at weblogic.servlet.internal.session.SessionData.removeAttribute(SessionData.java:720)
         at weblogic.servlet.internal.session.SessionData.removeAttribute(SessionData.java:702)
         at weblogic.servlet.internal.session.SessionData.remove(SessionData.java:976)
         at weblogic.servlet.internal.session.MemorySessionContext.invalidateSession(MemorySessionContext.java:69)
         at weblogic.servlet.internal.session.SessionContext.invalidateSession(SessionContext.java:475)
         at weblogic.servlet.internal.session.MemorySessionContext$SessionCleanupAction.run(MemorySessionContext.java:114)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.session.MemorySessionContext.destroy(MemorySessionContext.java:90)
         at weblogic.servlet.internal.WebAppServletContext.destroy(WebAppServletContext.java:3220)
         at weblogic.servlet.internal.ServletContextManager.destroyContext(ServletContextManager.java:247)
         at weblogic.servlet.internal.HttpServer.unloadWebApp(HttpServer.java:461)
         at weblogic.servlet.internal.WebAppModule.destroyContexts(WebAppModule.java:1535)
         at weblogic.servlet.internal.WebAppModule.deactivate(WebAppModule.java:507)
         at weblogic.application.internal.flow.ModuleStateDriver$2.previous(ModuleStateDriver.java:387)
         at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:223)
         at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:215)
         at weblogic.application.internal.flow.ModuleStateDriver.deactivate(ModuleStateDriver.java:141)
         at weblogic.application.internal.flow.ScopedModuleDriver.deactivate(ScopedModuleDriver.java:206)
         at weblogic.application.internal.flow.ModuleListenerInvoker.deactivate(ModuleListenerInvoker.java:261)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$2.previous(DeploymentCallbackFlow.java:547)
         at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:223)
         at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:215)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.deactivate(DeploymentCallbackFlow.java:192)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.deactivate(DeploymentCallbackFlow.java:184)
         at weblogic.application.internal.BaseDeployment$2.previous(BaseDeployment.java:642)
         at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:223)
         at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:215)
         at weblogic.application.internal.BaseDeployment.deactivate(BaseDeployment.java:227)
         at weblogic.application.internal.EarDeployment.deactivate(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.deactivate(DeploymentStateChecker.java:198)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.deactivate(AppContainerInvoker.java:98)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.silentDeactivate(AbstractOperation.java:679)
         at weblogic.deploy.internal.targetserver.operations.RedeployOperation.unprepareDeployment(RedeployOperation.java:197)
         at weblogic.deploy.internal.targetserver.operations.RedeployOperation.doPrepare(RedeployOperation.java:120)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: oracle.jbo.JboException: Cannot insert/update Array without context information     at oracle.jbo.domain.Array.prepareForDML(Array.java:802)
         at oracle.jbo.server.ViewRowSetImpl.prepareLobObjectForBind(ViewRowSetImpl.java:8301)
         at oracle.jbo.server.ViewRowSetImpl.getParametersAsStorageTypes(ViewRowSetImpl.java:5074)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1169)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:1397)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:1303)
         at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:1288)
         at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:7107)
         at com.tuitravelad.modelbase.bc.base.vo.TuiTravelADViewObject.afterRollback(TuiTravelADViewObject.java:168)
         at oracle.jbo.server.DBTransactionImpl.rollback(DBTransactionImpl.java:2570)
         ... 62 more
    ## Detail 0 ##
    oracle.jbo.JboException: Cannot insert/update Array without context information
         at oracle.jbo.domain.Array.prepareForDML(Array.java:802)
         at oracle.jbo.server.ViewRowSetImpl.prepareLobObjectForBind(ViewRowSetImpl.java:8301)
         at oracle.jbo.server.ViewRowSetImpl.getParametersAsStorageTypes(ViewRowSetImpl.java:5074)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1169)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:1397)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:1303)
    Thanks

    Hi,
    this
    +"As soon as page runs , i m getting the below error on server logs and also getting the same error once page page loads , user click on SellectmnayListBOx components on screen ."+
    cannot be the full story you tell. The exception is thrown in the context of a prepareForDML, which is called on entities for the Create / Update and Delete use case. I also see a failed rollback. So there must be something you do before this happens during a page refresh
    Frank

  • Oracle.jbo.JboException: Cannot insert/update Array without context informa

    Hi guys,
    i get this error:
    "oracle.jbo.JboException: Cannot insert/update Array without context information"
    on the line:
    t.commit();
    where
    Transaction t=this.getTransaction();
    Thank you

    Hi,
    this
    +"As soon as page runs , i m getting the below error on server logs and also getting the same error once page page loads , user click on SellectmnayListBOx components on screen ."+
    cannot be the full story you tell. The exception is thrown in the context of a prepareForDML, which is called on entities for the Create / Update and Delete use case. I also see a failed rollback. So there must be something you do before this happens during a page refresh
    Frank

  • Converting SPool information into HTML Format

    Hi Friends,
    How to Converting SPool information into HTML Format
    and send this HTML INFORMATION INTO MAIL..
    can anyone send program for this issue pls.
    it is an urgent issue
    regards,

    Hi Rich,
    once again thanks for your kindly reply.
    but i am developing below Code.. that HTMAL AATCHMENTS ARE NOT COMING IN MAIL.
    PLS can you you verify the below code.
                           DATA DECLARATIONS                             *
    DATA: I_LIST   LIKE ABAPLIST OCCURS 0  WITH HEADER LINE,
          VARIANT  LIKE RSVAR-VARIANT,
          DOC_CHNG  LIKE SODOCCHGI1,
           RECLIST LIKE SOMLRECI1  OCCURS 5  WITH HEADER LINE,
    data:  spoolid    type tsp01-rqident.
    DATA IT_MAIL LIKE TSP01 OCCURS 0 WITH HEADER LINE.
    data  report_html like W3HTML  OCCURS 0 WITH HEADER LINE.
    DATA: G_ICONS(32) OCCURS 10 WITH HEADER LINE.
    DATA LISTOBJECT LIKE ABAPLIST OCCURS 0 WITH HEADER LINE.
    DATA  sent_to_all like sonv-flag.
    data : RECEIVER(30),
          spoolid    type tsp01-rqident,
           it_buffer like SOLI occurs 10 with header line.
    data: list type table of  abaplist with header line.
    data: htmllines type table of w3html with header line.
    data: maildata   like sodocchgi1.
    data: mailtxt    like solisti1 occurs 10 with header line.
    data: mailrec    like somlrec90 occurs 0  with header line.
                           TABLE DECLARATIONS                            *
    TABLES : TSP01.
                               SELECTION-SCREEN                          *
    SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECTION-SCREEN: SKIP.
    PARAMETERS : RQ2NAME LIKE TSP01-RQ2NAME .
                RQIDENT like TSP01-RQIDENT.
    SELECT-OPTIONS :  S_RECVR FOR RECEIVER  NO INTERVALS.
    SELECTION-SCREEN: SKIP.
    SELECTION-SCREEN: END OF BLOCK B1.
                               START-OF-SELECTION                        *
    START-OF-SELECTION.
    PERFORM SEND_TO_SPOOL.
      PERFORM GET_SPOOL_ID.
      loop at it_mail.
        PERFORM CONVERT_SPOOL_TO_PDF.
        PERFORM SEND_MAIL.
      endloop.
    Save the list
      call function 'SAVE_LIST'
           tables
                listobject         = list
           exceptions
                list_index_invalid = 1
                others             = 2.
    *&      Form  GET_SPOOL_ID
          Getting the Latest Spool Request Number
    FORM GET_SPOOL_ID.
      SELECT *
            FROM TSP01 INTO TABLE  IT_MAIL
           and   RQIDENT    = RQIDENT.
              WHERE  RQ2NAME   =  RQ2NAME .
    ENDFORM.                    " GET_SPOOL_ID
    *&      Form  CONVERT_SPOOL_TO_PDF
          Converting the Spool to PDF Document
    FORM CONVERT_SPOOL_TO_PDF.
    *--Assigning the Spool number
    WRITE :/ IT_MAIL-RQIDENT.
    spoolid = IT_MAIL-RQIDENT.
    *--Converting the Spool to PDF
    CALL FUNCTION 'RSPO_RETURN_ABAP_SPOOLJOB'
      EXPORTING
        RQIDENT                    =  spoolid
      FIRST_LINE                 = 1
      LAST_LINE                  =
      TABLES
        BUFFER                     = it_buffer
    EXCEPTIONS
      NO_SUCH_JOB                = 1
      NOT_ABAP_LIST              = 2
      JOB_CONTAINS_NO_DATA       = 3
      SELECTION_EMPTY            = 4
      NO_PERMISSION              = 5
      CAN_NOT_ACCESS             = 6
      READ_ERROR                 = 7
      OTHERS                     = 8
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    LISTOBJECT = IT_BUFFER.
    CALL FUNCTION 'WWW_HTML_FROM_LISTOBJECT'
    EXPORTING
      REPORT_NAME         =
       TEMPLATE_NAME       = 'WEBREPORTING_REPORT'
      TABLES
        HTML                = report_html
        LISTOBJECT          = LISTOBJECT
       LISTICONS           = G_ICONS.
    ENDFORM.                    " CONVERT_SPOOL_TO_PDF
    FORM SEND_MAIL.
    call function 'WWW_LIST_TO_HTML'
           tables
                html = htmllines.
    maildata-obj_name = 'TEST'.
      maildata-obj_descr = 'Test Subject'.
      loop at htmllines.
        mailtxt = htmllines.
        append mailtxt.
      endloop.
    LOOP AT S_RECVR.
    reclist-receiver = S_RECVR-LOW.
    reclist-rec_type = 'U'.
    append reclist.
    call function 'SO_NEW_DOCUMENT_SEND_API1'
           exporting
                document_data              = maildata
                document_type              = 'HTM'
                put_in_outbox              = 'X'
           tables
                object_header              = report_html "mailtxt
                object_content             = mailtxt
                receivers                  = reclist "mailrec
           exceptions
                too_many_receivers         = 1
                document_not_sent          = 2
                document_type_not_exist    = 3
                operation_no_authorization = 4
                parameter_error            = 5
                x_error                    = 6
                enqueue_error              = 7
                others                     = 8.
      if sy-subrc = 0.
    write 'mail sent'.
      endif.
    ENDLOOP.
    regards,
    venu.

  • How to I add options to the Context Menu for html files under Site Content

    Currently in Web Page Composer...  if a developer wants to get the Target URL to an html page in a WPC site (i.e. under the Site Content folder) they have to take several steps...   Content Menu -> Details -> Settings -> Properties -> Access Links -> copy the Target URL.  I would like to add this ability (i.e. to copy the target URL to clipboard) as a option to the "context menu" of each html file.  Does anyone know if this is possible and if so how it can be done?   It can be a global change if necessary.

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    You have to close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    Also check the Mouse driver settings in the Control Panel.

  • How to get context information in your own class

    Hi,
    I'm new to Java and I'm trying to create my own class which stores some constants like for example mailServerHost. The class would look something like this:
    public class AppSettings {
    private static String mailServerHost="localhost";
    static{
    if(###online-server###)
    mailServerHost="another mail server";
    My problem is the if(###online-server###). I don't know how could I find informations about the underlying server.
    Is there any way to find out informations about the context(server)?
    Thanks,
    IMIA

    Do you still need ?n this case 2 different
    property-files (one for dev and one for
    online-servers).Yes, but they would have the same name. ;-)
    After all when you need to load one
    of them you'd still need in your AppSettings class on
    which server your application is running. So I'd
    still need that information.No, you use a fixed name, e.g. server.properties, for the config file.
    You might find class java.util.ResourceBundle interesting.

  • Local information from html code

    I have built an application in which i required the web-sites which are exclusively built for us people.while retrieving the index/home page of web-sites some are in html, some are in jsp and some are in asp.
    so i need a code exclusively in java to know which area those websites belong to.
    can somebody there help me?
    thank you

    i already parsed the XML in the RSS...i've got informa ; the problem is the article itself
    Take this article for example: [http://news.bbc.co.uk/2/hi/europe/7572635.stm] , you've got the article, but you've things all around it from link to different articles to headers, footers menus.
    All of this affects the search results dramatically so i just want the article itself.
    that's the greatest challenge.

  • How to send information from HTML page to JSP without reloading HTML page?

    Hello,
    Is it possible to send information(row number selected by user) from HTML page to JSP without reloading HTML page?
    Thanks.
    Oleg.

    Yes, you can do this with framesets and a hidden frame.
    You need a bit of JavaScritp in the "visible" frame that
    sets the location of the hidden frame to the JSP.
    Add the user's choice as a parameter to the JSP URL.

  • Wondering how to use the "context" information

    I was looking at some of my events and saw that some of them have information under the Context section and some don't. 2 questions about this:
    1) What is it used for?
    2) If I am sending all events to monitoring console, why would it be coming over encryped?

    IIRC, the context info (which was once called the context buffer, BTW) provides a snippet of the packet(s) that triggered the alarm.
    It is only used for certain signatures (the Buffer Overflow-related ones use it a lot) to aid with alarm validation, or that's how we use it at least.
    As for whether or not it's "encrypted" when you receive it in MC, I can't begin to suggest what you’re seeing. Perhaps it's just binary data captured from a packet that, by its nature, looks like encrypted data?
    Care to provide more info (i.e. - SigID and a copy of the context message)?
    Alex Arndt

  • Delivery information in HTML

    Hi Gurus,
    we have got a new requirement where in we need send informatin (S2P,SH2P,Delivery no, Sales order no ) from delivery document in Html FORMAT. can any one guide me what things that are need to be configured in the system to accomplish this.
    Please let me know if there are any Standard programs ? what necessary settings to be carried.
    I need to send this information in IDOC's .
    Thanks
    Phani VANKA>
    Edited by: yuvrajb v on Nov 27, 2008 11:39 AM
    Edited by: yuvrajb v on Nov 27, 2008 11:56 AM

    Trough ALE and With XI as middlewear

  • How to get context information?

    suppose i have created master detail.if i put mouse on any attribute of master ,related detail should be shown as context message.

    Hi,
    and the technology you use is?
    Frank

  • Java/html: append information to html file at top, head tag

    I've the following code, however I need to append to a specific location in the html doc, mainly the top, between the <head> tags. How can this be accomlished?
    import java.io.*;
    public class WriteToHTML {
    * @param args
    public static void main(String[] args) {
    try
    // This line sets up a document to write to
    BufferedWriter document = new BufferedWriter(new FileWriter("testingHTML.html", true));
    // Write to the document
    document.append("Info");
    System.out.println("done");
    // When you are done, close the document
    document.close();
    catch (IOException e)
    System.out.println("Error: " + e);
    }

    Don't cross-post. It's rude.
    http://forums.sun.com/thread.jspa?threadID=5336231

  • Sending context information to namedcache.get

    I have a distributed cache backed by a data store. when I invoke NamedCache.get(), apart from the key, I would like to pass additional context to the get method, that is passed on to the load method of the database store class. I want to acheive something like:
    NamedCache.get(mykey, Object myContext),
    resulting in load(myKey, context)
    Is there a means to do this?
    Thank You

    I am hoping the key->table is a static mapping? If so maybe you could instantiate the CacheLoader with knowledge of this mapping and it could then determine the table to use for the load?
                             <cachestore-scheme>
                                  <class-scheme>
                                       <class-name>com.hraja.coherence.cachestore.KRMCacheStore</class-name>
                                       <init-params>
                                            <!-- xml version -->
                                            <init-param>
                                                 <param-type>xml</param-type>
                                                 <param-value>
                                                      <krm-map>
                                                           <key-relational-mapping>
                                                                <key>key1</key>
                                                                <table>table1</table>
                                                           </key-relational-mapping>
                                                           <key-relational-mapping>
                                                                <key>key2</key>
                                                                <table>table2</table>
                                                           </key-relational-mapping>
                                                      </krm-map>
                                                 </param-value>
                                            </init-param>
                                            <!--
                                                 # delimited string version <init-param>
                                                 <param-type>string</param-type>
                                                 <param-value>key1=table1,key2=table2</param-value>
                                                 </init-param>
                                            -->
                                       </init-params>
                                  </class-scheme>
                             </cachestore-scheme>The other alternative is to take the JPA Entity annotation approach and decorate your class with this meta-data that you analyze in your load method...
    --harvey                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for

  • How to debug a program which is running in background (Job)

    Hi, I have a program which can be run only in background. I have to debug that program. Could you please let me know, how can I do that? Thanks, Sandeep

  • Stop the iMac screen while using an external monitor.

    I succeeded to play an .avi file in full screen on my 32" samsung lcd...but i would like to stop the iMac monitor while watching the avi. If i choose to stop the iMac monitor also the tv screen became black, and also if i start a screensaver on the i

  • GridPanel Layout Problem

    Hi All, I've tried everything I can think of... all I want is the section of my page that is below the navigation bar fragment to be split into two main columns, where the right column is 256px wide and the left column spans the remaining width of th

  • Version of my scenario

    Hi all, I need to know the version of my installed scenario in XI. I have thought to publish a web service in XI that only gets me the version of my scenario. For example, the service can gives me: <VERSION_MESSAGE>     <VERSION>1.15</VERSION> </VERS

  • How to install Developer in Linux.

    Hi, I am trying to install Developer on Redhat Linux 7.1. During the installation it asks for the directory where the Motif directory where the libXm.a file is present. But there is no such file in the Motif directory or anywhere else. However there