我正在使用带有jsf 2的icefaces 3.3.0 我对此不太熟悉, 我正在尝试实现会话超时 我在超时时被重定向到登录页面但没有得到弹出窗口: 用户会话已过期.... 我已经在web.xml上做了这个,但它不起作用:
typedef union {
unsigned char c;
struct {
unsigned char b0 :1;
unsigned char b1 :1;
unsigned char b2 :1;
unsigned char b3 :1;
unsigned char b4 :1;
unsigned char b5 :1;
unsigned char b6 :1;
unsigned char b7 :1;
};
} byte_struct;
int main(int argc, char** argv) {
byte_struct c;
c.c = 0xaa;
printf("%u\n", c.b7);
printf("%u\n", c.b6);
printf("%u\n", c.b5);
printf("%u\n", c.b4);
printf("%u\n", c.b3);
printf("%u\n", c.b2);
printf("%u\n", c.b1);
printf("%u\n", c.b0);
return (EXIT_SUCCESS);
}
请告知。
答案 0 :(得分:0)
您需要在" bridge-messages.properties"中添加用户会话过期消息值这应该复制到服务器配置文件夹中。