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
posted
0
just once more tiny try, i see: jsp:useBean actually does "tag:useObject" 2!!!
Bob CHOI
Ranch Hand
Joined: Nov 10, 2006
Posts: 127
posted
0
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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.