User enters following value in above input: http://www.example.."/> User enters following value in above input: http://www.example.."/> User enters following value in above input: http://www.example."/>
خرید بک لینک

Vote count: 0

I have very simple input on HTML on JSP:

<input type="text" name="url" value="" />

User enters following value in above input: http://www.example.com/param1=a&param2=b

On servlet side, when I do request.getParameter("url") I am getting following : http://www.example.com/param1=a&param2=b

How can I get original URL without & from request.getParameter ?

asked 2 mins ago

برچسب: نویسنده: استخدام کار تاريخ: جمعه 27 فروردين 1395 ساعت: 2:59

صفحه بندی