Session timeout problem with a4j:commandButton
kranthik Jun 25, 2009 10:07 AMHi,
I m using JBOSS server.I have set the session timeout in web.xml as shown below:
<session-config> <session-timeout>1</session-timeout> </session-config>
I am using a4j:commandButtons in my jsp page.
After session timeout if i perform any operation ,i am automatically redirected to login page.After logging in,an XML file is displayed as shown below:
<?xml version="1.0" ?> - <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <title /> <link href="/MedNetPortal/faces/a4j/s/3_2_2.GAorg/richfaces/renderkit/html/css/basic_classes.xcss/DATB/eAHLvMb1NxOIAROOBI0_" type="text/css" rel="stylesheet" class="component" /> <link media="rich-extended-skinning" href="/MedNetPortal/faces/a4j/s/3_2_2.GAorg/richfaces/renderkit/html/css/extended_classes.xcss/DATB/eAHLvMb1NxOIAROOBI0_" type="text/css" rel="stylesheet" class="component" /> <script type="text/javascript" src="/MedNetPortal/faces/a4j/g/3_2_2.GAorg.ajax4jsf.javascript.AjaxScript" /> <script type="text/javascript" src="/MedNetPortal/faces/a4j/g/3_2_2.GAorg.ajax4jsf.javascript.PrototypeScript" /> <script type="text/javascript" src="/MedNetPortal/faces/a4j/g/3_2_2.GAorg/richfaces/renderkit/html/scripts/events.js" /> <script type="text/javascript" src="/MedNetPortal/faces/a4j/g/3_2_2.GAorg/richfaces/renderkit/html/scripts/utils.js" /> <script type="text/javascript" src="/MedNetPortal/faces/a4j/g/3_2_2.GAorg/richfaces/renderkit/html/scripts/json/json-dom.js" /> <script type="text/javascript" src="/MedNetPortal/faces/a4j/g/3_2_2.GAorg/richfaces/renderkit/html/scripts/scriptaculous/effects.js" /> <script type="text/javascript" src="/MedNetPortal/faces/a4j/g/3_2_2.GAorg/richfaces/renderkit/html/scripts/jquery/jquery.js" /> <script type="text/javascript" src="/MedNetPortal/faces/a4j/g/3_2_2.GAorg/richfaces/renderkit/html/scripts/JQuerySpinBtn.js" /> <script type="text/javascript" src="/MedNetPortal/faces/a4j/g/3_2_2.GAorg/richfaces/renderkit/html/scripts/calendar.js" /> <link href="/MedNetPortal/faces/a4j/s/3_2_2.GAorg/richfaces/renderkit/html/css/calendar.xcss/DATB/eAHLvMb1NxOIAROOBI0_" type="text/css" rel="stylesheet" class="component" /> <script type="text/javascript" src="/MedNetPortal/faces/a4j/g/3_2_2.GAorg/richfaces/renderkit/html/scripts/skinning.js" /> </head> - <body> - <span id="frmAccExp:asd:edit:j_id_jsp_248096339_94pc4"> - <table> <tbody /> </table> </span> <meta name="Ajax-Update-Ids" content="frmAccExp:asd:edit:j_id_jsp_248096339_94pc4" /> - <span id="ajax-view-state"> <input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="H4sIAAAAAAAAAOV9e5Acx3lf3977AJAgwBfE14KUSBA83O08d/cAiQQOAHHkHQ7EHUESNAnO7c7dLbgvzs7hDlRZoVxlK7ErthTLsZ3QspIoFVdK/iN2rFh5WQ/bihlL" /> </span> <meta id="Ajax-Response" name="Ajax-Response" content="true" /> - <!-- MYFACES JAVASCRIPT --> </body> </html>
If i replace a4j:commandButton with h:commandButton it is working fine.No XML file is displayed.Is this problem related to a4j components?
Regards,
Kranthi.