Socket to handle HTML frame

Hi,
The page has 3 frames in 3 different files. If i click on something in one frame, something on the other frame should be display.
How to handle this thing with Serversocket ? How would it know which frame to write to ?
Many thanks in advance

em, your question is quite vauge, however are you sure you want to use sockets for that? You can use just pure Html for that.
Just take a look at the API documentation provided by Sun, right click and press "View Source" to check how they do it.
Here is the Url:
http://java.sun.com/j2se/1.5.0/docs/api/index.html?java/lang/String.html
However I could have misunderstood your question, in which case a million apologies.
regards,
sim085

Similar Messages

  • HTML Frames not using custom scrollbar in Flex 3 mx:HTML

    I've been working on an app that uses a custom skin in Flex 3. The app has a help window. The help contains an HTML with frames. Problem is, the main app vertical scrollbar custom skin is being ignored for the HTML Frames scrollbar (what looks like the classic version of Halo - maybe). This only happens with frames. It happens no matter how or where I place my HTML or HTMLLoader. If I dont have frames the custom scrollbar is used. Is there a node im missing in my skin css (obviously not VScrollBar or ScrollBar - the two standard used by Flex)? or some other way to connect the HTML Frames scrollbar to my custom skin.
    I'm not a noob but not an expert.
    Thanks.
    See attached image for example.

    Take the code of the jsp file :
    <%@ page language="java" %>
    <%@ taglib uri="WEB-INF/struts-html.tld" prefix="html" %>
    <html>
       <head>
         <title> First Struts Application </title>
       </head>
         <body>
            <table width="500" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td> </td>
            </tr>
            <tr bgcolor="#36566E">
              <td height="68" width="48%">
                <div align="left">
                  <img src="images/hht.gif" width="220" height="74">
                </div>
              </td>
            </tr>
            <tr>
             <td> </td>
            </tr>     
           </table>
           <html:form action="Lookup"
                      name="lookupForm"
                      type="wiley.LookupForm" >
           <table width="45%" border="0">
            <tr>
              <td>Symbol:</td>
              <td><html:text property="symbol" /> </td>
            </tr>
             <tr>       
              <td colspan="2" align="center"><html:submit/> </td>
             </tr>       
            </table>              
          </html:form>
         </body>
    </html>

  • Session timeouts for login page with in a html frame

    Hi, i have a login page which when the session times out gets redisplayed within the frame of the html page where the session timed out , i have tried setting the session timeouts to be less than the other application so that the login page will timeout before the documentum application but this does not make a difference.
    does any one know how i could get the login page to redisplay by itself, outside of the html frame. do i need to have some javascript to figure out if there is a frame then redraw the page etc...and how should i di this ? any working examples will be appreciated.

    You would certainly need some Javascript or use the meta-refresh tag to the session timeout time. If you set the meta-refresh tag in a frame to a time just a little bit bigger than the session timeout time and the set your security mechanisms to force the user to login in again when the session times out, the frame will refresh after the session has timed out and the application should forward the frame to the login page.
    <meta http-equiv="refresh" content="session-timeout-timeout+1">
    (timeout time is in seconds)

  • JSF seems not to support the use of the back buttons and html frames.

    I�m having the following problem. I have a JSP which contains a button that register a listener. Here is part of the code:
    <h:command_hyperlink label="<%=engineBean.getId()%>" commandName="<%=engineBean.getId()%>">
    <f:action_listener type="helloDuke.CommandAction"/>
    </h:command_hyperlink>
    This action listener only forwards the request to other simple JSP.
    The problem appears in the following situation:
    1 � I click in the button that generates the event that will be processed by helloDuke.CommnadAction listener.
    2 � It forward to a second JSP page.
    3 � This second page is rendered to the user properly.
    4 � The user clicks in the browser�s back button to return to previous page.
    Then if is the user clicks in first page button, the CommandAction listener was removed. You must click again in the button to forward to the correct page.
    The same happened if you are using html frames. If you have a frame with 2 pages and both pages register action listeners.
    The last loaded page cleans the actions listener of the other.
    Does anybody have any solution?.
    It seems JSF doesn�t support the use of frames and I think that in some situation the frames are the solution to several problems.
    Any help will be really appreciated.

    Using the saveStateInClient=true produces a faulty output when using the command_button and an action_listener. The page that is rendered is totally useless: the button won't work, and due to the faulty rendering there's an output like: >com.sun.faces.saveStateMarker
    So, why is it, that pressing the button (not using the saveStateInClient option) will only work the second time, same thing pressing the backbutton. Pressing the reload button will toggle between two pages - the one before the session id is assigned and the one that it's supposed to show.
    Any guess will be greatly appreciated !!!!

  • Resize applet within a HTML frame

    Hi,
    I am using an applet to display a tree in a HTML frame of a web page.
    I would like to resize or refresh the applet when the HTML frame is resized. Is there a way for the applet to know when the HTML frame is resized?
    Any help will be appreciated.
    Thanks

    I tried using the componentResized() method to solve this problem but I was unsuccessful.
    Here is what I tried:
    My application consists of using a Java applet to display a tree in a HTML frame. In addition I put the tree in a scroll pane. I tried using addComponentListener(this) to get the componentResized() method to be involked. I tried adding the component listener to the scroll pane:
    JScrollPane treeView = new JScrollPane(tree);
    treeView.addComponentListener(this);
    I tried adding the component listener to the root pane:
    JRootPane root = getRootPane();
    root.addComponentListener(this);
    and I tried adding the comoponent listener to the glass pane and the content pane.
    The componentResized() method was involked when the tree was initially displayed in some of my attempts but I was never able to get the componentResized() method to be involked when I resized the html frame.
    I believe that I am having a problem determining which component to add the addComponentListener to so that the componentResized() method get invoked when I resize the html frame.

  • How do I get my music, photo's, bookmarks, etc files back after the HTML Framer virus whiped them out ?

      AVG said I had the HTML Framer virus when I did a scan as I lost everything, even had to reinstall IE and Google Chrome, emails etc. Downloaded everything over but lost my photo's, bookmarks, movies, music, etc. there is about 10% free space on
    disk C and 75% free space on disk D so is my info still there and can I retrieve it some how ? 

    If these tracks are from Apple you can probably download them a second time.  If they are from some other source you will have to refer to that source.
    Downloading (using iOS or computer) past purchases from the App Store, iBookstore, and iTunes Store - http://support.apple.com/kb/ht2519 - enabled with iTunes 10.3 and newer; not all media formats are available in all countries (see: iTunes in the Cloud and iTunes Match Availability by Country - http://support.apple.com/kb/HT5085); apps, books (not audiobooks), music, t.v. shows, and movies (some - not all studios have permitted this).  Downloading previously purchased movies and TV shows requires iTunes 10.6 or later.  Discontinued items not available. For items not included in the iCloud list (e.g., ringtones, audiobooks), or locations or computer systems where iCloud is not (yet?) available, you only get one download per fee paid.  Apple notes it is your responsibility to back up your purchases.
    Select the iTunes Store on the left side of iTunes.
    Click on Purchased on the right side under Quick Links.
    You can re-download your available previous purchases.

  • How to bring Login.jsp under a html frame ?

    hi all.
    I have customized the Login.jsp and actually have lot of static content to be displayed in our proposed entry page.
    I decided to use Html frames - something like the one below.
    When i point on the frame to the Login.jsp ( i referred it as 'amserver/UI/Login') --> it loads all frames then redirects the page to the /amserevr/UI/Login -> the Login.jsp now occupies the entire screen and i c none of the html frames..
    any idea how to bring in the portal Login.jsp under a html frame ?
    Thanks
    Vee
    <html>
    <frameset noresize="noresize" frameborder=0 rows="25%,70%,5%">
    <frame frameborder=0 noresize="noresize" src="/amserver/UI/Login" name="banner_frame" scrolling=no>
    <frameset frameborder=0 noresize="noresize" cols="30%,70%">
    <frame frameborder=0 src="./images/menus.gif" name="menu_frame" scrolling=no>
    <frame frameborder=0 src="./images/content.gif" name="content_frame" scrolling=no>
    </frameset>
    <frame frameborder=0 src="./images/copyright.gif" name="copyright" scrolling=no>
    </frameset>
    </html>

    is it possible to write jsp code or javascript code inside this Login.jsp ?
    I got a bunch of content - menu driven to displayed additional to the identity server login module.
    veera

  • How to display a alv using in a html frame?

    Hi,
      Is it possible to show a ALV grid in a html frame? Please suggest. Thanks in advance.

    hi,
    Refer this links, it will be helpful to you...
    https://wiki.sdn.sap.com/wiki/display/ABAP/ALVeasytutorial
    https://wiki.sdn.sap.com/wiki/display/ABAP/100%20abap%20questions
    https://wiki.sdn.sap.com/wiki/display/ABAP/Types%20of%20Reports
    Regards,
    Ahamed.

  • Alternative to HTML Frame in struts/jsp

    I am using Struts/JSP for my application..
    I have 3 panels(3 jsp's) each with a table of information.. each jsp has a summary part to it.. the data & information in the summary is the same across all panels.. Currently I've copy pasted the code for the summary in all 3 jsp's & Actions & ActionForms... I would like to change this to using a 4th panel sort of for the summary information... not sure what would be the best way to do this.. html frames or anything better maybe.. ?
    Thanks

    did u consider using struts tiles?
    http://struts.apache.org/userGuide/dev_tiles.html

  • Applet reloading w/ html frames

    My applet is in a navigation bar, in its own html frame. When going to another page, I load a new html frame set. The applet html frame is still the same, the other frames change.
    HTML knows how NOT to reload the html frame that contains the applet, since it's the same as before. But the applet itself will reload everytime. I mean, the applet classes don't load again, but the applet process starts again, going through the init() method.
    I thought it would go to start() directly, which is what I want.
    What should I do?
    Miguel

    Applets need to be initialized when the page is loaded so you can't reliably avoid it. (making a static flag would solve the problem on some browsers so that the code is performed only when the class is loaded, but some browsers do reload the classes every time...)
    Why do you need to load a new frameset? You do know that you can specify the frame where the document will be loaded with the sencond parameter of the showDocument-method....

  • How Can i use Html frames with  simple JSP???

    How Can i use Html frames with simple JSP???
    Actually i am creating an application in which i have used Index.html as frame.
    Noew i am trying that if i click on a link of one frame(say menu frame) the \result shoul come to some other frame(say frame named mainwindow).
    Hoe can i do like this???
    Anand Pritam

    Well i am using..
    < Base target="mainwindow">
    But it is no working is there some other way??

  • Use of HTML Frame Pages

    If I want have an embedded Forms Applet (Forms 9i Services) as part of an HTML Frames Page (for a typical web portal look), is it possible .
    If possible , can anybody suggest the workaround.
    Regards,
    Gaurav Srivastava

    If use of Frames HTML Pages is possible with Forms 9i , where should be the <FRAME> tag inserted, in the base html files ? Or some separate arrangement should be done. Please do advice.
    Regards,
    Gaurav Srivastava

  • HTML Frame inside PDF

    I want to display HTML content inside PDF. This HTML content just contains an Image, nothing else. How can it be possible? I am not able to find any way doing this. Is it possible to render HTML content inside PDF?
    Thanks.
    Abhinav

    Thanks for reply Paul.
    Actually I need to render a Google Map (Static JPG Image) in ImageField dyanamically. Pls have a look on snap below -
    But ImageField accepts only Base64 encoded value, so I can't use the URI of static image. Also I can't load it in temp memory inside PDF (Using HTTP Request) & then convert it into Base64 value. So I thought of putting HTML frame inside PDF.
    Now I am thinking that the only way left is to make a WebService in b/w GoogleMap and PDF which will accept the location as the I/P and returns with the Base64 encoded value. Is it the correct way? Or Is there any better way to do this?
    Please help. Thanks.
    Abhinav

  • How to handle html:multibox in jsp with ADF Data Binding

    Hi,
    I like to use html:multibox feature in my jsp with ADF Data Binding. I am able to retrieve checked values in the DataForwardAction form. However, when the page is refreshed, the checkboxes are not persistent and yet an error showing
    "JBO-25009: unable to create object type ....oracle.jbo.domain.Array" appears.
    Here is my jsp code:
    <c:forEach var="type" items="${bindings.SystemTypeView1.rangeSet}">
    <c:if test="${Row['SystemGroup'] == type['SystemGroup']}">
    <br>
    <html:multibox property="selectedSystemType">
    <c:out value="${type.SystemType}"/>
    </html:multibox>
    <c:out value="${type.TypeDesc}"/>
    </c:if>
    </c:forEach>
    Can anyone tell me how to handle html:multibox with ADF Data Binding and make the checkboxes persistent.

    Generally this can be done.
    I see a problem with your use case, which has nothing to do with jdev or java:
    How do you identify the user when he comes back to finish the form?
    For this you can't use information like session cookie or IP address because they change.
    So you have to save some information about the user which lets you identify him when he comes back. All other requirements can be implemented by ADF.
    Timo

  • Any success with html frames + JSF

    Hi all, did anybody succeed in building a JSF-based application which uses HTML frames ? If yes, could be an example (jsp pages) posted here ?
    I read that JSF navigation should not work with frames. If true, what about alternatives ? Facelets ?
    Thanks -- Renzo

    Well, it worked perfectly for me...
    index.html :
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>InteliIdent 0.1a</title>
        </head>
        <frameset rows="10%,80%,10%">
            <frame name="_header" src="layout/header.jsp" noresize scrolling=no>
            <frameset cols="15%,*">
                <frame name="_menu" src="layout/menu.jsp" noresize scrolling=no>
                <frame name="_home" src="layout/home.jsp" noresize>
            </frameset>
            <frame name="_footer" src="layout/footer.jsp" noresize scrolling=no>
        </frameset>
    </html>Every page is simple JSP page, but it is also possible to use JSF pages by modifing the links to /faces/layout/footer.jsp" (if you JSF servlet is configured to listen to /faces/*) or /layout/footer.faces (if you JSF servlet is configured to listen to *.faces)

Maybe you are looking for