Hi guys, Lets say an example: if following is my sample JSP page (say myMainPage.jsp).
MyMainPage.jsp <HTML> ... ... < form name="form1"> < input type="text' id="field1" > < input type="text' id="field2" > <input type="text" id="field3"> ... ... <input type= "button" id="RefreshForm" onclick="?" > ... ... </form name="form1"> ... ... </HTML> Now when user clicked on the button with id="RefreshForm", I want to fetch the data from database based on primary key which already is available on "field1" and refresh/update field2 & field3 on the current page . Notice that I don't want to load/transfer to another page. Just execute an SQL statement(or execute a servlet) and return the retrieved data to current page(myMainPage.jsp). How can I achieve this. Would appreciate to post sample, if any. Thanks __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
