Expires header with a 304 response
I'm using iPlanet 4.1SP9. I've written a custom SAF to add an Expires header to a response. When the page expires the browser send a conditional GET (if-modified-since). iPlanet responds with a plain 304 with no new Expires header. Therefore the page keeps expired in browser and the browser keeps issuing conditional GETs. I want to respond to the conditional GET with a 304 code AND a new Expires header. Can this be accomplished with either standard functionality or a custom SAF.
Hi,
Please have a check on the below link which talks about Understanding Windows Azure Storage Billing – Bandwidth, Transactions, and Capacity.
http://blogs.msdn.com/b/windowsazurestorage/archive/2010/07/09/understanding-windows-azure-storage-billing-bandwidth-transactions-and-capacity.aspx
Hope it helps.
Regards,
Mekh.
Similar Messages
-
Adding Expired heading with static value for reverse proxy
I'd like to add an Expired heading to a response leaving a reverse proxy to make sure that the browser will not cache the file locally (or at least attempt to prevent it).
Is this possible with SWP? I cannot find out how to do this in the admin interface at least. I'm running 4.0.5 B04
thanx,I'd like to add an Expired heading to a response leaving a reverse proxy to make sure that the browser will not cache the file locally (or at least attempt to prevent it).
Is this possible with SWP? I cannot find out how to do this in the admin interface at least. I'm running 4.0.5 B04
thanx, -
Is billable a request with a 304 response?
In an azure blob storage account, I would like to know if when a request receives a 304 response, this is counted as a billabable request or not
Hi,
Please have a check on the below link which talks about Understanding Windows Azure Storage Billing – Bandwidth, Transactions, and Capacity.
http://blogs.msdn.com/b/windowsazurestorage/archive/2010/07/09/understanding-windows-azure-storage-billing-bandwidth-transactions-and-capacity.aspx
Hope it helps.
Regards,
Mekh. -
Is there a way to configure Proxy Server to cache "static" jsps that serve with "Expires" headers?
Can you please explain a bit more?
Right now i assume from your question that something that you like to get
cached is not getting cached.
Proxy will not cache a response if any of the following scenarios happen:
1. An "Expires:" header is present but without a valid value
2. Response headers contain a "Pragma: no-cache"
3. Response headers contain a "Cache-control: no-store"
4. Response headers contain a "Cache-control: private"
5. Response headers do not contain a "Last-modified:" header
6. Response headers contain a "Last-modified:" header with an invalid value
As of now we do not provide an option to ignore Cache-control / Pragma
directives, but that feature should appear in the next service pack (4.0.10). -
# Question
Can you please help to understand how the firefox decides on the Expires date for a cached javascript file ( my server did not set any Expire header, but firebox set it down). I tried to understand but different javascript file gets different Expires date value when it is being cached. Please help me as I tried lot and could not get proper answer for this. Thanks in Advance.Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox. <br />
http://forums.mozillazine.org/viewforum.php?f=25 <br />
You'll need to register and login to be able to post in that forum. -
I'm working with InDesign CS6, Windows 7.
Is there a way, using paragraph rules, to create a heading with shading behind the text and thin lines above and below the text?
I'd like to create headings that look like these:
Thank you!I have a document where I almost do such, but without the fill. I use a Head Style which Spans Columns for this instance; it allows the haeds to flow and fill the width.
Paragraph Rules above and below are turned on with plenty of offset.
I tweaked my setting to accomodate your need - It required only one instance, not above and below, and changing the stroke to a double stroke.
It may be necessary to create a custom stroke to modify the proportion of stroke vs fill. There is a difference of thin-thin and thick-thick, neither of which seemed perfect but might be dependent on the Character height.
Creating custom strokes is accomplished via the Strokes Panel. -
Hey there all.
I am wondering if there is something wrong with my embedded form or if it is simply because
I have not uploaded my site to remote host yet? I am only getting a broken part of the header with
no actual form, with a warning "!local host" in top left hand corner. If anyone could enlighten
me on this problem it would be greatly appreciated, it is my first time making formsCheers, I noticed some browsers were treating the form differently. I am uploading to a test server tomorrow, hopefully all goes well, thanks for your reply
-
I have an ipod nano 2nd generation with a non responsive click wheel
I have an ipod nano 2nd generation with a non responsive click wheel. I have fully charged it tried resetting it and on two different computers with the latest iTunes I have restored it with the latest firmware then moved it to hold and off hold held in the menue button and select button for 10 seconds but all I get is a screen where I select the language but cant get any response from the scroll wheel.
The hold button is working (I see the lock icon go on and off) I have done the restore procedure and then reset many times but no good I am wondering if I should open it up and disconnect the battery for 30 seconds.
I would appreciate any advice thanks in advance. (This is my Daughters ipod mine is an 8 gig one.)You need a newer model iPod, a 4G or 5G. The 2G can only go to iOS 4.2.1
-
How to assgn charge head with GL and Sales order
Dear Exparts'
I am a new user of SD module .I have created a charge head but stuck in GL assignment and Assign the charge head with Sales order.(sales order is already created)
Can any one tell me any direct transaction code or SPRO for the said problem.
Yeasinhi,
maintain condition type kf00 in pricing procedure and assign G/L account, maintain the condition record in vk11,now goto sales order change(va02),goto contion tab and press update,new pricing will be carried out
regards
senya -
How create header with user id time date to VC-report's output as display ?
How create header with user id time date to VC-report's output as display ?
This info should come from the VC - not all the way from R3-side via FunctionModule/BABI. So only userid, date, time to output as normal text (which is not editable of course). Thanks =)Hi ann-mari
Go through following link may it help u
Form Item disabled based on portal role
/people/community.user/blog/2007/01/17/visual-composer-explorations-using-portal-roles-to-influence-ui-element-behavior
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/usingrolestoinfluenceapplication&
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/passingvaluesvia+URL&
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ad182ac7-0a01-0010-4fb8-8a4d217b19c1
Best Regards
````Satish```` -
I want to cut out a head from a photo and insert it into another photo again. In the head hair flying in the wind and the blue sky can be seen between the hairs. This blue sky I want to remove, so I can only use the head with hair flying in another photo. Is it possible to simply delete this blue color of the sky?
Make your selection and then use Refine Edge.
See this video tutorial from Bob Gager.
https://www.youtube.com/watch?v=xrl3Qwg6zSc -
JTable - Check box in column header with sorting
Hello
I have 3 problems/questions.
1. When adding sorting to a table with
setAutoCreateRowSorter(true);and you click on a column header, normally a sorting arrow will appear, and indicate in what direction its sorting,
but in the column head with the checkbox, even though the sorting works, the arrow will never appear. Is there anyway to fix this?
2. Is there anyway to get the checkboxes in the table cells to be aligned left (I dont mean the columnheader checkbox, but the ones below)?
3. When you click on the columnheader to either sort or check the checkbox, you will have to wait about a second between each click, or else it won't react and won't sort. sometimes you will have to click twice for it to react. If you click a lot of times fast, then it won't react until you stop for a second, and click again, though it will react only on the first click, but not the secont, third, fourh, and so on, until you stop for a second. Is there anyway to fix this, or atleast make it have a better reaction time?
This is the code for creating the table:
public class Example extends JFrame{
private Container container;
private JTable exampleTable;
public Example(){
container = getContentPane();
ExamleTableModel examleTableModel = new ExamleTableModel();
exampleTable = new JTable(examleTableModel);
TableColumn tc = exampleTable.getColumnModel().getColumn(0);
tc.setCellEditor(exampleTable.getDefaultEditor(Boolean.class));
tc.setCellRenderer(exampleTable.getDefaultRenderer(Boolean.class));
tc.setHeaderRenderer(new CheckBoxHeader(new MyItemListener()));
container.add(new JScrollPane(exampleTable), BorderLayout.SOUTH);
exampleTable.setAutoCreateRowSorter(true);
setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
this.pack();
setSize(500,500);
setVisible(true);
}This is the code for the checkboxheader:
class MyItemListener implements ItemListener
public void itemStateChanged(ItemEvent e) {
Object source = e.getSource();
if (source instanceof AbstractButton == false) return;
boolean checked = e.getStateChange() == ItemEvent.SELECTED;
for(int a = 0, b = exampleTable.getRowCount(); a < b; a++) {
for(int c = 0, d = exampleTable.getRowCount(); c < d; c++) {
if(exampleTable.getColumnName(c).equals("")){
exampleTable.setValueAt(new Boolean(checked),a,c);
class CheckBoxHeader extends JCheckBox
implements TableCellRenderer, MouseListener {
protected CheckBoxHeader rendererComponent;
protected int column;
protected boolean mousePressed = false;
public CheckBoxHeader(ItemListener itemListener) {
rendererComponent = this;
this.setHorizontalAlignment(JLabel.LEFT);
rendererComponent.addItemListener(itemListener);
public Component getTableCellRendererComponent(
JTable table, Object value,
boolean isSelected, boolean hasFocus, int row, int column) {
if (table != null) {
JTableHeader header = table.getTableHeader();
if (header != null) {
rendererComponent.setForeground(header.getForeground());
rendererComponent.setBackground(header.getBackground());
rendererComponent.setFont(header.getFont());
header.addMouseListener(rendererComponent);
setColumn(column);
rendererComponent.setText("");
setBorder(UIManager.getBorder("TableHeader.cellBorder"));
return rendererComponent;
protected void setColumn(int column){this.column = column;}
public int getColumn(){return column;}
protected void handleClickEvent(MouseEvent e) {
if (mousePressed) {
mousePressed=false;
JTableHeader header = (JTableHeader)(e.getSource());
JTable tableView = header.getTable();
TableColumnModel columnModel = tableView.getColumnModel();
int viewColumn = columnModel.getColumnIndexAtX(e.getX());
int column = tableView.convertColumnIndexToModel(viewColumn);
if (viewColumn == this.column && e.getClickCount() == 1 && column != -1) {
doClick();
public void mouseClicked(MouseEvent e) {
boolean active=true;
JTableHeader header = (JTableHeader)(e.getSource());
switch (e.getID()) {
case MouseEvent.MOUSE_CLICKED:
case MouseEvent.MOUSE_PRESSED:
case MouseEvent.MOUSE_RELEASED:
JTable tableView = header.getTable();
TableColumnModel columnModel = tableView.getColumnModel();
int viewColumn = columnModel.getColumnIndexAtX(e.getX());
int column = tableView.convertColumnIndexToModel(viewColumn);
Rectangle bounds = tableView.getCellRect(-1, column, false);
if (e.getX() > bounds.x + 16) { // only if one the checkbox
if (e.getID() == MouseEvent.MOUSE_CLICKED) {active = false;}
}else{active=true;}
if(active){
handleClickEvent(e);
((JTableHeader)e.getSource()).repaint();
public void mousePressed(MouseEvent e){mousePressed = true;}
public void mouseReleased(MouseEvent e){}
public void mouseEntered(MouseEvent e){}
public void mouseExited(MouseEvent e){}
}If you want the code for the ExamleTableModel, I will post it if you ask (having trouble with the character limit).What are you supposed to cast it to? I might have tried to cast it to something wrong.
I tried
TableCellRenderer tcr = table.getDefaultRenderer(Boolean.class);
((DefaultTableCellRenderer)tcr).setHorizontalAlignment(SwingConstants.LEFT);and that gave me a ClassCastException. But I might have been trying to cast it to the wrong thing. -
A drag and drop game with dynamic text response
Hi,
I am a teacher and my school has recently upgraded to Adobe Design Premium. Our previous version was about 5 versions out of date.
I teach A Level which requires students to create an Interactice Multimedia product.
In the previous 6 years, I have taught students how to create simple drag and drop game with dynamic text responses.
Since the upgrade to Actionscript 3.0 the dynamic text response has ceased working.
When creating the game from scratch, I need to move to Actionscript 2.0 as 3.0 does not allow me to add actionscript to objects - I know and am sure that this is a better way of doing things, but I would prefer to keep working the way I am used to.
I use a switch case statement which I have copied below to make the drag and drop work. The objects I apply the code to work in that they can be dragged, however, my dynamic text box with a variable name of "answer" is no longer displaying the response when an answer is left on a dropzone (rectangle converted to a symbol and given an instance name).
on(press) {
startdrag(this);
on(release) {
stopdrag();
switch(this._droptarget) {
case "/dropzoneB":
_root.answer="Well done";
break;
case "/dropzoneA":
case "/dropzoneC":
_root.answer="Hopeless";
break;
default:
_root.answer="";
break;
Any help would be much apeciated.
Thanks
AdrianTo drag in as3
blie_btn is the instance of the object drawin on the stage. In AS3 you have to assign a even listener, in this case MOUSE_DOWN, and MOUSE_UP, as we want the drag to stop if the mouse is not clicked. Then we fire the functions, and tell the object to start drag.
// Register mouse event functions
blue_btn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
blue_btn.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler);
red_btn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
red_btn.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler);
// Define a mouse down handler (user is dragging)
function mouseDownHandler(evt:MouseEvent):void {
var object = evt.target;
// we should limit dragging to the area inside the canvas
object.startDrag();
function mouseUpHandler(evt:MouseEvent):void {
var obj = evt.target;
obj.stopDrag();
if you want to make the text do what you want then something like this might work.
In the function, you could add a text box onto the stage, give it a instance of something like outputText
and then:
outputText = ("Bla Bla Bla");
(^Not sure if this will work exactly^)
PS. I am currently a A-level student -
How can i create bulk users with system Administrator responsibility in EBS
Hi Gurus
I want to create or Load Bulk users with System Administrator Responsibility in Oracle EBS using simple steps (Concurrent,API,OI,Back end). Is it Possible to create user with system Administrator Responsibility using concurrent/API/OI. Kindly help me in creating users with following details.
Username User Description Employee Name E-Mail ID
Das A R GM Mr. Arup R.Das [email protected]
sandeep.n Sr. Manager - Works Mr.sandeep.Naik [email protected]
sandeep Asst. Manager - Excise Mr.Sandeep Bhosale [email protected]
Thanks in Advance
Hemanth.CLogin to to the Ebiz database with user/paswad app/app and verify the detiled parameter for below DB procedures which are being used to create, update user and responsibility related work
Create User FND_USER_PKG.CreateUser
Disable user FND_USER_PKG.DisableUser
Update USer FND_USER_PKG.UpdateUser
Enable User FND_USER_PKG.EnableUser
Add Responsibility FND_USER_PKG.AddResp
Update Responsibility FND_USER_PKG.AddResp
Remove Responsibility FND_USER_PKG.DelResp
In your case call two method
1.CreateUser pass all parameter
2. add responsibility - for responsibility check the KEY/ID value for System administrator in FND_RESPONSIBILITY table. while calling method pass this ID/KEY
Better put this in EBIZ forum. -
Creating PS Network header with one activity
I need to create to a projekt the network header with one activity. so I want top proceed the following coding:
CALL FUNCTION 'BAPI_PS_INITIALIZATION'.
CALL FUNCTION 'BAPI_BUS2002_CREATE'
EXPORTING
i_network = gs_network
TABLES
et_return = et_return.
CALL FUNCTION 'BAPI_PS_PRECOMMIT'
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
IMPORTING
return = es_return.
CALL FUNCTION 'BAPI_PS_INITIALIZATION'.
CALL FUNCTION 'BAPI_BUS2002_ACT_CREATE_MULTI'
EXPORTING
i_number = ls_number
TABLES
it_activity = gt_activity.
CALL FUNCTION 'BAPI_PS_PRECOMMIT'
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
IMPORTING
return = es_return.
But I get an Runtime Error with "MESSAGE_TYPE_X" because the PRECOMMIT was not successful.
Has anyone an idea how to handle that ??
thx a lot
Edited by: Rob Burbank on Nov 18, 2009 9:42 AMDATA: lt_return TYPE TABLE OF bapiret2,
l_wa_return TYPE bapiret2.
CALL FUNCTION 'BAPI_PS_INITIALIZATION'
CALL FUNCTION 'BAPI_BUS2002_CREATE'
EXPORTING
i_network = pi_wa_aufnr
TABLES
et_return = lt_return.
READ TABLE lt_return WITH KEY type = 'S'
TRANSPORTING NO FIELDS.
IF sy-subrc = 0.
REFRESH lt_return.
CALL FUNCTION 'BAPI_PS_PRECOMMIT'
TABLES
et_return = lt_return.
READ TABLE lt_return WITH KEY type = 'S'
TRANSPORTING NO FIELDS.
IF sy-subrc = 0.
READ TABLE lt_return INTO l_wa_return INDEX 3.
pc_aufnr_new = l_wa_return-message_v2.
ENDIF.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
IMPORTING
return = l_wa_return.
ENDIF.
this is the sample code to create network & to get the network number created
Maybe you are looking for
-
so yea, the title pretty much says it all. I bought a song called LOL Money by Jace Hall this morning, along with Sub-Zero VS Scorpion rap battle by Brysi. when i synched them to my ipod nano, the rap battle would play, but LOL Money would just freez
-
Folks, Hello. I have been installing HCM and Campus Solution 9.0 with PeopleTools8.53. Server machine is Oracle Linux 5.10 and client machine is Windows XP. My internet architecture is WebLogic11g/Tuxedo11g/OracleDatabase 11gR1. Peopletools 8.53 run
-
"Distiller has encountered a problem and needs to close."
I installed CS3 Design Premium last week. (XP, SP2) I haven't run any of the CS3 updaters yet because I haven't had a chance to research any possible gotchas. I am repeatedly getting this message: Acrobat Distiller Acrobat Distiller has encountered a
-
Most elegant way to accept a variable number of files?
I am writing a program where I would like to accept a variable number of files to process. In my inexperience with LabVIEW I can think of several ways to do this, which aren't as user friendly as I'd like it to be. I tried an array of file path contr
-
Can't install oracle 8i database
I have a server nt4 machine with SP6, i need install oracle 8i database but i have a message of 'Exception thrown from action' in the installactions.log file and the services OracleOraHome81Agent and OracleOraHome81DataGatherer don't start. After can