File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes 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 » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark ""tag:useObject"?" Watch ""tag:useObject"?" New topic
Author

"tag:useObject"?

Bob CHOI
Ranch Hand

Joined: Nov 10, 2006
Posts: 127
In jsp, we can use jsp:useBean to create a bean object.

Can we create other type of object with standard action or jstl than scripting e.g. <% request.setAttribute("name", new Object()) %>?

Probably we have to write our own custom tag "tag:useObject" for it, do we? :roll:


Hard work rewards
Bob CHOI
Ranch Hand

Joined: Nov 10, 2006
Posts: 127
just once more tiny try, i see: jsp:useBean actually does "tag:useObject" 2!!!
Bob CHOI
Ranch Hand

Joined: Nov 10, 2006
Posts: 127
We can use jsp:bean to create any type, which has non-parameterized constructor i assume. If such type without public setter, not so much pratical use can be foreseen since its object state is unable to be updated by standard action or jstl. Right?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: "tag:useObject"?
 
Similar Threads
Threads
abstract
can we create a class named Object?
garbage collection
We can use any class or interface name as an identifier