• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HttpServletRequest parameter vs attributes ?

 
Aby Shaikh
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch!

But... after the request is made, the request is gone. There would be nothing to remove the attributes from.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64618
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Performance will not be affected by these minute actions. Worry about performance when and if it becomes an issue.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic