ITQuestionBank.com
 
Search for  
 
Advanced Search
  Home | Add a Link | Modify a Link | Login | Register | New Listings | Most Popular | Top Ranked | Link to Us | Search | Site Map | Privacy Policy

 Categories

 Editors Picks
  • Download CX-310-015 Free Exam Simulator
  • Download CX-310-014 Free Exam Simulator
  • Download SCEA Free Exam Simulator : 310-051
  • VB NET 2005 Training The NET Framework Architecture Part 1
  • Oracle Applications 11i Technical Training
  • MSAS Step by Step Tutorials
  • Oracle 9i Step by Step Tutorials
  • ASP.NET with C# Training
  • Live DataStage Interview Questions
  • SCJP for Java 2 Platform 1.4 CX-310-035 Free Exam Simulator
  • IT Interview Questions
  • IT Experts Online Journal

  • Home : Java : JSP
    Click "Subscribe" if you want to be notified of new or updated links in this category.Subscribe
    JSP Listings
    Total:  62Displaying: 61 - 62Pages: << 1 2 3 4 5 6 7

    Show Sort By

    Mixing Scriptlets and HTML
    We have already seen how to use the "out" variable to generate HTML output from within a scriptlet. For more complicated HTML, using the out variable all the time loses some of the advantages of JSP programming. It is simpler to mix scriptlets and HTML. Suppose you have to generate a table in HTML. This is a common operation, and you may want to generate a table from a SQL table, or from the lines of a file. But to keep our example simple, we will generate a table containing the numbers from 1 to N. Not very useful, but it will show you the technique.

    Updated: 03/24/2005

    Scriptlets
    We have already seen how to embed Java expressions in JSP pages by putting them between the character sequences. But it is difficult to do much programming just by putting Java expressions inside HTML. JSP also allows you to write blocks of Java code inside the JSP. You do this by placing your Java code between characters (just like expressions, but without the = sign at the start of the sequence.)

    Updated: 03/24/2005

    JSP Listings
    Total:  62Displaying: 61 - 62Pages: << 1 2 3 4 5 6 7



    Privacy Policy
    14301 Resources Listed in 604 Categories  ~  IT QuestionBank © 2005 -2007