Caching Problem
Hello Every body I am facing a problem ,i want My JSP Page not to take content from chache can anybody help me. Thanks & Regards Dinesh Chaturvedi Programmer Analyst Nihilent Technologies Pvt Ltd. Pune 091-20-6054452 Ext 349
RE: Caching Problem
Hi David You got the problem right well i have tried using only the last line of your code response.addDateHeader("Expires", 1); in my code it does not work maybe this will solve the problem. Hi Dinesh, Not sure if this is what you mean, but here goes: If you set the following headers into the JSPs response, the page will not be cached. Use the following scriptlet in the page to take care of this <% response.addHeader("Pragma", "NoCache"); response.addHeader("Cache-Control", "no-cache"); response.addDateHeader("Expires", 1); %> Take a look at http://www.redbooks.ibm.com/pubs/pdfs/redbooks/sg245850.pdf Section 6.5.6 for more information on this subject. Hope this helps. Rgds David -Original Message- From: Dinesh Chaturvedi [mailto:[EMAIL PROTECTED]] Sent: 15 May 2001 14:02 To: [EMAIL PROTECTED] Subject: Caching Problem Hello Every body I am facing a problem ,i want My JSP Page not to take content from chache can anybody help me. Thanks & Regards Dinesh Chaturvedi Programmer Analyst Nihilent Technologies Pvt Ltd. Pune 091-20-6054452 Ext 349 The information in this email is confidential and is intended solely for the addressee(s). Access to this email by anyone else is unauthorised. If you are not an intended recipient, you must not read, use or disseminate the information contained in the email. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Capco. http://www.capco.com ***
XBrowser Hide And Show Problem
Hello Everybody I am using a div tag in my html page and trying to hide and show a text field at run time this works fine while using IE but when i am using Netscape 4.x.it gives me problem accessing document.forms[0].divName i have found that in netscape div is not a part of from abject and used document.divName also but still it is creating a problemdo anybody of you have a suggestion.or can anybody tell me where to consult.. Thanks & Regards Dinesh
RE: XBrowser Hide And Show Problem
look i am using a text box inside a DIV tag but when i access it using document.divTagIdName or document.layers.divTagIdName (as suggested by you) it is not working saying it is not an object. i have documentation for netscape 4.x and i am doing the same thing written there but still it does not work please help. -Original Message- From: GU,JAMES (HP-Corvallis,ex1) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 16, 2001 7:37 PM To: '[EMAIL PROTECTED]' Subject: RE: XBrowser Hide And Show Problem in netscape it is document.layers that contains all the div tags. And it it also helpful to realize that in netscape every layer itself is a DOM. You can probably find details in a not-out-of-date Javascript book. Good luck! -Original Message----- From: Dinesh Chaturvedi [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 16, 2001 2:43 AM To: [EMAIL PROTECTED] Subject: XBrowser Hide And Show Problem Hello Everybody I am using a div tag in my html page and trying to hide and show a text field at run time this works fine while using IE but when i am using Netscape 4.x.it gives me problem accessing document.forms[0].divName i have found that in netscape div is not a part of from abject and used document.divName also but still it is creating a problemdo anybody of you have a suggestion.or can anybody tell me where to consult.. Thanks & Regards Dinesh
Hide and Show Problem
Hello Friends i am facing a problem.i want to hide and show a text box (html element ) at run time. using both netscape 4.x and IE 4.x the problem is it works fine with IE if i use a style sheet with the element and at run time using java script functions i can say for hide document.forms[0].element.style.dispaly="none"; for show document.forms[0].element.style.dispaly="block"; but when i try to use style with netscape 4.x it does not support style sheet. also it is difficult or rather not possible to access a div tag usin netscape. CAN any body of you help me find a way out of this problem or can anybody suggest a newsgroup or place where i can put forward my problem.please help.i am getting frustrated with the problem i have tried many ways but Dinesh
RE: Hide and Show Problem
look this is working fine with ie but not with netscape 4.6 the text field is not even looking like disabled sort this does not solve my problem. -Original Message- From: Michaƫl Bellefroid [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 22, 2001 2:41 PM To: '[EMAIL PROTECTED]' Subject: RE: Hide and Show Problem I had the same problem and find no way to achieve this under NS. So I used the following : function showElement(someTestForVisibility) if (someTestForVisibility == false) { document.myformobj.elementToHide.blur(); document.myformobj.elementToHide.value=""; // remove element content if(document.all) // IE specific document.myformobj.elementToHide.style.visibility="hidden"; } else { if(document.all) // IE specific document.myformobj.elementToHide.style.visibility="visible"; } } Now, you can put wherever you want a showElement(true) to make it appear in IE and showElement(false) to make it disappear. More, in the onFocus of the element to hide onFocus="showElement(test)" In IE, the element will disappear if test is false. Under Netscape, the field won't disappear but it will be locked This was used to make a text field appear/disappear if some select box had a 'OTHER' value. In the select box, there was an onChange="showElement(this.value=='OTHER')" and in the textbox element there was a onFocus="showElement(document.myformobj.elementToHide.value=='OTHER')" hope this helps. mikl -Original Message- From: Dinesh Chaturvedi [mailto:[EMAIL PROTECTED]] Sent: mardi 22 mai 2001 10:56 To: [EMAIL PROTECTED] Subject: Hide and Show Problem Hello Friends i am facing a problem.i want to hide and show a text box (html element ) at run time. using both netscape 4.x and IE 4.x the problem is it works fine with IE if i use a style sheet with the element and at run time using java script functions i can say for hide document.forms[0].element.style.dispaly="none"; for show document.forms[0].element.style.dispaly="block"; but when i try to use style with netscape 4.x it does not support style sheet. also it is difficult or rather not possible to access a div tag usin netscape. CAN any body of you help me find a way out of this problem or can anybody suggest a newsgroup or place where i can put forward my problem.please help.i am getting frustrated with the problem i have tried many ways but Dinesh
RE: Hide and Show Problem
well doing it on server side does not make sense i want it on client side. Thanks & Regards Dinesh Chaturvedi Programmer Analyst Nihilent Technologies Pvt Ltd. Pune 6054452 Ext 349 -Original Message- From: William Jaynes [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 22, 2001 4:36 PM To: [EMAIL PROTECTED] Subject: Re: Hide and Show Problem I would do this on the server side by wrapping the text box in a logic tag. But perhaps you have a requirement to do it on the client. - Original Message - From: "Dinesh Chaturvedi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 22, 2001 4:56 AM Subject: Hide and Show Problem Hello Friends i am facing a problem.i want to hide and show a text box (html element ) at run time. using both netscape 4.x and IE 4.x the problem is it works fine with IE if i use a style sheet with the element and at run time using java script functions i can say for hide document.forms[0].element.style.dispaly="none"; for show document.forms[0].element.style.dispaly="block"; but when i try to use style with netscape 4.x it does not support style sheet. also it is difficult or rather not possible to access a div tag usin netscape. CAN any body of you help me find a way out of this problem or can anybody suggest a newsgroup or place where i can put forward my problem.please help.i am getting frustrated with the problem i have tried many ways but Dinesh
RE: Unsubscribe me...............
you r kicked offf Go to hell Thanks & Regards Dinesh Chaturvedi Solution Developer Nihilent Technologies Pvt Ltd. Pune 6054452 Ext 464 -Original Message- From: Sachin Mapara [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 20, 2001 3:36 PM Subject: Unsubscribe me... Please unsubscribe me from this list. Sachin Mapara. Trigyn Technologies Ltd. Tel :- 518 86 86 (O) Ext.- 537 95251 - 44 10 39 (R)
RE: struts not reading properties file
Hello Everybody can you help me finding link that has JAVA coding standards .i hope many of you might have gone through it. D.C.
RE: struts not reading properties file
Hello Venkata thank you for the link i think it solves my problem. -Original Message- From: Allamsetty, Venkata [mailto:[EMAIL PROTECTED]] Sent: Friday, April 20, 2001 10:22 AM To: '[EMAIL PROTECTED]' Subject: RE: struts not reading properties file http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html thanks Venkata -Original Message----- From: Dinesh Chaturvedi [mailto:[EMAIL PROTECTED]] Sent: Friday, April 20, 2001 12:23 AM To: [EMAIL PROTECTED] Subject: RE: struts not reading properties file Hello Everybody can you help me finding link that has JAVA coding standards .i hope many of you might have gone through it. D.C.
Problem with resin-1.2.5
Hello Everybody i am using resin-1.2.5 with jdk1.3 as my web server just now i got a diffrent problem.there is standalone.exe in my bin directory if i double click it a window pops up and diappears but when i run it from commmand promt it works okay.i think the problem is that the envoirment the dos promt is having is not the same when i doulble click it but i am unable to trace it please send your suggestioni am using resin as a part of some product.. D.C.