hello,
I am learning jsp as I go.
Now I have the beans getting the data I want and displaying it properly in the dos window...
Username is: test3
incidentName is: Hurricane Ivan
functionName is: Volunteer Organizations
Can anyone show me how I can display this info on the jsp page?
Thanks,
Ngai
==========================================================
<%@ include file="/taglibs.jsp"%>
<%@ page import="com.EBU.cms.util.SessionUtil,
com.EBU.cms.bean.UserBean" %>
<%
UserBean UB= (UserBean)session.getAttribute("UserBean");
String username=UB.getUserName();
String incidentName=UB.getIncidentName();
String functionName = UB.getFunctionName();
System.out.println("Username is: " + username);
System.out.println("incidentName is: " + incidentName);
System.out.println("functionName is: " + functionName);
%>
I am learning jsp as I go.
Now I have the beans getting the data I want and displaying it properly in the dos window...
Username is: test3
incidentName is: Hurricane Ivan
functionName is: Volunteer Organizations
Can anyone show me how I can display this info on the jsp page?
Thanks,
Ngai
==========================================================
<%@ include file="/taglibs.jsp"%>
<%@ page import="com.EBU.cms.util.SessionUtil,
com.EBU.cms.bean.UserBean" %>
<%
UserBean UB= (UserBean)session.getAttribute("UserBean");
String username=UB.getUserName();
String incidentName=UB.getIncidentName();
String functionName = UB.getFunctionName();
System.out.println("Username is: " + username);
System.out.println("incidentName is: " + incidentName);
System.out.println("functionName is: " + functionName);
%>