I am working on web project of J2ee. When I am running my project i get this link Link:- blog1_1/title?uname=55 But I want to change the url to make it look neater.
I'm tring to make it look like - Link:- blog1_1/title55
have tried to change with form POST action but this is not working
Here's the code -
<form id="myform<%=uid1%>" method="POST" action="title?<%=uid1%> >
<% out.println(uid1); %>
<input type="hidden" name="uname" value="<%=uid1%>" />
<a onclick="document.getElementById('myform<%=uid1%>').submit();
return false;"></a>
</form>
but when I am running this code, all i get is
this link :-blog1_1/title?55
can you please tell me how should I remove the "?" parameters from the url .
I need to get rid of '?'
Aucun commentaire:
Enregistrer un commentaire