Selective Cache-control in the web server

I am using weblogic 8.1 as the app server and Sun one 6.1 as the web server
In my obj.conf of the web server we have this
PathCheck fn="set-cache-control" control="private"
This caches all the pages.
But I don't want some pages to be cached in our site.
For this, I tried setting "no-cache" for the "Cache-control " of the response hedear, in corresponding jsps. But the webserver configuration is overriding this.
This configuration set in the webserver should be applicable for all the modules except for some urls .
can anybody tell me how to make this selective cache-control configuration in the obj.conf of sun one web server.
or if there is any way to prevent the set up in jsp from being overridden this webserver ?
Also it would be great if anybody can explain, what are the services handled by the web server and the the app-server and how they interact with each other....

It's unfortunate that JSPs running in WebLogic can't override the default Cache-Control directives in Web Server. That's probably a bug in the WebLogic plugin. (It is possible for JSPs running directly on Web Server to override the default Cache-Control directives.)
As with any obj.conf directive, you can configure Cache-Control directives on a path-by-path basis. For example, the following would set Cache-Control: no-cache for /foo/*.jsp and Cache-Control: private for all other URIs:<Object ppath="/foo/*.jsp">
PathCheck fn="set-cache-control" control="no-cache"
</Object>
<Object name="default">
PathCheck fn="set-cache-control" control="private"
</Object>Information on obj.conf syntax, including how to configure separate objects for separate paths, can be found in the Syntax and use of obj.conf chapter of the NSAPI Programmer's Guide at http://docs.sun.com/source/817-6252/npgobjcn.html.
I'm not sure what you mean by "what are the services handled by the web server and the the app-server and how they interact with each other". However, it's worth noting that Sun ONE Web Server 6.1 is fully capable of running JSPs by itself; there's no need for a separate WebLogic server.

Similar Messages

  • I am facing a caching problem in the Web-Application that I've developed us

    Dear Friends,
    I am facing a caching problem in the Web-Application that I've developed using Java/JSP/Servlet.
    Problem Description: In this application when a hyperlink is clicked it is supposed to go the Handling Servlet and then servlet will fetch the data (using DAO layer) and will store in the session. After this the servlet will forward the request to the view JSP to present the data. The JSP access the object stored in the session and displays the data.
    However, when the link is clicked second time then the request is not received by our servlet and the cached(prev data) page is shown. If we refresh the page then request come to the servlet and we get correct data. But as you will also agree that we don't want the users to refresh the page again and again to get the updated data.
    We've included these lines in JSPs also but it does no good:
    <%
    response.setHeader("Expires", "0");
    response.setHeader("Cache-Control" ,"no-cache, must-revalidate");
    response.setHeader("Pragma", "no-cache");
    response.setHeader("Cache-Control","no-store");
    %>
    Request you to please give a solution for the same.
    Thanks & Regards,
    Mohan

    However, when the link is clicked second time then the request is not received by our servlet Impossible mate.. can you show your code. You sure there are no javascript errors ?
    Why dont you just remove your object from the session after displaying the data from it and see if your page "automatically" hits the servlet when the link is clicked.
    cheers..
    S

  • Imp:How to find out whether client authentication Enabled on the Web Server

    Hi,
    I am trying to find out whether the Client Authentication Enabled on the Web Server or not.
    Reason for doing this, if we have two certificates in the key store which will authenticate the Web Server, JSSE Authentication will always take the first cert from the keystore. If the first Certificate is Expired, it will fail while doing the HandShake.
    So if I can find out whether Client Authentication is Enabled or not, then I can prompt a dialog for the user to select the Certificate for the Hand Shake.
    Thanks in advance for any Response,
    Krish.

    AUTH_TYPE will tell you only if it SSL or not. It won't say whether the Client Certificates Required for SSL Connection.
    Also, AUTH_TYPE is not part of the Http Headers.
    If there is any other solution, greatly appreciated.
    Thanks
    Krish.

  • Step by Step of how to Install and configure the Web Server Core 2008 R2

    I encoutred a couple of problems installing a Web Server Core 2008 R2 edition including the remote connection and for people who are encountring the error :
    "The WinRM client cannot complete the operation within the time specified" or the error : " Could not connect to the specified
    computer. Details: Unable to connect to the remote server "   I think those couple of video will be helpfull,
    so I decided to record and share this experience with you by producing the server core from A  to Z to avoid the headache that I encountred
    during my experience. The lab environment is vmware but you can use hyper v or even physical lab if you want as  the steps are the
    same
    http://www.youtube.com/playlist?list=PLzayUN5B2cXMoyziV4oUs94P6EZT6QVmc
    watch?v=5z1NiWUJdGU  Wipe generation
    watch?v=Q3BoLkWWAC4  hard disk preparation
    watch?v=lOPvy-cn0Uk  server core installation
    watch?v=gTnOUJfRkDg  configure the web server
    watch?v=0ofvknXMNsc  install .net framework in the webserver
    watch?v=K4ADBzZeM6E  install the web server role
    watch?v=oGHC0sbe17Y  remote control the server
    watch?v=SpzAsRkjV40  continue the remote configuration
    watch?v=XjPD8U_y29I  Create and alias for the web server
    watch?v=Pim1T6z6DJM  Configure a Win 7 machine to control
    Enjoy  the vids
    The complexity resides in the simplicity Follow me at: http://smartssolutions.blogspot.com

    Hi MASNSN,
    Thanks for your sharing =)

  • Add Controls on the web site

    I would like to add controls on the web form and want to know should I use HTM code to add controls or can drag and drop from any tool box?
    Your information and help is great appreciated,
    Regards,
    Iccsi,

    Thanks for the message and helping,
    I want to place a button, a label and a text box  on my web page form.
    Are there any tool box to select and drap and drop on the form or I need add HTML code like
    <input type="button" name="cmdSubmit" />  to add a control?
    Thanks again for helping and information,
    Regards,
    Iccsi,

  • Does Crystal Reports need to be on the web server?

    Hello,
    here's my scenario. someone who left us moved a .Net web application from server 1 to server 2 and didn't leave us notes of what he did. The report came up on server 2 fine but was not getting the right data so we changed the datasource to get the data correctly.  Now we deployed the fixed version on server 2 and refreshed the web server.  Now we see the correct results BUT the Business Objects icons (e.g. BO image, print icon, forward and back icon) are all "X" meaning that they could not be found.
    We took a look at server 1 and it had the full version of Crystal Reports installed on it.  On server 2 it looked like the DLLs were dumped into the GAC and that's all. 
    We're a bit perplexed by why it was working on server 2 with all the Business Objects icons even though Crystal Reports was not installed on it until we restarted the server with the fixed code.  We were thinking maybe it's some sort of caching??  I've never seen this before so I'm a bit perplexed.
    Any ideas on why this happened?
    Thanks for taking a look.

    Hello Jeff
    Mysterious for sure. When you say;
    no virtual directory to crystalreportviewers115 and Crystal reports is not installed on the server (except for seeing only a few CR Dll's)...so how the heck did he get it working
    You're essentially saying something like;
    The car has no wheels, no engine, yet somehow it managed to get from point A to point B.
    Sorry to say, but it ain't happening...
    The only way to get a project that includes CR to work is to deploy the CR runtime. Either via MSI file where a simple double click will install the runtime and configure the viewer directory under the default app pool, or via a setup project you build using the CR MSM files. Again the files will be installed and the viewer directory configured under the default app pool. If your app is under a custom app pool, you need to configure the viewer folder under that pool as the install has no idea about non default app pools. See KB [  1547124|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533343337333133323334%7D.do] for more details re. viewer configuration.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • How to use the web server tips (connected/disconnected)?

    Using the web server tips into a VI to know when a client is connected or disconnected.
    Hello Everyone
    I want to use the tips that appear when a remote user gets control of my VI via web server. That way I will be able to trigger some other operations as soon as the user gets in or out my VI. How can I extract the information that contains that (user has or has not control). I hope you can help me.
    Regards
    Marco Roman

    There is a VI method called Remote Panel Client Connections. It returns an array of clusters with connection information and also has a Controller output. If the controller output is -1, no clients are connected.

  • Activating Scripting on the Web Server

    I found this, but can not locate Scripting on the Web Server: Configuration page
    Activating Scripting on the Web Server
    To use scripting with a Web service, you must activate the functionality on the LabVIEW Web Server. In LabVIEW, select Scripting on the Web Server: Configuration page in the Options dialog box to activate scripting on the Web Server.
    http://zone.ni.com/devzone/cda/tut/p/id/7738
    Solved!
    Go to Solution.

    Hi Eric LZ
    You are absolutely right, for LabVIEW 2009 scripting is activated automatically. More information about that could be found here. For LabVIEW 8.6 you'll have to follow these instructions. The above links are valid for VI scripting.
    National Instruments
    Carlos O
    Applications Engineer

  • How to change the web server??

    How to change the web server in the details of the mobile application component in the MI webconsole??

    hello irene,
    had your tried checking on the "Use IP instead of host
    name" checkbox?
    to edit your registered application info, go to
    "Upload Mobile Component" tab and click on the Edit icon
    on the left part of the record list which corresponds to
    the application you had just uploaded.
    your application is uploaded to the same host as your
    web console application is running on. if you like to
    point it to a different server where you have your
    archive accessible, you have to change your mcd
    deployment attributes on your middleware. try the ff:
    1)run tcode: mi_mcd
    2)click on Create Mobile Component
    3)Enter Mobile Solution Name and Version
    4)Click on Display MCD
    5)Select Deployment Tab
    6)Click on Edit
    7)Change the values of WEBSERVER and WEBPATH location eg.
      if your archive is located at
      http://myotherserver:80/archive/myapplication.war
      your entry will be:
      WEBSERVER: http://myotherserver:80
      WEBPATH: /archive/myapplication.war
    where you myotherserver is the name of your http host
    server and myapplication.war is the name of your archive.
    the archive directory is just a virtual directory where
    your application archive is.
    you might need to change the port number depending on
    your http server port.
    regards
    jo

  • Remoted control a Struts web server

    Not sure where is the correct forum for this question.
    Can URL or URLConnection class remoted control a Struts web server?
    If a user input "http://localhost:8080/project/computation.do?para=3" in the browser, then press "Enter" key on the keyboard, the Struts application will perform a series of computation.
    Now I am implement an stand-alone application on the client side to give Web Server the instrution to perform the same computation. I donot want to fetch any page from the server.
    URL url = new URL("http://localhost:8080/project/computation.do");
    URLConnection con = url.openConnection();
    con.setDoOutput(true);
    OutputStreamWriter wr = new OutputStreamWriter(con.getOutputStream());
    String data = URLEncoder.encode("para", "UTF-8") + "=" + URLEncoder.encode("3", "UTF-8");
    wr.write(data);
    wr.flush();
    con.coneect();
    The Server didnot do anything after running this piece of code.
    Can anyone help, thanks very much.

    Sorry, please ignore my message,
    the code is correct. There is a spelling error in the server code.

  • How do you failover the web server?

    I have 2 servers running the web server on them. If one of them fails how do I reroute the users requests to the other one, seamlessly to the user? I am new to using the web server so any help, even remedial would help!! Thanks!

    Ya, thats part of the problem. Right now we are using Sun Cluster to provide a network resource that handles which web server is to handle the request. A virtual ip address so to speak. We'd like to stop using Sun Cluster as it's a bit unstable, ie reboots the cluster randomly without error messages or warnings. We'd like to just use the web server/application server clustering capabilities and eleviate the extra layer of complexity with Sun Cluster. I know Sun Cluster has a Web Server agent to do this, but that is why we're trying to not go down that road. It is starting to sound like we may have to though as buying additional hardware isn't an option.

  • Communication problem the web server extension (WGATE) failed to receive a

    Hi,
    When a user tries to access his timesheet he get the below error:
    <b>communication problem the web server extension (WGATE) failed to receive a response from the ITS web service</b>
    Only ONE user is getting this error. If everyone get\s the same we can check on the ITS side, but if only ONE user is getting it.
    Please help.
    Regards,
    PK

    HI ALL,
    Thanks for your time. The issue got resolved however without cheking the logs itself. The problem was with the scripfile. All other users and all other scripts were working, except one. And it got recified.
    Regards,
    P. Kumaravel.

  • Connection from the web server to the database which is situated in another machine.

    Thanks for the reply.
    I need to know, whether there shold be a physical connection between the web server and database machine? or can we connect to the database machine through the web, if the database machine has a domain name? if there is a physical connection, we can use the jdbc/odbc connection. but if we are connecting through the web, how can I estblish the connection using a JDBC/ ODBC connection?
    Regards,
    George

    As long as there's a network connection between the two machines, you should be able to make the connection. I'm not sure what the difference between a 'direct connection' and a 'connection through the web' is-- are you actually running a network cable from one machine to another?
    When you cannot make the connection, are you able to do a 'tnsping' on the target database?
    When you say 'connecting through the web', is it possible that you're going through a firewall? If so, the firewall may be blocking the ports you need to communicate on.
    Justin Cave
    ODBC Development

  • The form cannot be submitted to the Web server either because your computer is offline or because the host server is currently unavailabl. If this problem persists, contact your network administrator.

    Hi,
    When the page is submitted for approval by using SharePoint OOTB Page Approval Workflow, it takes quite long time and prompt error message as below.
    "The form cannot be submitted to the Web server either because your computer is offline or because the host server is currently unavailable.
    If this problem persists, contact your network administrator."
    It only happens in Internet Explorer version 8 and 9. IE version below 8 is not used in environment.
    But it is working in Firefox.
    Please help me on how to fix this issue.
    Thanks.

    Hi Htet,
    Here are some articles with the same issue message, you can check the setting of Link Translation rule in the ISA from below.
    http://sharepointontop.blogspot.com/2012/06/form-cannot-be-submitted-to-web-server.html
    http://bytelab.blogspot.com/2008/03/problem-submitting-infopath-forms-using.html
    http://social.msdn.microsoft.com/forums/en-IE/sharepointcustomizationprevious/thread/84be34b3-b806-49ce-a5c2-b5ad8a1ff09f
    Thanks
    Daniel Yang
    TechNet Community Support

  • How can you display a dynamically loaded vi to the Web Server?

    I am working with LabView 6.1 and the Web Server. I can call a subvi and have it display on a remote machine using a browser with no problem. But what I would like to do is dynamically load and run a vi and have it display on the remote computer using only a browser. I have tried a small example of a front panel that invokes the run vi method (and fp.open prop) on another vi when a button is pressed, but the invoked vi is displayed only on the local computer. Is there any way of viewing dynamically loaded vi's on a remote machine without having a copy of LabView running on it?

    If i understand your question correctly, you want to monitor vi that are dynamically loaded on a remote machine without having LabVIEW installed on the machine from witch you want the monitor. I don't think it's possible how ever a good reference book would be Internet applications in LabVIEW. You can find it on BARNES&NOBLE.
    Hope i could help

Maybe you are looking for

  • Volume password

    My volume password is lost and I do not know how to re set it. I am listening to a very low volume. Do you have to have a password for the voulume and how do I get rid of it????????? Please help I can't hear.

  • Can I write a SELECT query on maintenance view?

    Hi, Can we write a select query on maint. view? If not what are the views on which we can write the select queries?

  • Error in marvel.conf file in Oracle Application Express 2.2

    Hi All.. i have installed.. oracle 10g database , then installed oracle application server 10g 10.1.3 and then installing.. Oracle Application Express 2.2(APEX) , i have successfully installed APEX as instruction of documentation included in installa

  • Basic css question

    Hi all this is a basic question but I need to ask it Ther h1, h2, h3 classes that are set normally at the beginning of each style sheet does that meanm that the same values are set throughout the whole page? If I have another div how can I set anothe

  • SAP AFS - change in allocation status

    Gurus, Is there anyway that i can tell who changed the allocation status of an item from R (reserved) to F (fixed). Regards, ottley.