CHECKMODULE.jsp 788 Bytes
Newer Older
Thitichaipun Wutthisak committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
<%@page contentType="text/html; charset=UTF-8"%>
<%@page import="com.csc.library.utilities.*"%>
<%@ page import="com.csc.library.session.*"  %>
<jsp:useBean id="checkmodule" class="com.csc.library.system.Task" scope="page"/>
<%
	checkmodule.setChannel(request,response);
	checkmodule.checkProfile();
	UProfile u=checkmodule.getUProfile();
	if(u==null) {
		return;
	}
	CheckNull chk = new CheckNull();
	String mdname = chk.chkNullString(request.getParameter("modulename"));
	String mdpath = chk.chkNullString(request.getParameter("modulepath"));
	String link = chk.chkNullString(request.getParameter("linkaction"));
	u.set("appname",mdname);
	u.set("modulepath",mdpath);
	System.out.println(mdname);
	System.out.println(mdpath);
	System.out.println(link);
	response.sendRedirect(link);
%>