How to secure my java web application?
I have a web application in which i login and reach the mainjsp.jsp page. in this page i have few textbox for dates and based on dates and selection from another dropdown i submit and data is retrieved by a servlet and brought back to the mainjsp page.
My concern is abt security.Now whn i copy paste teh mainjsp.jsp pages url and paste it in any browser tht page appears to them as it is.I dont want that to happen.I want them to login first and hence i want my web application secure.I dont have any idea how to do that.Could you please tell me how can i achieve this?
Also please tell me how do i achieve this in any pages.They should not be able to access any page if they havent logged in.
How to secure my java web application?
===

I have a web application in which i login and reach the mainjsp.jsp page. in this page i have few textbox for dates and based on dates and selection from another dropdown i submit and data is retrieved by a servlet and brought back to the mainjsp page.
My concern is abt security.Now whn i copy paste teh mainjsp.jsp pages url and paste it in any browser tht page appears to them as it is.I dont want that to happen.I want them to login first and hence i want my web application secure.I dont have any idea how to do that.Could you please tell me how can i achieve this?
Also please tell me how do i achieve this in any pages.They should not be able to access any page if they havent logged in.