GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  J2EE  >  JSP
Go To First  |  Previous Question  |  Next Question 
 JSP  |  Question 252 of 306    Print  
Hai friends,
Can any one explain how websites are working,
What will happen after entering website address?
Please reply for my question.
with regards,
Rajesh

  
Total Answers and Comments: 2 Last Update: March 11, 2008     Asked by: rajeshkumar 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
October 03, 2006 07:20:23   #1  
Kumar        

RE: Hai friends,Can any one explain how websites...
When you enter an URL and hit enter, the URL wil mapped to a particular application and wil be directed to the home page of that application. When the user submits a form, the request goes to a webserver (if Tomcat). This servlet container identifies a which servlet to be called using the url (action specified). The container creates objects of HttpServletRequest and HttpServletResponse and passes it on your servlet. You would have overriden doGet() or doPost() method where the request will be processed.
 
Is this answer useful? Yes | No
March 11, 2008 04:37:49   #2  
bharaniprasanth Member Since: February 2008   Contribution: 46    

RE: Hai friends,Can any one explain how websites are working,What will happen after entering website address?Please reply for my question.with regards,Rajesh
Yes that is a nice question

1. the entered URL is transformed into a IP address using a DNS lookup server..
2. The request is routed to the ip address using routers international gateways, fibew optic cables...etc etc.. to the destination...
3. There on the other end exists a web server which accepts incoming requests..

4. Rest is glory ...like It handles the incoming request and sends appropriate response to the user browser which is interpreted and displayed...


If this user-server communication lasts for more time we have session tracking to keep track of entered information...

If an error occurs..all requests are resend..which is taken care by browser or the router ...so the story goes on...

 
Is this answer useful? Yes | No

 Related Questions

What information that the ServletResponse interface gives the servlet methods for replying to the client?
It Allows the servlet to set the content length and MIME type of the reply. Provides an output stream, ServletOutputStream and a Writer through which the servlet can send the reply data. 

What information that the ServletResponse interface gives the servlet methods for replying to the client?
It Allows the servlet to set the content length and MIME type of the reply. Provides an output stream, ServletOutputStream and a Writer through which the servlet can send the reply data. 

What information that the ServletResponse interface gives the servlet methods for replying to the client?
It Allows the servlet to set the content length and MIME type of the reply. Provides an output stream, ServletOutputStream and a Writer through which the servlet can send the reply data. 

What information that the ServletResponse interface gives the servlet methods for replying to the client?
It Allows the servlet to set the content length and MIME type of the reply. Provides an output stream, ServletOutputStream and a Writer through which the servlet can send the reply data. 

What information that the ServletResponse interface gives the servlet methods for replying to the client?
It Allows the servlet to set the content length and MIME type of the reply. Provides an output stream, ServletOutputStream and a Writer through which the servlet can send the reply data. 

What information that the ServletResponse interface gives the servlet methods for replying to the client?
It Allows the servlet to set the content length and MIME type of the reply. Provides an output stream, ServletOutputStream and a Writer through which the servlet can send the reply data. 

What information that the ServletResponse interface gives the servlet methods for replying to the client?
It Allows the servlet to set the content length and MIME type of the reply. Provides an output stream, ServletOutputStream and a Writer through which the servlet can send the reply data. 

Servlets provide a way to generate dynamic documents that is both easier to write and faster to run. It is efficient, convenient, powerful, portable, secure and inexpensive. Servlets also address the problem 
Latest Answer : Servlets are platform independent.Each request handled by CGI needs a sapreate process With java more than one request can be handled with threads. ...

What information that the ServletResponse interface gives the servlet methods for replying to the client?
It Allows the servlet to set the content length and MIME type of the reply. Provides an output stream, ServletOutputStream and a Writer through which the servlet can send the reply data. 

Servlets provide a way to generate dynamic documents that is both easier to write and faster to run. It is efficient, convenient, powerful, portable, secure and inexpensive. Servlets also address the problem 


 Sponsored Links

 
Related Articles

ODP.NET - Working with OracleDataAdapter with OracleCommand

ODP NET Working with OracleDataAdapter together with OracleCommand In the previous examples we worked with OracleDataAdapter by directly specifying SQL statements You can also pass OracleCommand to OracleDataAdapter This is very useful if you deal with stored procedures covered in Chapter 5 or bind
 

ODP.NET - Working with Bind Variables together with OracleParameter

ODP NET Working with Bind Variables together with OracleParameter With the help of OracleParameter you can include bind variables within any SQL statement These bind variables are nothing but run time query parameters The values in the SQL statement are bound at run time when we use bind variables m
 

ODP.NET - Handling Nulls when Working with OracleDataReader

ODP NET Handling Nulls when Working with OracleDataReader When we work with OracleDataReader or for that matter even with data rows in a data table we may come across nulls The following is the efficient way to deal in with such scenarios mosgoogle geshibot language VB NET" create connect
 

ODP.NET - Working with DataTableReader

ODP NET Working with DataTableReader DataTableReader is complementary to a DataTable object and is mainly used as a type of Data Reader in the disconnected mode The following is the modified code mosgoogle geshibot language VB NET" create connection to db Dim cn As New OracleConnection D
 

Working with XML in C

Working with XML in C The Role of XML with C The Extensive Markup Language has changed the way in which information is being viewed and exchanged Users can share their sensitive documents on the World Wide Web by declaring what is theirs for EDI or Electronic Data Interchange data publishing a data
 

Working with XML in Perl

Working with XML in Perl Extensive Markup language or the XML is a sort of data storage; it is very structured and mapped out There are two most important aspects of XML that has to be covered one is writing in XML and reading it out in XML Parsers have already been created in XML and knowing how t
 

Working with XML in Python

Working with XML in Python The Extensive Markup Language and Python are two very different platforms Python is a programming language and XML is a standards oriented language document Python is a full fledged programming language which has its roots deep in scripts and also has matured over a period
 

Working with XML in Flash

Working with XML in Flash To integrate an XML document with Flash we need an XML document that works with Flash one that can set up the visual movements of the action movie and define the script that will be used for the code of the action movie mosgoogle center How do We Integrate XML and Macromed
 

Working with XML in Oracle

Working with XML in Oracle Introduction to XML Extensive markup language is the language which presents data in a human readable form of text The data can be anything from a purchase order or a stock quote or weather radar or a flight schedule it can be represented using XML XML is very similar to H
 

Working with XML in Visual Basic

Working with XML in Visual Basic Extensive markup language and Visual Basic is the odd couple of the industry Visual Basic is one of the most common languages that are being used today This Microsoft introduced language was meant to be middle tier in characteristic but has managed to get the top tie
 





About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape