How to forward a page from multiple frames

hi,,
in my first jsp page there are 4 frames header ,footer,one left frame and right frame
in my header log out is there if im clicking logout it should forward to login page.it is happening but that page is coming within that header part(frame).how to make it visible as a full screen
my first page containing frames is as follows
<html>
<frameset rows="15%,*" ,id="app_frame" borderColor="red" frameBorder="0" frameSpacing="0">
<frame src="frame1.jsp" id="bar_top_frame" name="top_frame" marginWidth="0" marginHeight="0" scrolling="no"/>
<frameset rows="89%,*",border="0" framespacing="1" frameborder="no" borderColor="red">
<frameset cols="20%,75%",id="app_frame2" borderColor="#33CCFF" frameBorder="yes" frameSpacing="0" >
<frame src="bar_left.jsp"id="bar_left_frame" name="bar_left_frame" marginWidth="0" borderColor="red" marginHeight="0" scrolling="no" />
<frame src="frame3.jsp" id="work_frame" name="work_frame" marginWidth="0" borderColor="red" marginHeight="0" framespacing="1" />
</frameset>
<frameset rows="100%,*",border="0" framespacing="0" frameborder="0" borderColor="#0">
<frame src="footer.jsp" name="footer" NORESIZE frameborder="0" scrolling="no"/>
</frameset>
</frameset>
</frameset>
</html>
and my header frame that is frame1 is as follows
<html>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>ALMAT_ROLE_MAINTAINENCE</title>
<link href="<%=request.getContextPath()%>/almat/css/default.css" rel="stylesheet" type="text/css" />
<body>
<div id="header">
     <div id="topmenu">
          <ul>
               <li>Home</li>
               <li>Contact</li>
               <li>Sitemap</li>
<li><a href="<%=request.getContextPath()%>/almat/pages/jsp/firstPage.jsp accesskey="3" title="">Log Out</a></li>
          </ul>
     </div>
     <div id="logo">
          <h1>A L M A T</h1>
          <h2>..Allocation Made Easy</h2>
     </div>
</div>
</body>
</html>
pls help me out to solve this

Simple answer is don't use Frames, Sorry I know you already have a design but plz! With JSP include there is no reason to use Frames also with the use of AJAX there is defo no need to use Frames.
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<div id="app_frame">
     <jsp:include page="/frame1.jsp" />
</div>
<div id="bar_left_frame">
     <jsp:include page="/bar_left.jsp" />
</div>
<div id="work_frame">
     <jsp:include page="/frame3.jsp" />
</div>
<div>
     <jsp:include page="/footer.jsp" />
</div>PS, try using Javascript
<script>
document.location="/url"
</script>Edited by: Gizard on Apr 17, 2009 6:54 AM

