%@ page import="org.crosswire.xml.XMLRepo" %> <%@ page import="org.crosswire.community.data.User" %> <%@ page import="java.text.SimpleDateFormat" %> <% { SimpleDateFormat df = new SimpleDateFormat("dd-MMM-yyyy"); String sid=request.getParameter("sid"); XMLRepo repo = XMLRepo.instance(pageContext); String mp="profedit_"; String mi="profedit"+((sid==null)?"":sid)+"_"; User profedit_user = (User)session.getAttribute("user"); if (profedit_user == null) return; if (sid != null) { profedit_user = (User)repo.get(new User(profedit_user.getID(), sid)); } %> <% String bdate = profedit_user.getBirthdate()==null?"":df.format(profedit_user.getBirthdate()); %>