Results 1 to 6 of 6

Thread: JSP Flush Variable

  1. #1
    Join Date
    Nov 2009
    Posts
    678

    JSP Flush Variable

    Hello, I am learning Java and currently working on the JSP for learning it. I have read different Jsp directives, but all of them are available with more information except the Flush variable. If anyone is having details about it or if anyone is having information which is more important then please reply me about it. If you are having some source to get information about it, then please provide me that.

  2. #2
    Join Date
    Apr 2008
    Posts
    1,948

    Re: JSP Flush Variable

    If you are making use of the autoFlush="true | false" then you can able to flushed the buffered output if the buffer is full. If you are setting it to the true which is the default value of it then you can simply able to flush the buffer if it is full. If you have set it to false then an exception will be raised when the buffer overflows.

  3. #3
    Join Date
    Apr 2008
    Posts
    2,005

    Re: JSP Flush Variable

    Sorry, I am also not having more information about it, but I have the code below which can help to get the details of using of this variable.
    I'd like to know well the meaning of the variable flush in the inclusions proactive
    Code:
    <jsp: include
    flush = "false" page = "catalog.jsp" />

  4. #4
    Join Date
    May 2008
    Posts
    2,012

    Re: JSP Flush Variable

    The element <jsp:include> is used by which it will allow to include the static or dynamic resource in a JSP page. Both of them provide you different results. If you are making use of the static resource then content of it are included in the calling JSP page. If the resource is dynamic, then it will work on the request and provide you the result of the request from the jsp page.
    It is used as below :

    Code:
    page = "(relativeURL | <% = expression%>)"

  5. #5
    Join Date
    May 2008
    Posts
    2,297

    Re: JSP Flush Variable

    Syntax:
    Code:
    flush = "true | false"
    If you are having set the value as true then it will simply buffer the page output. The buffer is flushed prior to the inclusion. But if the value is set to the False then the buffer is not flushed. The default value for the flush attribute is false.

    Code:
    <jsp: param name = "parameterName"
    value = "(ParameterValues | <% = expression%>)" /> +

  6. #6
    Join Date
    Oct 2005
    Posts
    2,393

    Re: JSP Flush Variable

    Hello, you can simply make use of the following souces to get the more information about the JSP flush Variable:

    Page Directive
    <JSP : Include>

    Both of this will provide you the details of the flush in the JSP. You will able to understand it from the pages above.

Similar Threads

  1. Flush DNS in MAC OS
    By Ronchi in forum Networking & Security
    Replies: 5
    Last Post: 27-07-2010, 12:32 PM
  2. How to flush DNS?
    By Waffle in forum Networking & Security
    Replies: 4
    Last Post: 19-09-2009, 05:46 AM
  3. How to Flush DNS in vista
    By VirusKey in forum Operating Systems
    Replies: 3
    Last Post: 19-09-2009, 05:41 AM
  4. Replies: 2
    Last Post: 28-08-2009, 07:51 PM
  5. Replies: 3
    Last Post: 25-04-2009, 11:34 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,273,652.25364 seconds with 17 queries