Hello all,
i am newbie to
struts..
i have developed one application without any framework, using
jsp n
servlets only.. but now i m supposed to develop the same using struts2 framework.
finding it very difficult. i have gone through many tutorials but still not able to clear confusions.
in earlier development, i had used one servlet for one action. like for every insert form there was one servlet. i have 5-6 forms for inserting, update, delete.
but now i am supposed to use only one servlet for every action/CRUD operation. But then where to add sql queries ?? inside
Java bean/ Dao ??
should i directly try for struts2 ??
How to use servlets in struts2 ?
why to use DAO ?
All actions in struts are DAO ??
what is DTO ??
:-(