I have a Web Application developed inside NetBeans. It uses no frameworks at the moment, there are just some JSP pages. I would like to add some business logic, i.e. some Java classes that would process some data and pass it to the output. I understand, that JSP pages are the View layer. What about the rest (Model and Controller)?
Do I have to use a framework that would handle this (i.e. it's not possible to mix JSP with java class-based business logic without a framework)? Is JSP used only to be compiled into servlets, which have to be managed by something beyond JSP? I'm a newbie, so forgive me if it's trivial ;)
PS I know I can include Java code inside scriplet <% ... %>
tags, but that's not what I'm looking for.
If it is the first time you are using servlets, i recommend you to start with Servlet and POJOs only.
There is plenty of information here http://docs.oracle.com/javaee/6/tutorial/doc/bnafd.html