where in another servlet dispatching to this jsp: ... integer i= new Integer(3); request.setAttribute("integer",i); String num="2"; request.setAttribute("num",num); ...
My question is what are the exact rules for evaluating object type expression in EL? Are they all toString'ed? In above e.x., 'integer' should be evaluated to Integer type while 'num' is evaluated to String type. I guess the 2 must be converted to some common type before being compared. But what are the exact rules for this? HFS does not explain this in detail. Where could I find more information?
Post by:Mat Williams
This is not an exact answer but I suggest that you download the jsp 2.0 specification form here and read Part I, Expression Langugage, particularly page 1-78. It will help you out in this regard.
This thread has been viewed 486 times.
All times above are in ranch (not your local) time.
The current ranch time is Dec 18, 2018 17:58:18.