18
2012
JSP Tutorial Part-4
JSP Tutorial: 10-Beans and Forms Processing Forms are a very common method of interactions in Web sites. JSP makes forms processing particularly easy. The standard way of handling forms in JSP is to define a “bean”. This is not a full Java bean. You just need to define a class that has a field corresponding to each field in the form. The class fields must have “setters” that match the names of the form fields. [...]
2
2012
JSP Tutorial Part-3
JSP Tutorial: 6-Directives We have been fully qualifying the java.util.Date in the examples in the previous sections. Perhaps you wondered why we don’t just import java.util.*; It is possible to use “import” statements in JSPs, but the syntax is a little different from normal Java. Try the following example: <%@ page import=”java.util.*” %> <HTML> <BODY> <% System.out.println( “Evaluating date now” ); Date date = new Date(); %> Hello! The time is now <%= date %> </BODY> </HTML> [...]
27
2012
JSP Interview Questions Part-1
JSP Interview Questions Part-1 and further parts will be updated soon… Q: What is a output comment? A: A comment that is sent to the client in the viewable page source.The JSP engine handles an output comment as uninterpreted HTML text, returning the comment in the HTML output sent to the client. You can see the comment by viewing the page source from your Web browser. JSP Syntax Example 1 <!– This is a commnet [...]
18
2012
JSP Tutorial Part-2
JSP Tutorial: 2- Your first JSP JSP simply puts Java inside HTML pages. You can take any existing HTML page and change its extension to “.jsp” instead of “.html”. In fact, this is the perfect exercise for your first JSP. Take the HTML file you used in the previous exercise. Change its extension from “.html” to “.jsp”. Now load the new file, with the “.jsp” extension, in your browser. You will see the same output, [...]
22
2012
JSP Interview Questions Part-2
JSP Interview Questions and Answers: Explain the life-cycle mehtods in JSP? Answer :: THe generated servlet class for a JSP page implements the HttpJspPage interface of the javax.servlet.jsp package. Hte HttpJspPage interface extends the JspPage interface which inturn extends the Servlet interface of the javax.servlet package. the generated servlet class thus implements all the methods of the these three interfaces. The JspPage interface declares only two mehtods – jspInit() and jspDestroy() that must be implemented [...]
27
2012
JSP Tutorial Part-1
Hi I am Starting a New Post on JSP Tutorial and this is the First Part of it,check out for Further Parts which will be Updated Soon…….. JSP Tutorial: Introduction to JSP JavaServer Pages (JSP) is a technology based on the Java language and enables the development of dynamic web sites. JSP was developed by Sun Microsystems to allow server side development. JSP files are HTML files with special Tags containing Java source code that [...]
Tutorials & Interview Questions
E-Books of the month
Recent Comments
- uma on Tally Tutorial Part-1
- Sudheer.Choragudi on IOS Commands
- Sudhakar Singajogi on QTP Tutorial for Beginners Part-2
- webdagger on OSI LAYERS
- kaladhar on OSI LAYERS
- sreekanth on SAP Tutorial Part-5
Who's Online
- 0 Members.
- 1 Guest.

An article by webdagger










A limited time offer only for one month.The Books are Guide to HTML, JavaScript and PHP For Scientists and Engineers & Sams Teach Yourself is a Book in which you can learn the c++ within 24 hours...
