Servlet Sites

2000-10-09 Thread Purav
Hi Guys, Have a look at this Site. http://www.studentsguild.com Its fully on servlets. Purav ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives:

Re: offtopic: Can i have only one object for a class

2000-10-09 Thread Janardhan Kandregula
hi sanjay, may be it's interesting... it's that simple that just you put a static counter in class def. so when it's going for second object , you can create an exception. by the way may i know what's the use of this single-object class. cheers janardhan - Original Message - From: Sanjay

Re: offtopic: Can i have only one object for a class

2000-10-09 Thread Madhu Gopal Panyala
Use static data member for that class and control the object creation. -Madhu. -Original Message- From: Sanjay Vashisht [mailto:[EMAIL PROTECTED]] Sent: 10 October, 2000 10:12 AM To: [EMAIL PROTECTED] Subject: offtopic: Can i have only one object for a class Hi All This is an off-topi

offtopic: Can i have only one object for a class

2000-10-09 Thread Sanjay Vashisht
Hi All This is an off-topic but an interesting question? can i have only one object for a class defined. If user try to create one more object that should be an Exception or error condition. Thanks in Advance. Rgds Sanjay

Re: Netscape and session tracking

2000-10-09 Thread Christopher K. St. John
Dennis Sasinka wrote: > > I have an applet that stores an attribute using > "session.setAttribute("name", value)" and then calls several servlets. > When you say the applet calls session.setAttribute(), do you really mean that the applet code is calling that method? Or do you mean that the apple

session

2000-10-09 Thread FRANK DUNGY
_ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. ___

session timeout

2000-10-09 Thread FRANK DUNGY
I am trying to upload a big file say 20MB from a remote machine onto my server and there are three problems 1. servlet request-response timeout 2. servlet session timeout 3. client session timeout If i am delaying the response after the request in the servlet this can happen but to keep the sess

Set pagebase

2000-10-09 Thread Lui, Cheuk Ming
Hi, While updating my JSP 0.9 to JSP 1.0, I encountered this: Wondering what it means by setting pagebase to use includes? Error compiling source file /adp/Pages/adp.jsp: /adp/Pages/adp.jsp:10: GNUJSP internal error: You must set pagebase to use translation-time includes with this servlet engin

Re: Netscape and session tracking

2000-10-09 Thread Kevin Mukhar
Dennis Sasinka wrote: > > I have looked through the archive and seen similar questions but no clear > answers. > > I have an applet that stores an attribute using > "session.setAttribute("name", value)" and then calls several servlets. When > calling the servlets, any attempt to retrieve the sess

Re: Set pagebase

2000-10-09 Thread Danny.Coward
Hi, You'll probably get a better answer to this question by asking at [EMAIL PROTECTED] That's where all the JSP folks are. Thanks ! - Danny > Hi, > > While updating my JSP 0.9 to JSP 1.0, I encountered this: > Wondering what it means by setting pagebase to use includes? > > > Error compiling

Re: servlets and VC++

2000-10-09 Thread Andre Beskrowni
assuming your app is on the local file system, couldn't you use something as simple as Runtime.exec("vc_app.exe")? ab >> -Original Message- >> From: Chen, Yuan [SMTP:[EMAIL PROTECTED]] >> Sent: Monday, October 09, 2000 3:57 PM >> To: [EMAIL PROTECTED] >> Subject: servlets and VC++

Netscape and session tracking

2000-10-09 Thread Dennis Sasinka
I have looked through the archive and seen similar questions but no clear answers. I have an applet that stores an attribute using "session.setAttribute("name", value)" and then calls several servlets. When calling the servlets, any attempt to retrieve the session using "request.getSession(false

Re: Making calls to other software API.

