I’m feeling a bit stupid asking this but I don’t really know where to put the code of the model. Thanks in advance.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can put your model classes wherever you like, but it’s a fairly common practice to create packages specifically for these purposes, e.g. com.mydomain.myproject.controller and com.mydomain.myproject.model, so in the file system, src/com/mydomain/myproject/controller and src/com/mydomain/myproject/model