I get in my servlet as a request parameter a connection string to mysql database for example:
db=jdbc:mysql://localhost:3306/baza?user=root&password=pass1234
And it's a problem because method request.getParameter("db") return only part of the connection string to &. The rest is interpreted as a next param. I tried use request.getQueryString().substring(3) but it work's only for GET request. Any idea how can I resolve my problem?
I can't encode request!