HI,
i called a jsp instead of ftl in controller itself like.

<request-map uri="display">
                <security https="true" auth="false"/>
                <event type="service" invoke="display"/>
                <response name="success" type="view" value="display"/>
        </request-map>
        <view-map name="display" page="/upload/display.jsp"/>
in java method i wrote like

List<GenericValue> nameList = new ArrayList<GenericValue>();
                        EntityCondition 
condition1=EntityCondition.makeCondition("id",
EntityOperator.EQUALS,id);
        
                        nameList = delegator.findList("info", condition1, null, 
null, null,
false);
now i want this list(namelist) to access in jsp.i tried context like

context.put("firstname",firstname) but i am unable to access this firstname
value in jsp.

how to display this list valuee(ofcourse only one record will be there as
data is fetched based on the id)
i want to show that record values in jsp like

firstname<input type=&quot;text&quot; title=&quot;First name&quot; name
=&quot;firstname&quot; value=&quot;&lt;%=firstname%>" readonly="true"/>

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Dev-Jsp-in-widgets-tp167424p4634198.html
Sent from the OFBiz - Dev mailing list archive at Nabble.com.

Reply via email to