Similar Messages

  • Help with how to forward the page from the serlet

    Hello,
    I previously post this page in a different place, sorry about that, however, i have small problem in forwarding servlet,
    here is my servlet class
    public class UploadTransferServlet extends HttpServlet {
             public void doPost(HttpServletRequest request, HttpServletResponse response)
         throws ServletException, IOException {
              HttpSession session = request.getSession(true);
              UploadTransferForm uForm     = (UploadTransferForm)session.getAttribute("form");
              Session sess = null;
              try {
                   sess = Waterfind.getSessionFactory().openSession();
              } catch (net.sf.hibernate.HibernateException e) {
                   logger.error("Error opening hibernate session", e);
              try {
              } catch (Exception e) {
                   logger.error("Error adding image to the database", e);
                   try {
                        sess.close();
                   } catch (net.sf.hibernate.HibernateException ee) {
                        logger.warn("Exception closing session", ee);
              if (sess != null) {
                   try {
                        sess.close();
                   } catch (net.sf.hibernate.HibernateException e) {
                        logger.warn("Exception closing session");
              ServletContext servletContext = this.getServletContext();
              RequestDispatcher requestDispatcher = servletContext.getRequestDispatcher(uForm.getForward());
              logger.debug("forwarding " + uForm.getForward());
              requestDispatcher.forward(request, response);
         } // doPost
    } // ImageUploadand i do get forwarding /admin-add-trasnfer-form.html?formId=30402
    in my log f ile,
    however, in browser, it wouldnt forward to the page.. why is that?
    only half of the page load up, inc the html header,
    and address bar, it shows the servlet name.. not the actual page,
    how do i get to load the complete page,
    and is there is a way to update the actual page address in the address bar as well?

    i found the problem. its a jsp related problem, not wasnt getting the id, fixed it, thanks :)

  • Giving Error while forwarding a page from another page

    Hi I am getting below error while forwarding a page from another page.
    Please reply as i am new to OA frame work.
    oracle.apps.fnd.framework.OAException: No data found for region (/mhe/oracle/apps/ak/susanta/webui/EmployeeUpdatePG).
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(JRAD2AKMapper.java:519)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(OAWebBeanFactoryImpl.java:3782)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(OAWebBeanFactoryImpl.java:3459)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:988)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
         at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:189)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:199)
         at OA.jspService(OA.jsp:45)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    Exception:
    oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = /mhe/oracle/apps/ak/susanta/webui/EmployeeUpdatePG, XML Path = C:\Soumya\JDeveloper9\jdevhome\jdev\myclasses\JRADXML;C:\Soumya\JDeveloper9\jdevhome\jdev\myprojects;C:\Soumya\JDeveloper9\jdevbin\jdev\oamdsxml\fwk. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
         at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1343)
         at oracle.adf.mds.MElement.findElement(MElement.java:97)
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(JRAD2AKMapper.java:493)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(OAWebBeanFactoryImpl.java:3782)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(OAWebBeanFactoryImpl.java:3459)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:988)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
         at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:189)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:199)
         at OA.jspService(OA.jsp:45)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    Exception:
    oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = /mhe/oracle/apps/ak/susanta/webui/EmployeeUpdatePG, XML Path = C:\Soumya\JDeveloper9\jdevhome\jdev\myclasses\JRADXML;C:\Soumya\JDeveloper9\jdevhome\jdev\myprojects;C:\Soumya\JDeveloper9\jdevbin\jdev\oamdsxml\fwk. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
         at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1343)
         at oracle.adf.mds.MElement.findElement(MElement.java:97)
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(JRAD2AKMapper.java:493)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(OAWebBeanFactoryImpl.java:3782)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(OAWebBeanFactoryImpl.java:3459)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:988)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
         at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:189)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:199)
         at OA.jspService(OA.jsp:45)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)

    refer http://prasanna-adf.blogspot.com/2008/02/deploying-oafwk.html
    to know about how to import the PG into the instance..
    --Prasanna                                                                                                                                                                                                                                                                                       

  • How to get the values from repeated frame?.

    Hi
    how to get the values from repeated frame?. i have to disply the first 3 digits in another place in my report.
    i have field empno in repeated frame and i want to disply first 3 digits in another place in the same report.
    thanks

    How often do you need to display it? It sounds like you might want to base a summary on that formula with a function of first or last. If it's a per page basis, it can be a page level summary. If it's at a higher level repeating frame, then you can create the summary at that level. I'd suggest taking a look at the online help for summaries using the first/last functions.
    Hope that helps,
    Toby

  • How do you extract pages from .indd to create a new .indd?

    How do you extract pages from .indd to create a new .indd?

    Laubender schrieb:
    @moseymums – two answers here:
    1. Duplicate the document and remove all not wanted pages.
    2.a Duplicate all selected pages in the Pages Panel to a different open InDesign file (the target) with the "Move Pages…" command.
    2.b Remove all unwanted pages from the target InDesign file.
    Uwe
    But take care on text threads accross several pages. If you delete a page with a text frame linked to a thread accross several pages, the text will change to the beginning of the thread on every first page.
    So it might be good to run a script which will unlink threadened text frames before.
    If you have often to do this task, there are several plugins which will help you to perform this. E.g. Output factory from http://zevrix.com/

  • How do I transfer Pages from one user account to another

    How do you transfer Pages from one user account to another on the same Mac?

    Welcome to the Apple Support Communities
    If you haven't modified anything, Pages is installed on /Applications. All users have access to this folder, identified as "Applications" on the Finder sidebar, so you don't have to move anything, because Pages will work on all your users.
    If you have installed Pages on ~/Applications (being ~ your user folder), then you have to move Pages to /Applications. After doing this, you will be able to access to Pages on all users

  • How to get the data from multiple nodes to one table

    Hi All,
    How to get the data from multiple nodes to one table.examples nodes are like  A B C D E relation also maintained
    Regards,
    Indra

    HI Indra,
    From Node A, get the values of the attributes as
    lo_NodeA->GET_STATIC_ATTRIBUTES(  IMPORTING STATIC_ATTRIBUTES = ls_attributesA  ).
    Similarily get all the node values from B, C, D and E.
    Finally append all your ls records to the table.
    Hope you are clear.
    BR,
    RAM.

  • How to open web pages from japplet??

    Hi
    Does anybody know how to open web pages from java japplet??
    Any help is apreciated!
    zick

    the getAppletContext() method of the Applet class will get you an AppletContext, with which you can call the ShowDocument(URL url) or ShowDocument(URL url, String target) method...
    check it out at http://java.sun.com/j2se/1.4/docs/api/java/applet/AppletContext.html
    have a good one :)
    Jay

  • How do I go directly from one frame to another particular frame which is far away in the time line? (e.g the two frames are separated by 100 frames)

    How do I go directly from one frame to another particular frame which is far away in the time line? (e.g the two frames are separated by 100 frames). I mean, is it possible to take the playhead from one frame to another frame directly which is 100 frames away in the time line? Thanks for any reply.

    In the Timeline, go to the first frame and press M to put a marker on it. Go to the other frame you want to jump to and put a marker on that one too.
    Now press Ctrl+Semicolon to go to the previous marker - or Ctrl+Comma to go to the next marker.
    Andy

  • How do I prevent Pages from changing earlier parts of a document when I am in an 8 page newsletter. Going back to check something and items are jumbled up!

    How can I stop Pages from changing parts of a document when I am progressing through an 8 page newsletter. When I go back to check something some headings have moved and been put out of context. I can't lock the individual pages of the document to prevent this happening.

    The Amazon iWork '09 is a DVD in a boxed set.
    Downloading is transferring something from the Internet.
    I think you are talking about not having a DVD drive?
    To install the DVD version, either get an external USB DVD drive, they are cheap on eBAy or borrow another computer and drag the iWork Installer onto a USB Flash Drive and install from that.
    Peter

  • How do you combine pages from separate PDFs?

    How do you combine pages from separate PDF files into one document?

    I use Adobe Acrobat for this.

  • How to block a page (from a business job searching website) from appearing on my screen without me searching for it?

    How to block a page (from a business job searching website) from appearing on my screen without me searching for it?

    Look under:
    System preferences > Network > WiFi > ( Advanced ) > DNS
    System Preferences > Network > Ethernet > ( Advanced ) > DNS
    There should be two or more IP addresses there.
    Those addresses should be EXACTLY the ones your current ISP provided when you signed up for service. They do not start with 85 or 86 -- those are hacker sites.
    If you are in the US, you could also use OpenDNS:
    208.67.222.222
    208.67.220.220

  • How do I display data from Multiple Queries in a spreadsheet?

    I am running Oracle forms 10g as a kicker to export a report (rdf 10.1.2.0.2) to PDF or Excel Spreadsheet - User's choice.
    Doesn't matter if I have desformat = SPREADSHEET, DELIMITEDDATA, or DELIMITED; I still get only the first query displayed when I run in spreadsheet format.
    How do I display data from Multiple Queries in a spreadsheet? Is this possible?
    Thanks in advance!

    Hi adam,
    did you search the forum? You will find a lot of threads handling the problem of Excel file access.
    In short: you need to use ActiveX (the RGT also uses ActiveX under the hood)!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How do I install Pages from iWorks on my iMac onto the iPad?

    How do I install Pages from iWork on my iMac onto my iPad?

    You don't. The Mac version of Pages works on Macs - not on iPad.
    You need to buy the iPad version of Pages from the AppStore, and install that on your iPad:
    http://itunes.apple.com/gb/app/pages/id361309726?mt=8

  • How do I get files from multiple DVDs that are using thesame file names?

    How do I get files from multiple DVDs that are using thesame file names? Message says "file already exists in catalog"
    Message was edited by: marcr56

    marcr56
    I am viewing your question from different perspective, that is, the issue that you face when you are ripping VOBs from a second DVD-VIDEO on DVD disc using Premiere Elements,
    It is best to give the Premiere Elements version and computer operating system that it is running on. In the absence of that, I will generalize.
    Assuming that you are using
    Premiere Elements 12
    Add Media
    "DVD Camera or Computer Drive"
    Video Importer
    Typically the Video Importer Save In: is C:\Users\Owner\Videos
    Each of your DVD discs is going to have the same names for the ripped VOBs (VTS_01_1.VOB and so on depending on the duration of the movie). Consequently, after the ripping of the first DVD's VOBs and their save to Videos, you will end up with that "files already existing..." block for the ripping of the VOBs from the second DVD.
    The answer is, for each DVD disc VOB ripping, to plan ahead and create and set for different folders in Videos in the Save In field of the Video Importer.
    Please review and then let us know if that works for you. Please do not hesitate to ask if you need clarification on anything that I have written.
    Thank you.
    ATR.

Maybe you are looking for

  • Ipod Nano isnt being recognized by the computer

    its new and i already installed the software and everything....i pluggged the nano in and nothing..though i should mention that it says "do not disconnect" on the screen... i tried to reset the nano and that didnt work...then i tried to open up ipod

  • Mapping problems

    Hi, I posted this thread in Designer section but I think this place is more appropriate. I have a mapping problem. In my process I have two forms with the same xml schema binding to this forms. The first form is prefill with his informations (name, d

  • Why does my raw file show editing changes in the Organizer?

    When I edit a raw (CR2) image and then save as a .tiff file and close, my original raw file also appears edited in the Organizer.  I have received advice telling me how to reset to default to get back my unedited CR2, but this is time consuming and I

  • 60p vs 60i video quality

    Sorry for asking a very common question but every thread I've searched tends to go down a tangent that doesn't quite answer my question. I have a Panasonic camcorder that records in 1080 60p or 60i.  My question is video quality.  Even though all my

  • Cluster Installation SQL

    HI SME I have installed the SQL 2005 failover cluster and  SAP cluster installation both are working fine. But whenever i am moving the SQL group from node 1 to node 2 and vice versa the Databse in the studio show recovery mode. and application is no