S
sconeek
hi all,
i am working on a java tapestry based web application. i have a lot of
web pages in HTML, JavaScript which talk to a java backend which
connects to a Postgres DB. Now my HTML pages contain a few dynamically
updated pages which update information in real time from the DB.
my problem is that if the user doesnt login and tries to visit those
pages, they should be redirected to the user login page where they have
to enter their username and password. now i am able to redirect them
but the corresponding login page does not get displayed. i mean i know
that the user is redirected to that page, but it just doesnt render. i
have a javascript check on that page which checks if the username and
password field is entered with some information. when i come to that
*empty* page and press enter on the keyboard it comes up with a dialog
box saying that the username field cannot be blank. so obviously the
user is on that page but it just doesnt render.
can somebody help me out with this problem coz i dont have a clue whats
wrong there. its causing me a lot of grief.
thanks.
i am working on a java tapestry based web application. i have a lot of
web pages in HTML, JavaScript which talk to a java backend which
connects to a Postgres DB. Now my HTML pages contain a few dynamically
updated pages which update information in real time from the DB.
my problem is that if the user doesnt login and tries to visit those
pages, they should be redirected to the user login page where they have
to enter their username and password. now i am able to redirect them
but the corresponding login page does not get displayed. i mean i know
that the user is redirected to that page, but it just doesnt render. i
have a javascript check on that page which checks if the username and
password field is entered with some information. when i come to that
*empty* page and press enter on the keyboard it comes up with a dialog
box saying that the username field cannot be blank. so obviously the
user is on that page but it just doesnt render.
can somebody help me out with this problem coz i dont have a clue whats
wrong there. its causing me a lot of grief.
thanks.