我已经将RichFaces演示逐字放在了index.jsp页面中。由于演示没有提供任何支持此源代码的支持bean代码,因此我在panelMenu.java中创建了这些方法
public void updateCurrent(String n) {
logger.info("updateCurrent called with " + n);
setCurrent(n);
}
public String getCurrent() {
return current;
}
public void setCurrent(String c) {
curr
当我在Androäd上部署一个war on jetty应用程序时,我得到了这样的消息:
HTTP ERROR 500
Problem accessing /index.jsp.
Reason:
JSP support not configured
如何在Andro JSP上配置Jetty应用程序以接受JSP?
我在web -INF下的网页下添加了这个shir.ini:
[main]
# Objects and their properties are defined here,
# Such as the securityManager, Realms and anything
# else needed to build the SecurityManager
shiro.loginUrl = /index.jsp
[users]
root = 12345,admin
guest = 12345,guest
[roles]
admin = *
[urls]
/index.xhtml