DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Java (http://www.daniweb.com/forums/forum9.html)
-   -   about java servlets (http://www.daniweb.com/forums/thread8185.html)

phani.n Jul 18th, 2004 3:25 pm
about java servlets
 
wat exactly servlets are?
how r they used in java?
wat r the real benefits by using java servlets?
give a detailed theory and example for servlets in simpler words.

nanosani Jul 18th, 2004 5:20 pm
Re: about java servlets
 
In simple words , the client requests that some action be performed and the server performs the action and responds to the client. This request-response model of communication is the foundation for the highest level views of networking in java i.e., serlets and Java Server Pages. Servlet extends the functionality of a server. :idea: understand

lvramaraju Jul 26th, 2004 11:01 am
Re: about java servlets
 
Servlet is a program resides in server (web server like tomcat) and when ever a request comes from a client (web browser) servlet responds and sends back the response.
The live example is you have posted a question here and this web site has put your question on this page this nothing but a servlet is taking your request and putting it on the this page.

ok...
Bye

dakkar Apr 25th, 2005 4:37 pm
Re: about java servlets
 
I can only add this:
a JSP (Java Server Page) is compiled to a servlet the first time you run it ;-)

so they are all servlets (server extensions :-))


All times are GMT -4. The time now is 9:28 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC