Hi, In jsp the resultant values are display from the bean. <logic:iterate id="customer" name="custList"> <td> <bean:write name="customer" property="customerId" /></td> <td> <html:link action="editCustomer.do?do=editCustomer" paramName="customer" paramProperty="customerId" paramId="customerId"> <bean:write name="customer" property="customerName" /> </html:link> </td> </logic: iterate> In that resultant page the customerId and names are displayed.While cilcking the customername the customer details are edited. In that time in webbrowser url shows with Id. http://localhost:8080/CRM_WebApp/editCustomer.do?do=editCustomer&customerId=5 How can i set the variables invisible in url?
Thanks in Advance.
posted 8 years ago
change your request into a post request in which the parameters are not shown in the header but in the body of the request.
I understand that you're using Struts. You could put your link in a form element and define the form method as post.