Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Cattle Drive and the fly likes Incomplete javadoc for com.javaranch.common.ServletData Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "Incomplete javadoc for com.javaranch.common.ServletData" Watch "Incomplete javadoc for com.javaranch.common.ServletData" New topic
Author

Incomplete javadoc for com.javaranch.common.ServletData

Richard Broersma
Ranch Hand

Joined: Apr 28, 2009
Posts: 63

From the link discussing Servlets-2 under the section MVC2, in the class ServletData, I see the following method:

SetAttribute( java.lang.String, java.lang.String );

But when I examine the Javadoc for ServletData there is not mention of this method.

Any ideas?
Greg Charles
Sheriff

Joined: Oct 01, 2001
Posts: 2833
    
  11

Hmm, good point. The ServletData class contained in the jr.jar also linked under Servlets-2 contains two public methods:



which aren't in the JavaDocs. I'll see if we can get it updated. Thanks for catching that!
 
Consider Paul's rocket mass heater.
 
subject: Incomplete javadoc for com.javaranch.common.ServletData
 
Similar Threads
javax.servlet.ServletRequest.getRealPath is Deprecated.
How to remove spaces
strings and regular expressions.
Passing the JSON Array to the servlet
char[] security