2000-10-09 Thread Mukka, Srikanth
Hi Matthias Carlsson, Actually, what we want to do is, we want to call the API of the scanners, to capture images. we are in the process of gathering information. It would be great if I get help from you all. Thanks in advance Srikanth -Original Message- From: Matthias Carlsson [mailt

Re: servlets and VC++

2000-10-09 Thread Ding, Jeffery
You can use JNI, RNI, COM, or J/Direct. See "Speak Java Like a Native " in MSDN. Jeff > -Original Message- > From: Chen, Yuan [SMTP:[EMAIL PROTECTED]] > Sent: Monday, October 09, 2000 3:57 PM > To: [EMAIL PROTECTED] > Subject: servlets and VC++ > > Hi, > > I have the following q

Re: Tracking user visit!!

2000-10-09 Thread Sandra Cann
Sanjay, While a product such as Web Trends will give you a broader picture, fine tuning can be provided via a web content management system. For example, a web content management system such as eContent which is servlet based and includes source code (www.javacorporate.com) can provide you with:

servlets and VC++

2000-10-09 Thread Chen, Yuan
Hi, I have the following question: can a servlet invoke a VC application? If yes, how do i do invoke a VC appln. Thanks in advance. Yuan ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the m

Re: Using XML & XSL in Servlets

2000-10-09 Thread work self
don't know whether it's better, but check out JDOM, www.jdom.org , and the book "Java and XML", o'reilly. it is simpler syntax for doing what it does. robert young > -Original Message- > From: A mailing list for discussion about Sun Microsystem's Java Servlet > API Technology. [mailto:[E

SV: [Fwd: Forward to paul]

2000-10-09 Thread Matthias Carlsson
This particular problem has been bothering me for quite some time now. I'm running Windows 2000 / Tomcat 3.0 and whenever I tried to use Netscape to access my servlets it would take forever for the server to respond. I always thought there was a problem with the server or my code, but you're sugge

SV: Making calls to other software API.

2000-10-09 Thread Matthias Carlsson
If you're going to use other APIs other than the ones included with JDK, just put the .jar:s you're going to use the WEB-INF/libs directory. Your servlets should now be able to access them. [ Matthias Carlsson ] [ Programmer (Java, CGI/Perl, Javascript, HTML) ] [ Web Designer ] [ E-Mail : [EMAIL

Re: [Fwd: Forward to paul]

2000-10-09 Thread Paul Copeland
We ran into a similar situation running Netscape and a Java HTTP web server on the same NT system. The Netscape browser was locking up network or thread resources and preventing the server from responding to the browser (or very slowly). If you lower the priority of the Netscape browser (right c

Making calls to other software API.

2000-10-09 Thread Mukka, Srikanth
Hi All, I want to know how to make call to other software API. Any help will be of great use to us. Bye Srikanth ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-IN

Re: not concerned with servlets

2000-10-09 Thread Jon Conley (c)
Is the cursing really necessary? If I hated off-topic email that much, I would unsubscribe. -Original Message- From: Michael Bjerregarrd Pedersen [mailto:[EMAIL PROTECTED]] Sent: Monday, October 09, 2000 11:49 AM To: [EMAIL PROTECTED] Subject: Re: not concerned with servlets Well, it ac

Re: applet-servlet

2000-10-09 Thread Bo Xu
Hi DENIZ :-) Because today is a holiday in Canada :-) , so I sleep for long time :-) :-) , so when I came to office, I find several your emails :-) and I find with Abhay's email( using "_self"), you have already fixed your problem :-) 0 but I think if we use this way , in fact now we don't u

Re: not concerned with servlets

2000-10-09 Thread Michael Bjerregarrd Pedersen
Well, it actually is our own business as we are forced to either sign-off the list or read every fucking question that has nothing to do with the list before discarding it, and then spend time deleting 10 or 15 answers that are equally uninteresting. -Original Message- From: A mailing li

Re: Evaluation of web-based technologies

2000-10-09 Thread Ted Kahn
Hi Susanne- Your question is too open-ended to provide specific answers, but here are several criteria for you to consider: 1. Client platform? PCs only or do you want to be able to extend the app to handheld devices in the future? 2. Preexisting technologies? Are you constrained in any way by

Re: not concerned with servlets

2000-10-09 Thread Milt Epstein
On Mon, 9 Oct 2000, Stephen Casey wrote: > I agree. It takes more time to constantly reply with, 'check the > archives' or, 'this is off-topic' than to just delete the email. It It may take more time that one time, but it can lead to time savings in the long run, and be beneficial to the list (w

Page not forwarding

2000-10-09 Thread help java
hi guys, i am a very typical problem .The moment i try to forward my JSp to another JSp it's give me a blank page.I am using XML and JSP.But when i view the view source in browser it's give me this error. javax.servlet.ServletException: Error: Attempt to clear a buffer that's already been flushe

Re: Synchronize method in the servlet

2000-10-09 Thread Stephen Casey
I agree with one exception. If you are using prepared statements you should synchronize that section of your code. Bill Hackmann <[EMAIL PROTECTED]>@JAVA.SUN.COM> on 10/05/2000 06:28:20 PM Please respond to "A mailing list for discussion about Sun Microsystem's Java Servlet API Technolo

Using XML & XSL in Servlets

2000-10-09 Thread Matthias Carlsson
I'm about to create a rather big web application using servlets. Until now, I've been using servlets to manage the data, and JSPs to present it. I've heard lots of good things about XML and XSL, and I'd like to try it out. I've never used neither XML nor XSL, but I understand what purpose they ha

Re: not concerned with servlets

2000-10-09 Thread Stephen Casey
I agree. It takes more time to constantly reply with, 'check the archives' or, 'this is off-topic' than to just delete the email. It only seems to be the same handful of people complaining. Den Kooza <[EMAIL PROTECTED]>@JAVA.SUN.COM> on 10/05/2000 03:38:45 PM Please respond to "A mailing list

Re: restarting server

2000-10-09 Thread Christopher K. St. John
Daniel Lynn wrote: > > Do other servers (ones used for the > actual live site) have this same problem? > Some do, some don't. http://www.servlets.com> has a list of servlet engines. You'll have to check individually. -cks ___

Re: Problem accessing Object reference from servlet context on OAS 4.0.8.1

2000-10-09 Thread Christopher K. St. John
Mahmood Shahzad wrote: > > I am trying to access an object reference placed in servlet context by another > servlet on Oracle Application Server 4.0.8.1. Problem is that when the second > servlet tries to access the required object from servlet context, > TypeCastException is generated. Please gui

Re: servlet-applet communication

2000-10-09 Thread DENIZ DEMIR
You should use the URLConnection object in the applet, and you open a url socket to the servlet, then in the servlet use the ServletOutputStream in order to send your DataOutputStream that is prepared in servlet. Look at the following code fragments... This is servlet side code: in this code

Re: HttpSession

2000-10-09 Thread Christopher K. St. John
Rajesh V wrote: > > Im developing an application that uses applet-servlet > communication. Can i use the HttpSession for such a kind of environment?? > If i can, where are exactly are the Session Objects stored? On the > browser??? > Before asking questions like this on the list, you mig

Re: servlet-applet communication

2000-10-09 Thread Kevin Mukhar
dushyanth harinath wrote: > > Hi folks, > I want to invoke an applet from a servlet and send > 10/15 parameters to it which i retreive from the > database using a servlet.How should i go about > acheiving this. The same way that a static html page passes parameters to an applet. http://java.sun.c

Re: How to debug servlet programming?

2000-10-09 Thread David Mossakowski
Kawa supports servlet debugging quite nicely. You just need to start the servlet engine from within it. d. Janet wrote: > Hello everyone! > > I'm using JDK1.2.2 and IIS+Tomcat. And I use KAWA, a simple Java IDE > (editor+compiler) but it doesn't support servlet debug. Now my servlet has > to w

Re: servlet-applet communication

2000-10-09 Thread Christopher K. St. John
dushyanth harinath wrote: > > I want to invoke an applet from a servlet and send > 10/15 parameters to it which i retreive from the > database using a servlet.How should i go about > acheiving this. > RTFA. At the bottom of every post is a link to the archives for this mailing list. Did you chec

Re: Tracking user visit!!

2000-10-09 Thread Kevin Mukhar
Sanjay Vashisht wrote: > > Hi All > Can I track the user visiting different pages in the following manner:- See Session tracking at the servlet tutorial: http://java.sun.com/docs/books/tutorial/servlets/client-state/index.html _

Servlet version in JavaWebServer

2000-10-09 Thread 2 Sims, Howard
I checked and our JavaWebServer2.0 is running servlet 2.1 We need servlet 2.2 in order to use some of the new HttpSession features. I tried the following: (a) Replacing the servlet.jar in the jdk1.3 that JavaWebServer is using - no effect (b) Set an environment variable pointing to a new serv

Re: Free Servelets Source Code

2000-10-09 Thread jdbc
Visit http://www.webappcabaret.com/javadevelopers/search for free code of Search Engine Developed in Servlets - Original Message - From: Peter Smith <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 05, 2000 10:17 PM Subject: Free Servelets Source Code > Hi, There: > >

servlet-applet communication

2000-10-09 Thread dushyanth harinath
Hi folks, I want to invoke an applet from a servlet and send 10/15 parameters to it which i retreive from the database using a servlet.How should i go about acheiving this. Any help will be greatly appreciated thanks dushyanth = H.Dushyanth Programmer Archean Infotech Limited http://www.arche

system location of software

2000-10-09 Thread Jody DeRidder
Is there a security benefit to installing the JSDK and related software into a directory other than /usr/bin? If so, are there downsides to having it elsewhere? I am the only one who will be using the java libraries, though I'm not the only one with a home area on the machine. ---jody _

Problem accessing Object reference from servlet context on OAS 4 .0.8.1

2000-10-09 Thread Mahmood Shahzad
Hi All, I am trying to access an object reference placed in servlet context by another servlet on Oracle Application Server 4.0.8.1. Problem is that when the second servlet tries to access the required object from servlet context, TypeCastException is generated. Please guide, if someone have expe

Re: Tracking user visit!!

2000-10-09 Thread Alicia Riggs
There is an excellent program called Web Trends that will track how many visits and where they are coming from. If they just typed in the url or came from a search engine and which one. It will give you more details than you would expect, and is quite expensive, so you will want your company to

Re: Leaving servlet's output stream open

2000-10-09 Thread Todd G. Nist
Hello Andrew, Take a look at the below URL, I think it is what your looking for. http://www.fluidiom.com:8080/ Regards, Todd -Original Message- From: Andrew Klochkov [mailto:[EMAIL PROTECTED]] Sent: Sunday, October 08, 2000 6:15 AM To: [EMAIL PROTECTED] Subject: Leaving servlet's outp

Re: not concerned with servlets

2000-10-09 Thread Pankaj
hi thanks it is working.. Pankaj - Original Message - From: "Madhu Gopal Panyala" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 05, 2000 11:02 AM Subject: Re: not concerned with servlets > Hi Pankaj, > Try the below Javascript code for ur problem: > > >

Re: Upload file ....

2000-10-09 Thread Bob Withers
Hi Neil, Try using the getParameter method on the MultipartRequest class. Regards, Bob At 10:24 AM 10/9/00 +0200, you wrote: >Hello, > >I use the MultipartRequest class from the O'reilly book called "Servlet >programming" in a servlet to upload a file. > >my html page is : >http://127.0.0.1:808

Tracking user visit!!

2000-10-09 Thread Sanjay Vashisht
Hi All Can I track the user visiting different pages in the following manner:- 1.No. of times user visit a particular page 2.If there are 100 users , how to keep track that which user has visited which page , how many number of times. If there will be a counter variable for each user how do i u

Re: applet-servlet

2000-10-09 Thread DENIZ DEMIR
I have tried this code, because I didn't use the showDocument(url,"_self") method with "_self" parameter. and then it works for me. I mean the servlet and the requested url have same session id, this is what I want exactly...Thank you vey much... Deniz... - Original Message - From: "Abha

Re: applet-servlet

2000-10-09 Thread DENIZ DEMIR
Thanks for your advise, but if I do so, the following page's (Servlet_2 in this example) session Id will be different, (because the sevlet and the applet which is communicated with have different session Id although they are in the same page, it is strange to me but it is rigth)so this does not wo

Leaving servlet's output stream open

2000-10-09 Thread Andrew Klochkov
Hi, I want to use the so-called "push" technology. I want my servlet to sit and look at some resourse and when some event happened with this resourse, servlet must say to applet: "event happened". The idea is to don't close servlet's output stream (and dont exit from "service" function). Thi

Re: HttpSession

2000-10-09 Thread DENIZ DEMIR
I have also used applet to communicate with servlet. This can be do with URLConnection, input/output streams. HttpSession is stored in the browser, but never forget the applet whose applet tag genarated from servlet has different session id from servlet which calls it. so objects which are put in

Re: applet-servlet

2000-10-09 Thread Abhay
Hi ! I think, since you are using doPost method, your code won't work, and will display 'not supported'. You should use doGet method along with doPost method in the servlet. Any static html page or servlets containing doGet() methods can be called by using Applet Context as, AppletContext ac =

Oreilly

2000-10-09 Thread Ulf Scheiwer
Hi folks, I will compile the oreilly-classes, but the CacheHttpServlet-class produce many errors. I must the lib new compile to build subclasses for MultipartRequest. Who has a idea for this problem? greets Ulf ___ To unsub

Evaluation of web-based technologies

2000-10-09 Thread Susanne Großhans
I'm new in Java and all I know is what I've learned in a 2-month's-course. Now I have to develop a web-enabled program which takes the working time of each employee. The first step is to choose the best technology. I think, this will be the hardest part of the task, because there are so much po

HttpSession

2000-10-09 Thread Rajesh V
Hi all, Im developing an application that uses applet-servlet communication. Can i use the HttpSession for such a kind of environment?? If i can, where are exactly are the Session Objects stored? On the browser??? Thanks Rajesh ___

applet-servlet

2000-10-09 Thread DENIZ DEMIR
I have tried to invoke sendRedirect() in doPost method when the applet's button is pushed, but it did not work. Here is the code: Please help me... ---this is applet acctionPerformed code void jButton1_actionPerformed(ActionEvent e) { System.out.println("Sending data...\n")

Re: Upload file ....

2000-10-09 Thread BERWART Thierry
Ok sorry... i found the solution : Enumeration params = multi.getParameterNames(); while (params.hasMoreElements()) { String name = (String) params.nextElement(); String value = multi.getParameter(name

Upload file ....

2000-10-09 Thread BERWART Thierry
Hello, I use the MultipartRequest class from the O'reilly book called "Servlet programming" in a servlet to upload a file. my html page is : http://127.0.0.1:8080/servlet/VersLavenirServlet" ENCTYPE="multipart/form-data" METHOD="POST"> File name : all works but i want to add some parameter

Re: Sending emails as HTML from servlet

2000-10-09 Thread Purav
Hi, you will have to set the Header to X-Mailer and append the Html Regards Purav -Original Message- From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of David Burnett Sent: Monday, October 09, 2000 8:54 AM T

Re: How to debug servlet programming?

2000-10-09 Thread Janet
Hello Ted! Thanks for your help! But it seems it can just run under SUN's Java WebServer when debugging servlets. How do you make it work under Weblogic? (I use IIS+Tomcat) Thanks so much! Best regards: Janet - Original Message - From: Ted Kahn <[EMAIL PROTECTED]> Hi Janet- I just star

Sending emails as HTML from servlet

2000-10-09 Thread David Burnett
Does anyone know how to make java URL ("mailto:") send a html email (instead of text email) ? is there something that i have to set in System.getProperties() ? regards David ___ To unsubscribe, send email to [EMAIL PROTECTE