![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
jsp
hubujun
毕业设计中...
展开
-
session检查用户是否登录
在检测页面写 LoginAction.java代码如下package com.sign_up.action;import javax.servlet.http.HttpServletRequest;import org.apache.struts2.interceptor.ServletRequestAware;import com.opensymphony.xwork2.ActionSupport;import com.sign_up.bean.Xuesheng;imp原创 2010-10-28 20:09:00 · 716 阅读 · 0 评论 -
控制textarea的行数列数
<br /><textarea rows="9" cols="45"></textarea>原创 2010-10-28 21:29:00 · 1415 阅读 · 0 评论 -
页面获取list
s标签c标签 ${status.index+1}原创 2010-10-28 21:41:00 · 223 阅读 · 0 评论 -
jsp参数传递
1.'listCompetition_one.action?id=&username='2.个人资料3.var uri = "ajaxDepartmentData.action?acaId=" + id;4.String hql = "from Student student where student.team.teamId in(select team.teamId from Team team,Competition competition where team.competition.comId=c原创 2010-10-28 22:00:00 · 160 阅读 · 0 评论 -
login代码
package com.sign_up.dao;import java.util.List;import org.springframework.orm.hibernate3.support.HibernateDaoSupport;import com.sign_up.bean.Xuesheng;public class StuManage extends HibernateDaoSupport{ @SuppressWarnings("unchecked") publ原创 2010-10-28 22:03:00 · 260 阅读 · 0 评论 -
富文本编辑器
<br />kindEditor<br /> <br />试用方法1. 把jar文件拷贝进去<br />2.把解压后的整个文件夹拷贝到webRoot下<br />3.添加一下代码<br /><scriptcharset="utf-8"src="/editor/kindeditor.js"></script><br /><script><br /> KE.show({<br /> id :'your_editor_id'<br /> });<br原创 2010-11-25 17:54:00 · 317 阅读 · 0 评论