please give basic idea about java servlet?
453738
Servlets are programs in server side written in java.\nWhen user submit a form in browser, request is sent to servlet in server. \nServlet process the information and response is send back to user browser or redirected to another page.
424816
If you need a "Java Client". Here is the Download site. What you need is the "Java Runtime Enviorment".\n\nhttp://www.java.com/en/download/manual.jsp
608819
Is this on an MS Windows system? If it is, then it should be as simple as going here:\n\nhttp://java.com/en/download/index.jsp\n\n...and downloading and installing the latest Java Runtime Environment.
275568
UPDATE 1:\n\nHere is a very clean and good tutorial on Java Servlets. Does this work for you?\n\nhttp://www.novocode.com/doc/servlet-essentials/\n\nUPDATE 2:\n\nIt looks like you simply put the HTML code inside the Java code. Look at lines 13 and 14 of this page: http://www.novocode.com/doc/servlet-essentials/chapter2a.html#ch_2_1\n\n13:      out.println("<HTML><HEAD><TITLE>Hello Client!</TITLE>"+\n14:                  "</HEAD><BODY>Hello Client!</BODY></HTML>");\n\nAs you can see, it shows the HTML being generated by the Java Servlet itself; not being linked to an HTML page or something. There is probably a way to "include" a section of HTML code within a servlet.\n\nUPDATE 3:\n\nHere are some good links. I think these are what you're looking for.\n\nhttp://javaboutique.internet.com/tutorials/JSP/\nhttp://www.sitepoint.com/article/java-servlets-1\nhttp://livedocs.macromedia.com/jrun/4/Getting_Started_with_JRun/servlettutorial.htm\n\nPersonally, I would recommend (if at all possible) using either JSP (kind of like Java embedded in an HTML page, rather than the other way around) or PHP, which is insanely easy to set up and use.
307784
The XSQL Servlet is a tool that processes SQL queries and outputs the result set as XML. This processor is implemented as a Java servlet and takes an XML file containing embedded SQL queries as input.\n\nHere is the way it goes from client to servlet:\n    *  The user enters a URL through a browser, which is interpreted and passed to the XSQL Servlet through a Java Web server. The URL contains the name of the target XSQL file (.xsql) and, optionally, parameters such as values and an XSL stylesheet name. Or, the user can invoke the XSQL Servlet from the command line, bypassing the browser and Java Web server.\n\n    * The servlet passes the XSQL file to the XML parser for Java, which parses the XML and creates an API for accessing the XML contents.\n\n    * The page processor component of the servlet uses the API to retrieve the XML parameters and SQL statements (found between the <xsql:query> and </xsql:query> tags). The page processor also passes any XSL processing statements to the XSLT processor.\n\n    * The page processor then constructs a database DOM by sending the SQL queries to the underlying Oracle8i database, which returns the query results. The results are embedded in the XML file in the same location as the original <xsql:query> tags.\n\n    * If desired, the query results and any other XML data are transformed by the XSLT processor using a specified XSL stylesheet. The data can be transformed into HTML or any other format defined by the stylesheet. The XSLT processor can selectively apply different stylesheets based on the type of client that made the original URL request. This HTTP_USER_AGENT information is obtained from the client through an HTTP request.\n\n    * The XSLT processor passes the completed document back to the client browser for presentation to the user.
192751
Try the Sun website. They give some of the tutorials away for free as e-books. For example:\n\nhttp://java.sun.com/docs/books/tutorial/information/download.html
1068037
Hi, that is kinda a weak answer :) \n\nUsually it is like this from JSP you produce HTML, and when you navigate to a LINK link like http://localhost /MyApp/MyMainServlet\nThe WEB.XML file will tell it where to navigate. For example:\n======================================\n<servlet>\n<display-name> MainControllerServlet </display-name>\n<servlet-name> MainControllerServlet </servlet-name><servlet-class> bankapp.web.MainControllerServlet </servlet-class>\n</servlet>\n<servlet-mapping>\n<servlet-name> MainControllerServlet </servlet-name>\n<url-pattern> /MainController.do </url-pattern>\n</servlet-mapping>\n======================================\n\nWhat the above xml descriptor does is that whenever I visit http://localhost/BankApp/MainContoller.do It will goto the ServletName called MainControllerServlet which points to the servlet class: bankapp.web.MainControllerServlet\n\nNotice that is inside the package bankapp.web, Now inside that servlet you have your doGet and doPost and your computational within the beans and other yummy stuff :)\n\nTO RUN!\nNow If your using Eclipse IDE as your main IDE, you could download JBOSS from www.jboss.org, and download the server and the eclipse addon. It is pretty straight forward and you just right click on the project and make a package xml and deploy it. What is does is that it will automatically deploy it to the webserver. And you access it by doing http://localhost:8080/BankApp/\n\nBUT if your not using that, you need to download Apache Tomcat\nhttp://tomcat.apache.org/\nWhat that does, it is a EJB/JavaBeans/JSP webserver. When you package your Servlet it will produce either .war or .ear dpending if its a EJB or a JavaBeans. In your case if it is JSP and Servlets, then it is only WAR. You place that War in htdocs within Tomcat and you navigate to http://localhost:8080/BankApp/\n\nBut now you tell me how do you package the whole thing to a war. That requires some practice, you need to read up on that \n\nIf you need more help let me know.\nTake care
536092
Ajax is the combination of technologies like XHtml,Css,Dom parser and XmlHttprequest and java script binding all these together.Using Ajax one can communicate asynchronously with the server and display the data dynamically such that the user does not feel any sort of the page refreshing time.If you are going to forward the request to another servlet n click of the Submit button this can be done as usaul in the normal servlets.There is not much changes required in the servlet part as the Submit button is also included as a part of the HTML in the servlet itself.If u want to display only a part of the information that is present in the forwarded servlet then u can do it using Ajax because Ajax is really meant for that,not to get and display the entire data from the web page.
56251
Java Servlet \nThe Java Servlet API, invented by Sun Microsystems, allows a software developer to add dynamic content to a web server using the Java platform. The generated content is commonly HTML, but may be other data such as XML. Servlets are the Java counterpart to dynamic web content technologies such as CGI, PHP or ASP. Servlets can maintain state across many server transactions by using HTTP Cookies, session variables or URL rewriting.\n\nThe Servlet API, contained in the javax.servlet package hierarchy, defines the expected interactions of a web container and a servlet. A web container is essentially the component of a web server that interacts with the servlets. The web container is responsible for managing the lifecycle of servlets, mapping a URL to a particular servlet and ensuring that the URL requester has the correct access rights.\n\nA Servlet is an object that receives requests (ServletRequest) and generates a response (ServletResponse) based on the request. The API package javax.servlet.http defines HTTP subclasses of the generic servlet (HttpServlet) request (HttpServletRequest) and response (HttpServletResponse) as well as an (HttpSession) that tracks multiple requests and responses between the web server and a client. Servlets may be packaged in a WAR file as a Web application.\n\nMoreover, servlets can be generated automatically by Java Server Pages (JSP), or alternately by template engines such as WebMacro. Often servlets are used in conjunction with JSPs in a pattern called "Model 2", which is a flavor of the model-view-controller pattern
116121
http://www.java.sun.com/
76807
Joe, which internet are you living in?  Most pages dont' use asp or java servlets.  Most use PHP and MySql.  Or just Html, ajax, etc.\n\nI think the question was really, why do you need to the <html> tag at the begining of a html document.  It's to tell the computer how to render it.
1057610
Great little PDF here for you..\n\nhttp://www.oracle.com/technology/sample_code/tutorials/jsp20/files/jsp2.pdf
935711
there is nothing like java based web pages.\njava web components just send response as a html.\n\nif you are taking about javascript\n\nyou need to enable it.
911832
I'm assuming you mean values from form elements in an HTML page. Just specifiy the form elements in your HTML, be sure to mention the servlet in your form action and the method (get/post); the parameters will be sent to the servlet.\n\nTo receive these parameters, use the getParameter(...) method on the request.\n\nThe link in my source explains what I said above with an example.\n\nHope this helps.\n\nAndy
933539
What do you mean by java class?
858916
Here you go\nhttp://www.webdeveloper.com/java/java_programming_grounds_up.html\n///
515059
http://java.sun.com/docs/books/tutorial/index.html