Forums Register Login

HttpServletRequest parameter vs attributes ?

+Pie Number of slices to send: Send
Hi All,

We have a ERP system in place, I am writing a framework to integrate this ERP with Ajax, my question is the flow in the existing system happens by passing the data in parameter from html form, but I had to take all this parameters from HttpServletRequest and set it in as request attributes, so will take affect in performance ? I think after done with the processing I should remove all the attributes ?

Also I had to forward all the incoming request to my custom servlet which in turn will send response to ajax client, will this degrade performance ?


Thanks
+Pie Number of slices to send: Send
Welcome to JavaRanch!

But... after the request is made, the request is gone. There would be nothing to remove the attributes from.
+Pie Number of slices to send: Send
Performance will not be affected by these minute actions. Worry about performance when and if it becomes an issue.
get schwifty. tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 2858 times.
Similar Threads
Using Struts 2.0.11 Action as Ajax backend
GenPact Interview-Urgent
AJAX
ServletRequest or HttpServletRequest ?
How does Axis2 interact vs Tomcat?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 15:40:51.