Todo list app works with QBit get the code from here todo-list app qbit
working on [Quick Start] Building a Todo List application with QBit
working on[detailed tutorial] Building a Todo List application with QBit
Reading about servlets and jsp...
planning on Reading and trying to understand
Working with Callbacks and java 8 Lambda expressions
------------------------------------------------------
todo list app
I got the todo list app to work with qbit without the need for the todo service and todo object, trying to figure out a way to include them in the process. check out the code here
JSP
java server pages: it is a mixture of java and html java between <% %>
jsp is a web page the client is is a web browser.
the browser issues a http request by the internet to a jsp page residing in some web server.
some proccessing takes place on the server after that an http response is sent back via the iternat to the browser.
the processing that takes place on the web server is as follows:
browser sends an http request to a web server.
the web server recognizes that the request is for a jsp page because it sees that the request has a jsp extension on the file name.
once the server recognizes the request it sends it to the jsp container.
the jsp container then loads the jsp and it will convert it into a servlet (jsp is an extension of a servlet).
in the conversion the html is converted into out.write and the jsp elements are converted to java code.
now the jsp container compiles the servlet into an executable class and forwards it to the servlet engine
the servlet engine laods the servlet class and executes it, during the execution the servlet produces an output in html format which the servlet engine passes to the web server inside an http response.
the web server then sendds the http response to the browser in terms of static html content.
the web browser then handles the dynamically generated html page inside the http response exactly as if it were a static page
JSP
java server pages: it is a mixture of java and html java between <% %>
jsp is a web page the client is is a web browser.
the browser issues a http request by the internet to a jsp page residing in some web server.
some proccessing takes place on the server after that an http response is sent back via the iternat to the browser.
the processing that takes place on the web server is as follows:
browser sends an http request to a web server.
the web server recognizes that the request is for a jsp page because it sees that the request has a jsp extension on the file name.
once the server recognizes the request it sends it to the jsp container.
the jsp container then loads the jsp and it will convert it into a servlet (jsp is an extension of a servlet).
in the conversion the html is converted into out.write and the jsp elements are converted to java code.
now the jsp container compiles the servlet into an executable class and forwards it to the servlet engine
the servlet engine laods the servlet class and executes it, during the execution the servlet produces an output in html format which the servlet engine passes to the web server inside an http response.
the web server then sendds the http response to the browser in terms of static html content.
the web browser then handles the dynamically generated html page inside the http response exactly as if it were a static page
No comments:
Post a Comment