Jsp syntax for avoiding caching of pages at client

how can we avoid a jsp page from caching
which is so in ASP
response.expires
what is that in jsp

If you are using Apache as your WebServer look at
http://httpd.apache.org/docs/mod/mod_expires.html
You can solve the caching problem by adding
ExpiresActive On
ExpiresDefault "access plus 1 second"
to the Apache httpd.conf file
null

Similar Messages

  • API for clearing cache of page items

    Is there an API for clearing the cache of page items? I see there is a procedure called CLEAR_PAGE_CACHE in APEX_UTIL package to clear the cache of all the items on a page, but wanted the equivalent for an item. Maybe I'm making this harder than needed. No idea.
    I realize there is the option of creating a page process called "Clear Cache for Items (ITEM,ITEM,ITEM)" on a page, but I am trying to do this in an application-level process.
    Shane.

    FYI... I found that using [ apex_util.set_session_state ( 'item name', '' ); ] worked for me.

  • Syntax for text element in page windows.

    Hi ,
    I have written the syntax in page windows as follows:
    <B>Customer/Supplier:</> ,, &KNA1-NAME1&
    But I am not getting any data in the output screen.
    Plz suggest me the correct syntax.
    Regards,
    Mridul.

    SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001 .
    PARAMETERS:  p_cheque   RADIOBUTTON GROUP rb1 DEFAULT 'X',              " Cheques
                 p_credit   RADIOBUTTON GROUP rb1,                          " Credit card
                 p_bacs     RADIOBUTTON GROUP rb1.                          " Bacs/Chaps
    SELECTION-SCREEN END OF BLOCK blk1.
    goto ->Text Element Selection Text
    P_CHEQUE     Cheques
    P_CREDIT                     Credit Card
    P_BACS               Bacs / Chaps
    you can able to assign text to radio button.
    Rewards if useful...............
    Minal

  • JSP Syntax for binding JSF components

    I am trying to bind to a map with session scope and the key into the map is
    a string value. It seems that this binding does not work as the key is not found
    before rendering.
    <f:selectItems id="listbox1SelectItems" value="#{idGeneratorBean.myIds['key']}"/>
    The key is a hidden field on the page, and if hard-coded in the above, it will find that data.
    I've seen other postings where the binding is done in the component's initialization code.
    If it is done that way, what should the jsp binding look like?

    Please don't crosspost topics over all places. Stick to one topic.
    Continue here: [http://forum.java.sun.com/thread.jspa?threadID=5299291]

  • WLS 9.2.2: JSP recompile for every page load with JAR'ed tag files

    I have a small custom tag library of three tag files. With the server running in development mode and the tag files in a JAR (included in WEB-INF/lib), the server appears to be doing a JSP recompile on every page load. However, it only compiles on the first page load if the tag files are included in WEB-INF/tags (no JAR). Also, running the server in production mode with the JAR'ed tag files avoids the recompile for every page load.
              Is that how the server should behave?
              For whatever it's worth, I'm also using Eclipse 3.3.2 with WTP and WebLogic Server Tools 1.1.2. The server is running the Sun JVM (1.5_10).

    Vikram,
              I went back and created a simple example to test. Below I'm posting the Java source code generated from the two relevant files: index.jsp, and hello.tag.
              __index.java:
              package jsp_servlet;
              import java.io.*;
              import java.util.*;
              import javax.servlet.*;
              import javax.servlet.http.*;
              import javax.servlet.jsp.*;
              import javax.servlet.jsp.tagext.*;
              public final class __index extends weblogic.servlet.jsp.JspBase implements weblogic.servlet.jsp.StaleIndicator {
              private static void _releaseTags(javax.servlet.jsp.tagext.JspTag t) {
              while (t != null) {
              if(t instanceof javax.servlet.jsp.tagext.Tag) {
              javax.servlet.jsp.tagext.Tag tmp = (javax.servlet.jsp.tagext.Tag)t;
              t = ((javax.servlet.jsp.tagext.Tag) t).getParent();
              try {
              tmp.release();
              } catch(Exception ignore) {}
              else {
              t = ((javax.servlet.jsp.tagext.SimpleTag)t).getParent();
              public boolean _isStale(){
              boolean stale = staticIsStale((weblogic.servlet.jsp.StaleChecker) getServletConfig().getServletContext());
              return _stale;
              public static boolean _staticIsStale(weblogic.servlet.jsp.StaleChecker sci) {
              if (sci.isResourceStale("/index.jsp", 1207926672370L ,"9.2.2.0","America/Denver")) return true;
              if (sci.isResourceStale("/null", 1207926783245L ,"9.2.2.0","America/Denver")) return true;
              return false;
              private static void _writeText(javax.servlet.ServletResponse rsp, javax.servlet.jsp.JspWriter out, String block, byte[] blockBytes)
              throws java.io.IOException {
              if (!_WL_ENCODED_BYTES_OK || _hasEncodingChanged(rsp)){
              out.print(block);
              } else {
              ((weblogic.servlet.jsp.ByteWriter)out).write(blockBytes, block);
              private static boolean _hasEncodingChanged(javax.servlet.ServletResponse rsp){
              String encoding = rsp.getCharacterEncoding();
              if ( "ISO-8859-1".equals(encoding) || "Cp1252".equals(encoding) || "ISO8859_1".equals(encoding) || "ASCII".equals(encoding) ){
              return false;
              if (_WL_ORIGINAL_ENCODING.equals(encoding)) {
              return false;
              return true;
              private static boolean WLENCODED_BYTES_OK = true;
              private static final String WLORIGINAL_ENCODING = "ISO-8859-1";
              private static byte[] _getBytes(String block){
              try {
              return block.getBytes(_WL_ORIGINAL_ENCODING);
              } catch (java.io.UnsupportedEncodingException u){
              WLENCODED_BYTES_OK = false;
              return null;
              private final static String wlblock0 ="<!--\n * $Id$\n-->\n \n<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \n\t\t\"http://www.w3.org/TR/html4/loose.dtd\">\n \n";
              private final static byte[] wlblock0Bytes = getBytes( wl_block0 );
              private final static String wlblock1 =" \n \n\t";
              private final static byte[] wlblock1Bytes = getBytes( wl_block1 );
              private final static String wlblock2 ="\n";
              private final static byte[] wlblock2Bytes = getBytes( wl_block2 );
              private final static String wlblock3 ="\n\n<html>\n<head>\n\t<meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\" />\n\n\t<title>Tag File Test</title>\n</head>\n<body> \n\t";
              private final static byte[] wlblock3Bytes = getBytes( wl_block3 );
              private final static String wlblock4 ="\n</body>\n</html>";
              private final static byte[] wlblock4Bytes = getBytes( wl_block4 );
              static private javelin.jsp.JspFunctionMapper jspxfnmap = javelin.jsp.JspFunctionMapper.getInstance();
              public void _jspService(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
              throws javax.servlet.ServletException, java.io.IOException {
              javax.servlet.ServletConfig config = getServletConfig();
              javax.servlet.ServletContext application = config.getServletContext();
              javax.servlet.jsp.tagext.JspTag _activeTag = null;
              Object page = this;
              javax.servlet.jsp.JspWriter out;
              javax.servlet.jsp.PageContext pageContext = javax.servlet.jsp.JspFactory.getDefaultFactory().getPageContext(this, request, response, null, true , 8192 , true );
              response.setHeader("Content-Type", "text/html; charset=ISO-8859-1");
              out = pageContext.getOut();
              javax.servlet.jsp.JspWriter _originalOut = out;
              javax.servlet.http.HttpSession session = request.getSession( true );
              try {;
              response.setContentType("text/html; charset=ISO-8859-1");
              {_writeText(response, out, _wl_block0, _wl_block0Bytes);}
              {_writeText(response, out, _wl_block1, _wl_block1Bytes);}
              {_writeText(response, out, _wl_block2, _wl_block2Bytes);}
              {_writeText(response, out, _wl_block3, _wl_block3Bytes);}
              jsp_servlet._tags.__hello_tag __tag0 = null ;
              int __result__tag0 = 0 ;
              if (__tag0== null )__tag0 = new jsp_servlet._tags.__hello_tag ();
              __tag0.setJspContext(pageContext);
              __tag0.setParent(null);
              activeTag=_tag0;
              __tag0.doTag();
              {_writeText(response, out, _wl_block4, _wl_block4Bytes);}
              } catch (Throwable __ee){
              if(!(__ee instanceof javax.servlet.jsp.SkipPageException)) {
              while ((out != null) && (out != _originalOut)) out = pageContext.popBody();
              releaseTags(activeTag);
              pageContext.handlePageException(__ee);
              __hello_tag.java:
              package jsp_servlet . _tags ;
              import java.io.*;
              import java.util.*;
              import javax.servlet.*;
              import javax.servlet.http.*;
              import javax.servlet.jsp.*;
              import javax.servlet.jsp.tagext.*;
              public final class __hello_tag extends javax.servlet.jsp.tagext.SimpleTagSupport {
              private static void _releaseTags(javax.servlet.jsp.tagext.JspTag t) {
              while (t != null) {
              if(t instanceof javax.servlet.jsp.tagext.Tag) {
              javax.servlet.jsp.tagext.Tag tmp = (javax.servlet.jsp.tagext.Tag)t;
              t = ((javax.servlet.jsp.tagext.Tag) t).getParent();
              try {
              tmp.release();
              } catch(Exception ignore) {}
              else {
              t = ((javax.servlet.jsp.tagext.SimpleTag)t).getParent();
              public static boolean _staticIsStale(weblogic.servlet.jsp.StaleChecker sci) {
              if (sci.isResourceStale("/META-INF/tags/hello.tag", 1207926783175L ,"9.2.2.0","America/Denver")) return true;
              return false;
              protected static final String tagxTagInfo = "-84,-19,0,5,116,0,5,104,101,108,108,111,116,0,29,106,115,112,95,115,101,114,118,108,101,116,46,95,116,97,103,115,46,95,95,104,101,108,108,111,95,116,97,103,116,0,5,101,109,112,116,121,112,112,112,112,119,5,0,0,0,0,3,116,0,10,106,115,112,67,111,110,116,101,120,116,119,1,0,116,0,28,106,97,118,97,120,46,115,101,114,118,108,101,116,46,106,115,112,46,74,115,112,67,111,110,116,101,120,116,113,0,126,0,4,119,1,1,112,119,2,1,0,112,112,116,0,7,106,115,112,66,111,100,121,119,1,0,116,0,36,106,97,118,97,120,46,115,101,114,118,108,101,116,46,106,115,112,46,116,97,103,101,120,116,46,74,115,112,70,114,97,103,109,101,110,116,113,0,126,0,6,119,1,1,112,119,2,1,0,112,112,116,0,6,112,97,114,101,110,116,119,1,0,116,0,31,106,97,118,97,120,46,115,101,114,118,108,101,116,46,106,115,112,46,116,97,103,101,120,116,46,74,115,112,84,97,103,113,0,126,0,8,119,1,1,112,119,2,1,0,112,112,119,4,0,0,0,0,112,112,";
              protected JspContext jspContext ;
              public void setJspContext ( JspContext ctx ){
              super . setJspContext ( ctx );
              java.util.List nested = null ;
              java.util.List atBegin = null ;
              java.util.List atEnd = null ;
              this.jspContext = new javelin.jsp.JspContextWrapper(ctx, nested, atBegin, atEnd, null);
              }public JspContext getJspContext() {
              return this.jspContext;
              private java.io.Writer jspxsout;
              private javax.servlet.jsp.tagext.JspTag _activeTag;
              private static void _writeText(javax.servlet.ServletResponse rsp, javax.servlet.jsp.JspWriter out, String block, byte[] blockBytes)
              throws java.io.IOException {
              if (!_WL_ENCODED_BYTES_OK || _hasEncodingChanged(rsp)){
              out.print(block);
              } else {
              ((weblogic.servlet.jsp.ByteWriter)out).write(blockBytes, block);
              private static boolean _hasEncodingChanged(javax.servlet.ServletResponse rsp){
              String encoding = rsp.getCharacterEncoding();
              if ( "ISO-8859-1".equals(encoding) || "Cp1252".equals(encoding) || "ISO8859_1".equals(encoding) || "ASCII".equals(encoding) ){
              return false;
              if (_WL_ORIGINAL_ENCODING.equals(encoding)) {
              return false;
              return true;
              private static boolean WLENCODED_BYTES_OK = true;
              private static final String WLORIGINAL_ENCODING = "ISO-8859-1";
              private static byte[] _getBytes(String block){
              try {
              return block.getBytes(_WL_ORIGINAL_ENCODING);
              } catch (java.io.UnsupportedEncodingException u){
              WLENCODED_BYTES_OK = false;
              return null;
              private final static String wlblock0 ="\n<center><h1>Hello World</h1></center>";
              private final static byte[] wlblock0Bytes = getBytes( wl_block0 );
              static private javelin.jsp.JspFunctionMapper jspxfnmap = javelin.jsp.JspFunctionMapper.getInstance();
              public void doTag() throws JspException, java.io.IOException {
              javax.servlet.jsp.PageContext pageContext = (javax.servlet.jsp.PageContext) getJspContext();
              javax.servlet.http.HttpServletRequest request = (javax.servlet.http.HttpServletRequest) pageContext.getRequest ();
              javax.servlet.http.HttpServletResponse response = (javax.servlet.http.HttpServletResponse) pageContext.getResponse();
              javax.servlet.http.HttpSession session = pageContext.getSession();
              javax.servlet.ServletContext application = pageContext.getServletContext();
              javax.servlet.ServletConfig config = pageContext.getServletConfig();
              javax.servlet.jsp.JspWriter out = jspContext.getOut();
              javax.servlet.jsp.tagext.JspTag _activeTag = null;
              try {
              {_writeText(response, out, _wl_block0, _wl_block0Bytes);}
              } catch ( Throwable t ){
              if( t instanceof javax.servlet.jsp.SkipPageException )
              {throw (javax.servlet.jsp.SkipPageException)t;}
              if( t instanceof java.io.IOException )
              {throw (java.io.IOException)t;}
              if( t instanceof IllegalStateException )
              {throw (IllegalStateException)t;}
              if( t instanceof javax.servlet.jsp.JspException )
              {throw (javax.servlet.jsp.JspException)t;}
              throw new javax.servlet.jsp.JspException(t);
              finally {
              ((javelin.jsp.JspContextWrapper)jspContext).syncEndTagFile();
              Edited by Stephen Davison at 04/11/2008 9:02 AM

  • Syntax for calling html page in PL/SQL package

    Hi,
    I'm trying to call html page (stored on server) in my pl/sql package!
    I have already create html page in pl/sql package code and it's works fine.
    Now create better html page (interface design) and stored on server. I would like to call that stored html page in my pl/sql package.
    What is syntax for calling html page in PL/SQL or could you suggest me some literature.
    In first option I had created ces and stored it on server. Then I call it in pl/sql package like htp.p('<link rel="stylesheet" href="\download\table_style.css" type="text/css">');
    I try someting like that for calling html page but it doesn't works.
    htp.p('<link rel="form" href="\download\interface.htm" type="text/html">');
    Does anyone know syntax for calling html page in pl/sql?!?
    Thanks!

    hello
    I normally use htp.anchor(URL,linkname);
    it works
    ammar sajdi
    www.e-ammar.com/Oracle.htm

  • Export command syntax for OA page in R12

    Hi,
    Can any one let me know the syntax for export command for an OA page in R12.
    I have tried with the 11i export command, but could not get the page.
    Thanks,
    Divya

    Hi,
    sorry, wrong forum (its about JDeveloper and ADF) - See: OA Framework
    Frank

  • Syntax for page level process to invoke an on-demand app level process?

    I want to use a page level process (if that's the right thing to do) to run an application process on-demand each time certain pages load. What is the proper syntax for the page level process?
    I tried many variations of the following but it does not pass syntax checking.
    1.
    APPLICATION_PROCESS=GLOBAL_UPDATE;
    2.
    begin
    APPLICATION_PROCESS=GLOBAL_UPDATE;
    end;
    What is the proper syntax?
    Thanks,
    Linda

    Linda - If you want to run an application process when certain pages load, just create an application process (PL/SQL type) with the desired firing point, e.g., On Load: Before Header and in the process condition use a condition type like "Current Page Is Contained Within Expression 1 (comma delimited list of pages)". No need to create either a page process or an on-demand application process to do this.
    Scott

  • Why does people use JSP Tag for their JSP page? (Urgent)

    I don't know what benifit if I am using JSP Tag.
    If anyone knows, pls give me an idea and the advantage of using JSP Tag in JSP Page!
    Thanks in advance!

    You have to read a little about JSP, JSP stands for JavaServer Pages, you can use jsp tags and you can use java code. If you dont want to use jsp tags then you should just write html file, if you just want to use java, then write java class or a servlet.
    The need for jsp arised because people were inserting html code inside a servlet class..a big no no..and a headache. JSP separate model from the view...read a little about MVC-2 model view controller pattern.
    Also read some tutorial on this website...good luck
    K

  • Syntax for Page 1/3, 2/3 etc. in Report

    Hi,
    I have a report, in which Page number is coming like this:--
    Page 1
    But i want it like this:--
    Page 1/3 , Page 2/3 & Page 3/3.
    In my report, syntax is written SY-PAGNO for Page 1. Then what will be the syntax for Page 1/3 etc.
    Thanks

    I cann't paste the whole code here becuase it have more than 40000 characters. 
    Hint : - It is the copy of Standard program RQPDRK00.
    I paste some code here.....(before START-OF-SELECTION.)....Here are the changed in this code---
    REPORT ZKC_RQPDRK00 NO STANDARD PAGE HEADING LINE-SIZE 147 line-count
    56(10).
    Kopie aus RCPDRK00, Ohne Materialkomponenten, ergänzt um Typ Q
    und Kreuz bei Merkmalen und Merkmalswerte. Wird aufgerufen von
    RQPDRK02.
    Tranparente DB-Tabellen
    TABLES: MAPL,                          "Material-Alt. Zuordnung
            PLKOD,                         "Plankopf
            PLFLD,                         "Planfolge
            PLPOD,                         "Vorgang
            RCR01,                         "Arbeitsplatz Vorgang
            PLPODS,                        "Untervorgang
            RCR01S,                        "Arbeitsplatz Untervorgang
           PLMZD,                         "Materialkomponentenzuor
            PLMK,                          "QM-Merkmale
            PLMKB,                         "QM-Merkmale: Belegstruktur
            PLMW,                          "QM-Merkmalswerte
            PLFHD,                         "Fertigungshilsmittelzuordnung
            RQPAS,                         "Steuertabelle QM
            QPMK ,                         "Stammprüfmerkmale
            QPMT ,                         "Stammprüfmerkmale: Texte
            QPMZ ,                         "Zuordnungstabelle Stammdaten QM
            MARA ,
            CDPOS,
            CDHDR,
            TWEWT,
            QMTT.
    ATAB-Tabellen
    TABLES:
            TCA01,                         "Plantyp
            TCA02,                         "Text zum Plantyp
            TCA08,                         "Folgenartenbeschreibung
            TCA09.                         "Plananwendung
    Strukturtabellen (Reine Workareas)
    TABLES: RC27M,                         "Struktur für Materialstammview
            QMKST.                         "Steuerkennzeichen Planmerkmal
    DATA:  TAB_MAPL   LIKE MAPL  OCCURS 10 ,
           L_MAPL_WA  LIKE MAPL ,
           L_PLNNR    LIKE MAPL-PLNNR ,
           L_MATNR    LIKE MAPL-MATNR .
    DATA : BEGIN OF I_CDPOS OCCURS 0.
            INCLUDE STRUCTURE CDPOS.
    DATA :  UDATE LIKE CDHDR-UDATE.
    DATA   END OF I_CDPOS.
    DATA WS_LINES LIKE SY-LINNO.
    DATA FIRST_PAGE_FLAG VALUE 'Y'.
    DATA BAL_LINE TYPE I.
    data grp like PLKOD-PLNNR.
    DATA : PAGECOUNT(5) TYPE c.
    Select-Options
    Auswahlmenü Anforderungsbild
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN BEGIN OF BLOCK AUSWAHL WITH FRAME TITLE TEXT-X22.
    SELECT-OPTIONS:VAGRP FOR PLKOD-VAGRP,  "Planergruppe
                   STATU FOR PLKOD-STATU,  "Status
                   WERKS FOR PLKOD-WERKS,  "Werk
                   VERWE FOR PLKOD-VERWE.  "Planverwendung
    SELECTION-SCREEN END OF BLOCK AUSWAHL.
    Include QM Routinen zum Drucken der Merkmale
    INCLUDE ZKC_IQPDRK00.
    *INCLUDE IQPDRK00.
    *-- Ergänzung QM: Plantyp Q wird als Default gesetzt
    INITIALIZATION.
      PN_PLNTY = 'Q' .
    top-of-page.
      ULINE.
      PRINT-CONTROL FUNCTION: 'SABLD' LINE 2.
                           'SAOFF' LINE 2,
                           'SAULN' LINE 3.
      write : SY-VLINE,
               30 'BCH ELECTRIC LIMITED',
               77 SY-VLINE,
               95 'QUALITY ASSURANCE',
               125 SY-VLINE,
               130 'Page ',SY-PAGNO, '/ ', '-----',
               147 SY-VLINE.
      ULINE.
      end-of-page.
      skip 2.
      ULINE.
      WRITE : SY-VLINE,
             50 SY-VLINE,
             100 SY-VLINE,
             147 SY-VLINE.
            120 SY-VLINE,
            82 'Confidential',
            95 SY-VLINE,
            122 'Restricted',
            147 SY-VLINE.
    WRITE : SY-VLINE,
             50 SY-VLINE,
             100 SY-VLINE,
             147 SY-VLINE.
            98 TEXT-K10,
            106 grp,
            92 'Confidentiality',
            120 SY-VLINE,
            123 'Confidentiality',
            147 SY-VLINE.
    ULINE AT 81(67).
    WRITE : SY-VLINE,
             50 SY-VLINE,
             100 SY-VLINE,
             147 SY-VLINE.
            120 SY-VLINE,
            84 'Internal',
            95 SY-VLINE,
            117 'Public',
            147 SY-VLINE.
    uline.
    WRITE : SY-VLINE,
             15 'Prepared by',
             50 SY-VLINE,
             70'Reviewed by',
             100 SY-VLINE,
             120 'Approved by',
             147 SY-VLINE.
            98 'Confidentiality',
            120 sy-vline,
            123 'Restricted',
            122 'Page ',
            147 SY-VLINE.
    uline.
    set margin 15 2.
    START-OF-SELECTION.
    END-OF-SELECTION.
       WRITE SY-PAGNO TO PAGECOUNT LEFT-JUSTIFIED.
        DO SY-PAGNO TIMES.
            READ LINE 1 OF PAGE SY-INDEX.
            REPLACE '-----' WITH PAGECOUNT INTO SY-LISEL.
            MODIFY CURRENT LINE.
        ENDDO.
    This is changed code....
    Please check...

  • The syntax for accessing MS SQL db from JSP

    Can anybody help me with the syntax for accessing MS SQL db from JSP???
    This is what I do when I use MySQL:
    Class.forName( "org.gjt.mm.mysql.Driver" );
    Connection conn = DriverManager.getConnection(
         "jdbc:mysql:://um" ,
    What do I write when it is MS SQL and where do I install the driver
    BR Soren

    Can anybody help me with the syntax for accessing MS
    SQL db from JSP???
    This is what I do when I use MySQL:
    Class.forName( "org.gjt.mm.mysql.Driver" );
    Connection conn = DriverManager.getConnection(
    "jdbc:mysql:://um" ,
    What do I write when it is MS SQL and where do I
    install the driver
    BR Soren
    One way of doing this is to use ODBC. Here's an example:
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection conn = DriverManager.getConnection("jdbc:odbc:<odbc name>", "<login>", "<password>");

  • Avoid caching in the client

    I'm using servlets + jsp technology.
    I have a form that inserts a person in the database.
    When you post the form the servlet attends the request in the doPost method, calls a DAO object that inserts this data in the database, asigning an id number for this person and giving it back. to the servlet.
    Then the servlet sends back a page that informs that the person has been inserted.
    At this point (with the result page in the browser), the user click the back button. This shows the form again with all the data the he has completed before. If he click the OK button the form is posted again to the servlet, and a new person is inserted in the database with a new id. But this person is the same.
    How can I avoid this?
    I don't know if I'm clear enough. Please help
    Thanks

    For even more aggressive "don't cache this page", especially to fight various Microsoft IE versions' caching "features":
        public static void disableCaching(HttpServletResponse response)
            response.addDateHeader("Expires", 791589600000L); // Wed Feb 01 00:00:00 EET 1995
            response.addHeader("Cache-Control", "no-store,no-cache,must-revalidate,post-check=0,pre-check=0");
            response.addHeader("Pragma", "no-cache");
        }For more info: http://www.google.com/search?q=no-cache+pre-check+post-check+pragma

  • How to find JSP syntax Errors

    Dear All.
    I develop JSP in EP environment by NW Studio, I fond it is difficult to find JSP syntax Errors when I wrote the JSP, I ever view EP log, but the information is so general, it only told me "Error occurs during the compilation of java generated from the jsp" and so so, I can't find more detail information , could you tell me how can I find the syntax Errors quickly?

    Hi,
    The error should be somewhere in the log or trace file.
    Try default.trc in Visual Administrator (Log viewer) to look for more detail.
    Another possibility is to look for plugins that are compatible with NWDS and that can (pre)compile JSP's. Anyone....?
    In general is it is wise to keep your JSP's small, so use jsp:include (or page include) where possible. Also to avoid duplication of code. Indentation also helps to keep code readable.
    Good luck,
    Roelof

  • Mixing XML syntax w/JSP syntax

    As I understand it, you can use either the JSP-specific syntax or an XML-based syntax for code in a JSP page. For instance you can use either
      <%= expresssion %>(JSP-specific syntax)
    or
      <jsp:expression>
        expression
      </jsp:expression>(XML-based syntax)
    to do much the same thing. But I think once I heard somewhere that the two syntaxes cannot be mixed on the same JSP page. Two questions about that:
    (1) Is it true?
    (2) If it is true, what about a page of one syntax that includes (using include directive) a page of the other syntax -- there will be inconsistency here.
    Thanks if you can answer this.

    A jsp source file(.jsp) should be in either Xml syntax or Jsp syntax.

  • How can we add a control on our .jsp webpage for uploading several image fi

    How can we add a control on our .jsp webpage for uploading several image files as done in gmail attachment, Where a Remove button also appears if we wanna remove the particular attachment.

    The SCOM Management Server is in Domain A.  I've tried it already and it has failed.  
    So just to clarify the method I used was to go to Administration>Security>User Roles.  Then New User Role>Read-Only Operator.  In the Create User Role Wizard I then gave the User Role a name, Clicked "Add" under User Role Members.
     Then the Select Users or Groups window pops up and I changed the Locations from Domain A to Domain B and searched for the user, which it's able to find, then clicked "OK" to add it to the User Role members which it does just fine.  On
    the next page which is Group Scope I checked the one group I want this account to have access to and then click next.  This brings me to Dashboards and Views where I click the radio button for "Only the dashboards and views selected in each tab are
    approved" and chose the folder of dashboards I want this account to access and then click next.  This brings me to the Summary and I click "Create".  At this point it thinks for a moment then closes out the wizard but the new Read-Only
    Operator does not appear.  I then look in Event Viewer and see the Event I pasted above.
    Am I doing something wrong here?  Any guidance on how to get around this issue would be much appreciated.
    Thanks,
    Jake

Maybe you are looking for

  • Field for file selection

    In Acrobat Text Fields have an option Field is used for file selection. With this Text Fields it is possible to select a File in the File Browser and to show the URL of the selected File in the Textfile with a script like var ft = this.getField("URL"

  • Deleting lines in maintenance view

    Hi, I have a table that have a maintenance view, in that maintenance i have one user event to fill hidden fields. What appens is that when i am maintening the table i select some lines to delete, i delete, save and exit.And when i enter again the lin

  • R/3 4.6C  to SAP WAS J2EE engine

    Hi, I am new ABAP Programming and more into J2EE. I would like to know different approachs available to communicate or send data from ABAP to J2EE engine/Web Applicaiton asynchronously. I am looking for SAP WAS 6.40 Thanks in Advance

  • Installing Int  Pio DVR-110 Drive -recognition/bootability ?s

    Visiting mother in WY. Her CD has not worked in long tiime. I hooked up Firewire DC ext. drive to boot from for maintenance, etc., but now want to iinstall Tiger and iLife 6 etc. . I'm on vacation and nervous about the installation. Can anyone direct

  • When combine multiple PDFs into one, some letters are missing and display wrong letter

    Hi all. I get a problem with combine multiple PDFs into a single PDF document. There are some PDF documents and they are working fine to open each document separately. But after I use Adobe Acrobat 8 Standard to combine them into one, some letters ar