Re: How to set hidden field in struts

2006-05-23 Thread Pankaj Gupta
Thanks Bruce for the inputs. Can you pl suggest some ways of achieving it. Also tell me how can I do the same through container supported security. I would be using tomcat 5 for deployment. regards, Pankaj Bruce Link wrote: Hi Pankaj, If you do not want to use container-supported security,

Re: How to set hidden field in struts

2006-05-23 Thread Bruce Link
Hi Pankaj, If you do not want to use container-supported security, storing information in the session that captures the login is typical. You then need to check the session information in every page which requires login, and delete the information (or invalidate the session) when the user log

Re: How to set hidden field in struts

2006-05-23 Thread Antonio Petrelli
Pankaj Gupta ha scritto: Hi, I want to implement a feature in struts wherein nobody can open a page directly by copying the url and pasting it in a new browser window.i.e. any page of the application can only be reached through login page. Only two words: intercepting filters. http://java.s

Re: How to set hidden field in struts

2006-05-22 Thread navin mca
Hi Pankaj, U can use following tag >Also I intend to set a hidden field in the next page to be displayed and check it before loading of the new page. If the hidden field is not set, the new page wont be loaded and the user would be redirected to the login page. where u can set it