Services | Updates | Contact
Home | Ajax | BioInformatics | Dojo | EAI | EJB | Hibernate | J2ME | Java | Java Glossary | Java Servlets | JavaScript | Jboss | JDBC | JDO | Jmeter | JSF | JSP | JUnit | Maven | MySQL | Spring Framework | SQL | Struts | Technology | WAP | Web Services | XML
Custom Converter Example
This section explains creating custom converter. When the user inputs value to the component, it is simple string value.
 
Location Based Service (LBS) in Tourism
In a simple way if we have to define LBS then we can say that it is a service that determines where a mobile device and
 
More Tutorials...


    Loan Information     Struts     Open Source

Programming Tutorials: Ajax | Articles | JSP | Bioinformatics | Database | Free Books | Hibernate | J2EE | J2ME | Java | JavaScript | JDBC | JMS | Linux | MS Technology | PHP | RMI | Web-Services | Servlets | Struts | UML

 
 
JSP

 
Comments
 
 

 

Free JSP Books

                          

Download the following JSP books.
  1. Introduction to JSP
    This chapter explores some of JSP’s capabilities, giving you a quick tour of its basic functionality. The goal isn’t to swamp you with technical details; we’ll begin to consider those in the next two chapters, when we introduce the syntax and back-end implementation of JSP. The examples in this chapter should familiarize you with JSP pages’ look and feel, which will be helpful when we discuss the syntax more formally.  All of the examples presented in this chapter (except for one) are real, usable JSP, and you’re encouraged to experiment with them yourself before moving forward. If you do not yet have a JSP environment in which to experiment, appendix B contains a quick installation guide for Tomcat, a free JSP container that provides the reference implementation for the JSP platform.
                     
  2. Handling the client request to form Data
    If you’ve ever used a search engine, visited an on-line bookstore, tracked stocks on the Web, or asked a Web-based site for quotes on plane tickets, you’ve probably seen funny-looking URLs like http://host/path?user=Marty+Hall&origin=bwi&dest=lax. The part after the question mark (i.e., user=Marty+Hall&origin= bwi&dest=lax) is known as form data (or query data) and is the most common way to get information from a Web page to a server-side program. Form data can be attached to the end of the URL after a question mark (as above), for GET requests, or sent to the server on a separate line, for POST requests. One of the nice features of servlets is that all of this form parsing is handled automatically. You simply call the getParameter method of the Http- ServletRequest, supplying the case-sensitive parameter name as an argument. You use getParameter exactly the same way when the data is sent by GET as you do when it is sent by POST.
                     
  3. How to using JSP HTML Form
    This chapter discusses using HTML forms as front ends to servlets or other server-side programs. These forms provide simple and reliable user interface controls to collect data from the user and transmit it to the servlet. The following chapter discusses the use of applets as servlet front ends. Using applets in this role requires considerably more effort and has some security limitations. HTML forms let you create a variety of user interface controls to collect input on a Web page. Each of the controls typically has a name and a value, where the name is specified in the HTML and the value comes either from the HTML or by means of user input. The entire form is associated with the URL of a program that will process the data, and when the user submits the form the names and values of the controls are sent to the designated URL as a string of the form.
                                            
  4. The JSP page Directive: Structuring Generated Servlets
    A JSP directive affects the overall structure of the servlet that results from the JSP page. The following templates show the two possible forms for directives. Single quotes can be substituted for the double quotes around the attribute values, but the quotation marks cannot be omitted altogether. In JSP, there are three types of directives: page, include, and taglib. The page directive lets you control the structure of the servlet by importing classes, customizing the servlet super class, setting the content type, and the like. A page directive can be placed anywhere within the document; its use is the topic of this chapter. The second directive, include, lets you insert a file into the servlet class at the time the JSP file is translated into a servlet. 
                       
  5. The JSP Scripting element
    JavaServer Pages (JSP) technology enables you to mix regular, static HTML with dynamically generated content from servlets. You simply write the regular HTML in the normal manner, using familiar Web-page-building tools. You then enclose the code for the dynamic parts in special tags, most of which start with <% and end with. Separating the static HTML from the dynamic content provides a number of benefits over servlets alone, and the approach used in JavaServer Pages offers several advantages over competing technologies such as ASP, PHP, or ColdFusion. Section 1.4  gives some details on these advantages, but they basically boil down to two facts: that JSP is widely supported and thus doesn’t lock you into a particular operating system or Web server and that JSP gives you full access to servlet and Java technology for the dynamic part, rather than requiring you to use an unfamiliar and weaker special- purpose language.
                 
  6. The integrating servlet and JSP
    Servlets are great when your application requires a lot of real programming to accomplish its task. As you’ve seen elsewhere in the book, servlets can manipulate HTTP status codes and headers, use cookies, track sessions, save information between requests, compress pages, access databases, generate GIF images on-the-fly, and perform many other tasks flexibly and efficiently. But, generating HTML with servlets can be tedious and can yield a result that is hard to modify. That’s where JSP comes in; it lets you separate much of the presentation from the dynamic content. That way, you can write the HTML in the normal manner, even using HTML-specific tools and putting your Web content developers to work on your JSP documents. JSP expressions, scriptlets, and declarations let you insert simple Java code into the servlet that results from the JSP page, and directives let you control the overall layout of the page. For more complex requirements, you can wrap up Java code inside beans or define your own JSP tags.
                  
  7. The including files and applets in JSP Documents
    JSP has three main capabilities for including external pieces into a JSP document. The include directive lets you reuse navigation bars, tables, and other elements in multiple pages. The included elements can contain JSP code and thus are inserted into the page before the page is translated into a servlet. This capability is discussed in Section 12.1. Although including external pieces that use JSP is a powerful capability, other times you would rather sacrifice some power for the convenience of  being able to change the included documents without updating the main JSP page. Although this book is primarily about server-side Java, client-side Java in the form of Web-embedded applets continues to play a role, especially within fast corporate intranets. The jsp:plugin element is used to insert applets that use the Java Plug-In into JSP pages.
                       
  8. The Core Servlet and JSP Second edition
    Thorough guide to Web application development with JSP 2.0 and servlets 2.4. Detailed treatment of form processing, HTTP, cookies, session tracking, JDBC, beans, MVC, the JSP 2.0 expression language, and much more. Also gives detailed configuration and usage information for Apache Tomcat, Macromedia JRun, and Caucho Resin. 
               
  9. The Java Servlets programming Second Edition 
    The second edition of this popular book has been completely updated to add the new features of the Java Servlet API Version 2.2, and new chapters on servlet security and advanced communication. In addition to complete coverage of the 2.2 specification, we have included bonus material on the new 2.3 version of the specification.  Servlets are an exciting and important technology that ties Java to the Web, allowing programmers to write Java programs that create dynamic web content. Java Servlet Programming covers everything Java developers need to know to write effective servlets. It explains the servlet lifecycle, showing how to use servlets to maintain state information effortlessly. It also describes how to serve dynamic web content, including both HTML pages and multimedia data, and explores more advanced topics like integrated session tracking, efficient database connectivity.
                   
  10. The Using Javabeans with JSP
    The JavaBeans API provides a standard format for Java classes. Visual manipulation tools and other programs can automatically discover information about classes that follow this format and can then create and manipulate the classes without the user having to explicitly write any code. Full coverage of JavaBeans is beyond the scope of this book. The one exception to this naming convention is with boolean properties: they use a method called is Xxx to look up their values. So, for example, your Car class might have methods called isLeased (which takes no arguments and returns a boolean) and setLeased (which takes a boolean and has a void return type), and would be said to have a boolean property named leased . Although you can use JSP scriptlets or expressions to access arbitrary methods of a class, standard JSP actions for accessing beans can only make use of methods that use the getXxx/setXxx or isXxx/setXxx design pattern.
               
  11. The Servlet and JSP Filters
    Perhaps the single most important new capability in version 2.3 of the servlet API is the ability to define filters for servlets and JSP pages. Filters provide a powerful and standard alternative to the nonstandard “servlet chaining” supported by some early servers. A filter is a program that runs on the server before the servlet or JSP page with which it is associated. A filter can be attached to one or more servlets or JSP pages and can examine the request information going into these resources. After doing so, it can choose among the following options.
    *  Invoke the resource in the normal manner.
    *  Invoke the resource with modified request information.
    *  Invoke the resource but modify the response before sending it to the client.
    *  Prevent the resource from being invoked and instead redirect to a different resource, return a particular status code, or generate replacement output.
                   
  12. The Web Development with JSP
    The second edition of the bestselling Web Development with JavaServer Pages updates and expands the original. In the entirely rewritten first part of the book the authors provide a gentle introduction to the important technologies on which JSP depends. The book then launches into its updated coverage of the JSP 1.2 and Servlet 2.3 standards. New chapters on servlet filters, tag-library validation, and non-HTML content are filled with fresh examples.  This second edition shares the strengths of the first, based on the authors' substantial experience with real-world development. The book covers the complete feature set of JSP 1.2, and both the advantages and the "gotchas" associated with those features. Its depth of coverage has been an important contributor to this book's success.

 

                          

