系统有四类用户,要求不同的用户对各个web层的JSP页面有不同的访问权限。未登录用户不能访问任何JSP页,(登陆页除外),请问有什么好的解决方法?
那只有在控制层进行判断了,根据用户的类型对JSP进行相应的显示
建议考虑一下设置jaas 把这个工作交给容器
能否说详细一些,谢谢!
可以给每个角色赋上不同的权限, ......
<logic:iterate id="deviceElement" name="deviceList"> <tr>
<td height="20" bgcolor="#FFFFFF">
<div align="center">
<input type="checkbox" name="checkbox2&quo ......
请问我的jsp为什么不能跳转,谢谢
<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1- ......
有两个错误:
An error occurred at line: 9 in the generated java file
Only a type can be imported. org.apache.poi.hwpf.extractor.WordExtractor resolves to a package
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 133 in the jsp file: /office.js ......
如题
分折->设计->code->测试。
哈哈,搞定啊。
楼上所言精辟
恩!很好!
我最近无聊,闲的慌,正在干你说的事呢。
有才+很有才+非常有才+非常非常有才+超级有才=版主
......
我现在有jsp1、jsp2两个界面 jsp2中嵌套着jsp1 当我点击jsp2里面的保存按钮 想将jsp1中的一个用foreach循环的文本框里面的值传递到action中 应该怎么做呀? 是循环的文本框,有多个值的。 我用的框架是hibernate+spring+struts1
急求高手解答,在线求解。
CSS code:
用request.getParameterValues("in ......