Reputation: 129
In get request I have this Url
When It is post request the url changes to
https://system.sandbox.netsuite.com/app/site/hosting/scriptlet.nl
and parameters are lost. How can I keep the prameter post request.
By post request I mean else part of the below code
if (request.getMethod() == 'GET' )
{
createUI(); // Just create the UI
}else{
createUI(); // create UI and process the data in post request
}
Upvotes: 1
Views: 3285
Reputation: 2840
I believe you can still get the parameter values by using request.getParameter('locationid')
Upvotes: 1