If u have some other great idea please please let me know. Please do reply. Your quick reply will be heartily appreciated. vivek
[This message has been edited by Vivek Shrivastava (edited October 17, 2000).]
hi, u can achive this using by opening the remote window i mean to say window opener . By doing this u can pass the parameter u wish to a querystring to the seperate page(trough the window opener) in java script .
> can I create <href=�value�> portion dynamically We accomplish this by dynamically building the link parameters in the JSP necessary to get at the detail record and tack the parms onto the URL. For example the necesary parms could be the key value(s) to access a column in a database. e.g. <href="/SomeServlet?id=<%=object.getId()%>" would produce <href="/SomeServlet?id=23%>" The URL would point to a servlet. The servlet will get the parms from the HttpServletRequest object, make the database call and finally retrieve the object representing the detail record which you want to display. The servlet puts the display object back in the Request object via the setAttribute("detail", object ) and forwards to the JSP which will display the detail record. The detail JSP gets object from the request scope via <jsp:useBean name="detail" ... scope="request"/> and displays the data to the user. Hope this helps... BC
Joined: Jun 03, 2000
Thanks Butch. i am really appreciate this. it will really help me. vivek