Re: CALANDAR

2003-04-05 Thread Christian Bollmeyer (GMX)
Am Samstag, 5. April 2003 09:02 schrieb Affan Qureshi: > The coolest DHTML calendar i saw is: > http://students.infoiasi.ro/~mishoo/site/calendar.epl > > and its pretty simple to set up. Wow. Definitely the coolest yet, and it also works in Konqueror (3.1). Now, someone should try to put that int

Re: DB Connection in web.xml

2003-03-26 Thread Christian Bollmeyer (GMX)
Am Mittwoch, 26. März 2003 13:03 schrieb Deepak: Hi Deepak, this is about JNDI and, in fact, core J2EE. As your Java server obviously supports JNDI (which is good), I would probably drop all those things (could likely be some question from the SCWCD exam, btw) in favor of ones, but the details

Re: screen format

2003-03-25 Thread Christian Bollmeyer (GMX)
Am Dienstag, 25. März 2003 14:50 schrieb Peter: > Hi all Hi Peter, > I am doing a web page which has multiple rows from database > in that i am giving modify option thru which user can modify the contents > in each row say like this > > name age > - >

Re: On (free) IDEs

2003-03-03 Thread Christian Bollmeyer (GMX)
Am Freitag, 28. Februar 2003 13:23 schrieb Omer Tariq: > Hi there, > I'm about to start on my first professional JSP/Servlet project and have > done some "hands dirtyin'" on the Sun One Studio IDE. I'd like to know how > reliable and popular this IDE is and how does it compare to others. > Regards

Re: HttpClient to Servlet

2003-02-05 Thread Christian Bollmeyer (GMX)
Am Mittwoch, 5. Februar 2003 00:19 schrieb Sloan Michael: > According to http://java.sun.com/products/servlet/2.3/javadoc/index.html > > It looks like getSession() and getSession(true) do the same thing. > getSession(true) does not > create a new session if one already exists. You're absolutely ri

Re: HttpClient to Servlet

2003-02-04 Thread Christian Bollmeyer (GMX)
Well, in fact there are three ways to use getSession(), a 'default' one plus a method that takes a boolean as input indicating whether to explicitly create a Session or not. Normally, one would use the default implementation (getSession()). This will either return a reference to the Session if one

Re: HttpClient to Servlet

2003-02-03 Thread Christian Bollmeyer (GMX)
Am Montag, 3. Februar 2003 15:15 schrieb Adrian Janssen: Hi, well, he's right. Sessions are a server-side thing, so the server has to generate and track them later on in its effort to overcome the statelessness of the HTTP protocol. There are at least three common approaches to this (cookies, URL

Re: Web Server vs History Question

2003-01-23 Thread Christian Bollmeyer (GMX)
Am Donnerstag, 23. Januar 2003 17:51 schrieb KEITH KOSMICKI: Could be I don't understand everything right, but browser history and browser caches are two different things. The 'history' may load a page from the cache if the page was cached, or request a new page from the server if the page isn't i

Re: [ANN] LiteWebServer 3.0 Released

2003-01-20 Thread Christian Bollmeyer (GMX)
Am Montag, 20. Januar 2003 20:17 schrieb Hans Bergsten: > Gefion Software is proud to announce the release of LiteWebServer 3.0. This is really good news - Servlets 2.3 and JSP 1.2 in LWS! While the download continues, I already congratulate on this major new release. -- Chris (SCPJ2)

Re: cannot resolve symbol

