Re: Model 2, where to store and access the Database ConnectionPool

2000-04-10 Thread D. J. Hagberg
I believe most real-world ConnectionPool implementations get away with their singleton-ness and supposedly garbage-collectable-ness by having a background thread that keeps track of the static reference. This background thread is responsible for items like monitoring stats, reducing the pool time

Re: interface JSP and JDBC

2000-04-10 Thread Luc Saint-Elie
Brenda, Hava a look at the JDBC section at http://www.interpasnet.com/JSS Bonjour (Hello) Brenda Tung, vous avez écrit le (you wrote on) 10:30 11/04/00 +0800 : >hi everyone, > >I would like to ask if there are any online resoucres regarding the >interfacing of JSP and JDBC. I've got the required

Re: localization

2000-04-10 Thread Govind Seshadri
Arun, The JSP engine should not really care about the encoding of the information present within property resource bundles. The specific charset value can also be specified an additional resource, of course. For example, data for most of the non ISO-8859-1 compliant languages like Korean, Japanes

Re: Introduction, JSP Tutorial?

2000-04-10 Thread jcbellusa
also try http://www.javaworld.com/ There are several articles there to read. - "Manty, George" wrote: > here is the best free on-line tutorial I have come across: > > http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/ > > -Original Message- > From: Gomez Mesa Francisco Jesu

About the free e-mail and full-text searching

2000-04-10 Thread Wang ke
Hello! Does anybody know how to build free e-mail and FULL-TEXT use J2EE. All suggestions, comments, etc, will be greatly appreciated. To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://j

Which JSP server is the best in Windows95/98 ?

2000-04-10 Thread ayin
Hello all I want to install a JSP compatible Web Server in Windows98. Which one is a best choice? Can anybody tell me? Must I install IIS in Windows NT or Apache for NT? Thanks in advance. ayin === To unsubscribe: mailto

Query

2000-04-10 Thread Kamlesh Upadhyaya
Hi ! Everybody, I have a query.How do we ensure session management in JSP pages. Is the code written in the JSP page or somewhere else. Do i need to check for the session id when ever i load the page ? Can anyone suggest some approach or suggest some document to read regards, kamlesh

Re: localization

2000-04-10 Thread Arun Thomas
Vyacheslav, You're right that I could use ListResourceBundles, but, one of the advantages of using property resource bundles when the only items to be localized are string is that the property files can be handed over to a translator or someone with no idea how code should look, and a translated

interface JSP and JDBC

2000-04-10 Thread Brenda Tung
hi everyone, I would like to ask if there are any online resoucres regarding the interfacing of JSP and JDBC. I've got the required info by using JSP and written the relevant codes for JDBC. My database is MS Access. Thank you for your kind attention. Brenda ===

Re: Model 2, where to store and access the Database ConnectionPool

2000-04-10 Thread Wes Biggs
On Mon, 10 Apr 2000, Craig R. McClanahan wrote: > It's actually the other way around in at least some JVMs -- the garbage collector > detects no other object references to an instance of your Singleton class (probably > because there is no such instance, if you're using all static methods). Hmm.

Servlet 2.2 BASIC Authentication in Tomcat?

2000-04-10 Thread Rich Holladay
I've looked through this list and various jakarta sources but I haven't been able to find the answer to this question. How do I configure HTTP BASIC Authentication in Tomcat 3.1 Beta (27-Mar-2000) for a JSP/servlet? Thanks ==

Re: Model 2, where to store and access the Database ConnectionPool

2000-04-10 Thread Craig R. McClanahan
Wes Biggs wrote: > On Mon, 10 Apr 2000, Sam Heisz wrote: > > > > "JDK 1.1.x specification added the feature of class unloading... > > where the only reference to the Singleton object is maintained within > > the Singleton class itself, the garbage collector, in its enthusiasm to > > dispose of an

Tomcat or Resin

2000-04-10 Thread Harris Wulfson
JSP crew, I am about to deploy an application using Tomcat 3.0. I'm too close to the deadline right now to think about switching JSP/servlet implementations, however I want to revisit the issue after launch. Are any of you running large sites using Tomcat? How about Resin or Orion? Any thoughts

Re: Model 2, where to store and access the Database ConnectionPool

2000-04-10 Thread Wes Biggs
On Mon, 10 Apr 2000, Sam Heisz wrote: > > "JDK 1.1.x specification added the feature of class unloading... > where the only reference to the Singleton object is maintained within > the Singleton class itself, the garbage collector, in its enthusiasm to > dispose of any unused trash, may assume tha

Re: JSP

2000-04-10 Thread Wes Biggs
Go directly to the FAQ. Do not pass go, do not collect $200. See the bottom of this email for further details. Wes On Mon, 10 Apr 2000, Faiq Ahmed wrote: > where can i find some good JSPs > __ > Get Your Private, Free Email at http://www.hot

Re: How to send a string to a servlet from a jsp page?

2000-04-10 Thread Kevin Duffey
Use the request object. <% String str = "Some string name"; %> <% request.setAttribute("String", str); %> When the Servlet gets called from the JSP page, check the request object: public void doPost(HttpServletRequest request, HttpServletResponse response) { if( request.getAttribute("Strin

Re: Model 2, where to store and access the Database ConnectionPool

2000-04-10 Thread Craig R. McClanahan
Sam Heisz wrote: > wes> What it may have meant was if Object A is only referred to by > Object B > wes> and Object B is only referred to by Object A, they can be garbage > wes> collected -- I can see where simple implementations of a garbage > wes> collector wouldn't be able to deal with the circ

How to send a string to a servlet from a jsp page?

2000-04-10 Thread Sangita Gupta
Hi All, I have a jsp page which generates a string. A servlet calls the jsp page. I want to pass that string to the servlet. How do you do that? Thanks, -s === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JS

Re: Introduction, JSP Tutorial?

2000-04-10 Thread Manty, George
here is the best free on-line tutorial I have come across: http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/ -Original Message- From: Gomez Mesa Francisco Jesus [mailto:[EMAIL PROTECTED]] Sent: Monday, April 10, 2000 4:44 AM To: [EMAIL PROTECTED] Subject: Introduction, JSP Tutorial?

Re: localization

2000-04-10 Thread Arun Thomas
Govind, I'm hoping you can help clarify a point about localization that I've been able to find little comment about In the last few lines of your JavaWorld article, you write: If you are using something other than the ISO-8859-1 character set, you must communicate this to th

Re: Model 2, where to store and access the Database ConnectionPool

2000-04-10 Thread Sam Heisz
On Fri, 7 Apr 2000, Sam Heisz wrote: sam>> What stops the instance from getting garbage collected? I read that sam>> starting version something-something-something, the garbage collector sam>> is more aggressive and will collect instances of objects that are only sam>> referred to by a member vari

JSP

2000-04-10 Thread Faiq Ahmed
where can i find some good JSPs __ Get Your Private, Free Email at http://www.hotmail.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Som

Re: Session using Tomcat

2000-04-10 Thread Hans Bergsten
Rajesh Shah wrote: > > > OK, now what failure symptoms are you seeing? > > The JSP is presented to the user, the user fills in the detail and it gets > send to the servlet (the controller), the servlet gets the request object > and grabs the session instance. When it trys to grab the session insta

Re: Session using Tomcat

2000-04-10 Thread Rajesh Shah
> OK, now what failure symptoms are you seeing? The JSP is presented to the user, the user fills in the detail and it gets send to the servlet (the controller), the servlet gets the request object and grabs the session instance. When it trys to grab the session instance it is always null. If I r

Re: Session using Tomcat

2000-04-10 Thread Craig R. McClanahan
Rajesh Shah wrote: > > OK, now what failure symptoms are you seeing? > > The JSP is presented to the user, the user fills in the detail and it gets > send to the servlet (the controller), the servlet gets the request object > and grabs the session instance. When it trys to grab the session instan

Re: mixing sessions with cookies, sessions with url rewriting

2000-04-10 Thread Mike McKechnie
> > >Also, note that if a user starts a new browser process, that browser will > >get a new session no matter what you do. In fact, that's how I support > > Do you mean for example start once Netscape and then IE ? Because that's far No -- session cookies are kept in process memory for the browse

Re: OAS + JSP?

2000-04-10 Thread Steve Croft
We have done it with lots of futzing around with Oracle's ojsp files and jservlet patches. JSP is not officially supported in 4.0.8.1 - the ojsp stuff is something of a beta. Oracle keeps promising great things in 4.0.8.2, but we have yet to see it. By the way, the ojsp.zip is available at: are

Model for merchant validation

2000-04-10 Thread Kathy Wargo
I have been tasked to provide the "commerce" modules for our web application. This includes transactions to a cyber validator for credit cards like CyperCash and as well as billing to subscription customers. Does anyone have a model or examples of Beans, servlets, jsps that I could use as tem

Re: mixing sessions with cookies, sessions with url rewriting

2000-04-10 Thread Mark Wutka
I'm not sure if this is efficient or even a reasonable thing to do, but could you could put the subsession id in the path itself and set up a servlet to translate the path. There are probably some subtle nuances that you may have to deal with, but here is the general idea: Set up a servlet that e

Re: Directives in JSP version 0.91 and JSP version 1.1

2000-04-10 Thread Maillet, David J.
WebSphere 3.x uses JSP 1.0. Perhaps upgrading to the latest release might be an option? -Original Message- From: Marc Krisjanous [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 09, 2000 10:25 PM To: [EMAIL PROTECTED] Subject: Directives in JSP version 0.91 and JSP version 1.1 Hi all, I

How do I install Servlets within my web application?

2000-04-10 Thread Xunming Liu
Hi there: My system is SDK1.2.2 and JSWDK1.0.1. I want to install and run my Servlets file. according to JSP FAQ item: "How do I install Servlets within my web application? 3. Activate the newly installed Servlet by registering (adding) the servlet in the WEBAPP/WER-INF/servlets.properties file

OAS + JSP?

2000-04-10 Thread Nathan Hoover
I am currently milling around in circles trying to figure out how to process JSPs with OAS 4.0.8.1. Has anyone successfully run a JSP with OAS on either Sun or Linux platforms? Nathan Hoover R&D Manager Name Engine, Inc. ===

Re: Session using Tomcat

2000-04-10 Thread Craig R. McClanahan
Rajesh Shah wrote: > I could only find examples with Tomcat for servlet sessions. The > JSP->Servlet->JSP demo does not use sessions. > > Here are sample code snippets as requested --> > > --- > Here is the Servlet code that I am using: > > HttpSession se

Re: Image genration using jcchart & passing it to HTML client.

2000-04-10 Thread Kevin Duffey
Keep in mind, GIF is a proprietary format, so you can't "legally" create a gif image for use. You would have to license it to use it, and from what I understand its not cheap. === To unsubscribe: mailto [EMAIL PROTECTED] with

Re: To access a word file thru a servlet and adding values to fie lds in it from a backend db

2000-04-10 Thread Joe Milora
It wouldn't be that tough if you use a COM bridge. Check out JIntegra. > -Original Message- > From: Nathan Hoover [SMTP:[EMAIL PROTECTED]] > Sent: Friday, April 07, 2000 9:26 PM > To: [EMAIL PROTECTED] > Subject: Re: To access a word file thru a servlet and adding values > to fields

Re: Which J2EE application shall I choose?

2000-04-10 Thread Kevin Duffey
Orion Server (www.orionserver.com) supports it. Its a 100% written Java app, so you can run it on Linux just fine. Its free to use for everything except production, which costs a low $1500 per server (no cpu limitation). ===

Re: Session using Tomcat

2000-04-10 Thread Rajesh Shah
I could only find examples with Tomcat for servlet sessions. The JSP->Servlet->JSP demo does not use sessions. Here are sample code snippets as requested --> --- Here is the Servlet code that I am using: HttpSession session = request.getSession(false);

Re: Retrieving DB with taglib

2000-04-10 Thread Craig R. McClanahan
LynchWu wrote: > Hi all > > Is it possible to retrive rows of data with one tag, > and then show each column with different tags, > within one single jsp page? Yes. > If yes, how to pass > the connection information and result set from > tag to tag, without using any jsp page-wide variables? >

Re: Model 2, where to store and access the Database ConnectionPool

2000-04-10 Thread Craig R. McClanahan
Cammarano Richard wrote: > i am currently using a connection pool manager that is designed as a > singleton where I call ConnectionManager.getInstance() to return the > single pool instance. At first I was storing the connection manager in > the servlet context until my coworker pointed out that

Re: Custom Tag DTD

2000-04-10 Thread Craig R. McClanahan
Rick MacConnell wrote: > Does anyone know where the DTD for Custom Tag Libraries can be found? The > URL in the spec is no longer valid. I've used the following with success: http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd"> > > TIA, > Rick Craig McClanahan ===

Re: Model 2 Question..

2000-04-10 Thread Craig R. McClanahan
piyush raj jain wrote: > i understand that i should not leave any possibilties of bypassing the controller >servlet . > > But when we talk about subcontroller action servlets for an application with multiple > domains-- > suppose right now i am desigining an integrated application for a company

Re: Session using Tomcat

2000-04-10 Thread Craig R. McClanahan
Rajesh Shah wrote: > This is a fundamental problem escpecially if you are using the Model 2 > architecture and the servlet is being used as the controller. Has anyone got > any workarounds? Tomcat does support sessions being shared across servlets and JSP pages in the same web application. Do t

Re: Model 2 Question..

2000-04-10 Thread Loganathan, Kamalesh
Craig, Thanks. I appreciate your comments. I believe in seperating the presentation from the business logic. Kamalesh. -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 09, 2000 7:59 PM To: Loganathan, Kamalesh Cc: [EMAIL PROTECTED] Subject: Re:

Re: mixing sessions with cookies, sessions with url rewriting

2000-04-10 Thread Sylvain Roche
I'll answer directly into Mike's response. Thanks Mike by the way for replying so fast -Message d'origine- De : Mike McKechnie <[EMAIL PROTECTED]> À : Sylvain Roche <[EMAIL PROTECTED]>; [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date : lundi 10 avril 2000 17:18 Objet : Re: mixing sessions with

Which J2EE application shall I choose?

2000-04-10 Thread Sehkone Kim
Hello, JSP users I'm looking for a good web application server which enables developers to use JSP 1.1, Servlet 2.2 and EJB 1.1. Actually, I found severals having good fame but they are all based on Windows or Unix rather than Linux. What I really want to use is EJB 1.1 on which I can use sess

Re: Image genration using jcchart & passing it to HTML client.

2000-04-10 Thread Jacky Cheung
Hi, To generate a chart to client, you need to write a Servlet to generate the chart image (say, gif). 1. create a non visible Frame (i.e., call setVisible(false) or just don't call setVisible(true)) 2. add a chart to the frame and give the chart data to draw 3. get an ServletOutputStream 4. set

Re: mixing sessions with cookies, sessions with url rewriting

2000-04-10 Thread Mike McKechnie
As Jim Haungs is fond of saying, "the only interesting numbers are one and infinity". Designing a workaround for exactly two sessions could cause problems when you need to go to three... Also, note that if a user starts a new browser process, that browser will get a new session no matter what you

Re: Session using Tomcat

2000-04-10 Thread Rajesh Shah
This is a fundamental problem escpecially if you are using the Model 2 architecture and the servlet is being used as the controller. Has anyone got any workarounds? -Original Message- From: Javier Borrajo [mailto:[EMAIL PROTECTED]] Sent: 10 April 2000 16:05 To: Rajesh Shah Cc: [EMAIL PROT

Re: Image genration using jcchart & passing it to HTML client.

2000-04-10 Thread Mike McKechnie
I build server-side .jpg images of charts, but instead of using the built-in image export code from my chart package, I use Sun's image export library 'cus it's faster. That's the com.sun.image.codec.* package, available on their site. _3 M ===

Re: and java.lang.ClassCastException

2000-04-10 Thread Mike McKechnie
> > > > Perhaps this has nothing do do with jsp:forward -- maybe the server's having trouble instantiating your bean class. When the jsp:forward comes first in the file, the jsp:usebean never gets executed so you don't get the class cast exception. Have you tried the jsp:usebean all by it

Session using Tomcat

2000-04-10 Thread Rajesh Shah
I ahve been using ServletExec for the last three months and have not encountered any problems. I am currently researching Tomcat and having difficulties with sessions. I have a JSP which is a simple registration page. The form element in the JSP submits to a Servlet which is turn gets the session

mixing sessions with cookies, sessions with url rewriting

2000-04-10 Thread Sylvain Roche
Hi, I don't know how to handle this. I have two servlets which both use sessions persistence engine. One must use cookies because with multipart forms, jrun stores the session identifier into the resquest parameters, ie in an object it cannot access. But for another servlet, my need is to handle t

Image genration using jcchart & passing it to HTML client.

2000-04-10 Thread Manish Bijay Kumar
Hi all, What I am trying to do is to create a graph at the server end using jcchart and passing it to the client (HTML page). Does any body has done this successfully. If yes..then please guide me. Thanks in advance... Manish Kumar

Custom Tag DTD

2000-04-10 Thread Rick MacConnell
Does anyone know where the DTD for Custom Tag Libraries can be found? The URL in the spec is no longer valid. TIA, Rick === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs

WebObjects

2000-04-10 Thread Andrea Vicentini
Hi all! Is there anybodyelse out there reading this mailing list that uses WebObjects ApplicationServer from Apple? I would like to exchange ideas about the structure and organization of the system... For example, are you really been able to integrate JSPs in the WebObjects architecture? And how

Using Beans in JSPs using Tomcat 3.1

2000-04-10 Thread Rajesh Shah
I cannot seem to make Tomcat "find" a bean which I use in the form. Do you need to add anything to web.xml? === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets ca

Re: and java.lang.ClassCastException

2000-04-10 Thread Xunming Liu
Hi Oliver: some times I met the similar problem and very difficult to explain. I think jsp is very sensitive to some strange conditions? Any one can teach me? Xunming Olivier Mangez wrote: > I don't understand the behavior of : > > If my JSP page looks like this, it works : > >html cod

Introduction, JSP Tutorial?

2000-04-10 Thread Gomez Mesa Francisco Jesus
Hi, I'm an informatic student and I'm want to learn JSP to develop some Web applications and compare the performance with the same ASP web applications. Where can I learn JSP? are there any FREE tutorials? (in spanish or english). Thanks. Francisco Jesus Gomez Mesa ([EMAIL PROTEC

and java.lang.ClassCastException

2000-04-10 Thread Olivier Mangez
I don't understand the behavior of : If my JSP page looks like this, it works : html code <%@ page ... %> ... If my JSP page looks like this, it fails : html code <%@ page ... %> ... java.lang.ClassCastException at E_0003a.work.csi_00025_00025rum.src.csiforum.js

Retrieving DB with taglib

2000-04-10 Thread LynchWu
Hi all Is it possible to retrive rows of data with one tag, and then show each column with different tags, within one single jsp page? If yes, how to pass the connection information and result set from tag to tag, without using any jsp page-wide variables? == Lynch Wu Web