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

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?

  • Lov command link does not get refreshed

    We are using Jheadstart 11.1.1.4.26 with Jdeveloper 11.1.1.4 and we think we have found a bug.
    The scenario includes two items, an inputtext (FirstName) and an LovItem (ManagerId)
    The LovItem (ManagerId) is dependent on the inputtext (FirstName) with Clear/Refresh and has a Disabled Expession #{bindings.EmployeesFirstName.inputValue==null} so that when the Firstname is null the LovItem (ManagerId) is disabled.
    This seems to work fine except from the commandLink of the LovItem which does not get refreshed. This is probably because the Id of the commandLink is not included in the componentsToRefresh item inside the EmployeesFirstNameDependsOnItem.
    Of course we could create a custom vm for the default/misc/facesConfig/dependsOnItemBean.vm and pass the id of the commandlink but we are looking for a more generic way.
    <managed-bean id="__168">
    <managed-bean-name id="__169">EmployeesFirstNameDependsOnItem</managed-bean-name>
    <managed-bean-class id="__170">oracle.jheadstart.controller.jsf.bean.DependsOnItemBean</managed-bean-class>
    <managed-bean-scope id="__171">application</managed-bean-scope>
    <managed-property id="__172">
    <property-name id="__173">itemsToClear</property-name>
    <list-entries id="__174">
    <value id="__175">EmployeesManagerId</value>
    </list-entries>
    </managed-property>
    <managed-property id="__176">
    <property-name id="__177">componentsToRefresh</property-name>
    <list-entries id="__178">
    <value id="__179">EmployeesManagerId</value>
    </list-entries>
    </managed-property>
    </managed-bean>
    I sent a testcase to '[email protected]' last friday.
    Regards
    Vasileios

    Vasileios,
    Thank, I was able to reproduce this. We will fix it in the next release.
    Here is how you can fix it using custom templates:
    - add the following macro to your custom macros file:
    #macro (ITEM_LINK_PARTIAL_TRIGGERS)
    partialTriggers = "#foreach($item in $JHS.current.item.dependsOnItems) #if (($JHS.current.pageComponent.hasOverflowRight || $JHS.current.pageComponent.hasOverflowRightWithSplitter || $JHS.current.pageComponent.hasOverflowBelow || $JHS.current.pageComponent.hasOverflowBelowWithSplitter) && $JHS.current.item.displayInTableOverflow && !$item.displayInTableOverflow)${JHS.current.group.shortName}PC:${JHS.current.group.shortName}Tab:#end${item.id}#end" #end
    - in the custom formLovItem and tableLovItem templates, add this macro to the commandLink element:
    <af:commandLink immediate="true" partialSubmit="true" #ITEM_DISABLED_IN_FORM() #ITEM_UPDATEABLE_IN_FORM() id="#NEW_ID("cl")" #ITEM_LINK_PARTIAL_TRIGGERS()
    Steven Davelaar,
    JHeadstart team.

  • 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

  • Cube does not get refreshed after maitainence

    Hi
    I have a cube in a schema that was existing.
    I have added new data to the fact table that is mapped to the cube.
    I maintained the cube by using the complete refresh option in the analytical workspace manager.
    After maintaining the cube and selecting from the cube view I do not see the new data that I have added.
    I have even tried dropping and recreating the cube but still it does not work.
    I have also tried adding the clean step for all measures and yet it does not work.
    Creating the cube with a different view name is a solution but that is not what I want. I want to be able to refresh the same view.
    Please advise / suggest
    Edited by: CelestialCitizen on Sep 4, 2011 9:53 PM

    Hi All
    The above is a false alarm.
    Basically it turned out that one of the keys in the fact table was not a leaf node in the dimension.
    After rectifying that all works fine now.

  • 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>

  • 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...

  • 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.

  • 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...:(

  • 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...:(

  • Custom page VO not getting refreshed.

    Hi,
    I developed a custom page where the user can update the details. Everything works fine and even the updates are done correctly but unless i logout and login, i don't see the changes in the fields the user has done.
    Why is it happening?
    Please update
    Thanks

    after you commit data ( db.commit() ) in the page.
    Updated data will be posted to the DB.
    you can see the data by quering the database.
    Please explain in detail where you could not see the updates.
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Jsf page not getting refreshed with updated values?

    Hi All,
    - managed-bean - session scope.
    - On a request, Even though, I am updating the bean's properties(values), my Jsf page is not getting refreshed with updated values as it is displaying the older values.
    Can anybody throw some light?
    Thanks in advance.
    - Sri

    Please try to give us more information, follow BalusC suggestion.
    For this moment I only can say you that the more common cause to this problem (in my expirence) is that you have problems with your conversion/validate phase.

  • 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>

  • ALV tree  not getting refreshed

    Hi
    I have 2 fields A and B in the main screen and a tabstrip with 4 tabs.
    Each tab contains a ALV tree
    Now when I open the main screen for the first time the ALV tree data is coming properly as per the default values of A and B.
    But when I change the values of A or B the ALV tree does not get refreshed. The final table has the changed data but the ALV shows only the old data.
    I am doing the ALV tree for the first time in module pool. Please provide some sample code to refresh the ALV tree.
    Regards,

    Hi
    Alv tree is now getting refreshed.The subscreen refresh problem is solved
    we have to use REFRESH_TABLE_DISPLAY method to do it.
    if tree1 is initial
       create object
       create container
      call method set_table_for_first display
    else.
      call method refresh_table_display.
    endif.
    Regards,
    Mozila

  • 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

  • Terminating The Program

    Hi, Can any one tel abt my query , when i select a checkbox in my output and press any button  other than EXIT and CANCEL it goes to Short Dump any one tel what is the problem in my program?

  • Problem with function keys

    Only the F11 and F12 keys on my PB G4 seem to do anything at present (Expose and Dashboard). Looking on this forum and others, I have tried to fix this by going to the Keyboard/Mouse section of System Prefs and turning on AND off the "use F1-F12 keys

  • Safari keeps crashing after latest Security patch

    Since I installed the latest Security patch Safari keeps crashing, as often as every 15 minutes... I suspect that it has something to do with the latest Flash-player. Is there a way around this or do I have to wait for the next patch from Apple (or A

  • Keywords not displaying in 5.2 (bug)

    Is keywording broken for other folks in 5.2? It's all over the map for me - click on an image and it shows the keywords, do it again and it doesn't, do it again and it does. Adding keywords to multiple images is as hit-and-miss - sometimes they go, s

  • Fetch data from n tables mdb file

    hello, I am able to fetch data from n no. of columns in a table but i want to fetch data from n no. of tables as well... below is part of the code: while (res.next()) for(int j=1;j<=tbn;j++) --- tbn no.of tables System.out.println("table counter"); f