2003-01-20 Thread Christian Bollmeyer (GMX)
Am Montag, 20. Januar 2003 18:55 schrieb Juan Carlos Montenegro: Hi Juan, did you double-check that the Core book packages are in your $CLASSPATH? HTH, -- Chris (SCPJ) NB. Note that the Core book and the included examples are rather 'old' (my copy is dated early 2000, and it's already a repri

Re: Coding for a clustered environment

2003-01-18 Thread Christian Bollmeyer (GMX)
Am Samstag, 18. Januar 2003 03:59 schrieb Sajag Patel: When coding for clustered applications, generally keep special heed of Singletons in your app. Apart from that, clustering capability heavily depends on your app's architecture in the first place and IMHO is a topic too complex to be laid out

Re: Security (was: Oracle Connections)

2003-01-18 Thread Christian Bollmeyer (GMX)
Am Freitag, 17. Januar 2003 21:24 schrieb Hans Bergsten: > Since we're talking Java here, PreparedStatement is the simple solution > to this problem. It's been discussed in more detail here before so > search the archives if you don't understand how it solves the problem. > > Hans Definitely, and

Security (was: Oracle Connections)

2003-01-17 Thread Christian Bollmeyer (GMX)
Hi everyone, considering the security question, I was kind of short in just recommending SSL. Of course, this is not enough, but this issue just came to my mind afterwards. Probably the two most important statements on security issues are: 1. Never trust your users, and 2. Never trust input data

Fwd: Re: Oracle Connections

2003-01-16 Thread Christian Bollmeyer (GMX)
Am Donnerstag, 16. Januar 2003 13:52 schrieb John Smith: > I'm sorry if this is rather a basic question for the list, Not too basic, as security is alway complex. > but I am just > getting started using JSP to front-end an Oracle server. I can > successfully connect to the database and produce H

Re: Structs and HTTPS ?

2003-01-13 Thread Christian Bollmeyer (GMX)
Am Montag, 13. Januar 2003 09:15 schrieb Bengt Bäverman: > Is there anything that prevents me from using Struts when I need to use > HTTPS ? Hi, there is no problem to be expected with Struts and HTTPS. HTTPS is handled transparently to the application by the server, and the app components - may

Re: how to make JSP Pgms faster

2003-01-12 Thread Christian Bollmeyer (GMX)
Am Sonntag, 12. Januar 2003 05:33 schrieb arun s: > hi all, > Im using JSP and DB2. Now..what should I recommend upon this? Using Oracle instead of DB2? Well, if that would help... > My program is running very slow . Check what exactly *is* slow. If JSP alone were slow, you probably wouldn'

Re: Location.href

2003-01-09 Thread Christian Bollmeyer (GMX)
Am Donnerstag, 9. Januar 2003 16:36 schrieb KEITH KOSMICKI: > I have a button on a page that uses location.href to go to other pages. > One of these buttons options goes to the previous page. > However, it loads the page out of history rather than loading a new page > from the server.url Replace d

Re: Use of Vector

2003-01-03 Thread Christian Bollmeyer (GMX)
Am Freitag, 3. Januar 2003 09:56 schrieb Vikramjit Singh: > > -Original Message- > > From: Eric Noriega [mailto:[EMAIL PROTECTED]] > > Sent: Friday, January 03, 2003 1:31 PM > > To: [EMAIL PROTECTED] > > Subject: Re: Use of Vector > > > > > > This is totaly false. You do need to worry

Re: JSP/TOMCAT problem

2002-12-20 Thread Christian Bollmeyer (GMX)
Hi, > -Original Message- > From: A mailing list about Java Server Pages specification > and reference [mailto:[EMAIL PROTECTED]] On Behalf Of > Saket Barve > Sent: Thursday, December 19, 2002 7:08 PM > To: [EMAIL PROTECTED] > Subject: JSP/TOMCAT problem > > > I have tomcat 4.1.12 installed

Re: Controlling session when user is out

2002-12-14 Thread Christian Bollmeyer (GMX)
Hi Christian, this is exactly what session timeouts are made for. HTTP is request-response based, ie. a statusless protocol, so if the user doesn't log out as designed (giving your app a chance to call session.invalidate() somewhere), there is no means to tell if he is still connected or not. As t

Re: Info about Model-View-Controller

2002-12-02 Thread Christian Bollmeyer (GMX)
Hi Cristian, Model-View-Controller is a design idiom originally deve- loped at the Xerox labs in the early 80's., primarily with GUIs in mind back then. IIRC it has first been implemen- ted in SmallTalk, but influenced other frameworks of the 90's in a major way, including the Document-View-Archi-

Re: How should i proceed with

2002-11-28 Thread Christian Bollmeyer (GMX)
Well... if I most humbly might make some objections... 1. IsUserInRole() is about authorization, so that won't solve the problem at all, I fear. With this method, you can check what a user is allowed to do. You can't check if the user tries to log in twice, regardless of the authentication scheme

Re: servlets beans and jsp

2002-11-26 Thread Christian Bollmeyer (GMX)
Hi everyone, now, as Hans has spoken already, I'd also recommend reading his book. I've read the first edition a year ago and bought the second one unseen last month. I rather seldom give praise to computer books, but O'Reilly's 'Java Server Pages' is one of the few books on JSP that - as you may