aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes hi guys.. few doubts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "hi guys.. few doubts" Watch "hi guys.. few doubts" New topic
Author

hi guys.. few doubts

vasu dev
Greenhorn

Joined: Sep 21, 2003
Posts: 3
1. what is the name of the tag library descriptor element that declares that the value of a tag attribute may be specified at runtime?
2. in custom tag handler, which tag method is used to access the tag handler object of the immediately enclosing custom tag?
3. what are the constants that describe the attributes of a jsp custom tag in a tag library descriptor?
4. what are the properties that can be accessed directly from an instance of javax.servlet.http.HttpSessionBindingEvent?
Faisal Khan
Ranch Hand

Joined: Jun 29, 2003
Posts: 285
Originally posted by vasu dev:
1. what is the name of the tag library descriptor element that declares that the value of a tag attribute may be specified at runtime?
2. in custom tag handler, which tag method is used to access the tag handler object of the immediately enclosing custom tag?
3. what are the constants that describe the attributes of a jsp custom tag in a tag library descriptor?
4. what are the properties that can be accessed directly from an instance of javax.servlet.http.HttpSessionBindingEvent?


1. It will be rtexprvalue set to true or yes, under the attribute tag:

2. getParent()


The secret to creativity is knowing how to hide your sources.
Vishwa Kumba
Ranch Hand

Joined: Aug 27, 2003
Posts: 1064
1. rtexprvalue
2. getParent()
3. There are many attributes for a tag. Which attribute?
<!ELEMENT attribute (name, required? , rtexprvalue?, type?, description?) >
a. name = string
b. required = true,false,yes,no
(default value=no)
c. rtexprvalue = true,false,yes,no
(default value=no)
d. type = java data type, by default it is java.lang.String.
(for static values).
e. descripton = string
Please refer the JSP specs or the taglibrary dtd.
Vishwa Kumba
Ranch Hand

Joined: Aug 27, 2003
Posts: 1064
Question. 4 :
I have copied/pasted the methods of HttpSessionBindingEvent from the Servlets API. Not sure, if it answers ur question.
a. getName()
Returns the name with which the attribute is bound to or unbound from the session.
b. HttpSession getSession()
Return the session that changed.
c. java.lang.Object getValue()
Returns the value of the attribute that has been added, removed or replaced.
 
wood burning stoves
 
subject: hi guys.. few doubts