0

I have Servlet URL like GetServlet?clientTimeZone=GMT+00:00 but while getting parameter in doPOst Method like

String ctz=request.getParameter( "clientTimeZone" );

I am getting only GMT 00:00 i,e plus sign omitted. But I need that timezone along with plus sign.

Thanks

ashok_p
  • 741
  • 3
  • 8
  • 17
user2902067
  • 75
  • 1
  • 2
  • 8

1 Answers1

0

You can replace "+" with "%2B" while passing it in the URL.

Ninad Pingale
  • 6,801
  • 5
  • 32
  • 55