About Question enthuware.jwpv6.2.947 :

Moderator: admin

Post Reply
himaiMinh
Posts: 358
Joined: Fri Nov 29, 2013 8:26 pm
Contact:

About Question enthuware.jwpv6.2.947 :

Post by himaiMinh »

The correct given answer is :
<jsp:include page="/WEB-INF/jsp/userdetail.jsp">
<jsp:param name="userType" value="PRIORITY"/>
</jsp:include>
But the userType is always set to PRIORITY.

I think the value should be ${param.userType}

admin
Site Admin
Posts: 10043
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.jwpv6.2.947 :

Post by admin »

Yes, the value will always be set as PRIORITY but that is ok because the calling page can set any userType (even a hardcoded value) while passing the request to userdetail.jsp. It is the userdetail.jsp which will use ${param.userType} in its code to retrieve the value set by the caller jsp.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests