hi,
sorry to dig up this topic, but i can’t find the best way to retreive in my jsp data coming from the back ground screen.
i found something, but i don’t know if it’s a good way.
in the java class associated with the jsp (gx_onInit() method) i put a link to “GXScreenBasedJspContext.getGXForm()” into request attribute.
getRequest().setAttribute(“GXForm”, getGXForm());
in the jsp i declare
<%!
public String gxField(GXScreenBasedJspContext gxForm, String field) {
String fieldValue=null;
try {
fieldValue=gxForm.getAppFieldContent(field);
} catch (com.sabratec.applinx.baseobject.GXGeneralException e) {
}
return (fieldValue==null)?“”:fieldValue;
}
%>
<% GXScreenBasedJspContext gx=(GXScreenBasedJspContext)request.getAttribute(“GXForm”); %>
then i do <%=gxField(gx,“EMAIL”)%> to have the email data which was previously identified in the background screen
Is there a problem when doing do
Is there a better way to do that ?
You spoke about methodology for old JSP framework… Which is the new methodology ?
thanks for your help
#ApplinX#Mainframe-Integration#webMethods