Re: can a servlet response be directed to a particular frame in a bi-framedhtml page?

2001-01-17 Thread Abhay
In the form calling the servlet in the Parent HTML page, set target as the other frame e.g Abhay - Original Message - From: Ravi P Mishra <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 09, 2001 5:53 AM Subject: can a servlet response be directed to

Re: Option Text

2001-01-17 Thread Abhay
In Javascript,onSubmit, you can set value of the field ( or may be some other fhidden field ) equal to "document.forms[0].selCategory[document.forms[0].selCategory.selectedIndex]. text" You will get the purpose solved Abhay - Original Message - From: Amar Das <[EMAIL P

Re: Error! Please help

2001-01-17 Thread Abhay
You might be closing the resultset/connection or statement at improper location, may be. Could you please post the part of your code ? Abhay - Original Message - From: Kevin Jones <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 18, 2001 1:22 AM Subjec

Re: Choice of Servlet Engine page

2001-01-16 Thread Abhay
Yuo can go for JRun 3.0 from Allaire. Abhay - Original Message - From: Farooqui Hamid <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 17, 2001 6:13 AM Subject: Choice of Servlet Engine page > Hi all > > need some help > > > Does

Re: SQL command

2001-01-08 Thread Abhay
If u'r using SQL Server, use exec('sp_tables') It is stored procedure ... Abhay - Original Message - From: Anthony Mak <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 09, 2001 8:20 AM Subject: SQL command > Sorry this is not an servle

Re: Connection reset by peer in Netscape???

2001-01-04 Thread Abhay
Hi ! I had faced similar problems in the past. I had concluded that the problems were due to the Web Server that we were using ( PWS/Java Web Server ). We replaced it with IIS and the problem was no more faced. Just try doing that ! Abhay - Original Message - From: Manish, Singh

Re: Resource not allowed

2001-01-02 Thread Abhay
When You call the window.open(...)method, it expects doGet() method in the servlet. It will give the error if you are using the doPost() method in the servlet. You can write service() method instead. Abhay - Original Message - From: Arun Jayaprakash <[EMAIL PROTECTED]> To: &

Please

2000-12-29 Thread Abhay
What is the "digest" facility in this group ? What's it's use & how to subscribe ? I had sent a mail to [EMAIL PROTECTED], with subject as "set servlet-interest digest" . It replied back saying "Invalid subscription optio

Re: JDK compiles and on import give a bad class error.

2000-12-27 Thread Abhay
You should declare Package abc.pqr in the source and compile it as javac -d xyz.java. You must not have compiled the class with Package. In such a compilation, though the java source gets compiled, at runtime, it throws above error. Abhay - Original Message - From: Mark Koscak

Re: JDBC - LINKS

2000-12-22 Thread Abhay
onClick of the link, you can set some value to say a hidden field in the html page ... Abahy - Original Message - From: Hamid Farooqui <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 21, 2000 8:38 PM Subject: JDBC - LINKS > Hi All > > Here is a table > > Name

Re: Apache Tomcat PostgreSQL jdk

2000-12-22 Thread Abhay
statement.setNull(index,value) etc. Abhay - Original Message - From: NSB) $B3^>> (B <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 22, 2000 10:32 AM Subject: Apache Tomcat PostgreSQL jdk > I am developing a web application using > Apache,Tomca

Re: How to upload a file from a client machine

2000-12-18 Thread Abhay
U can use o'riell's File Upload servlet. Check on the site. ABhay - Original Message - From: Rosh Nair <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 19, 2000 8:15 AM Subject: How to upload a file from a client machine > Hello all, >

Re: How can I call this class from servlet ?

2000-12-10 Thread Abhay
You can include the directory containing the Test.class in classpath of JRun. Abhay - Original Message - From: fumitada <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, December 10, 2000 4:08 AM Subject: How can I call this class from servlet ? > Hi everybody,

Re: HELP!! Calling a servlet from a JApplet!!!

2000-12-08 Thread Abhay
You can use AppletContext.showDocument(url) if u'r servlet supports get request. Abhay - Original Message - From: alex balderas <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 01, 2000 8:07 AM Subject: HELP!! Calling a servlet from a JApplet!

Re: About

2000-12-06 Thread Abhay
Hi ! try setting classpaths in JRun administration ( java settings ) or move the classes in Jrun servlets directory Abhay - Original Message - From: Sujoy <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 05, 2000 8:16 PM Subject: About > Hi

Re: JWS and JSP

2000-12-01 Thread Abhay
No modification is required ... Just keep the jsp files in public_html folder ... Abhay - Original Message - From: Lei Li <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, December 02, 2000 1:16 AM Subject: Re: JWS and JSP > Do I need to modify the config in

Re: servlet e directory

2000-11-29 Thread Abhay
HI ! U can use list() method of File class. It would return a string array containing list of files in the folder. Abhay - Original Message - From: Alessandro Campi <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 29, 2000 8:00 PM Subject: servlet

Re: JRun3.0 Servlet reloading problem.

2000-11-29 Thread Abhay
b-inf/classes. Jrun automatically identifies the modified servlet and relodes it. I haven't tried it any time. Just give a try and reply back with the results. Abhay - Original Message - From: ??? <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 29

Re: How many bytes was written?

2000-11-27 Thread Abhay
You can use request.getContentLength(); Abahy - Original Message - From: Morten Holm <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 27, 2000 5:44 PM Subject: How many bytes was written? > Hi, > > > I need to know how many bytes was written from my Servlet/JSP. > > >

Re: Type of JDBC driver to use when connecting to SQL Server...

2000-11-27 Thread Abhay
U can go for Weblogic jdbc driver type 4. Or for development purpose, TDS driver may do. It's free on the net. Abhay - Original Message - From: Hajara, Tasneem (BIS) <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 28, 2000 1:26 AM Subject: Type of J

Re: JRun, IIS, and JSP, configuration

2000-11-27 Thread Abhay
I am also facing similar problems while configuring JRun3.0 with IIS 4.0. What ISAPI Filter ( in IIS config. ) should be chosen to filter the servlet requests ? Does any one know it ? Abhay - Original Message - From: Jean Bresse <[EMAIL PROTECTED]> To: <[EMAIL PROTECT

Re: init() fails to execute

2000-11-27 Thread Abhay
U should override init method as init(ServletConfig config) and call super.init(config) in it. Abhay - Original Message - From: Marc Krisjanous <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 28, 2000 2:17 AM Subject: init() fails to execute > Hi

Re: Browser stop functionality

2000-11-24 Thread Abhay
Hi Praveen, U can do that using window.stop(). See the code below. function doIt() { window.stop(); } function doThat() { location.href="http://www.netaddress.com"; } - Original Message - From: PRAVEENRA <[EMAIL PROTECTED]> To: <[E

Re: Multiple forms and Submit button

2000-11-24 Thread Abhay
://.//">http://.//</A>"; document.myForm.method="post"; document.myForm.submit(); } } Try this. Abhay - Original Message - From: Rajesh Kumar <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, Novemb

Re: Java Script functions within Servlets

2000-11-23 Thread Abhay
t terminated at http://localhost:8080/examples/servlet/testing','testing','scrol lbars = no'> Do it & u won't face the problem. Abhay - Original Message - From: A.R.Karthikeyan <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursda

Re: How to call JScript file from servlet?

2000-11-23 Thread Abhay
Hi Rajesh ! u can always include javascript file ( e.g. validate.js ) in a servlet. Just include following lines in the code Assuming "out" as a printwriter, out.println("

Re: How to name the servlets ?

2000-11-23 Thread Abhay
U can always create allaises for your servlets saying that server should call HelloWorld on call for HelloWorld1 and HelloWorld2 and HelloWorld3. How to set it is of course, server dependant. Abhay - Original Message - From: Boda, Ramakrishna Rao (Ramakrishna) <[EMAIL PROTECTED]&

Re: Caching variable....

2000-11-20 Thread Abhay
U can either declare the variable public static or keep it in session . Abhay - Original Message - From: arun prakash <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 21, 2000 4:58 AM Subject: Caching variable > Hi All., > H

Re: Result Set

2000-11-19 Thread Abhay
Hi Jimmi, U can use resultset.getFetchSize(). Just see that u'r Driver supports it. Abhay - Original Message - From: Jimmy Kurian <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 20, 2000 8:35 AM Subject: Result Set > Hi, > Is there any fu

Re: JSDK unable to run my servlets

2000-11-19 Thread Abhay
Hi Zaid, What u have to do is , 1. Place the servlets.properties file in the same folder as u'r class files'. 2. while running , say, /bin/servletrunner -d This will run u'r servlet. Abhay - Original Message - From: Zaid Research <[EMAIL PROTECTED]>

Re: How to invoke system call using Servlet?

2000-11-18 Thread Abhay
using such a servlet calling a batch file on NT machine. In this case, u meight be trying to access the server ( i.e. u'r PC ) but the same is again acting as client. This meight throw security exception. Try using different PC as a client. Abhay - Original Message - From: S

Re: Type of JDBC driver to use when connecting to MSAccess Databa se using servlets

2000-11-18 Thread Abhay
Hi ! You can go for WebLogic/TDS Driver 'cause we had faced responce problems with JDBC-ODBC Bridge. Abhay - Original Message - From: Joe Hall <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 14, 2000 8:24 PM Subject: Re: Type of JDBC d

Re: Maintaining Sessions

2000-11-17 Thread Abhay
HI u can create session by HttpSession sess = request.getSession(true) in first servlet and in others u can access the same by getSession(false). getSession(true) will create new session if one does not exist and getSession(false) will return null if one does not exist. Abhay

Re: How to invoke system call using Servlet?

2000-11-17 Thread Abhay
Hi Syukur, What u have done is perfectly all right. U should just see that the Executable Program should be command line executable on the system like some batch file on WINDOWS Platform. Your program should work finr. What exception is it throwing ? Abhay - Original Message - From

Re: Servlets...

2000-11-15 Thread Abhay
U should have jsdk2.0 or higher to compile u'r servlets. further u can test it by setting /lib/jsdk.jar;. in u'r classpath ans start servlet engine using /bin/servletrunner. Abhay - Original Message - From: Srinivas Chervirala <[EMAIL PROTECTED]> To: <[EMAIL PROTECTE

Re: CLASSPATH?

2000-11-15 Thread Abhay
If u specify the classpath as /usr/jakarta-tomcat/lib , compiler would searchfir the class in Lib folder and ofcourse, he won't get the class. But if u specify the jar file, the compiler will search for the class in the jar file and not the folder. Abhay - Original Message -

Re: Error on Delete

2000-11-14 Thread Abhay
Hi Saras, could u post u'r part of code ? Abhay - Original Message - From: saras <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 14, 2000 11:24 PM Subject: Re: Does JBuilder4 support servlet debug? I am using Java Web Server.When I delete

Re: Mapping of URL !!

2000-11-07 Thread Abhay
.com"); session.putValue("Sports",url); and retrive in servlet as URL url = (URL)session.getValue("Sports"); See if it works ! Abhay ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in

Re: How to call a servlet from a class?

2000-11-07 Thread Abhay
#x27;s not necessary to define such a constructure in the servlet since it's the default constructor of any class. Abhay ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message &

Re. Compiling Servlets

2000-11-07 Thread Abhay
Hi Stig You should set classpath to "/lib/jsdk.jar ; ." Note the "semi-colon " and "dot" after the actual classpath. This is very important which indicates that current path from where u are compiling, is also in the classpath. This w

Re: Compiling servlets with JDK 1.2.2

2000-11-07 Thread Abhay
Hi Stig, u have to set add servlet.jar ( generally located in lib directory ) to the classpath. Then this error won't appear. Abhay - Original Message - From: Townsend, Stig <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 07, 2000 5:37 PM S

No Subject

2000-11-07 Thread Abhay
Generally it won't happen with servlets since servlet engine/ server takes recently modified class. Still after modification, u can try restarting servlet engine/server. That will solve u'r problem. Abhay - Original Message - From: Mohammed Faizal <[EMAIL PROTECTED]

Debugging !

2000-11-06 Thread Abhay
Has anyone used Servlet Debugging using JRun studio 3.0 & Jrun 3.0 ? I am not being able to use it. I am new to Use the concept of debugging. Thanx Abhay ___ To unsubscribe, send email to [EMAIL PROTECTED] and includ

Re: NoClassDefFoundError in JSP page

2000-11-06 Thread Abhay
Sometimes u meight need to import the package/classes. Abhay - Original Message - From: Arun Jayaprakash <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 06, 2000 6:26 PM Subject: NoClassDefFoundError in JSP page > Hello, > > I want to instantiate

Re: Shared Servlet Engine and Sessions [Scanned by Yellow Pages PostMaster]

2000-11-06 Thread Abhay
Hi ! I have not used JSERV till now, but JRUN gives such a facility. It has an option to use a jrun servlet engine as session persistant engine. It stores sessions in a flat file at the time of shutting down and recovers them on restart. Abhay > Peter Pilgrim <[EMAIL PROTECTED]>

Re: Applet access to backend database that is running ondifferentserver

2000-11-03 Thread Abhay
Hi HeaKyung, You can see/use Orielly's HttpMessage class. It's source is also available on Orielly's site. This class does the same thing. i.e. AppletServletCommunication. You can definitely get your problem solv

Re: Security Violation???

2000-11-02 Thread Abhay
You can use getDocumentBase() and then get the image on server. U meight be accessing client's "d:". Applet is not allowed to do the same. Abhay > Has anyone gotten this error while trying to simply read a gif file from the > server using an applet? > > java.secu

Jrun Problem !

2000-11-02 Thread Abhay
ttpResponce res) { // for the first time the servlet is called req.setSession(true); // afterwords, HttpSession sess =3D req.getSession(false); } Can anyone help me out ? Abhay ___ To unsubscribe, send

Combination ?

2000-10-10 Thread Abhay
Hi all ! I have heard that Jrun 3.0 from Allaire with IIS is the best combination for servlets to work on. To what extent that's true? If not, then is there any other combination to suit the need , so as to achieve maximum speed and server responce ?

Re: applet-servlet

2000-10-09 Thread Abhay
ppletContext ac = getAppletContext(); try{ URL url=new URL("http://deniz:8080/servlet/Servlet_2"); ac.showDocument(url,"_self"); }catch(Exception e){showStatus("Error occured while contacting server...");} Abhay - Original Message -

Re: Free Web hosting using Java Web Server

1999-12-13 Thread abhay karva
Checkout with www.mycgiserver.com Ganesh Oak wrote: > Hi, > > I have written a few servlets which I need to demonstrate to a few people. I > do not have know of any company/institute which has a facility to allow > people to host free web sites using servlets. > > Is anyone aware of such facilit