The Java and Alfresco World

Sunday, February 26, 2012

Sample StrutsPrepareAndExecuteFilter - struts2 framework

›
package org.apache.struts2.dispatcher.ng.filter; import java.io.IOException; import javax.servlet.*; import javax.servlet.http.HttpSer...

Sample error page.jsp for struts2 app

›
<%@ page contentType="text/html; charset=UTF-8" %> <%@ taglib prefix="s" uri="/struts-tags"%> ...

JSP WITH SESSION TIMEOUT LISTENER

›
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <%@ t...

JAVASCRIPT UTILITY FUNCTIONS WITH SAMPLE JQUERY AJAX

›
/*  * Function is used to call ajaxRequest  */ function ajaxRequest(actionName,dataUrl, callBack,options){ var optionsLocal = {...

Session and Context listener for web application

›
package com.listener; import javax.servlet.ServletContextEvent; import javax.servlet.ServletContextListener; import javax.servlet.http...

Global exception class for struts2 app

›
package com.exception; import com.opensymphony.xwork2.ActionContext; import com.opensymphony.xwork2.util.ValueStack; import com.proper...

Struts file upload example..

›
package com.action; import java.io.File; import org.apache.commons.io.FileUtils; import org.apache.struts2.ServletActionContext; im...

Struts custom controller example..

›
package com.customController; import java.io.IOException; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; impor...
‹
›
Home
View web version

About Me

My photo
Abhinav Kumar Mishra
A tech freak, Architect and Consultant. I am specialized in Alfresco Content Services, Java/J2EE, Webservices, Microservices, AWS, Azure, Docker and MarkLogic. This blog is a place for me to share knowledge and solution of problems that I have come across during the research/development. Visit My LinkedIn Profile for more details.
View my complete profile
Powered by Blogger.