score:0

You could reconstruct a URL through using queryString and path from the request object. Then redirect that back (without the delete parameter) How to get query string parameters in java play framework?

Or if you have the call setup in the routes file to parse out, use the reverse route minus the delete parameter. Play Framework - Redirect with params http://www.mariussoutier.com/blog/2012/12/10/playframework-routes-part-1-basics/

  def index() = Action { request =>
    import play.api.Play.current
    println(request.queryString)
    val allWithoutDel = request.queryString - "del"   //del is the query parameter
    println(allWithoutDel)
    val url = request.path + // fold or map the allWithoutDel down to a URL string again
    redirect(url)
    }

Related Query

More Query from same tag