File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes HttpServletRequest parameter vs attributes ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "HttpServletRequest parameter vs attributes ?" Watch "HttpServletRequest parameter vs attributes ?" New topic
Author

HttpServletRequest parameter vs attributes ?

Aby Shaikh
Greenhorn

Joined: Jul 29, 2010
Posts: 1
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

Joined: Sep 29, 2008
Posts: 12617

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

Joined: Jan 10, 2002
Posts: 60041
    
  65

Performance will not be affected by these minute actions. Worry about performance when and if it becomes an issue.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HttpServletRequest parameter vs attributes ?
 
Similar Threads
GenPact Interview-Urgent
ServletRequest or HttpServletRequest ?
AJAX
How does Axis2 interact vs Tomcat?
Using Struts 2.0.11 Action as Ajax backend