Facing Programming Problem?
Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 

Current Comments

15 comments so far (post your own) View All Comments Latest 10 Comments:

Sir,
How to compile and after campilation program how to run it in using jsp beans.Plz explain with example.
Thanks Yours sincerely
11/03/08 Datars

Posted by Datar Singh on Tuesday, 03.11.08 @ 13:39pm | #52270

Will uyou post the tutorials for my id? because the tutorials are very useful for me.

Posted by Anamika on Tuesday, 02.26.08 @ 18:53pm | #50149

I need a book of JSP give me the site where i can download the jsp book beacuse i doing my job on making JSP page but i cannot grt the coding of jsp properly on any site plz send me the JSP book.

Posted by hasan on Friday, 01.25.08 @ 20:39pm | #46153

Please forward me the jsp books which can be downloaded freely.including Professional JSP by wrox publication..
Thanks

Posted by santu on Thursday, 08.9.07 @ 23:55pm | #23051

Please forward me the jsp books which can be downloaded freely.including Professional JSP by wrox publication..
Thanks

Posted by khushboo on Friday, 08.3.07 @ 16:14pm | #22574

could u please provide me the ebook "Professional jsp, version 1.3 by subramanyam almaraju"

Posted by vandana on Tuesday, 06.19.07 @ 12:22pm | #19682

