Reputation: 49567
I have a very simple question....I have multiple jsp files like login.jsp
, Registration.jsp
, forgetpassword.jsp
each having their owm forms
to take input
from user. So, my question is.....Is it OK to have these many files or should I include all my html forms in a single file
like user_auth.jsp
and use javascript[Which i have no idea how to do]
to display them individually......
All these files process the inputs taken by user against mysql database. I am using Struts 1.3.8 framework...
Upvotes: 0
Views: 295
Reputation: 5413
I don't think that anybody would argue that you should have all of those forms in a single file. Most web pages will have some sort of form on them, it's just how it goes. I would stick with your current model.
Upvotes: 1