我已经将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?
我是HTML/JSP的新手,我正在尝试建立一个小型商店在线网站。我已经成功地连接到了MySQL数据库,在我的数据库中有一个表保存了关于我想要出售的东西的所有信息(图像、价格、描述等)。我创建了一个products.jsp,它将显示我出售的东西的所有图像,每个图像将重定向到一个jsp页面名stuff.jsp。如何为每个图像设置一个ID,以便与数据库中的图像匹配,以便在stuff.jsp中显示我单击的内容
到目前为止,我已经尝试过:在我的数据库SQL中:
create table products(
ID int not null auto_increment,
product_name
我在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