/**
* Retrieves a stored resize option from the HTTP session and makes it
* available to the .jsp. This version is used when the viewer is
* displayed on an application main tab
* @return
*/
public int jspGetRezieOption()
{
HttpServletRequest thisRequest = _wcs.getRequest();
HttpSession session = thisRequest.getSession();
Object o = session.getAttribute( ATTRIB_RESIZE );
if( o == null || !(o instanceof String) )
{
return 0;
}
String option = (String)o;
if( option.length() == 0 )
{
return 0;
}
return Integer.parseInt( option );
}
BIMViewer.java 文件源码
java
阅读 31
收藏 0
点赞 0
评论 0
项目:MaximoForgeViewerPlugin
作者:
评论列表
文章目录