After deletion of record the dialog page is coming back to source page

Dear all
Good Morning
i have creation page user will enter it will call to view mode,in that user will click on edit button again it will call to creation page with editable mode.
in that creation page editable mode user click on delete button it willl call to dialog page buttons "Yes" AND "NO"
user will click on yes the record is deleted but again after deletion of record again it is calling to creation page and creating blank record
but my requirement is after click on yes button it will delete the record and navigate to search page
how is it?
in my case again it is coming to creation page.
/*in edit page user click on delete button it will call to dialog page*/
if ("Delete".equals(pageContext.getParameter(EVENT_PARAM)))
String oid = pageContext.getParameter("oid");
OAException msg = new OAException("PO", "XX_DELETE_SUPPSITE_CONFIRM");
OADialogPage dpage =
new OADialogPage(OAException.WARNING, msg, null, "", "");
dpage.setOkButtonToPost(true);
dpage.setOkButtonLabel("Yes");
dpage.setOkButtonItemName("DeleteYes");
dpage.setPostToCallingPage(true);
dpage.setNoButtonToPost(true);
dpage.setNoButtonItemName("DeleteNo");
Hashtable ht = new Hashtable(1);
ht.put("d1", oid);
dpage.setFormParameters(ht);
pageContext.redirectToDialogPage(dpage);
/*If user click on No button it will call to editable mode*/(previuos page)
if(pageContext.getParameter("DeleteNo")!=null)
System.out.println("User will click on this button....");
String oppoid = (String)pageContext.getSessionValue("xxoppoid");
HashMap hp=new HashMap();
hp.put("Purpose","Edit");
hp.put("oppoid",oppoid);
pageContext.setForceForwardURL("OA.jsp?page=/crm/oracle/apps/xxcrm/crmmgmt/quotationmgmt/webui/xxcrmquotationcreationPG",
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null, hp, false, null,
OAWebBeanConstants.IGNORE_MESSAGES);
/*if user will click on delete yes button*/ after delete i want to call search page but it is going to search page internally it is coming to creation page and blank record is created.*/
if (pageContext.getParameter("DeleteYes") != null)
String s1 = pageContext.getParameter("d1");
am.xxDeleteQuotation(s1);
pageContext.setForceForwardURL("OA.jsp?page=/crm/oracle/apps/xxcrm/crmmgmt/quotationmgmt/webui/xxcrmquotationsearchPG",
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null, null, true, null,
OAWebBeanConstants.IGNORE_MESSAGES);
I hope u understand my question
Regards
Sreekanth

