Re: Get source code from .class

2000-06-13 Thread Ravi K U
use any decompilers like jad etc Alarcon Fabio wrote: > Hi friends! > > I have a question, can i get the source code form a .class file? > > Thanks for your answers > > _ > > Fabio Alarcon Ortiz > Analista de Sistemas - Gerencia de Sistemas > Geren

Re: Java related question

2000-06-13 Thread Ravi K U
Hi , use JEditorPane and this guy gives an option to fire hyperLinkListener on a mouse click(refer java docs for more details) Ravi Varalakshmi Allamaraju wrote: > There are two ways. One is to use javax.swing.text.html.parser. Other is > to use string tokenizer. > > Kader Ben wrote: > > > >

Re: regarding web security..

2000-06-05 Thread Ravi K U
there are several ways to do this. 1) Craete a session object after succesful login and check for the validity of the session object in every servlet. So if anybody tries to access any servlet other than login servlet ,access will be denied as he won't be having a session object 2) Few Servers l

No Subject

2000-05-17 Thread Ravi K U
Hi,    you can use some XML/XSL translators to do this job. Some of these(like xslt) are just jar files , which could be called by servlets and pass these two xml,xsl documents  as arguments and they will parse-translate to html files     bye   ravi   chandra shekar wrote: hi there,how can

Re: servlet to servlet communication

2000-05-16 Thread Ravi K U
In Servlet Spec 2.2, it says that, its possible to mark any application as distributed and servlets running in different machines will be having a different servlet context and they can talk to each other thru a session object which is implemants serializable bye Ravi Vidyasagar Guduru wrote

Re: How to find out URL from which Servlet was called

2000-05-07 Thread Ravi K U
one way is pass the URL of the invoking page as a query string to the servlet from the invoking html page .(there may be other straight forward ways of doing this , you may have to go thru Servlet API's ) Roland Sprengseis wrote: > Hi! > > Does anybody know, how I can find out from which page a

Re: How to invoke a Servlet and return a downloadable file using asingle button

2000-05-07 Thread Ravi K U
set a different mime type other than what your browser can understand. Than your browser will give a save option ravi Suhail Beig wrote: > Hi all, > > I have a very interesting problem at hand. > > I have a button named download on my HTML form > When I click that button it invokes a servlet >

Re: jsdk2.1

2000-05-05 Thread Ravi K U
set javahome=c:\jdk1.2.2 not to c:\jdk1.2.2\bin. and classpath=c:\jsdk2.1\src + .. TaNiA wrote: > Hi all, > > is anyone using jsdk2.1 with jdk1.2.2? > > I've been trying to set up jsdk2.1 to compile my servlets on Win98, but have > had no luck.. > > this is my autoexec.bat file: > **

Re: Downloading a file

2000-02-26 Thread Ravi K U
Do some workaround , set content type such that the browser cannot understand , than write the file into it , browser will ask you to either open or save, you can save it May be its a workaround but it will give a solution ravi servletqa qa wrote: > Hi > How to download a file from server to the

Re: DbConnectionPool over multiple servlets

2000-02-21 Thread Ravi K U
Yap!, if you are creating the new instance of a DbBroker obviously it will be create new instance for every other servlet( i mean Servlet A and Servlet B). So have a wrapper over the DbConnection and use a singleton pattern regards ravi Stuart Norton wrote: > Hi, > > This is my first p

Re: getRequestURI() ....... Previous page

1999-12-07 Thread Ravi K U
Hi, if the previous URL's are servlets, than a good method is to make use of session objects, RAvi Tom Kochanowicz wrote: > Hi Mark, > Not knowing explicidly how things are set up, one possible way is to use > hidden values, for example "urlValue"> and passing the values from

Re: Session Tracking..

1999-12-03 Thread Ravi K U
Hi, yap, it does retutns the previously stored Session Object(to be precise not the value ), it has no defect but cookie is compulsory ravi Manoj Thomas wrote: > Hi All, > > I need some help in Session tracking. I have created a sessio

Re: Running Perl scripts from a servlet

1999-11-29 Thread Ravi K U
hi, if u r ready for any other script than perl, u can go for Tcl(pronounce as tickle),which gives a very good java binding Ravi Steven Owens wrote: > Mike, > > > I know this sounds strange, but I have the need to run a Pe

Peculiar question

1999-11-22 Thread Ravi K U
hi All, this question is bit oftopic but interesting !!! can anybody tell me how strictfp keyword is used, and any sample code is welcomed ravi At 10:26 AM 11/19/1999 -0500, you wrote: >I'm looking for a Servlet that can

Application Server projects

1999-11-21 Thread Ravi K U
hi, do any of u have a good idea of an Application which uses specific functionalaities of Application server, i am having IBM Websphere, (what i want to have is , if for ex.. u consider that websphere supports ejb, than a project using ejb, or similar to that )

Query about SingleThreadModel

1999-11-16 Thread Ravi K U
Hi, i read an article about a servlet implementing the SingleThreadModewl(in www.webreview.com,) it says that if any servlet implements a SingleThreadModewl, than webserver(i mean the servlet engine) will create multiple instances of that servlet , is it true, please reply soon. * if somebod

Re: file and servlet

1999-11-15 Thread Ravi K U
hi, if i am not wrong, u r writing something to a file(log file), so use FileOutputStream in append mode it will work ravi At 11:21 AM 11/15/1999 +0100, you wrote: >Hello,I have a problem. I need to impelment a log file in my servlet. >So I am able to writ

Re: Problem with date

1999-10-27 Thread Ravi K U
hi, i tested this with a servletrunner and ofcourse as an application, it gives same time ravi Federico Delpino wrote: > Hi all, I have a problem using dates in servlets. The > following code > > = > Calendar now = Calendar.getInstance(); > String date = now.get(Calendar.DATE) + >

Re: print function

1999-09-15 Thread Ravi K U
hi, use a slash (probably forward slash ) it will work Ravi "Hervé Gissinger" wrote: > Hello, > > How can I use the " with the print funtion ? > for example : .print (" "); > Thank you. > > Hervé Gissinger. > > __

Re: Use Swing ?

1999-08-25 Thread Ravi K U
Hi, if u have JDK1.2 in ur local disk and if u use a pluggin with either IE5 or Netscape 4.5 and above certainly it wll run without ant complaint, because at this instance it is bypassing the the browsers jvm and it will be using the local jvm of ur machine Ravi KIRAN wrote: > Hello Everybo

(no subject)

1999-08-23 Thread Ravi K U
network connection to server is closed. So a lifeless applet remains in the browser page. IS THERE ANY WAY TO TAKE USER TO SOME OTHER PAGE(may be main page) AS SOON AS HE LOGS OUT thanx in advance RAVI K U ___ To

Re: Login Screen

1999-07-30 Thread Ravi K U
Ravi K U Suresh Mathur wrote: > Hi, > I am new to the list, so please forgive me if the following > question is already answered. > I am looking for the design of Login Screen. We have got nine servlets. > We want a login id and passwd

Re: How a servlet get IP of web client?

1999-01-16 Thread Ravi K U
hi, webserver(or servlet engine) will give u the ip address of client to servlet, ravi At 09:12 AM 11/19/1999 +0800, you wrote: >Hi all, > >How does a Servelt get the IP of the web client or the proxy that he comes >from? > >I kno

Re: Applet to Bean communication

1999-01-02 Thread Ravi K U
if u want to bypass http(of coursee after applet loaded) u can just make ur applet to connect to bean(or whatever it is,but it should be an rmi server) on any specific port But beware as per my knowledge only Netscape allows this feature NOT IE