Hi I have a JSP Page where I am trying to add a phone number for an employee.  I am 
taking care of my SQL in a Java Bean.  From a JSP page when I submit my html form (to 
add new phone number)  it adds two phone numbers.  To understand the problem better, I 
added system outs in my JSP and in my JavaBean files.  And it looks like my JSP is 
calling the method in Java Bean two times.... ?
I cannot think of why this will happen.  Any help will be appreciated.



Details of the issue:
addPhone.jsp has an html form for adding information and button to submit the form 
using http post method the information goes to addPhoneRoute.jsp after doing some 
checking this jsp page calls the Bean to run the sql statement.  after a successful 
add the addPhoneRoute page displays a javaScript alert and sends the user back to 
previous page.

After adding the system outs, It looks like the whole addPhoneRoute page is being 
executed twice.

Regards
Hassan

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to