Hyperlinked JSP Page does not refresh contents

I have a very typical problem.
In my application whenever I call a jsp page using hyperlink without any querystring attached to it the page called does not refresh. However when I press refresh on the browser it does refresh the contents. Basically in this page I am using some session variables to fetch data. So I do not call the page by passing querystring instead set the attributes of session variables and then the page is called as a hyperlink.
However if I call the same page using submit the values are refreshed.
Help on this urgently will be appreciated.
Thanks
Manish

Just set 'no-cache' option for the jsp page and test it. It should work. only you need to do is
response.setDateHeader("Expires",0);
     response.setHeader("Pragma","no-cache");
     if(request.getProtocol().equals("HTTP/1.1")) {
          response.setHeader("Cache-Control","no-cache");
have fun!!
---rajsekhar

Similar Messages

  • The edit JSP page does not appear...

    Hi!
    I make a simple JSF application, I would like to show a DB table in a h:dataTable component and edit a given row after click, but the edit JSP page does not appear. I click the on link in the table, but the list is loaded again and not the edit page...:(
    (no exception in application server console)
    Please help me!
    my code:
    **************************************** listmydata.jsp***************************
                   <h:dataTable
                             value="#{myBean.myDataList}"
                             var="myDataItem"
                             binding="#{myBean.myDataTable}"
                   >
                        <h:column>
                             <f:facet name="header">
                                  <h:outputText value="Ajdi"/>
                             </f:facet>
                             <h:commandLink action="#{myBean.editMyData}">
                                  <h:outputText value="#{myDataItem.id}"/>
                             </h:commandLink>
                        </h:column>
    ********************************* MyBean.java *******************************
    package bean;
    import java.sql.Connection;
    import java.sql.SQLException;
    import java.util.ArrayList;
    import java.util.List;
    import javax.faces.component.html.HtmlDataTable;
    import javax.faces.context.FacesContext;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import javax.sql.DataSource;
    import wrapper.MyData;
    public class MyBean {
         private List myDataList;
         private HtmlDataTable myDataTable;
         private MyData myDataItem;
         protected Connection Conn;
         // *********************** actions ***********************
         public String editMyData() {
              myDataItem = (MyData)getMyDataTable().getRowData();
              return "editmydata";
         public String saveMyData() {
              try {
                   updateDataInDB();
              catch (SQLException e) {
                   System.out.println(e);
                   System.err.println(e);
                   e.printStackTrace();
              catch (NamingException e) {
                   System.out.println(e);
                   System.err.println(e);
                   e.printStackTrace();
              return "listmydata";
         // *********************** setter ***********************
         public void setMyDataList(List myDataList) {
              this.myDataList = myDataList;
         public void setMyDataTable(HtmlDataTable myDataTable) {
              this.myDataTable = myDataTable;
         public void setMyDataItem(MyData myDataItem) {
              this.myDataItem = myDataItem;
         // *********************** getter ***********************
         public List getMyDataList() {
              if (myDataList == null || FacesContext.getCurrentInstance().getRenderResponse()) {
                   loadMyDataList();
              return myDataList;
         public HtmlDataTable getMyDataTable() {
              return myDataTable;
         public MyData getMyDataItem() {
              return myDataItem;
         // *********************** others ***********************
         public void loadMyDataList() {
              try {
                   getDataFromDB();
              catch (NamingException e) {
                   System.out.println(e);
                   System.err.println(e);
                   e.printStackTrace();
              catch (SQLException e) {
                   System.out.println(e);
                   System.err.println(e);
                   e.printStackTrace();
         void getDataFromDB() throws NamingException, SQLException {
              myDataList = new ArrayList();
              java.sql.PreparedStatement PreStat = ownGetConnection().prepareStatement("SELECT id, name, value FROM BEA_JSF_SAMPLE");
              PreStat.execute();
              java.sql.ResultSet Rs = PreStat.getResultSet();
              while(Rs.next()) {
                   MyData OneRecord = new MyData();
                   OneRecord.setId(Rs.getLong(1));
                   OneRecord.setName(Rs.getString(2));
                   OneRecord.setValue(Rs.getString(3));
                   myDataList.add(OneRecord);
         void updateDataInDB() throws SQLException, NamingException {
              String sql = new String("UPDATE BEA_JSF_SAMPLE SET name=?,value=? WHERE id=?");
              java.sql.PreparedStatement PreStat = ownGetConnection().prepareStatement(sql);
              PreStat.setString(1,myDataItem.getName());
              PreStat.setString(2,myDataItem.getValue());
              PreStat.setLong(3,myDataItem.getId().longValue());
              PreStat.execute();
              ownGetConnection().commit();
         Connection ownGetConnection() throws SQLException, NamingException {
              if (Conn == null) {
                   InitialContext IniCtx = new InitialContext();
                   DataSource Ds = (DataSource)IniCtx.lookup("JDBCConnectToLocalhost_CRS");
                   Conn = Ds.getConnection();
              return Conn;
    ******************************* editmydata.jsp *****************************
    <%@ page language="java" contentType="text/html;charset=UTF-8"%>
    <%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
    <%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
    <html>
    <body>
    <f:view>
    <h:form>
         <h:panelGrid columns="2">
              <h:outputText value="Name"/>
              <h:inputText id="name" value="#{myBean.myDataItem.name}"/>
              <h:outputText value="Value"/>
              <h:inputText id="value" value="#{myBean.myDataItem.value}"/>
         </h:panelGrid>
         <h:commandButton action="#{myBean.saveMyData}" value="Save"/>
    </h:form>
    </f:view>
    </body>
    </html>

    I have put his lines in the faces-config.xml and now it works:
         <navigation-rule>
              <from-view-id>*</from-view-id>
              <navigation-case>
                   <from-outcome>editmydata</from-outcome>
                   <to-view-id>editmydata.jsp</to-view-id>
              </navigation-case>
         </navigation-rule>
         <navigation-rule>
              <from-view-id>*</from-view-id>
              <navigation-case>
                   <from-outcome>listmydata</from-outcome>
                   <to-view-id>listmydata.jsp</to-view-id>
              </navigation-case>
         </navigation-rule>
    I don't understand, that I define the next JSP page in the bean java file, which must be shown, but I must define this in the faces-config.xml as well.
    for example:
         public String editMyData() {
              myDataItem = (MyData)getMyDataTable().getRowData();
              return "editmydata";
    is it right or Do I make a mistake somewhere?

  • How to reload frame in Safari? Reloading page does not refresh all frames

    I have IPAD Air. In Safari, reloading a page does not automatically refresh all frames. Is there a way to force a frame reload/refresh?
    This is true in other browsers, IE, Chrome, etc, that is reloading a page does not automatically fresh all frames. However, they all have a reload frame option.
    How can I do that in Safari?

    A frame is not a browser tab. A web page is made up of multiple frames. 'frame' is the standard HTML definition of the frame tag. Here is a html example, which specifies a web page that subdivides into 6 frames. Each frame links to a html page.
    In Safari, updating a page does not automatically updates all the frames. In all other browsers, you can put the mouse on a frame, right click, and select the 'reload frame.' option.
    My question is how to updat frames in Safari? One way that works, of course, is to go to IPAD Setup, select Safari, and flush the Safari cache, but that's very inconvenient.
    |                                                    |
    |                                                    |
    |                                                    |                 
    |                                                    |
    |                                                    |
    |          |                              |          |
    <frameset rows="45,50,*,60" frameborder="0" border="0" framespacing="0">
    <!--  <frame name="topNav" src="top_nav.html" target="_self"> -->
      <frame name="topNav" src="top_nav.html" target="_self">
      <frame name="menu" src="menu_1.html" target="_self">
      <frame name="content" src="../TaishaneseChopSuey/transcription.html">
    <frameset cols="200,*,300" frameborder="0" border="0" framespacing="0">
      <frame name="footer" src="footer.html">
      <frame name="footer2" src="footer2.html">
      <frame name="sound" src="sound.html" target="_self">
    </frameset>

  • My jsp page does not get refreshed

    I have a jsp page which looks like -
    the top portion of the page has 3 textboxes and a submit button to add an entity.
    the rest of the page displays a list of all the entities in the system.
    when i load the jsp and add a new entity, the new entity shows up on the list. when i try to add a new entity second time, the entity does get added into the database, but does not show up in the list.
    In the action class, i make a request to the dao and print all the values from the list, returned by the dao. Since the newly added values are present in the list, returned by the dao, i dont think there is anything wrong with my business layer or the DAO layer.i dont understand, why it does not show up in the jsp page.
    any ideas. i am wondering if the data is being cached, so, in the jsp page i have also set the following parameters:
      <head><meta http-equiv="Expires" CONTENT="0"><meta http-equiv="Cache-Control" CONTENT="no-cache"><meta http-equiv="Pragma" CONTENT="no-cache">
    --------------------------------------------------------------------------------Has this to do anything with Struts and Hibernate which i use in my application? The same thing happens, when i edit. when i click on edit button, it takes the user to a different page, i edit the details and click on save button. the control returns back to the list page, but the changes are not shown, although the changes are saved to the db. how do i prevent cache. i am putting my entire list in a request object, before doing an action forward to the jsp page

    Hi,
    instead of using the cache in the meta tag try with the following lines,
    response.setHeader("Cache-Control", "no-cache");
    response.setHeader("Pragma", "no-cache");
    response.setDateHeader("Expires", 0); Regards,
    Bala A

  • JSP pages are not refreshed even though I change the code!

              Hi,
              Just wanted to ask that even though I make changes in some of my
              JSP files, the changes (e.g. hyperlink properties) are not recalled by the browser. This is happening even though I open a new browser and re-start the Weblogic server. I had same problem with Weblogic5.1. However, this does not happen always: sometimes, when there is a change in the file, Weblogic recompiles it and the changes are implemented. Thanks for your help!
              

    1) Check the date/time of the .jsp compared to the .class generated for it.
              You could have a mismatch between the clocks on multiple machines.
              2) Delete the temp deployments directory to force WebLogic to rebuild
              those.
              Peace,
              Cameron Purdy
              Tangosol, Inc.
              http://www.tangosol.com
              +1.617.623.5782
              WebLogic Consulting Available
              "abuislam" <[email protected]> wrote in message
              news:3a1e0181$[email protected]..
              >
              > Hi,
              > Just wanted to ask that even though I make changes in some of my
              > JSP files, the changes (e.g. hyperlink properties) are not recalled by the
              browser. This is happening even though I open a new browser and re-start
              the Weblogic server. I had same problem with Weblogic5.1. However, this
              does not happen always: sometimes, when there is a change in the file,
              Weblogic recompiles it and the changes are implemented. Thanks for your
              help!
              

  • JSP pages are not refreshing under wl 6.1 sp1

              I thought this could have been a problem solved long time ago but after searched
              through this list I could not find any solutin.
              Basically any change to the JSP is not refreshed on my wl server. Even after I
              set my browser to have 0 siye disk cache, 0 siye memory cache, and set the cache
              file name to something non-exists, the cached page kept coming back! It must have
              been cached by the web server. Deleting all the tmp files under WEB-INF did not
              work. Redeploy the web app did not work. Even after I restarted the server, it
              still sent me the old pages!!
              I must have missed something here???
              Many thanks and regards,
              Charles
              

    Have a look at this page:
              http://e-docs.bea.com/wls/docs61/////webapp/weblogic_xml.html#1012760
              The parameter "workingDir" is probably what you're looking for.
              Hope that helps,
              Nils
              Charles Chen wrote:
              >
              > Unbelievable!
              >
              > Here is what I found where the problem is:
              >
              > Apparently weblogic 6.1 sp1 is compiling and cacheing the JSP pages in the directory
              > /var/tmp!! That explains why even after I restart the server and still got the
              > old page! After remove the /vat/tmp/jsp_servlet/_jsp directory, I finally got
              > my changes recompiled.
              >
              > I am sure some where there is a doc describing how to change this directory ...
              >
              > Charles
              >
              > "Charles Chen" <[email protected]> wrote:
              > >
              > >I thought this could have been a problem solved long time ago but after
              > >searched
              > >through this list I could not find any solutin.
              > >
              > >Basically any change to the JSP is not refreshed on my wl server. Even
              > >after I
              > >set my browser to have 0 siye disk cache, 0 siye memory cache, and set
              > >the cache
              > >file name to something non-exists, the cached page kept coming back!
              > >It must have
              > >been cached by the web server. Deleting all the tmp files under WEB-INF
              > >did not
              > >work. Redeploy the web app did not work. Even after I restarted the server,
              > >it
              > >still sent me the old pages!!
              > >
              > >I must have missed something here???
              > >
              > >
              > >Many thanks and regards,
              > >
              > >
              > >
              > >Charles
              > >
              ============================
              [email protected]
              

  • Please help, jsp pages does not display...

    Hi, I am writing simple JSP pages and running it on
    Tomcat.
    I create a jsp file that has frame in it
    (call this chat_entry_frame.jsp)
    In the frame I call other 2 jsp pages.
    (which is chat_entry.jsp and chat_control.jsp)
    When I test both chat_entry.jsp and chat_control.jsp
    separately, they both fine.
    But when I try to call chat_entry_frame.jsp, it did not
    show anything.
    I have not create web.xml file inside my application...
    I just call both jsp files by specifing their path (relative
    path). All jsp files I put in the same directory.
    So, I wonder what is wrong?
    Thanks in advance for help and suggestion!
    Here are the jsp files:
    chat_entry_frame.jsp:
    <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
    <%@ page errorPage="chat_error.jsp" %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=x-user-defined">
    </meta>
    <title> Online Chat Frame </title>
    </head>
    <body>
    <frameset cols="25%, 75%" border="0">
    <frame src="/chat/jsp/chat_control.jsp" name="entry_control">
    <frame src="/chat/jsp/chat_entry.jsp" name="entry_screen">
    </frameset>
    </body>
    </html>
    chat_control.jsp:
    <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
    <%@ page errorPage="chat_error.jsp" %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=x-user-defined">
    </meta>
    <title> Online Chat </title>
    </head>
    <body bgcolor="#00FFFF">
    <font face="Verdana" color="black">
    <table border=0 cellspacing=0 cellpadding=0 rows=4 cols=1 width=100% bgcolor=#00FFFF>
    <tr>
    <input type="hidden" name="chatCommand" value="register_entry"></input>
    <input type="submit" value="Register" name="register"></input>
    </tr>
    <tr>
    <input type="hidden" name="chatCommand" value="faq_entry"></input>
    <input type="submit" value="FAQ" name="faq"></input>
    </tr>
    </body>
    </html>
    chat_entry.jsp:
    <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
    <%@ page errorPage="chat_error.jsp" %>
    <%
    String username = "";
    try
    username = (String) session.getAttribute("username");
    if (username == null)
    username = "";
    catch (java.lang.NullPointerException ex)
    username = "";
    %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=x-user-defined">
    </meta>
    <title> Online Chat </title>
    </head>
    <body bgcolor="#00FFFF">
    <font face="Verdana" color="black">
    <h3 align="center"> Login Page </h3>
    <br>
    <h5>
    <form name="chat_entry" method="POST" action="/chat/servlet/ChatEngine">
    <table border=0 cellspacing=0 cellpadding=0 rows=4 cols=1 width=100% bgcolor=#00FFFF>
    <tr>
    <td><label for="username">Username: </label></td>
    <td><input type="text" name="username" value=<%=username%> ></input></td>
    </tr>
    <tr>
    <td><label for="password">Password: </label></td>
    <td><input type="password" name="password"></input></td>
    </tr>
    <tr>
    <td><input type="hidden" name="chatCommand" value="check_login"></input></td>
    <td><input type="submit" value="login" name="submit"></input>
    <form name="forgot_password" method="POST" action="/chat/servlet/ChatEngine">
    <input type="hidden" name="chatCommand" value="forgot_password"></input>
    <input type="submit" value="Forgot Password" name="submit"></input>
    </form>
    </td>
    </tr>
    </h5>
    </body>
    </html>

    Hi,
    Your problem is not with TomCat, When you specify a frameset, the HTML code cannot have the body tag, just remove it from your chat_entry_frame.jsp and it has to work.
    Hope this helps...

  • Link to a file in the jsp page does not open correctly

    Hi all,
    I have a JSP application which is similar to a discussion forum and the messages usually carry a link to an attachment file which could be of any extension.
    The client pool I am dealing with are concerned only with MS Word/Excel/PPT files. When the user clicks on the file, a new browser window opens but it does not open the file in the correct application. I know that browsers can display Doc, ppt and xls files.
    In my case, the browser just shows some garbage. THe link is to the correct file, I know that because I can right click and download the file and then open it in the correct application. But I want browser to find the application and open the file.
    Can somebody give me hints as to what may be wrong?
    Also, I am in the development stage and therefore I have only 100 odd messages in the database. Many have attachements. But only one attachment to a particular message works well..ie the browser finds MS Word and displays the doc.
    Why not the remaining doc/ppt files?
    Help please!!
    Thanks in advance.
    m_asu

    Add the following code to web.xml mime-mapping section and restart tomcat:
    <mime-mapping>
    <extension>doc</extension>
    <mime-type>application/msword</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>xls</extension>
    <mime-type>application/msexcel</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>ppt</extension>
    <mime-type>application/ms-powerpoint</mime-type>
    </mime-mapping>

  • Jsp page does not open with firefox! plz help..urgent!!

    hi,
    i have a wierd problem...
    i am hosting my website
    currant.hos.ufl.edu/mutail/rahul/testing2.jsp
    if i open it in IE, it works fine...
    but it doesnt work if i open it in mozilla. it just shows me the java code (maybe it takes the jsp code as html text)...
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <%@ page
         import = "java.io.*"
         import = "java.lang.*"
         import = "java.sql.*"
    %>
    <HTML>
    <HEAD>
    <TITLE>DR McCarty</TITLE>
    <META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
    <meta name="title" content="Don R. McCarty">
    </HEAD>
    <BODY>
    more notably, the error is in the <%= page import line...
    the error in validator.w3c.org is:
    Line 2, Column 0: character data is not allowed here .
    <%@ page
    &#9993;
    You have used character data somewhere it is not permitted to appear. Mistakes that can cause this error include:
    * putting text directly in the body of the document without wrapping it in a container element (such as a <p>aragraph</p>), or
    * forgetting to quote an attribute value (where characters such as "%" and "/" are common, but cannot appear without surrounding quotes), or
    * using XHTML-style self-closing tags (such as <meta ... />) in HTML 4.01 or earlier. To fix, remove the extra slash ('/') character. For more information about the reasons for this, see Empty elements in SGML, HTML, XML, and XHTML.
    thanks in advance...
    rahul

    one more thing...the code runs properly on localhost... i tested it on my pc n it was fine..both in firefox and IE...
    i guess there is a specific syntax i need to follow (strict syntax) but i dunno what it is...:(

  • How come the form in the JSP page does not work if user hits "ENTER"

    When I use the following code for loginpage.jsp
    If the user hits ENTER on the keyboard it just displays the same form with nothing in the username box.
    It works if the user clicks the button.
    <HTML>
    <BODY>
    <%
    String submit = request.getParameter("submit");
    if(submit == null){
    %>
    <FORM METHOD=POST ACTION=loginpage.jsp>
    Please enter your username: <INPUT TYPE=TEXT NAME=username SIZE=20>
    <INPUT TYPE=SUBMIT NAME=submit VALUE='Go!'>
    </FORM>
    <%
    else {
    String user = request.getParameter("username");
    if(user == null) {
    // display same page
    } else {
    // foward to next page
    %>
    </BODY>
    </HTML>

    I adjusted my code but it still does nto work when hitting the ENTER keyboard button.
    <HTML>
    <BODY onload="document.form1.left.focus();">
    <%
    String submit = request.getParameter("submit");
    if(submit == null){
    %>
    <FORM METHOD=POST ACTION=loginpage.jsp>
    Please enter your username: <INPUT TYPE=TEXT NAME=username SIZE=20>
    <INPUT TYPE="button" name="left" value="LEFT" onlick="alert(this.name)">
    <INPUT TYPE="button" NAME="right" VALUE="RIGHT" onclick="alert(this.name)">
    </FORM>
    <%
    else {
    String user = request.getParameter("username");
    if(user == null) {
    // display same page
    } else {
    // foward to next page
    %>
    </BODY>
    </HTML>
    If I do this
    <FORM METHOD=POST ACTION=nextpage.jsp>
    And use ENTER keyboard button it works, but not when I have ACTION to teh same page.
    Why is that?
    Is this JSP related or HTML? I thought JSP had something to do with it since it's JSP file.

  • Clicking on jsp page does not open it in visual editor.

    All "open jsp tags in visual editor" checkbox is on for all libraries.
    Jdeveloper version is 10131 build 3914
    Message
    BME-99003: An error occurred, so processing could not continue.
    Cause
    The application has tried to de-reference an invalid pointer. This exception should have been dealt with programmatically. The current activity may fail and the system may have been left in an unstable state. The following is a stack trace.
    java.lang.NullPointerException
         at oracle.jdevimpl.webapp.design.util.InvisibleJspElementsUtil.applyInvisibleJSPElements(InvisibleJspElementsUtil.java:108)
         at oracle.jdevimpl.webapp.design.util.InvisibleJspElementsUtil.applyInvisibleJSPElements(InvisibleJspElementsUtil.java:78)
         at oracle.jdevimpl.webapp.design.util.InvisibleJspElementsUtil.applyInvisibleJSPElements(InvisibleJspElementsUtil.java:47)
         at oracle.jdevimpl.webapp.design.view.DesignTimeFixedViewDocument.rebuildTree(DesignTimeFixedViewDocument.java:162)
         at oracle.jdevimpl.webapp.model.content.dom.view.proxy.ProxyViewDocument.initialize(ProxyViewDocument.java:80)
         at oracle.jdevimpl.webapp.editor.AbstractWebAppEditor.rebuildViewDocument(AbstractWebAppEditor.java:686)
         at oracle.jdevimpl.webapp.editor.html.HtmlEditor.rebuildViewDocument(HtmlEditor.java:621)
         at oracle.jdevimpl.webapp.editor.jsp.JspEditor.rebuildViewDocument(JspEditor.java:209)
         at oracle.jdevimpl.webapp.editor.AbstractWebAppEditor.createDocuments(AbstractWebAppEditor.java:1206)
         at oracle.jdevimpl.webapp.editor.AbstractWebAppEditor.open(AbstractWebAppEditor.java:393)
         at oracle.jdevimpl.webapp.editor.html.HtmlEditor.open(HtmlEditor.java:172)
         at oracle.jdevimpl.webapp.editor.jsp.JspEditor.open(JspEditor.java:113)
         at oracle.ideimpl.editor.EditorState.openEditor(EditorState.java:239)
         at oracle.ideimpl.editor.EditorState.createEditor(EditorState.java:147)
         at oracle.ideimpl.editor.EditorState.getOrCreateEditor(EditorState.java:90)
         at oracle.ideimpl.editor.SplitPaneState.canSetEditorStatePos(SplitPaneState.java:231)
         at oracle.ideimpl.editor.SplitPaneState.setCurrentEditorStatePos(SplitPaneState.java:194)
         at oracle.ideimpl.editor.TabGroupState.createSplitPaneState(TabGroupState.java:103)
         at oracle.ideimpl.editor.TabGroup.addTabGroupState(TabGroup.java:275)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1261)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1196)
         at oracle.ideimpl.editor.EditorManagerImpl.openEditorInFrame(EditorManagerImpl.java:1077)
         at oracle.ideimpl.editor.EditorManagerImpl.openDefaultEditorInFrame(EditorManagerImpl.java:1036)
         at oracle.adfdt.controller.util.CommonUtils.showEditor(CommonUtils.java:575)
         at oracle.adfdt.controller.jsf.diagram.shape.PageNode.gotoPage(PageNode.java:355)
         at oracle.adfdt.controller.jsf.diagram.shape.PageNode.invokeAction(PageNode.java:292)
         at oracle.adfdt.controller.jsf.diagram.registry.RPageNode.editContents(RPageNode.java:210)
         at oracle.bm.diagrammer.track.SelectionTracker.keyPressed(SelectionTracker.java:1338)
         at oracle.bm.diagrammer.track.ModularTracker.processEvent(ModularTracker.java:253)
         at oracle.bm.diagrammer.track.SelectionTracker.processEvent(SelectionTracker.java:148)
         at oracle.bm.diagrammer.track.TrackerStack.processEvent(TrackerStack.java:375)
         at oracle.bm.diagrammer.BaseDiagramView$53.processEvent(BaseDiagramView.java:733)
         at oracle.bm.diagrammer.PageView$PageViewPanel.fireEvent(PageView.java:2933)
         at oracle.bm.diagrammer.PageView$PageViewPanel.processEvent(PageView.java:3111)
         at java.awt.Component.dispatchEventImpl(Component.java:4407)
         at java.awt.Container.dispatchEventImpl(Container.java:2042)
         at java.awt.Component.dispatchEvent(Component.java:4237)
         at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1828)
         at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:693)
         at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:952)
         at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:824)
         at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:657)
         at java.awt.Component.dispatchEventImpl(Component.java:4279)
         at java.awt.Container.dispatchEventImpl(Container.java:2042)
         at java.awt.Window.dispatchEventImpl(Window.java:2405)
         at java.awt.Component.dispatchEvent(Component.java:4237)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:600)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    Action
    If further errors occur, you should restart the application.
    Also, report the problem on the JDeveloper forum on otn.oracle.com, or contact Oracle support, giving the information from this message.
    ________________________________________________________________________________

    one more thing...the code runs properly on localhost... i tested it on my pc n it was fine..both in firefox and IE...
    i guess there is a specific syntax i need to follow (strict syntax) but i dunno what it is...:(

  • Help!  After validation failure, Detail region of Master Detail page does not refresh.

    Hello.
    I am running a validation to prevent deletion of a purchase order (PO) when invoices exist for the PO.
    When the condition is found (invoices exist), the deletion process is halted and a message is posted to the page.
    I would like for both Master and Detail data of the PO to be refreshed.  However, only the Master
    record is refreshed.  I get the following error for the detail data:  The detail is found through the Master Header primary Key (DetailRecord.PO_ID = :P230_PO_ID )
    ORA:01445: Cannot select ROWID from, or sample, a join view without a key preserved table.
    ORA-06510 - PL/SQL unhandled user-defined exception.
    I'm not sure why this message should come up.  I do not clear cache or reset the page or anything like that.
    Any hints?

    Just an FYI for everybody who may have this very same problem in the future.  I fixed the error and it had nothing to do with ROWID or views or anything like that.  Under the Page Rendering section where you define the region definition under the source section, I had included the 'order by' clause in my SQL statement.  This was the cause of my ORA-01445 error!  When I removed the clause from the source definition and instead included it within the Report Attributes by checking the Sort box for the appropriate column (thus allowing APEX to generate the sort for me), the error disappeared!  The Oracle error message would NEVER have given me a clue into what caused the error.  I just happened to think 'what if I take the order by clause out'!  How's that for a flukey fix! 

  • Page does not refresh untill F5 pressed

    I am using HTMLDB 1.6 and Oracle reports 10g.
    When users completes the data-entry on HTMLDB forms, presses submits button, and a branch provided in the page takes user to Oracle Reports (by giving a URL). Reports show the data update by users on HTMLDB form.
    Reports are drill-down, they have links to HTMLDB pages, which take the user to HTMLDB form. URL behind the link is
    http://server:7777/pls/htmldb/f?p=111:18:::::P18_QUOTE_DETAIL_PK:4305
    Now suppose a users makes an entry in HTMLDB form, goes to Oracle reports (automatically) where he finds updated data. But now when he clicks on the link which takes the browser window back to HTMLDB form again, he finds the OLD data (data not updated, which he did last time). When user presses F5 (refresh) the page comes with updated data.
    Please advise the method which eleminates need of presses F5.

    2110598 - Please tell us your first name to continue, it helps me catalogue threads.
    I suspect your browser is caching the old page. If that is the case, you can adjust (or instruct users to adjust) the browser settings to avoid this. But there is something else that you should start thinking about for when you might want to upgrade to version 2.0 or later: links to an HTML DB page that do not contain the current session ID will result in the user having to login (even if the user is already are logged in in the current browser session). You will be able to keep them in the current HTML DB session, however, if you use a technique we recently discussed (I'll look for it if you're interested).
    Scott

  • Any external hyperlink (to Firefox) does not open in Firefox. Firefox is default browser. Firefox opens but does not open external hyperlink.

    If I click on a hyperlink in application that is external to Firefox, clicking on the link opens Firefox, goes to the home page and that is all. The hyperlinked web page does not open.
    If Firefox is already open, a new browser window is opened, goes to the home page. The hyperlinked web page does not open.

    Apparently this is an add-on problem. I disabled all of the add-ons and the problem is now fixed. I have not been able to find out which is the culprit yet but I will track it down. If and when I find the problem add-on, I will post the name(s) here.

  • JSP error page does not displayed on its own, includes in the original JSP

    Problem Description: - Exceptions in a Condition cause pages to fail to render.
    The actual issue is, the JSP error page does not displayed on its own, included in the original JSP Page when exception occurs.
    Problem Cause: As per the JSP specification when jsp content reached the buffer size (default 8KB) the page being flushed (Part of condent displays). The default �autoFlush� value is true.
    When the page buffer value is default size (8KB), and if any exception occurs after flushing the part of the content, instead of redirecting into error page, the error page content included in the original page.
    If i specify autoFlush="false" and with default buffer size, at the runtime if the buffer size is reached, i am getting stackoverflow error.
    To solve the above problem we can make it autoFlush=�false� and buffer=�100KB�. But we can�t predict the actual size of the page.
    I found in one of the weblogic forum as no solution for this issue. Ref.
    http://support.bea.com/application?namespace=askbea&origin=ask_bea_answer.jsp&event=link.view_answer_page_clfydoc&answerpage=solution&page=wls/S-10309.htm
    Please provide me any solution to resolve the problem.

    Error-Page tags work best with an error.html pages. If you have an error.jsp page what I would do, and I have, is wrap my classes and jsp pages in a try catch block where you forward to the error jsp page and display anything you want. YOu can also do this with if else statements. I have used the tomcat error pages before but when I've implemented them I used java.lang.Exception as the error to catch not Throwable. I don't know if this would make a difference or have anything to do with your problem.

Maybe you are looking for

  • Transformation XML - abap

    dear abap experts, i currently want to read an xml file and convert it to an internal table in abap program. in sap help, i find TRANSFORMATION, but the example there is convert from data in abap to xml format. i have tried to convert from xml file t

  • Transfer of qty from Part No A to part No B

    Hi Gurus , I come across the below scenario , but I am not clear how to resolve it. let say , I have part no : A (Proto type) , which has stock Qty of : 50 pcs , I have another part no: B (actual production) . Now I dont want to scrap the proto type.

  • Why do I have to change source input to mono when it's recorded in stereo through my interface from an acoustic pick up in order to hear anything in playback?

    Why do I have to change source input to mono when it's recorded in stereo through my interface from an acoustic pick up in order to hear anything in playback? It's a dean markley acoustic pick up with a mono 1/4" jack. It's plugged into a focusrite i

  • Unable to access ANSWERS due to Request XML not found

    Some of our users get a error msg "RequestXML not found" when they go to Answers. While in Answers they do not get the left frame showing My Folders, Shared Folders, etc.(they see an empty catalog). On the right hand side they see the list of subject

  • Dependents in benefit enrollment.

    Hello All, In the Family members and dependants Iview, if I add a child from today date, this new child is not visible in the select dependants in the enrollment in to benefits. Only after 31 days of adding the child we are able to add the child as a