Hi i have a basic doubt.
Why to use
JSP?
As per my knowledge, it is used to separate budiness logic from the view part. JSP is mainly for the front end.
But, on compilation, JSP will be converted into a
servlet. Servlet is a server side component. So, what ever is written in JSP is converted into Servlet and executed at the server side......if this is true, how can we say, JSP is mainly for front end UI development?
I am confused here. Can anyone please help me why JSP is mainly used?