package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
import com.hr.vo.Employee;
public class outwork_jsp extends HttpJspBase {
private static java.util.Vector _jspx_includes;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_form_method_action;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_hidden_property_name;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_logic_iterate_property_name_id;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_text_property_name_indexed;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_hidden_property_name_indexed;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_select_property_name_indexed_indexed;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_optionsCollection_value_property_name_label;
public outwork_jsp() {
_jspx_tagPool_html_form_method_action = new org.apache.jasper.runtime.TagHandlerPool();
_jspx_tagPool_html_hidden_property_name = new org.apache.jasper.runtime.TagHandlerPool();
_jspx_tagPool_logic_iterate_property_name_id = new org.apache.jasper.runtime.TagHandlerPool();
_jspx_tagPool_html_text_property_name_indexed = new org.apache.jasper.runtime.TagHandlerPool();
_jspx_tagPool_html_hidden_property_name_indexed = new org.apache.jasper.runtime.TagHandlerPool();
_jspx_tagPool_html_select_property_name_indexed_indexed = new org.apache.jasper.runtime.TagHandlerPool();
_jspx_tagPool_html_optionsCollection_value_property_name_label = new org.apache.jasper.runtime.TagHandlerPool();
}
public java.util.List getIncludes() {
return _jspx_includes;
}
public void _jspDestroy() {
_jspx_tagPool_html_form_method_action.release();
_jspx_tagPool_html_hidden_property_name.release();
_jspx_tagPool_logic_iterate_property_name_id.release();
_jspx_tagPool_html_text_property_name_indexed.release();
_jspx_tagPool_html_hidden_property_name_indexed.release();
_jspx_tagPool_html_select_property_name_indexed_indexed.release();
_jspx_tagPool_html_optionsCollection_value_property_name_label.release();
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
JspFactory _jspxFactory = null;
javax.servlet.jsp.PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html; charset=GBK");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("<html>\r\n");
out.write("<head>\r\n ");
out.write("<link rel=\"STYLESHEET\" type=\"text/css\" href=\"css/shared.css\">\r\n");
out.write("<title>\r\nlistsalary\r\n");
out.write("</title>\r\n");
out.write("<script language=\"javascript\">\r\nvar selectedTr = null;\r\nfunction setTrColor(colorTr,color)\r\n{\r\n if(colorTr.tagName==\"TR\")\r\n {\r\n for(var i=0;i");
out.write("<colorTr.childNodes.length;i++)\r\n {\r\n colorTr.childNodes(i).style.backgroundColor = color;\r\n colorTr.childNodes(i).children(0).style.backgroundColor = color;\r\n }\r\n }\r\n}\r\nfunction addoutwork()\r\n{\r\n document.outWorkActionForm.operation.value = \"add\";\r\n document.outWorkActionForm.submit();\r\n}\r\nfunction deleteoutwork()\r\n{\r\n\r\n if(selectedTr!=null)\r\n { alert(selectedTr.childNodes(0).children(1).value);\r\n\tif(selectedTr.childNodes(0).children(1).value!=0&&selectedTr.childNodes(0).children(1).value!=null)\r\n {\r\n\t\tdocument.outWorkActionForm.deleteUID.value = selectedTr.childNodes(0).children(1).value;\r\n\t\tdocument.outWorkActionForm.operation.value=\"delete\";\r\n\t\toutworkRows.removeChild(selectedTr);\r\n \t\tselectedTr = null;\r\n \t\tdocument.outWorkActionForm.submit();\r\n }else\r\n\t{\r\n\t\toutworkRows.removeChild(selectedTr);\r\n\t\tselectedTr = null;\r\n\t}\r\n }\r\n}\r\nfunction saveoutwork()\r\n{\r\n\r\n \tdocument.outWorkActionForm.operation.value = \"save\";\r\n\tdocument.outWorkActionForm.submit();\r\n}\r\nfunction onClickedCell()\r\n");
out.write("{\r\n var clickedcell = event.srcElement;\r\n if(selectedTr!=null)\r\n{\r\n setTrColor(selectedTr,\"#FFFFFF\");\r\n}\r\n while(clickedcell.tagName!=\"TR\")\r\n {\r\n clickedcell = clickedcell.parentElement;\r\n }\r\n selectedTr = clickedcell;\r\n setTrColor(selectedTr,\"#FFDDFF\");\r\n}\r\n");
out.write("</script>\r\n");
out.write("</head>\r\n");
out.write("<body bgcolor=\"#ffffff\" >\r\n");
out.write("<h3 align=\"center\">\r\n员工出差信息\r\n");
out.write("</h3>\r\n");
out.write("<br>\r\n");
out.write("<hr height=1 />\r\n");
/* ---- html:form ---- */
org.apache.struts.taglib.html.FormTag _jspx_th_html_form_0 = (org.apache.struts.taglib.html.FormTag) _jspx_tagPool_html_form_method_action.get(org.apache.struts.taglib.html.FormTag.class);
_jspx_th_html_form_0.setPageContext(pageContext);
_jspx_th_html_form_0.setParent(null);
_jspx_th_html_form_0.setMethod("post");
_jspx_th_html_form_0.setAction("outWorkAction.do");
int _jspx_eval_html_form_0 = _jspx_th_html_form_0.doStartTag();
if (_jspx_eval_html_form_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\r\n");
if (_jspx_meth_html_hidden_0(_jspx_th_html_form_0, pageContext))
return;
out.write("\r\n");
if (_jspx_meth_html_hidden_1(_jspx_th_html_form_0, pageContext))
return;
out.write("\r\n");
out.write("<table width=\"100%\">\r\n");
out.write("<tr>\r\n");
out.write("<td class=\"tdframe\">\r\n");
out.write("<table class=\"table1\" width=\"100%\">\r\n");
out.write("<thead class=\"tdsectionbar\">\r\n");
out.write("<td align=\"center\" class=\"tdsectionbar\" >出差开始");
out.write("</td>\r\n");
out.write("<td align=\"center\" class=\"tdsectionbar\" >出差结束");
out.write("</td>\r\n");
out.write("<td align=\"center\" class=\"tdsectionbar\" >出差天数");
out.write("</td>\r\n");
out.write("<td align=\"center\" class=\"tdsectionbar\" >员工");
out.write("</td>\r\n");
out.write("<td align=\"center\" class=\"tdsectionbar\" >差旅费(元)");
out.write("</td>\r\n");
out.write("<td align=\"center\" class=\"tdsectionbar\" >住宿费(元)");
out.write("</td>\r\n");
out.write("<td align=\"center\" class=\"tdsectionbar\" >从公司借(元)");
out.write("</td>\r\n");
out.write("<td align=\"center\" class=\"tdsectionbar\" >归还公司(元)");
out.write("</td>\r\n");
out.write("<td align=\"center\" class=\"tdsectionbar\" >备注");
out.write("</td>\r\n");
out.write("</thead>\r\n");
out.write("<tbody id=\"outworkRows\" onclick=\"onClickedCell()\">\r\n");
/* ---- logic:iterate ---- */
org.apache.struts.taglib.logic.IterateTag _jspx_th_logic_iterate_0 = (org.apa
没有合适的资源?快使用搜索试试~ 我知道了~
劳力管理系统适合JSP学习者
共293个文件
jar:64个
class:63个
java:58个
需积分: 10 4 下载量 144 浏览量
2008-12-23
12:12:31
上传
评论
收藏 12.93MB RAR 举报
温馨提示
JSP学习者实用资料,劳力管理系统适合JSP学习者
资源详情
资源评论
资源推荐
收起资源包目录
劳力管理系统适合JSP学习者 (293个子文件)
shared.css.bak 0B
admin_jsp.class 17KB
outwork_jsp.class 17KB
salary_jsp.class 16KB
employeemanage_jsp.class 15KB
baseinfo_jsp.class 11KB
dept_jsp.class 11KB
listoutwork_jsp.class 11KB
listsalary_jsp.class 11KB
BookBLogic.class 7KB
OutWorkLogic.class 7KB
SalaryLogic.class 6KB
employeeright_jsp.class 5KB
EmployeeLogic.class 5KB
ListLogic.class 5KB
HrLogic.class 5KB
BaseHbmDAO.class 5KB
HbmDAO.class 5KB
index_jsp.class 4KB
UserLogic.class 4KB
ReaderLogic.class 4KB
BookLogic.class 3KB
EmployeeActionForm.class 3KB
employee_jsp.class 3KB
manager_jsp.class 3KB
OutWork.class 3KB
BaseLogic.class 3KB
DeptLogic.class 3KB
SalaryStr.class 3KB
UserActionForm.class 3KB
LoginAction.class 3KB
SessionManager.class 2KB
UserAction.class 2KB
OutWorkActionForm.class 2KB
SalaryActionForm.class 2KB
EmployeeAction.class 2KB
Salary.class 2KB
OutWorkStr.class 2KB
ListOutworkAction.class 2KB
OutWorkAction.class 2KB
ListSalaryAction.class 2KB
SalaryAction.class 2KB
BaseActionForm.class 2KB
DeptActionForm.class 2KB
LoginLogic.class 2KB
BaseAction.class 2KB
DeptAction.class 2KB
Employee.class 2KB
EmployeeStr.class 2KB
ListSalaryActionForm.class 2KB
ListOutworkActionForm.class 2KB
User.class 1KB
ListOutWorkLogic.class 1KB
LoginActionForm.class 1KB
TimeUtil.class 1KB
BaseInfo.class 1KB
Dept.class 958B
DAOException.class 903B
EmployeePair.class 860B
UserType.class 833B
EmployeeType.class 821B
DeptPair.class 800B
FillDataUtil.class 750B
Test.class 539B
shared.css 582B
struts-config_1_1.dtd 35KB
web-app_2_3.dtd 33KB
struts-config_1_0.dtd 18KB
web-app_2_2.dtd 16KB
tiles-config_1_1.dtd 12KB
validator-rules_1_1.dtd 11KB
validation_1_1.dtd 10KB
tiles-config.dtd 2KB
snow.gif 6KB
managerleft.html 1KB
employeeleft.html 820B
employeetop.html 167B
managertop.html 163B
xalan.jar 974KB
xalan.jar 974KB
xerces.jar 875KB
xerces.jar 875KB
hibernate2.jar 742KB
hibernate2.jar 742KB
ant.jar 721KB
ant.jar 721KB
optional.jar 656KB
optional.jar 656KB
struts.jar 486KB
struts.jar 486KB
dom4j.jar 475KB
dom4j.jar 475KB
proxool.jar 321KB
proxool.jar 321KB
jcs.jar 287KB
jcs.jar 287KB
c3p0.jar 230KB
c3p0.jar 230KB
commons-collections.jar 161KB
commons-collections.jar 161KB
共 293 条
- 1
- 2
- 3
xxc78
- 粉丝: 92
- 资源: 27
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0