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: 10384
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.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests