Re: how to get application real path

2005-03-30 Thread Kanchan Deshpande
Hi Pradeep,

I do not get a very clear idea about the problem, but I can suggest
you to try the following:

String realPath =  getServletContext().getRealPath(configPath);

You can try getRealPath() method on the Servlet Context.

Thanks,
~Kanchan.


On Thu, 31 Mar 2005 12:53:28 +0530, Pradeep Chauhan
[EMAIL PROTECTED] wrote:
 Hi ,
 
 How we can get real path of application in java. ?
 
 thanks and regards,
 Pradeep
 
 DISCLAIMER:
 This message, including any attachments contains confidential and privileged 
 information for the sole use of the intended recipient(s), and is protected 
 by law.
 If you are not the intended recipient, please destroy all copies of the 
 original message. Any unauthorized review, use, disclosure, dissemination, 
 forwarding, printing or copying of this email or any action taken in reliance 
 on this e-mail is strictly prohibited and may be unlawful.
 Indus and R Systems International Ltd reserves the right to record, monitor, 
 and inspect all email communications through its internal and external 
 networks. Your messages shall be subject to such lawful supervision as Indus 
 and R Systems International Ltd deems necessary in order to protect its 
 information, interests and reputation.
 Indus and R Systems International Ltd prohibits and takes steps to prevent 
 its information systems from being used to view, store or forward offensive 
 or discriminatory material.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Simulating SilverStream setEnableHistoryFixup() API

2005-03-28 Thread Kanchan Deshpande
Hi all,

We are working on migration of web-based application from SilverStream
application server to Tomcat.

There is a SilverStream specific call setEnableHistoryFixup() which is used
to fixup browser history. For details
refer to 'Controlling Browser History' section of the link:
http://www.novell.com/documentation/extendas35/docs/help/books/pgPageAdvanced.html

We are facing following problem in the web-application. Some of our
pages get cached in Netscape version 7.0, though we have set the
response-headers: 'Cache-control'  to 'no-cache' and 'Pragma' to
'no-cache'.

It seems the above problem gets solved in SilverSteam application
server after using setEnableHistoryFixup(false).

We want to simulate the similar functionality either using Java code or
using Java-Script. 
Does anyone have any idea on how we can simulate
setEnableHistoryFixup() functionality using Java/JavaScript?
Does Tomcat provide any similar functionality?

Pointers/any help would really be appreciated.

Regards,
~Kanchan.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]