Hi Gaurav,
Already i am using what u saying that way.
That way also,am getting the error
My Co Code is,
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
xxcrmItemMgmtAMImpl am = (xxcrmItemMgmtAMImpl)pageContext.getApplicationModule(webBean);
String valid = pageContext.getParameter("Dialog");
System.out.println("the value of valid is"+valid);
if(valid!=null)
pageContext.setForwardURL("OA.jsp?page=/crm/oracle/apps/xxcrm/crmmgmt/quotationmgmt/webui/xxcrmItemsAddPG",
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,null,false,OAWebBeanConstants.ADD_BREAD_CRUMB_NO,
OAWebBeanConstants.IGNORE_MESSAGES);
String itemid=pageContext.getParameter("itemid");
pageContext.putSessionValue("itemid",itemid);
System.out.println("the item id in additem viewco is"+itemid);
am.xxeditAddItem(itemid);
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
xxcrmItemMgmtAMImpl am = (xxcrmItemMgmtAMImpl)pageContext.getApplicationModule(webBean);
if("Delete".equals(pageContext.getParameter(EVENT_PARAM))) {
String itemid=pageContext.getSessionValue("itemid").toString();
OAException msg=new OAException("PO","XX_DELETE_SUPPSITE_CONFIRM");
OADialogPage dpage=new OADialogPage(OAException.WARNING,
msg,null,"","");
System.out.println("this is delete block1");
dpage.setOkButtonToPost(true);
dpage.setOkButtonLabel("Yes");
dpage.setOkButtonItemName("DeleteYes");
dpage.setPostToCallingPage(true);
dpage.setNoButtonToPost(true);
Hashtable ht=new Hashtable();
ht.put("d1",itemid);
dpage.setFormParameters(ht);
pageContext.redirectToDialogPage(dpage);
System.out.println("this is delete block2");
if(pageContext.getParameter("DeleteYes")!=null) {
String itemid=pageContext.getParameter("d1");
Serializable[] d1={itemid};
am.invokeMethod("xxDeleteItem",d1);
HashMap hm=new HashMap();
hm.put("Dialog","Yes");
String test=hm.get("Dialog").toString();
System.out.println("the dialog page value is"+test);
pageContext.forwardImmediatelyToCurrentPage(hm,false,null);
}

Similar Messages

  • Getting Problem after Deleting a record from Record Store

    I am trying to create a simple application for mobile device. This application storing some records. I used RMS for this. These records i show in a list. But i tried to show list of records after deleting any record then list shows only prior records of deleted records n then shows exception as
    Recordsjavax.microedition.rms.InvalidRecordIDException
    The code i written as follows
    For storing data
    public void storeExercise(String EName, String Etime)
    try
    //System.out.println("AAAA");
    recordstore = RecordStore.openRecordStore("Test3",true);
    catch (Exception error)
    //System.out.println("EEEE");
    System.out.println("Exception"+error);
    try
    byte[] outputRecord;
    ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
    DataOutputStream outputdataStream = new DataOutputStream(outputStream);
    outputdataStream.writeUTF(EName);
    outputdataStream.writeUTF(Etime);
    outputdataStream.flush();
    outputRecord = outputStream.toByteArray();
    recordstore.addRecord(outputRecord, 0, outputRecord.length);
    outputStream.reset();
    outputStream.close();
    outputdataStream.close();
    zlist.append(EName+Etime, null);
    display.setCurrent(zlist);
    catch (Exception error)
    System.out.println("Exception in writing Records"+error);
    for getting records
    public void getExercise(ZimList zlist)
    this.zlist = zlist;
    try
    //System.out.println("AAAA");
    recordstore = RecordStore.openRecordStore("Test3",true);
    //recordstore.closeRecordStore();
    catch (Exception error)
    //System.out.println("EEEE");
    System.out.println("Exception"+error);
    try
    //System.out.println("Hello");
    String Ename = null;
    String Etime = null;
    byte[] byteInputData = new byte[100];
    ByteArrayInputStream inputStream = new ByteArrayInputStream(byteInputData);
    DataInputStream inputDataStream = new DataInputStream(inputStream);
    for (int x=1; x<= recordstore.getNumRecords() ; x++ )
    System.out.println("Record Id ="+x);
    //if (x != InvalidRecordID)
    recordstore.getRecord(x, byteInputData, 0);
    Ename = inputDataStream.readUTF();
    Etime = inputDataStream.readUTF();
    inputStream.reset();
    Final = Ename + Etime;
    System.out.println("Insert" + Final);
    zlist.insert(x-1,Final,null);
    inputStream.close();
    inputDataStream.close();
    //recordstore.closeRecordStore();
    catch (Exception error)
    System.out.println("Exception in Reading Records"+error);
    /*if (recordstore.listRecordStores() != null)
    try
    recordstore.deleteRecordStore("My Record Store");
    catch (Exception error)
    System.out.println("Exception"+error);
    And for deleting records I write
    public void deleteExercise(int index)
    try
    //System.out.println("AAAA");
    recordstore = RecordStore.openRecordStore("Test3",true);
    //recordstore.closeRecordStore();
    catch (Exception error)
    //System.out.println("EEEE");
    System.out.println("Exception"+error);
    if (recordstore.listRecordStores() != null)
    try
    byte[] byteInputData = new byte[100];
    ByteArrayInputStream inputStream = new ByteArrayInputStream(byteInputData);
    DataInputStream inputDataStream = new DataInputStream(inputStream);
    for (int x=1; x<= recordstore.getNumRecords() ; x++ )
    recordstore.getRecord(x, byteInputData, 0);
    if (x == index)
    recordstore.deleteRecord(index);
    //x--;
    inputStream.reset();
    break;
    inputStream.close();
    inputDataStream.close();
    catch (Exception error)
    System.out.println("Exception in Deleting Records"+error);
    Please Help me bcz i am new in j2me development n having no experience

    Ok ...
    When you add records in you store, the J2ME implementation create an ID.
    In the database, there is a list like that with ID <--> ]byte[ ]
    You can get back a record with a this ID.
    When you delete a record, it deletes the row. Lets say you have stored 3 records and that the ID are 1, 2, 3 ... if you delete the second one, then you have still in the database IDs 1 and 3.
    That's why you have this exception : you are iterating with an ID 1, 2, 3, 4, 5 ... if one is delete there is no reorganization. (If you add an other record, it could be stored with ID 2).
    To read all the records, you should get a list of existing IDs. Take a look at the API. Here is a piece of code, that you work but I have not tested :
    RecordStore rs;
    RecordEnumeration re = rs.enumerateRecords(null, null, false);
    while (re.hasNextElement()) {
      String str = new String(re.nextRecord());
      System.out.println("Record: " + str);         
    } Hope it will help you.
    Regards

  • New and Delete missing on the Users page

    Somehow the New and the Delete button in the "Users" page have disappeared, even for users in the "administrators" and "user administrators" set, but we did not realize this until we restarted the machine recently. A lot
    of things have changed in the mean time. Any suggestions on what I should be checking? Note that we did not knowingly implement any policies to hide these buttons. Any insight/suggestions to make these buttons to appear will be highly appreciated.
    Regards,
    John

    Got it solved. The configuration migration tool deleted the original "User Administrators" set and recreated a new one, which had a new GUID. Since the users page looks for the GUID of the original User "User Administrators" set to determine
    who can see the New/Delete buttons and who cannot, it did not recognize the newly created "User Administrators" and hence hid those buttons. So I went to the FIM Service database and replaced the GUID of the newly created set with the old GUID (I
    would not go to the details here though as this involves updating GUIDs inside the DB which MSFT usually do not recommends).

  • How to overlay the Dialog.js(libs/cq/ui/widgets/source/widgets/Dialog.js)

    Hello Team,
    My scenario is to store the vanity url in lower case. once user entered /content/mycompany/us/en/MCDonalds I would store it as /content/mycompany/us/en/mcdonalds, Next time on request of /content/mycompany/us/en/Mcdonalds, I would convert the incoming vanity to lower case and check with the entries in the cq5 and then accordingly either throw the message in the vtypes that vanity url already exist or allow the vanity url to go thru. I have acheived that with the following pseduo code Approach1. But I am not sure how to overlay the  Dialog.js(libs/cq/ui/widgets/source/widgets/Dialog.js).
    Approach1:
    Changing the code in the Dialog.js(libs/cq/ui/widgets/source/widgets/Dialog.js)
         * Submits the dialog.
         * @param {CQ.Ext.Button} button The button that has been hit
         * @param {Function} success The function to call if the dialog submission was successful.
         *                           Overwrites {@link #success}.
         * @param {Function} failure The function to call if the dialog submission has failed.
         *                           Overwrites {@link #failure}.
        ok: function(button, success, failure) {
    if (this.form.isValid()) {
    //get the form values
    //convert the sling:vanityPath to lowercase
    //set the form values
    Now My question is how to overlay the (libs/cq/ui/widgets/source/widgets/Dialog.js). I tried putting the Dialog.js stored as MyDialog.js in my page component clientlib and changed the registration of the dialog to CQ.Ext.reg("customDialog", CQ.Dialog1) and given the xtype of the above dialog as customDialog. (Here already I overlayed the dialog containing all the tabs i,e basic,advanced. livecopy etc and tab_basic panel of the vanity url code from libs to do the validation with vtypes).
    The problem is I am able to see the empty dialog but not the tabs displayed, when I use the xtype as customDialog.
    Any suggestions/pointers to solve this problem would be appreciable.
    Best Regards,
    Durga

    Thanks Roland,
      To give you more information. We discovered the source of the multiple instantiations of tabs from the page properties. We have a listener on the dialog.xml for our pages that listens for loadcontent events. In the course of its logic, the javascript for this listener will invoke dialog.loadContent(path) itself. Thus the double calls. Strictly speaking, we could look at ways to avoid the use of the loadContent call. But we also feel that there is something going on with regards to siteCatalyst and double-loading. This might be something you'll want to incorporate in your efforts to reproduce this. For posterity, here's a sample listener definition in our dialog.xml
    <listeners
            jcr:primaryType="nt:unstructured"
            loadcontent="function(dialog, records, opts, success) {CQ.Acme.populateShortURL(dialog, records, opts, success);}"/>
    Hope this helps!

  • Can not delete my emails. The same emails keep coming back instantly

    I can not delete email messages. The same messages keep coming back instantly.

    What seems to have worked for other users in the past.
    Delete, then reinstall the email account
    Then sync the iPad.
    No one knows why, but it often fixes the problem.

  • Many of the apps in my newstand won't let me get past the "connect to iTunes" notification.  When i touch "OK" the same notice keeps coming back.  What do i do.

    many of the apps in my newstand won't let me get past the "connect to iTunes" notification.  When i touch "OK" the same notice keeps coming back.  What do i do.

    Settings>Store>Your Apple ID - tap the ID and then sign out.
    I only have one app in the Newsstand folder - the Sports Illustrated app. I have never gotten this message about connecting to iTunes so I'm not sure what that is all about. I would quit the Newsstand app and the other apps and the restart the iPad and see of that helps.
    Go to the home screen first by tapping the home button. Double tap the home button and the task bar will appear with all of your recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Tap the home button or anywhere above the task bar. Restart the iPad.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    If that doesnt work, reset the iPad. Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.

  • Internet  explorer was installed and I can not seem to remove it. The internet browser keeps coming back up. How do I remove it in totality?

    On my IMac, Microsoft's Internet Exlorer 5.2 for Mac was installed and I can not seem to uninstall it. The explorer browser keeps coming back up. How do
    I removed the program in its totality? Any one?

    Have a read here http://macosx.com/forums/mac-os-x-system-mac-software/32102-uninstall-internet-e xplorer.html
    Stefan

  • I want to delete the last 2 sheets in a Pages document.  I select them in the thumbnails. But I can't delete them.  The 1st pages, the ones I want to keep, are the ones that are deleted.  What do I do?

    I want to delete the last 2 sheets in a Pages document.  I select them in the thumbnails, but can't delete them.
    When I choose delete, the 1st five pages are deleted.
    What do I do?

    "2) The last page, p 6,  is not in a Section.  When I delete p 6 ....pages 2 - 6 are deleted.
    Only page 1 remains."
    Every page in a Pages word processing document is "in a section". It may be the only page in its section, or it may be in the same section as several other pages. From the behaviour you are describing, I'd suspect your document has two sections: section 1 contains only Page 1, section 2 contains pages 2 to 6.
    When you click on the Page 6 icon in the sidebar to the left of the page, you'll see a yellow border around all or part of that page icon.
    If the yellow border contains only page 6, then Page 6 is in a section by itself, and pressing delete will delete only page 6.
    If the yellow border contains page 6 AND any other pages, then all of the pages within that yellow border are in the same section, and pressing delete (while the icons are selected) will delete all of the pages in that section.
    To delete only page 6 (the last page in the document) you need to either:
    Delete any text content (including invisible characters, and preferably including any other objects) on that page, following the suggestions by Peter above,
    OR
    Click immediately after the last text character on Page 5, then go Insert > Section Break to place Page 6 into a section of its own. Then click on the Page 6 icon in the sidebar, check that the yellow border encloses only page 6, and press delete.
    Regards,
    Barry
    PS: It's pretty easy to add extra pages to a document without seeing the invisible characters that cause the page to appear. Not as easy as it was in Appleworks, fortunately where the personal record for one of my Grade 5 students was a 3 page document with over 1000 extra blank pages sent to a printer. AppleWorks read the enter key as a column break (which acts like a page break on a single column document). On a keyboard with a number pad, enter is in a very convenient location to rest a book (or an arm) while thinking about your writing (or chatting with your neighbor).

  • HT4972 after downloading ios 6 the settings page has frozen?

    I now have a grey box on the settings page and cannot do anything on that page?

    Have you tried restarting or resetting your iPad?
    Restart: Press On/Off button until the Slide to Power Off slider appears, select Slide to Power Off and, after the iPad shuts down, then press the On/Off button until the Apple logo appears.
    Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10 seconds). Ignore the "Slide to power off".
    If this doesn't work you may have a corrupt iOS installation and you will have to restore the software

  • How to delete a junk mail that keeps coming back after deleting it from the junk box?

    I have a junk mail from February that I really want to delete but it keeps coming back after deleting it several times. It comes back in the junk mail as 'read'.
    How should I remove it?
    Thanks for your help in advance!

    If the email provider is Google, try going to the gmail web portal, (log on from a computer or your iPad using safari), and manually delete the contents of your junk and trash.
    I did this today, and the reappearing junk has not (as of yet) reappeared.  Knocking on wood.

  • Recall the servlet after it had generated the "response"  page

    Hi Everybody !
    I have a big problem and i am front it since i am programming in servlet/jsp .
    The basic scheme in the tutorial is form.jsp => call and processing by the servlet => response.jsp .
    That i want to do is : simple form.jsp=> call and processing by the servlet (with method 1) => response1.jsp (which is a more complete form) => call and processing by the servlet (with method 2 which it is unlike method 1) => response2.jsp (final page).
    But i don't know how to do it : you don't understand with i want to make it ? so there is a simple example: a user want to know what he have eaten at a day:
    1)my first simple form.jsp: ask to the user his name and a date
    2)the response 1 and page 2 is return: it's a more complex and complete form (this page is well generate in my project )
    with this date and the name of the user, i question my database : "what this user have eaten at this date "?
    For example : at this date, he ate : chips at the aperitif and apple for dessert .
    The user must to complete the page 2 with more information (which have to be insert in the database):
    ex:
    had he ate this apple : in the kitchen, in the park, at his work ...?? (drop-down menu)
    had he ate this apple : baked, uncured ...?? (another drop-down menu)
    To resume: i want it's to recall the servlet with another button (with a name different in the servlet) to a specific method.
    in the first and simple form there is a button ONE that call the method1 of the servlet
    the servlet generate the page 2 (more complex and intermediate page)
    in this page 2 more information is asked to the user and there is a button TWO that call the method2 of the same servlet
    the final page (3) is generated by the servlet.
    So i success in the generation of the page 2 but when i click on the button TWO the controler (urlAction) send me null !!
    the call to the servlet is not done !
    some code:
    the servlet :
    public class ServletFichePrlvLEGactual extends HttpServlet{
         private String urlErreurs = null;
         private ArrayList erreursInitialisation = new ArrayList<String>();
         private String[] param�tres = {"urlFormulaire", "urlControleur","urlReponse","urlErreurs","urlReponseBis"};
         private Map params = new HashMap<String, String>();
         private ResultSet resultSetIDPrelevement;
    //     init
         @SuppressWarnings("unchecked")
         public void init() throws ServletException {
              // on r�cup�re les param�tres d'initialisation de la servlet
              ServletConfig config = getServletConfig();
              // on traite les autres param�tres d'initialisation
              String valeur = null;
              for (int i = 0; i < param�tres.length; i++) {
                   // valeur du param�tre
                   valeur = config.getInitParameter(param�tres);
                   // param�tre pr�sent ?
                   if (valeur == null) {
                        // on note l'erreur
                        erreursInitialisation.add("Le param�tre [" + param�tres[i] + "] n'a pas �t� initialis�");
                   } else {
                        // on m�morise la valeur du param�tre
                        params.put(param�tres[i], valeur);
                   // l'url de la vue [erreurs] a un traitement particulier
                   urlErreurs = config.getInitParameter("urlErreurs");
                   if (urlErreurs == null) {
                        throw new ServletException(
                        "Le param�tre [urlErreurs] n'a pas �t� initialis�");
         @SuppressWarnings("unchecked")
         public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              // on v�rifie comment s'est pass�e l'initialisation de la servlet
              if (erreursInitialisation.size() != 0) {
                   // on passe la main � la page d'erreurs
                   request.setAttribute("erreurs", erreursInitialisation);
                   getServletContext().getRequestDispatcher(urlErreurs).forward(
                             request, response);
                   // fin
                   return;
              // on r�cup�re la m�thode d'envoi de la requ�te
              String m�thode = request.getMethod().toLowerCase();
              // on r�cup�re l'action � ex�cuter
              String action = request.getParameter("action");
              // action ?
              if (action == null) {
                   action = "init";
              // ex�cution action
              if (m�thode.equals("get") && action.equals("init")) {
                   // d�marrage application
                   doInit(request, response);
                   return;
              if (m�thode.equals("post") && action.equals("valider")) {
                   try {
                        doInterrogationFormulaire(request, response);
                   } catch (SQLException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   } catch (Exception e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   return;
              if (m�thode.equals("post") && action.equals("testAffichage")) {
                   // validation du formulaire de saisie
                   try {
                        dotestAffichage(request, response);
                   } catch (SQLException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   } catch (Exception e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   return;
              // autres cas
              doInit(request, response);
         void doInit(HttpServletRequest request, HttpServletResponse response) throws ServletException,
         IOException {
    //          on r�cup�re la session de l'utilisateur
              HttpSession session = request.getSession(true);
              // on envoie le formulaire vide
              session.setAttribute("nomCentre", "");
              session.setAttribute("NEtude", "");
              request.setAttribute("urlAction", (String) params.get("urlControleur"));
              getServletContext().getRequestDispatcher((String) params.get("urlFormulaire")).forward(
                        request, response);
              return;
         void doInterrogationFormulaire(HttpServletRequest request,HttpServletResponse response)
         throws ServletException, IOException, SQLException, Exception {
    //          on r�cup�re les param�tres
              String nomCentre = (String) request.getParameter("nomCentre");
              String NEtude = (String) request.getParameter("NEtude");
              //puis on le stocke dans la session
              HttpSession session = request.getSession(true);
              session.setAttribute("nomCentre", nomCentre);
              session.setAttribute("NEtude", NEtude);
              Connexion com = new Connexion();
              try{
                   String query="SELECT idEtabl FROM Etablissement WHERE NomEtabl='"+nomCentre+"'";
                   ResultSet idCentre = com.ConnectAndQuestion(query);
                   idCentre.first();
                   String resulstatId=idCentre.getString("idEtabl");
                   String queryidPrelevement="SELECT idPrelevement FROM Etabl_Prlvmt where NEtude='"+NEtude+"' AND idEtabl='"+resulstatId+"'";
                   resultSetIDPrelevement=com.ConnectAndQuestion(queryidPrelevement);
                   if(resultSetIDPrelevement.next()!=false){
                        resultSetIDPrelevement.beforeFirst();
                        request.setAttribute("resultSetIDPrelevement", resultSetIDPrelevement);
                        getServletContext().getRequestDispatcher((String) params.get("urlReponse")).forward(
                                  request, response);
                        com.close();
                        return;
                   else {     
                        getServletContext().getRequestDispatcher((String) params.get("urlFormulaire")).forward(
                                  request, response);
                        com.close();
                        return;
              catch(Exception ex) {
                   System.err.println("\n*** SQLException caught in main()");
                   getServletContext().getRequestDispatcher((String) params.get("urlFormulaire")).forward(
                             request, response);
                   return;          
         void dotestAffichage(HttpServletRequest request,HttpServletResponse response)
         throws ServletException, IOException, SQLException, Exception {
    //          on r�cup�re les param�tres d'int�ret
              ResultSet resultSetIDPrelevement = (ResultSet) request.getAttribute("resultSetIDPrelevement");
              Connexion updatePrlvmt= new Connexion();
              try{     
                   //serveur,login,pwd,database
                   updatePrlvmt.loadDriverAndConnect("127.0.0.1","3306","root","root","");
                   int k=1;
                   while (resultSetIDPrelevement.next()){
                        String idPrelevement = resultSetIDPrelevement.getString("idPrelevement");               
                        if (request.getParameter("choix"+k) !="Vl"){                         
                             String champModalite=(String) request.getParameter("modalite"+k);
                             String champExutoire=(String) request.getParameter("exutoire"+k);
                             String queryUpdate="UPDATE PrelevLEG SET Modalite='"+champModalite +
                             "',Exutoire='"+champExutoire +
                             "',Temp='null',TempMax='null',Heure='null' WHERE idPrelevement='"+idPrelevement +
                             updatePrlvmt.execute(queryUpdate);
                             k++;
                        if (request.getParameter("choix"+k) !="Ef"){
                             String queryUpdate="DELETE FROM PrelevLEG where idPrelevement='"+idPrelevement +"'";
                             updatePrlvmt.execute(queryUpdate);
                             k++;
                   updatePrlvmt.close();
              }catch(Exception ex) {
                   System.err.println("\n*** SQLException caught in main()");     
              request.setAttribute("urlAction", (String) params.get("urlControleur"));
              getServletContext().getRequestDispatcher((String) params.get("urlReponseBis")).forward(request,
                        response);
              return;
         public void doPost(HttpServletRequest request, HttpServletResponse response)
         throws IOException, ServletException {
              // on passe la main au GET
              doGet(request, response);
    the web.xml:<servlet>
         <servlet-name>FichePrlvLEGactual</servlet-name>
    <servlet-class>germande.LEG.ServletFichePrlvLEGactual</servlet-class>
         <init-param>
    <param-name>urlFormulaire</param-name>
    <param-value>/WEB-INF/JSP/LEG/Prlvmnt/formInterrogationActualPrlvmtLEG.jsp</param-value>
    </init-param>
    <init-param>
    <param-name>urlErreurs</param-name>
    <param-value>/erreursRecap.biotech.jsp</param-value>
    </init-param>
         <init-param>
    <param-name>urlReponse</param-name>
    <param-value>/WEB-INF/JSP/LEG/Prlvmnt/formFichePrlvLEGactual.jsp</param-value>
    </init-param>
         <init-param>
    <param-name>urlReponseBis</param-name>
    <param-value>/WEB-INF/JSP/LEG/Prlvmnt/respFichePrlvLEGactual.jsp</param-value>
    </init-param>
         <init-param>
    <param-name>urlControleur</param-name>
    <param-value>ServletFichePrlvLEGactual</param-value>
    </init-param>     
    </servlet>
    the first simple form:<%@page language="java" contentType="text/html" pageEncoding="UTF-8"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%
    // on r�cup�re les param�tres
    String nomCentre = (String) session.getAttribute("nomCentre");
    String NEtude = (String)session.getAttribute("NEtude");
    String urlAction=(String)request.getAttribute("urlAction");
    %>
    <html>
    <head>
    <title>Fiche R&eacute;sultats Legionelles - formulaire</title>
    </head>
    <body>
    <center>
    <h2>Fiche R&eacute;sultats Legionelles - formulaire</h2>
    <hr>
    <form action="<%= urlAction %>" method="post">
    <table>
         <tr>
         <td>Nom du centre hospitalier: </td>
         <td><input name="nomCentre" value="<%=nomCentre%>" type="text" size="20"></td>
    </tr>
                   <tr>
                        <td>Code interne : </td>
                        <td><input name="NEtude" value="<%=NEtude%>" type="text" size="20"></td>
                   </tr>
              </table>
    <table>
    <tr>
         <td><input type="submit" name="action" value="valider"></td>
         <td><input type="reset" value="R&eacute;tablir"></td>
    </tr>
    </table>
    </form>
    </center>
    </body>
    </html>
    the page two:<%
    ResultSet resultSetIDPrelevement = (ResultSet) request.getAttribute("resultSetIDPrelevement");
    String nomCentre = (String) session.getAttribute("nomCentre");
    String NEtude = (String)session.getAttribute("NEtude");
    String urlAction=(String)request.getAttribute("urlAction");
    %>
    <% String[] listModalite= {"1erjet-HorsActivit&eacute;","1erjet-EnActivit&eacute;",
    "2iemejet-D&eacute;sinfection","2iemejet-Flambage","Ecoulement"};
    String [] CorrespModal={"1erjet-HorsActivite","1erjet-EnsActivite",
    "2iemejet-Desinfection","2iemejet-Flambage","Ecoulement"};
    String[] listExutoire={"Mitigeur","M&eacute;langeur","Robinet","Douchette",
    "Douche","Temporis&eacute;","Vanne"};
    String [] CorrespExu={"Mi","Me","Ro","Dt","Do","Tp","Va"};
    %>
    <html>
    <head>
    <title>Fiche pr&eacute;l&egrave;vement: Actualisation - formulaire</title>
    </head>
    <body>      
    <center>
    <form action="<%= urlAction %>" method="post">
         <img src="logoBiotech.jpg" align="left" alt="logo Biotech-Germande" width="5%"></img>
    <h2>Fiche pr&eacute;l&egrave;vement: Actualisation - formulaire</h2>
    <br>
    </center>
         <br><br>
    <table>
         <tr>
         <td>Nom du centre hospitalier: </td>
    <td><input name="nomCentre" value="<%=nomCentre %>" type="text" size="20"></td>
    </tr>
              <tr>
                   <td>Code interne : </td>
                   <td><input name="NEtude" value="<%= NEtude %> " type="text" size="20"></td>
              </tr>
         </table>
         <!-- TABLE CONCERNANT LES PRELEVEMENTS -->
    <table>
         <%
         int m=1;
    while (resultSetIDPrelevement.next()){
              String idPrelevement = resultSetIDPrelevement.getString("idPrelevement");
         String modalite="modalite"+m;
    String exutoire="exutoire"+m;
    String choix="choix"+m;
    %>                
              <tr>
                   <td><input name="idPrelevement" value="<%= idPrelevement %>" type="text" size="25"></td>
                   <td><input type="radio" name="<%=choix %>" value="Vl">Valider
                        <input type="radio" name="<%=choix %>" value="Ef">Effacer
                   </td>
                   <td><SELECT name="modalite" >     
              <% for (int i=0;i<listModalite.length;i++){ %>
                        <OPTION value="<%= CorrespModal[i] %>" ><%= listModalite[i] %></OPTION>
                   <% } %>                                                                                
                   </SELECT></td>
                   <td><SELECT name="exutoire" >     
                   <% for (int i=0;i<listExutoire.length;i++){ %>
                        <OPTION value="<%= CorrespExu[i] %>" ><%= listExutoire[i] %></OPTION>
                   <% } %>                                                                           
                   </SELECT></td>          
              </tr>
         <% m++;
         } %>          
    </table>
    <table>
         <tr>
         <td><input type="submit" name="action" value="testAffichage"></td>
         <td><input type="reset" value="R&eacute;tablir"></td>
    </tr>
         </table>
    </form>
    </body>
    </html>
    I really hope that i am enough clear !! Please , i really need help : why can't i recall the servlet ?? with this /null in my url ? why the urlAction in the page 2 (more complex ..) send null ?
    thanks in advance !                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

    Hi Everybody !
    I have a big problem and i am front it since i am programming in servlet/jsp .
    The basic scheme in the tutorial is form.jsp => call and processing by the servlet => response.jsp .
    That i want to do is : simple form.jsp=> call and processing by the servlet (with method 1) => response1.jsp (which is a more complete form) => call and processing by the servlet (with method 2 which it is unlike method 1) => response2.jsp (final page).
    But i don't know how to do it : you don't understand with i want to make it ? so there is a simple example: a user want to know what he have eaten at a day:
    1)my first simple form.jsp: ask to the user his name and a date
    2)the response 1 and page 2 is return: it's a more complex and complete form (this page is well generate in my project )
    with this date and the name of the user, i question my database : "what this user have eaten at this date "?
    For example : at this date, he ate : chips at the aperitif and apple for dessert .
    The user must to complete the page 2 with more information (which have to be insert in the database):
    ex:
    had he ate this apple : in the kitchen, in the park, at his work ...?? (drop-down menu)
    had he ate this apple : baked, uncured ...?? (another drop-down menu)
    To resume: i want it's to recall the servlet with another button (with a name different in the servlet) to a specific method.
    in the first and simple form there is a button ONE that call the method1 of the servlet
    the servlet generate the page 2 (more complex and intermediate page)
    in this page 2 more information is asked to the user and there is a button TWO that call the method2 of the same servlet
    the final page (3) is generated by the servlet.
    So i success in the generation of the page 2 but when i click on the button TWO the controler (urlAction) send me null !!
    the call to the servlet is not done !
    some code:
    the servlet :
    public class ServletFichePrlvLEGactual extends HttpServlet{
         private String urlErreurs = null;
         private ArrayList erreursInitialisation = new ArrayList<String>();
         private String[] param�tres = {"urlFormulaire", "urlControleur","urlReponse","urlErreurs","urlReponseBis"};
         private Map params = new HashMap<String, String>();
         private ResultSet resultSetIDPrelevement;
    //     init
         @SuppressWarnings("unchecked")
         public void init() throws ServletException {
              // on r�cup�re les param�tres d'initialisation de la servlet
              ServletConfig config = getServletConfig();
              // on traite les autres param�tres d'initialisation
              String valeur = null;
              for (int i = 0; i < param�tres.length; i++) {
                   // valeur du param�tre
                   valeur = config.getInitParameter(param�tres);
                   // param�tre pr�sent ?
                   if (valeur == null) {
                        // on note l'erreur
                        erreursInitialisation.add("Le param�tre [" + param�tres[i] + "] n'a pas �t� initialis�");
                   } else {
                        // on m�morise la valeur du param�tre
                        params.put(param�tres[i], valeur);
                   // l'url de la vue [erreurs] a un traitement particulier
                   urlErreurs = config.getInitParameter("urlErreurs");
                   if (urlErreurs == null) {
                        throw new ServletException(
                        "Le param�tre [urlErreurs] n'a pas �t� initialis�");
         @SuppressWarnings("unchecked")
         public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              // on v�rifie comment s'est pass�e l'initialisation de la servlet
              if (erreursInitialisation.size() != 0) {
                   // on passe la main � la page d'erreurs
                   request.setAttribute("erreurs", erreursInitialisation);
                   getServletContext().getRequestDispatcher(urlErreurs).forward(
                             request, response);
                   // fin
                   return;
              // on r�cup�re la m�thode d'envoi de la requ�te
              String m�thode = request.getMethod().toLowerCase();
              // on r�cup�re l'action � ex�cuter
              String action = request.getParameter("action");
              // action ?
              if (action == null) {
                   action = "init";
              // ex�cution action
              if (m�thode.equals("get") && action.equals("init")) {
                   // d�marrage application
                   doInit(request, response);
                   return;
              if (m�thode.equals("post") && action.equals("valider")) {
                   try {
                        doInterrogationFormulaire(request, response);
                   } catch (SQLException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   } catch (Exception e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   return;
              if (m�thode.equals("post") && action.equals("testAffichage")) {
                   // validation du formulaire de saisie
                   try {
                        dotestAffichage(request, response);
                   } catch (SQLException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   } catch (Exception e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   return;
              // autres cas
              doInit(request, response);
         void doInit(HttpServletRequest request, HttpServletResponse response) throws ServletException,
         IOException {
    //          on r�cup�re la session de l'utilisateur
              HttpSession session = request.getSession(true);
              // on envoie le formulaire vide
              session.setAttribute("nomCentre", "");
              session.setAttribute("NEtude", "");
              request.setAttribute("urlAction", (String) params.get("urlControleur"));
              getServletContext().getRequestDispatcher((String) params.get("urlFormulaire")).forward(
                        request, response);
              return;
         void doInterrogationFormulaire(HttpServletRequest request,HttpServletResponse response)
         throws ServletException, IOException, SQLException, Exception {
    //          on r�cup�re les param�tres
              String nomCentre = (String) request.getParameter("nomCentre");
              String NEtude = (String) request.getParameter("NEtude");
              //puis on le stocke dans la session
              HttpSession session = request.getSession(true);
              session.setAttribute("nomCentre", nomCentre);
              session.setAttribute("NEtude", NEtude);
              Connexion com = new Connexion();
              try{
                   String query="SELECT idEtabl FROM Etablissement WHERE NomEtabl='"+nomCentre+"'";
                   ResultSet idCentre = com.ConnectAndQuestion(query);
                   idCentre.first();
                   String resulstatId=idCentre.getString("idEtabl");
                   String queryidPrelevement="SELECT idPrelevement FROM Etabl_Prlvmt where NEtude='"+NEtude+"' AND idEtabl='"+resulstatId+"'";
                   resultSetIDPrelevement=com.ConnectAndQuestion(queryidPrelevement);
                   if(resultSetIDPrelevement.next()!=false){
                        resultSetIDPrelevement.beforeFirst();
                        request.setAttribute("resultSetIDPrelevement", resultSetIDPrelevement);
                        getServletContext().getRequestDispatcher((String) params.get("urlReponse")).forward(
                                  request, response);
                        com.close();
                        return;
                   else {     
                        getServletContext().getRequestDispatcher((String) params.get("urlFormulaire")).forward(
                                  request, response);
                        com.close();
                        return;
              catch(Exception ex) {
                   System.err.println("\n*** SQLException caught in main()");
                   getServletContext().getRequestDispatcher((String) params.get("urlFormulaire")).forward(
                             request, response);
                   return;          
         void dotestAffichage(HttpServletRequest request,HttpServletResponse response)
         throws ServletException, IOException, SQLException, Exception {
    //          on r�cup�re les param�tres d'int�ret
              ResultSet resultSetIDPrelevement = (ResultSet) request.getAttribute("resultSetIDPrelevement");
              Connexion updatePrlvmt= new Connexion();
              try{     
                   //serveur,login,pwd,database
                   updatePrlvmt.loadDriverAndConnect("127.0.0.1","3306","root","root","");
                   int k=1;
                   while (resultSetIDPrelevement.next()){
                        String idPrelevement = resultSetIDPrelevement.getString("idPrelevement");               
                        if (request.getParameter("choix"+k) !="Vl"){                         
                             String champModalite=(String) request.getParameter("modalite"+k);
                             String champExutoire=(String) request.getParameter("exutoire"+k);
                             String queryUpdate="UPDATE PrelevLEG SET Modalite='"+champModalite +
                             "',Exutoire='"+champExutoire +
                             "',Temp='null',TempMax='null',Heure='null' WHERE idPrelevement='"+idPrelevement +
                             updatePrlvmt.execute(queryUpdate);
                             k++;
                        if (request.getParameter("choix"+k) !="Ef"){
                             String queryUpdate="DELETE FROM PrelevLEG where idPrelevement='"+idPrelevement +"'";
                             updatePrlvmt.execute(queryUpdate);
                             k++;
                   updatePrlvmt.close();
              }catch(Exception ex) {
                   System.err.println("\n*** SQLException caught in main()");     
              request.setAttribute("urlAction", (String) params.get("urlControleur"));
              getServletContext().getRequestDispatcher((String) params.get("urlReponseBis")).forward(request,
                        response);
              return;
         public void doPost(HttpServletRequest request, HttpServletResponse response)
         throws IOException, ServletException {
              // on passe la main au GET
              doGet(request, response);
    the web.xml:<servlet>
         <servlet-name>FichePrlvLEGactual</servlet-name>
    <servlet-class>germande.LEG.ServletFichePrlvLEGactual</servlet-class>
         <init-param>
    <param-name>urlFormulaire</param-name>
    <param-value>/WEB-INF/JSP/LEG/Prlvmnt/formInterrogationActualPrlvmtLEG.jsp</param-value>
    </init-param>
    <init-param>
    <param-name>urlErreurs</param-name>
    <param-value>/erreursRecap.biotech.jsp</param-value>
    </init-param>
         <init-param>
    <param-name>urlReponse</param-name>
    <param-value>/WEB-INF/JSP/LEG/Prlvmnt/formFichePrlvLEGactual.jsp</param-value>
    </init-param>
         <init-param>
    <param-name>urlReponseBis</param-name>
    <param-value>/WEB-INF/JSP/LEG/Prlvmnt/respFichePrlvLEGactual.jsp</param-value>
    </init-param>
         <init-param>
    <param-name>urlControleur</param-name>
    <param-value>ServletFichePrlvLEGactual</param-value>
    </init-param>     
    </servlet>
    the first simple form:<%@page language="java" contentType="text/html" pageEncoding="UTF-8"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%
    // on r�cup�re les param�tres
    String nomCentre = (String) session.getAttribute("nomCentre");
    String NEtude = (String)session.getAttribute("NEtude");
    String urlAction=(String)request.getAttribute("urlAction");
    %>
    <html>
    <head>
    <title>Fiche R&eacute;sultats Legionelles - formulaire</title>
    </head>
    <body>
    <center>
    <h2>Fiche R&eacute;sultats Legionelles - formulaire</h2>
    <hr>
    <form action="<%= urlAction %>" method="post">
    <table>
         <tr>
         <td>Nom du centre hospitalier: </td>
         <td><input name="nomCentre" value="<%=nomCentre%>" type="text" size="20"></td>
    </tr>
                   <tr>
                        <td>Code interne : </td>
                        <td><input name="NEtude" value="<%=NEtude%>" type="text" size="20"></td>
                   </tr>
              </table>
    <table>
    <tr>
         <td><input type="submit" name="action" value="valider"></td>
         <td><input type="reset" value="R&eacute;tablir"></td>
    </tr>
    </table>
    </form>
    </center>
    </body>
    </html>
    the page two:<%
    ResultSet resultSetIDPrelevement = (ResultSet) request.getAttribute("resultSetIDPrelevement");
    String nomCentre = (String) session.getAttribute("nomCentre");
    String NEtude = (String)session.getAttribute("NEtude");
    String urlAction=(String)request.getAttribute("urlAction");
    %>
    <% String[] listModalite= {"1erjet-HorsActivit&eacute;","1erjet-EnActivit&eacute;",
    "2iemejet-D&eacute;sinfection","2iemejet-Flambage","Ecoulement"};
    String [] CorrespModal={"1erjet-HorsActivite","1erjet-EnsActivite",
    "2iemejet-Desinfection","2iemejet-Flambage","Ecoulement"};
    String[] listExutoire={"Mitigeur","M&eacute;langeur","Robinet","Douchette",
    "Douche","Temporis&eacute;","Vanne"};
    String [] CorrespExu={"Mi","Me","Ro","Dt","Do","Tp","Va"};
    %>
    <html>
    <head>
    <title>Fiche pr&eacute;l&egrave;vement: Actualisation - formulaire</title>
    </head>
    <body>      
    <center>
    <form action="<%= urlAction %>" method="post">
         <img src="logoBiotech.jpg" align="left" alt="logo Biotech-Germande" width="5%"></img>
    <h2>Fiche pr&eacute;l&egrave;vement: Actualisation - formulaire</h2>
    <br>
    </center>
         <br><br>
    <table>
         <tr>
         <td>Nom du centre hospitalier: </td>
    <td><input name="nomCentre" value="<%=nomCentre %>" type="text" size="20"></td>
    </tr>
              <tr>
                   <td>Code interne : </td>
                   <td><input name="NEtude" value="<%= NEtude %> " type="text" size="20"></td>
              </tr>
         </table>
         <!-- TABLE CONCERNANT LES PRELEVEMENTS -->
    <table>
         <%
         int m=1;
    while (resultSetIDPrelevement.next()){
              String idPrelevement = resultSetIDPrelevement.getString("idPrelevement");
         String modalite="modalite"+m;
    String exutoire="exutoire"+m;
    String choix="choix"+m;
    %>                
              <tr>
                   <td><input name="idPrelevement" value="<%= idPrelevement %>" type="text" size="25"></td>
                   <td><input type="radio" name="<%=choix %>" value="Vl">Valider
                        <input type="radio" name="<%=choix %>" value="Ef">Effacer
                   </td>
                   <td><SELECT name="modalite" >     
              <% for (int i=0;i<listModalite.length;i++){ %>
                        <OPTION value="<%= CorrespModal[i] %>" ><%= listModalite[i] %></OPTION>
                   <% } %>                                                                                
                   </SELECT></td>
                   <td><SELECT name="exutoire" >     
                   <% for (int i=0;i<listExutoire.length;i++){ %>
                        <OPTION value="<%= CorrespExu[i] %>" ><%= listExutoire[i] %></OPTION>
                   <% } %>                                                                           
                   </SELECT></td>          
              </tr>
         <% m++;
         } %>          
    </table>
    <table>
         <tr>
         <td><input type="submit" name="action" value="testAffichage"></td>
         <td><input type="reset" value="R&eacute;tablir"></td>
    </tr>
         </table>
    </form>
    </body>
    </html>
    I really hope that i am enough clear !! Please , i really need help : why can't i recall the servlet ?? with this /null in my url ? why the urlAction in the page 2 (more complex ..) send null ?
    thanks in advance !                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

  • Java Iview runtime after patch SPS11 for the logon page

    Hi Everybody,
    I have a big problem. I have upgrade my portal from SPS06 to SPS11 with JSPM and now when i try to open the logon page of the portal, i have this message :
    Java iView Runtime
    Version : 7.00.200702010738
    + Copyright 2002 SAP AG. All rights reserved.
    An exception occured while processing your request.
    com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in connection
    com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in connection
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:304)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
         at com.sap.portal.navigation.Gateway.service(Gateway.java:126)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sapportals.portal.prt.runtime.PortalRuntimeException: PortalRuntimeException
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:284)
         ... 24 more
    Caused by: java.lang.AbstractMethodError: com.sapportals.portal.prt.service.laf.LAFService.getRelativeThemePartURL(Lcom/sapportals/portal/prt/component/IPortalComponentRequest;Ljava/lang/String;)Ljava/lang/String;
         at com.sapportals.portal.htmlb.HTMLBService.onHeadTagBegin(HTMLBService.java:145)
         at com.sapportals.portal.htmlb.HTMLBService.doDocumentHook(HTMLBService.java:133)
         at com.sapportals.portal.prt.service.document.DocumentHookMulticaster.doDocumentHook(DocumentHookMulticaster.java:111)
         at com.sapportals.portal.prt.service.document.DocumentHookMulticaster.doDocumentHook(DocumentHookMulticaster.java:111)
         at com.sapportals.portal.prt.service.document.DocumentHookService.doDocumentHook(DocumentHookService.java:133)
         at com.sapportals.portal.prt.service.document.DocumentHookServiceNew.doDocumentHook(DocumentHookServiceNew.java:289)
         at com.sapportals.portal.prt.connection.PortalHook.doDocumentHook(PortalHook.java:824)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:795)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         ... 24 more
    If this situation persists, please contact your system administrator.
    Somebody could help me please?

    Hi,
    I think the problem is with memory configurations.
    please refer note : 723909 and change the respective configurations in config tool.
    Then save  and restart your system .it will work.
    Do reward points if useful.
    Regards,
    Srujana.

  • After afewSecond,whenPress saveButton"the web page cannot be displaed"shown

    hello
    we have an application with many pages in it
    in only one page of this application, when user press save button , it seems the background session expired
    and "the web page cannot be display" message appears,
    our server is weblogic 11g and application deployed with netbeans 6.0 JSF 1.2 wisual web
    what can i do ?
    is there any suggestion
    thank you very much
    Edited by: 981520 on Jan 13, 2013 12:28 AM

    Shive...good one..!!
    One thing that you can do if you don't wanna have PPR, is to validate date column in fire action event in CO in process form request, and raise an error if you don't find appropriate format or null , as per your requirement.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • After I exit Foxfire, the last page I viewed is in the startup window

    so how can I change this setting. I don't know how it got changed. When I start a session, I would like the last session sites I visited to be closed and just the google page on the screen
    Thanks

    Hi Rennee,
    Use Tools -> Options -> [General] ->startup
    Then choose "Show my homepage"
    Next you may need need to enter a suitable homepage (or pages which display in tabs)
    In my case if I wanted a google page I may then use as a homepage:
    "http://en-GB.start3.mozilla.com/firefox?client=firefox-a&rls=org.mozilla:en-GB:official"
    See [[Options window - General panel]]
    I hope that solves your problem,
    John

  • My storage on my iCloud is almost full, and I turned off some apps that I don't want to be backed up. So if I press the button delete back up, is it going to delete all of the apps that I'm backing up, or just the ones that I turned off?

    I keep on getting E-mails that notifies me that my storage is almost full. I don't want to press that button until my question has been answered.

    It will delete the entire backup, so you'll have to back up again after doing this.  The new backup will only contain the apps (and other data) that you have selected and omit the ones you turned off.

Maybe you are looking for

  • Excise Details are not maintanied for Vendor 0000000957.

    Hi,   As per our regular process  we are capturing inovie with J1IEX  and doing GR in MB01   now i have captured  invoice in J1IEX  and while making GR with MIGO i am getting error Excise Details are not maintanied for Vendor 0000000957. ,  but when

  • How do I delete my iCloud account if my Apple ID has changed and I forgot the password for my previous Apple ID?

    The email address used for my previous Apple ID was no longer valid, so I successfully changed my Apple ID via apple.com using my Mac. However, I'm still signed into iCloud on my iPhone with my previous Apple ID, and I've forgotten that password.

  • How to set NC Log API

    Hi all, I want to use the following NC log API,but I don't know how to initialize the interface's java object and set the parameter "ApplicationVO". Interface LogNCApplicationInterface Method ApplicationVO addNDone(ApplicationVO applicationvo) Please

  • BPC NW Journal Posting Issue

    Dear Experts, I have created Journal Entry Template with header Information Category,Group Time. I have entered one Journal Entry and saved it. While Posting the same, I am getting the error as follows Failed Reason:      Write-back failed      Write

  • My facebook app stopped working

    So I deleted it, tried to download it but would only partially install on my iPhone. I then updated the software on my iTunes and iPhone  and now all apps won't update or upload on my iPhone.  The apps that I had previously on my phone are still ther