how to use response implicit object methods in JSP. please send sample example program to my mail ID.
its very urgent.

thanks

Posted by phani kanth on Tuesday, 05.29.07 @ 21:23pm | #17675

give book me

Posted by balakrishnan on Tuesday, 05.8.07 @ 16:27pm | #15457

plz forward me wrox publication book on JSP

Posted by Prakash on Wednesday, 05.2.07 @ 12:21pm | #15154

please forward me books on jsp,which can be free
download.

Posted by krupa on Saturday, 04.14.07 @ 18:18pm | #14158

Leave your comment:

Name:

Email:

URL:

Title:

Comments:


Enter Code:

 

Note: Emails will not be visible or used in any way, and are not required. Please keep comments relevant. Any content deemed inappropriate or offensive may be edited and/or deleted.

No HTML code is allowed. Line breaks will be converted automatically. URLs will be auto-linked. Please use BBCode to format your text.

  EAI Articles
  Java Certification
Tell A Friend
Your Friend Name
Search Tutorials

 

 
 
Browse all Java Tutorials
Java JSP Struts Servlets Hibernate XML
Ajax JDBC EJB MySQL JavaScript JSF
Maven2 Tutorial JEE5 Tutorial Java Threading Tutorial Photoshop Tutorials Linux Technology
Technology Revolutions Eclipse Spring Tutorial Bioinformatics Tutorials Tools SQL
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2007. All rights reserved.