You can write the JSP wherever you you want. In the few applications I've done I put the jsp's in the "docroot" directory. You have to make sure the docroot is included in your packaging configirations .....
Thanks for your kind information.
I have worked the jsp by writing this in docroot. It is working fine. But I need to write the jsp in separate folders ie I want to write the user login related files in user folder and registration details in registration folder like this structure. Can you please give me a suggestion.