pajarokillo
Programmer
hi, in which class in the struts's framework is the best place for to do a session control?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
package yourPackage
public YourRequestProcessor extends o
rg.apache.struts.action.RequestProcessor {
public boolean processPreprocess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) {
super.processPreprocess(request, response);
// session control logic here....
}
}
<controller processorClass="yourPackage.YourRequestProcessor" contentType="text/html"/>;