maih fhil

Greenhorn
+ Follow
since Nov 05, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by maih fhil

Thanks for the reply
But it is given in the HFSJ that this line is executed properly even though it is inside the quotes
Will the EL inside the following line be evaluated
<a href='mailto:${initParam['master-email']}'>
context parameter and attribute are two different things
The former stores just the name/value String pairs whereas the latter stores name and Object pairs
Is it guaranteed that all the listener methods will be executed completely before after the event has occurred and before any other method is executed
for eg.
Suppose an attribute is added to a session, then the method in the HttpSessionAttributeListener will be called. Now I want to ask will this method in HttpSessionAttributeListener will be completely executed before the attribute is used anywhere.
Is it true that when an EL expression is used as a value of the attribute in a tag, then it is treated as an Object/primitive but when not inside the tag, it is treated as a String and if it is not a String, it is converted to a String
Does it mean we can assume that changes to included JSP will always be reflected
It is written under this topic in the book that we can customise the Header.jspf included through the jsp:include but not with include directive
But I think if we set the request parameter in the main jsp before using the include directive, we can customise the header as now also the Header.jspf will have access to the request parameter.
Am i correct?
In case of <jsp:include page="Header.jsp"/>, if I make some change in Header.jsp after deploying the web-app and starting the server, will the changes be reflected without redeploying
What I have in mind is that since after the Header.jsp has been included the first time, the Servlet corresponding to the Header.jsp will be already be loaded, so making changes to Header.jsp shouldn't have any effect unless Container is providing this feature by itself
can any body please help
Is it guaranteed that all the listener methods will be executed completely before after the event has occurred and before any other method is executed
for eg.
Suppose an attribute is added to a session, then the method in the HttpSessionAttributeListener will be called. Now I want to ask will this method in HttpSessionAttributeListener will be completely executed before the attribute is used anywhere.
thanks a lot
I was quite confused over this
You mean to say cookie a Map with keys as name of the cookie and the value as the cookie object
In that case consider the folllowing code:

web.xml

[and


How come now we can get the value for mainEmail without using .value
Thanks John for the reply
why do we have to use .value like ${cookie.userName.value} ?
why can't we use just ${cookie.userName}?
whats the difference?
In this question, the scope is Page scope, so in case 1 & 3, we won't be able to fetch the person attribute. So how come case 3 works fine (Class type is not given in the standard action)