java.lang.Objectorg.objectweb.telosys.common.TelosysObject
org.objectweb.telosys.common.ResourceView
Local resource implementation of the View interface
To use the resource located at the given path as a standard "MVC view"
Constructor Summary | |
ResourceView(java.lang.String sPath)
Constructs a new "resource view" with the given target path |
Method Summary | |
void |
generate(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse)
Generates the response page (the ScreenMap or any other resource page) |
java.lang.String |
toString()
|
Methods inherited from class org.objectweb.telosys.common.TelosysObject |
error, error, error, getFlagTrace, info, setFlagTrace, trace, warn |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ResourceView(java.lang.String sPath)
sPath
- the path of the resource ( e.g. "/mydir/test/MyPage.jsp" )Method Detail |
public java.lang.String toString()
public void generate(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse) throws TelosysException
View
generate
in interface View
httpRequest
- httpResponse
-
TelosysException