Methods Summary |
---|
public int | doStartTag()Method for processing the start of the tag.
MessageInfo messageinfo = new MessageInfo();
try {
Folder f = (Folder)pageContext.getAttribute(
getFolder(), PageContext.SESSION_SCOPE);
Message message = f.getMessage(num);
messageinfo.setMessage(message);
pageContext.setAttribute(getId(), messageinfo);
} catch (Exception ex) {
throw new JspException(ex.getMessage());
}
return SKIP_BODY;
|
public java.lang.String | getFolder()folder attribute setter method.
return folder;
|
public java.lang.String | getNum()num attribute getter method.
return Integer.toString(num);
|
public java.lang.String | getSession()session attribute getter method.
return session;
|
public void | setFolder(java.lang.String folder)folder setter method.
this.folder = folder;
|
public void | setNum(java.lang.String num)num attribute setter method.
this.num = Integer.parseInt(num);
|
public void | setSession(java.lang.String session)session attribute setter method.
this.session = session;
|