Link to home
Start Free TrialLog in
Avatar of huzefaq
huzefaq

asked on

How to write jstl tag in java code

Hi guys

I have a JSP page where I include a jspf file
<%@ include file="../../include/JSTLEnvironmentSetup.jspf"%>

In the jspf file I set the storename tag like this
<c:set var="storeName" value="${sdb.storeEntityDescriptionDataBean.displayName}" scope="page" />

Now what I need to do is insert the storeName value in the following code from the jspf file which is inluded. I tried putting <c:out> tag but it doesn't work

reportingDb.setResourceBundle(storeNameValue+"SRSReporting");

Any help will be greatly appreciated

ASKER CERTIFIED SOLUTION
Avatar of colr__
colr__

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Manish
Manish
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial