Re: Configuration Variables

1999-11-16 Thread Craig R. McClanahan
John Keyes wrote: > Hi, > > A set of our servers use the same properties file (Generic.properties). > It has the JDBC connection stuff in it. This works fine as we launch > the servers passing the -Dconfig.home="" to when launching them. > > Now I have a JSP/Servlet set-up and I want it to use G

Re: JDBC from JSP

1999-11-16 Thread Craig R. McClanahan
arthur alexander wrote: > As a number of individuals have responded, they create their own > "custom" classes to deal with serializing the data out of the ResultSet > into a 'locally' managed "non-database-related" class. > > This is the whole design intent of the CachedRowSet, but it will not >

Hello......

1999-11-16 Thread Siva Surya Kumar V
HI all..       I am new to JSP.     I wrote my first JSP program and the code is     <% out.println("Surya"); %>   Personal web server and JRun is running on my PC. and the result is :   500 Internal Server Error   java.lang.NullPointerException    at com.livesoftware.jrun.plugins.jsp

Re: JDBC from JSP

1999-11-16 Thread Karl Roberts
Hi, I have no problem with this. The point that I was trying to make (poorly ;-) was that the setting up of the connection takes a noticeable amount of time. It is therefore advantageous to have that connections already set up in advance of a request, e.g. connection pool (handled by a bean of

Re: JDBC from JSP

1999-11-16 Thread Karl Roberts
Hi Berry, I can't comment on that as I use JRun in which it is possible to have chosen servlets Pre loaded when the JRun servlet engine is started. But yes, the general point was that a persistent connection pool would be a better solution than connecting to a database through a JSP. While I a

What is the size of JavaWorkshop.

1999-11-16 Thread fgs infotech
    What is the file size of JAva WorkShop community edition?  10 MB?

Re: here is ur JSP BOOK

1999-11-16 Thread Phil
    ISBN=1861002777 is the Patzer, Ayers, etc., text titled Professional Java Server Programming. As I understand it, this is not a jsp book. It covers Servlets, JSP, JDBC, RMI, EJB, CORBA, and JNDI. No one here has reviewed it, so can't suggest it.       A few other texts out there have j

reply for I cannot find the class file

1999-11-16 Thread fgs infotech
Title: Newbie (trying) to use a bean       We are from FGS Infotech Private Limited .    The problem may be Mr.Hopkins that u cannot call a class you have to put the class file inside the "beans" directory Give a name to your package . After the call the file as    Even I encountered th

Re: output comment

1999-11-16 Thread Karl Roberts
Sonny Kim wrote: > Hi, > > Based on JSP docs, output comment is > > Is it possible to add other tag inside the output comment? > For example, > > Is this a known bug? > > Thanks. > -sonny > > === > To unsubscribe: mailto [E

Servlets and Factories

1999-11-16 Thread Mike Engelhart
Hello - I'm seeking advice on using Factory objects in my Servlets. Currently my servlets are instantiating and stuffing Beans that get passed to my JSP's for display. As my servlets are getting a little long in tooth, I've been wanting to rewrite my servlets to use factory objects to create th

Re: here is ur JSP BOOK

1999-11-16 Thread Legros, Bertrand
I have bought this book and have already read a part of it. It's true that the JSP section is only one chapter big. It covers the basic things available in other tutorial like the SUN one. It also includes an example on how to query databases from JSP by using Java beans. Even if, the JSP is on

question

1999-11-16 Thread Nanduri Amarnath
Hi fellas, I have some data in the database that will not change ( example..a list of all Departments ). I will be using this data throughout my application( in a number of screens ). I plan to use a bean that stores all this data in a Vector. If in my JSP page(s) i use something like this..

Re: Newbie (trying) to use a bean

1999-11-16 Thread John Bødker
Hi Bruce When your bean is not in a package you have to import it. Add the following line to your jsp file: <%@ page import="MediaLibData" %> That should do the trick ! - John. "Hopkins, Bruce E" <[EMAIL PROTECTED]>@JAVA.SUN.COM> on 15-11-99 21:36:33 Please respond to "Hopkins, Bru

Re: Configuration Variables

1999-11-16 Thread Mike Engelhart
> From: "Craig R. McClanahan" <[EMAIL PROTECTED]> > The approach I take for properties files is to use a PropertyResourceBundle to > load them. This class finds the properties file in the class path, so you > don't > have to worry about specifying where the file exists. Examples of using this >

Injecting dynamic JavaScript into a JSP

1999-11-16 Thread Leisman, Ed P
Folks,       Here is what I want to do…       I have a JSP page ( it could be any page at any time ). Let us call it xxxJSP.     I have situation sin my Ecommerce scenario that on that xxxJSP I may need to display an alert message of some dynamic te

Re: here is ur JSP BOOK

1999-11-16 Thread Peter Delahunty
Try http://servlet.com This book is cool ! -Original Message- From: Legros, Bertrand [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 16, 1999 2:35 PM To: [EMAIL PROTECTED] Subject: Re: here is ur JSP BOOK I have bought this book and have already read a part of it. It's true that the

Re: Servlets and Factories

1999-11-16 Thread Haiying Qiao
I use a properties file instead of using switch statement: change_user_info=ChangeUserInfo change_user_info is the value of hidden variable ChangeUserInfo is the JAVA class. next are the codes which create the objects: String actionClass = prop.getProperty( action );

Re: JSP Books

1999-11-16 Thread Nanduri Amarnath
I second this notion. Please include examples that deal with real-world problems and solutions to deal with them. For example if you have some data in the database that will not change, how will you show that data over multiple pages and multiple users without hitting the database multip

Re: here is ur JSP BOOK

1999-11-16 Thread Sergio Queijo Diaz
http://servlet.com or http://www.servlet.com? I try the first link, and doesn't exists. -- Saludos: Sergio Queijo Diaz [EMAIL PROTECTED] Unión Fenosa International SW Factory Pedro Teixeira n8. 28020 Madrid. SPAIN Tlf. +34915553361 http://www.uf-isf.es ===

Re: here is ur JSP BOOK

1999-11-16 Thread Phil
>Try http://servlet.com Not sure, but I think you mean http://www.servlet.com, and more specifically their developers section: http://www.servlet.com/devdoc.jhtml Phil === To unsubscribe: mailto [EMAIL PRO

Re: JDBC from JSP

1999-11-16 Thread Kevin Riff
Do you know very much about the CachedRowSet implementation? I'm trying to figure out how it creates an updateable result set when the underlying database doesn't support that feature. What technique does it use? arthur alexander wrote: > As a number of individuals have responded, they create t

JSP Development tools

1999-11-16 Thread berry
Does anyone know of any JSP development tools that are in the works? Berry Crawford Senior Consultant, Bondi Software Phone - 336 - 373 - 8200 x302 Email my computer - [EMAIL PROTECTED] Email my pager - [EMAIL PROTECTED] Company Web Site - www.bondisoftware.com SilverStream Journal and Upcoming B

Re: How should support for scrolling large lists be designed?

1999-11-16 Thread Ian
Daniel: Thanks for the reply. I am curious as to how you handle the possibility that the user has more than 1 'active' query as a byproduct of surfing your site. I.e., it is possible for them to back/forward/history to a results page from an earlier query. Thanks, Ian - Original Message

path and classpath with JavaWebServer2.0?

1999-11-16 Thread Rick L Sample
I installed the JavaWebserver2.0 on my NT box. I am trying to complie the HelloWorldServlet.java that comes with it. Can someon please tell me what paths and classpaths I need to just complie the thing? === To unsubscribe: m

Re: here is ur JSP BOOK

1999-11-16 Thread Kirkdorffer, Daniel
As I and many others have pointed out this book, "Java Server Programming" should not be confused with a book on "JavaServer Pages". The WROX book, although a good book, only has a little bit on JSP, and probably not enough to satisfy more than the curious. If you are looking for JSP specific bo

Re: How should support for scrolling large lists be designed?

1999-11-16 Thread Kirkdorffer, Daniel
Well, my application distinguishes user sessions so that a user can login multiple times in separate browser windows. A user session is stored in the browser session and can be used to differentiate same user/different task situations. But there are ways to send information that identifies one u

access servlet in a new web-application in JSWDK1.0

1999-11-16 Thread Finney, Michael
For the benefit of the people on the list, we want to give this information to you. This discusses how to access a servlet in a new web application in JSWDK1.0 world. > > -Original Message- > > From: Finney, Michael [mailto:[EMAIL PROTECTED]] > > Sent: Monday, November 15, 1999 4:45 PM >

Debugging

1999-11-16 Thread Kallen McInerney
Hi, Has anyone had any luck debugging servlets with JRun and Kawa and if so what steps did they take. The Kawa tutorial seems out of date. Please reply to me personally as I am now receiving the list in digest form. Thanks Kallen = ~ If at first you

Re: JSP Books

1999-11-16 Thread Kirkdorffer, Daniel
I concur with Larry concerning the need for a good tutorial about "how to find, research, configure, and install the latest versions of JDK, JSDK, Apache, JServ, JSSI, and gnujsp and Jakarta". Knowing what will be in a couple of books to be published, I wonder if any will bother to address this is

Off Topic: JSP platform..

1999-11-16 Thread Se Hee Lee
Sorry to post this type of email, but I was wondering what would be the best combination of Web Server, Servlet Engine, etc would be in these configuration? 1. JSP on NT 2. JSP on Unix (Solaris) The project that I will be working on must be able to handle huge traffic load, probably 10 milli

Re: JSP Books

1999-11-16 Thread Luc Saint-Elie
Hello, I'm working on this issue, Servlet Taverne next version will be online in a week or two with a "How To" emphasis... I've nearly finished Jakarta (with some illustrations)... Bonjour (Hello) Kirkdorffer, Daniel, vous avez écrit le (you wrote on) 09:51 16/11/99 -0800 : >I concur with Larry

Re: JDBC from JSP

1999-11-16 Thread Craig R. McClanahan
Kevin Riff wrote: > Do you know very much about the CachedRowSet implementation? I'm trying to figure > out how it creates an updateable result set when the underlying database doesn't > support that feature. What technique does it use? > I assume we are talking about Sun's early access implemen

question 2

1999-11-16 Thread Nanduri Amarnath
Hi , I was wondering..if a bean has "application" scope, does it mean that only one instance of the bean is created and all the users / pages will be able to access that one instance ? Thank you. Cheers, Amar.. === To u

Re: JSP Books

1999-11-16 Thread Larry Fluckiger
David Geary wrote: > I am working on a JSP > book, and I would love to hear from members of this list privately via email > as to your experiences with JSP and what you would like to see covered in > the book. Let me state publicly, rather than privately, what I want to see in a JSP book. There

API behind usebean tag

1999-11-16 Thread Bosch Ricardo
What exactly is the code a JSP page compiles when you put in a usebean tag. Like as if I was trying to use/create a session bean in a servlet. I'd also like to come up with some way to redirect a user who directly tries to go to page that uses a bean , when they should be coming from a servlet

Re: JSP Books

1999-11-16 Thread berry
Any volunteers? - Original Message - From: Kirkdorffer, Daniel <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 16, 1999 12:51 PM Subject: Re: JSP Books > I concur with Larry concerning the need for a good tutorial about "how to > find, research, configure, and instal

JSP - RMI, Security Issue

1999-11-16 Thread Thethi, Manmeet S
I am trying to integrate JSP and RMI for one of my projects. I have a simple JSP page trying to access RMI Client (By instantiating RMI Client class in JSP page). <%@ page import = "console.*" %> Sample RMI <% RMIClient rc = new RMIClient(); out.println("I got: " + rc.getValue

Re: question 2

1999-11-16 Thread Craig R. McClanahan
Nanduri Amarnath wrote: > Hi , > I was wondering..if a bean has "application" scope, does it mean that only > one instance of the bean is created and all the users / pages will be able to > access that one instance ? Thank you. > Yes. One bean is created (per id -- you can have more than o

Re: JSP Development tools

1999-11-16 Thread [Hugo A. Garcia]
netbeans is an ide that has a servlet/JSP development module. the beta is free but please use jdk1.3 to run it. http://www.netbeans.com/ -H berry <[EMAIL PROTECTED]> on 11/16/99 12:14:33 PM Please respond to berry <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc: (bcc: Hugo Gar

Piping JSP/Servlet requests to a common login servlet?

1999-11-16 Thread Ian
Hi all: Doe anyone know if any of the servlet/JSP engines support the piping/redirecting of specified JSP/servlet URL requests to a common login servlet? I want to ensure that a user is logged in if they access any JSP/servlet under a given subdirectory. I.e., I don't really want to include a

Re: API behind usebean tag

1999-11-16 Thread Craig R. McClanahan
Bosch Ricardo wrote: > What exactly is the code a JSP page compiles when you put in a usebean tag. > Like as if I was trying to use/create a session bean in a servlet. I'd also > like to come up with some way to redirect a user who directly tries to go to > page that uses a bean , when they s

ERRORPAGE does not work on Netscape 4.6x

1999-11-16 Thread Rupesh Choubey
Title: ERRORPAGE does not work on Netscape 4.6x Hi, I have ERRORPAGE setup for my JSPsIT works beautifully on I.E.It does not work on Netscape.It displays the entire tag instead of redirecting to the errorpage... EXPERTS Please help with this issue.Thank you Rupe

Changing path(JSP)

1999-11-16 Thread rowan
To all the helpfull people: I need to run the servlet on a different directory than the current web server ? How do you do this ? I have re-configure the default.cfg server.webapp.water.mapping=.d:\project\jsp server.webapp.water.docbase=Jsp but it always goes to the default : d:\Archive

Re: JSP Books

1999-11-16 Thread Sasha Nakhimovsky
"Professional JavaServer programming" from WROX has two chapters on JSP. Our own (Myers and Nakhimovsky) "Professional Java XML programming with servlets and JSP" should be out within two months. Sasha > -Original Message- > From: Somasundaram, Krish [mailto:[EMAIL PROTECTED]] > Sent: Mo

Re: six questions on TagExt (PR2)

1999-11-16 Thread Eduardo Pelegri-Llopart
See intermix. In general, the answers should have been in the javadocs but they seem not to be there. In general the intention is that some details are in javadoc and not in the spec itself. > Date:Sat, 13 Nov 1999 18:00:19 +0100 > From:Volker Turau <[EMAIL PROTECTED]> > Subject: Six

Newbie question about JSP loading delay

1999-11-16 Thread Amornkul, Woody
Hi, I'm working on a test application where the servlet do a "forward" to the JSP page. I've found that it took a long time to load up and display the JSP page on the FIRST run. I do kinda understand why it does that but wondering whether there is a way to "pre-load" the JSP page into th

Tracking sessions in browser windows

1999-11-16 Thread Joel Reymont
How do you do this? I was under the impression that the cookie is set per browser app (IE, NN) and not per browser window. Am I mistaken? Thanks, Joel > -Original Message- > [mailto:[EMAIL PROTECTED]]On Behalf Of Kirkdorffer, Daniel > Sent: Tuesday, November 16, 1999 12:59 PM > >

Any tools to convert .class files to .java files

1999-11-16 Thread fgs infotech
Any tools available to convert .class files to .java files .I just want tools .I know Borland JBuilder can convert it .But for this purpose I cannot get a Borland JBuilder complete version. Anyone can just give me the executable file ?Please Due to some errors I lost a lot of codings and when

ERRORPAGE does paint over on the main FRAME - goes to the frame w hich throws exception.

1999-11-16 Thread Rupesh Choubey
I have another error too.I have a lot of frames and the error page which shows up - shows up only on the frame where the runtime error occured..I tried hard but couldnt make the error page paint OVER the entire pagei tried target=_top etc.. Please let me know if you have any ideas

Re: Tracking sessions in browser windows

1999-11-16 Thread Kirkdorffer, Daniel
You sir are correct! However, what we do is we have user sessions that hang off the browser session. We can detect if a user is sending us a virgin request (i.e. one we haven't stamped with an ID yet), and create a new user session, that we store with the browser session, and then we send back t

Re: Any tools to convert .class files to .java files

1999-11-16 Thread David Chisholm
Jad is a pretty good Windows tool for doing this.  See http://www.geocities.com/SiliconValley/Bridge/8617/jad.html   David     -Original Message-From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of fgs infotechSent:

Re: Tracking sessions in browser windows

1999-11-16 Thread Kirkdorffer, Daniel
[apologies I accidentally sent the previous reponse prematurely - please reference this one] > You sir are correct! > > However, what we do is we have user sessions that hang off the browser > session. We can detect if a user is sending us a virgin request (i.e. one > we haven't stamped with an

Re: Any tools to convert .class files to .java files

1999-11-16 Thread Foo, Shawn
javap does this. It comes with the jdk.. (or sdk if you speak Java2 ;-) Shawn Foo [EMAIL PROTECTED] -Original Message- From: fgs infotech [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 09, 1999 11:18 AM To: [EMAIL PROTECTED] Subject: Any tools to convert .class files to .java files

Re: ERRORPAGE does paint over on the main FRAME - goes to the frame w hich throws exception.

1999-11-16 Thread Matthew Lehrian
I just had a similar problem. After a user's session times out in my app, it redirects to the login page. The problem was, if the page was in a frame, then the login page appeared in the frame, not in the top frame. So I used Javascript to do it: <% if(somethingbad) { String my

Re: Newbie question about JSP loading delay

1999-11-16 Thread Craig R. McClanahan
"Amornkul, Woody" wrote: > Hi, > I'm working on a test application where the servlet do a "forward" > to the JSP page. I've found that it took a long time to load up > and display the JSP page on the FIRST run. I do kinda understand why it > does that but wondering whether there is a wa