Use of Session Attribute

2001-10-19 Thread Saravanan Thangaraju
What impact will setting attribute session = false in the page directive of a jsp.. Is it recommended.? Saravanan . T. Consultant Kanbay Software ,India. 020-7691100 (ext - 511) -Original Message- From: Dmitry Namiot [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 1:51 PM To:

Re: Multiple users

2001-10-19 Thread SANJIB BISWAS
Hi Chris, Thanks for your suggestion. Just a little query, if I create a HashMap of dept as "key" and values as "Y" & "N" flags and a sessiontimeout occurs , how will I know which department need to be flaged out ? Thanks Sanjib --- Chris Pratt <[EMAIL PROTECTED]> wrote: > Obviously, to accompl

Re: cookie trail in JSP's

2001-10-19 Thread Ashish Shrestha
check out the breadcrumb tag library at www.jsptags.com ashish shrestha === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST

Re: Multiple users

2001-10-19 Thread Chris Pratt
Obviously, to accomplish this, you have to keep track of who is logged into your system. One place to do this is using the Application Scope within the JSP's. You could put a HashSet in the Application Scope that contains the UserID's (or Departments) of all the Logged in Users. When a user Log

Re: Multiple users

2001-10-19 Thread Miao, Franco CAWS:EX
Consider session or cookie in server, the concept is once the user logon the system, session will be established base on department, and set session rule only allow one session established once by same department. So if User A logon to system in his/her workstation, he can logon to yours, unless

Re: Multiple users

2001-10-19 Thread SANJIB BISWAS
Hi Franco , Here is more detailed information. As soon as the user logs on to the system by using the web brouser , I do an authentication of the valid user and then get the detailed information of the user from the database and this information contains the information of the user's department. I

Re: Multiple users

2001-10-19 Thread Miao, Franco CAWS:EX
Need more detail info, like how to logon your system through Brower or what? What application they normally run in your system... Franco -Original Message- From: sanjib B [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 3:27 PM To: [EMAIL PROTECTED] Subject: Multiple users H

Multiple users

2001-10-19 Thread sanjib B
Hi All, I am having a problem in determining how can I prevent users from the same department logging on to my system ? (In my system users always belong to one department.) Any suggestions ?? Thanks Sanjib === To unsubscr

[ADMIN] reminder: archives.java.sun.com scheduled downtime

2001-10-19 Thread horwat
This is a reminder that there will be a scheduled downtime affecting the jsp-interest and all other java.sun.com interest lists on 10/22. Justy (jsp-interest list moderator) > - Begin Forwarded Message - > On Monday, Oct. 22, SSG IT Infrastructure Operations will conduct

[ADMIN]: hello

2001-10-19 Thread horwat
If you want to chat, join an IRC channel. This list is dedicated to all questions related to JSP's, got a question that's not answered in the FAQ's listed at the footer of each message then by all means post it. Otherwise, keep the chat off-line. Thanks! Justy (jsp-interest list moderator)

[ADMIN]: unsubscribe

2001-10-19 Thread horwat
Done. As a pre-emptive strike to any other unsubscription messages, please look at the footer of the messages. There you'll find instructions that tell you how you can subscribe/unsubscribe yourself easily. To send e-mail to the moderator directly, use this address: [EMAIL PROTECTED] Thanks!

Re: any maillist FAQ?

2001-10-19 Thread horwat
The FAQ's are clearly listed in the footer of every e-mail sent to jsp-interest. If you have any suggestions on making it even more clear, please send them to me. I would appreciate the input. Even with the availability of the FAQ's and searchable archives, people still need to take the extra step

Re: (Query)String to java.sql.Date

2001-10-19 Thread Hans Bergsten
May I offer a more efficient process? String tmpDateStr = request.getParameter("releaseDate"); SimpleDateFormat sdfTemplate = new SimpleDateFormat("-MM-dd"); java.util.Date date = null; try { date = sdfTemplate.parse(tmpDateString); } catch (ParseException e) { // Deal wit

Re: SQL apostrophie INSERT problem

2001-10-19 Thread Chris Pratt
Doh! That's actually what I meant. Sorry! Use a PreparedStatement, not a StoredProceedure. (*Chris*) - Original Message - From: "Daniel Jaffa" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 19, 2001 10:21 AM Subject: Re: [JSP-INTEREST] SQL apostrophie INSERT prob

Re: SQL apostrophie INSERT problem

2001-10-19 Thread Daniel Jaffa
Well, if you dont want to make a storedproceedure, you can always use prepareStatement. Daniel Jaffa Original Message Follows The best way is to use StoredProceedures. When you call StoredProceedure.setString() it automatically takes care of all the encoding that's required. Other than

My own Log Files

2001-10-19 Thread Mendez Yanes JI
Hi all, Could anybody tell me What I have to do to create my own LOG files for an specific application ? I have added in server.xml: It is commented because if it doesn't TC crash. Do I have to modify the tag Context ? What I have is: So far I get Nothin

hello

2001-10-19 Thread belgaid
Newly subscribed in the JPS-INTEREST.Hello everybody,how things are goin on?

FW: DBTAGS URI issue

2001-10-19 Thread Troy Campano
I solved my own problem. I just needed to add the JAR file to my CLASSPATH. thanks! > -Original Message- > From: Campano, Troy > Sent: Friday, October 19, 2001 11:40 AM > To: JSP-INTEREST (E-mail) > Subject: DBTAGS URI issue > > > > I am getting this error when trying to

unsubscribe

2001-10-19 Thread Robert Birch
  -Original Message-From: yilmaz [mailto:[EMAIL PROTECTED]]Sent: Friday, October 19, 2001 5:48 AMTo: [EMAIL PROTECTED]Subject: Re: help me with this " numberformat exception" please Hi Jan, thank you very much for your help, it worked !!. as you said i began to cut

Re: How to create a report in JSP

2001-10-19 Thread Brad Rhoads
We got this working by create wrappers for the CR Com object. We used the tool from http://infozoom.de to generate the wrappers. -Original Message-From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Haseltine, Cele

Re: How to create a report in JSP

2001-10-19 Thread Haseltine, Celeste
Nguyen,   I tried to use Crystal Reports 8 with JRUN 3.01 and JSP, and finally gave up.  I had real problems getting the Crystal Report server, IIS and JRUNServer to work together on the same box.  Another friend of mine suggested a work around that was overkill for me, but necessary for him. 

DBTAGS URI issue

2001-10-19 Thread Troy Campano
I am getting this error when trying to use DBTAGS: org.apache.jasper.JasperException: This absolute uri (http://jakarta.apache.org/taglibs/dbtags) cannot be resolved in either web.xml or the jar files deployed with this application my complete web.xml file looks like this: http://java.sun.c

Re: SQL apostrophie INSERT problem

2001-10-19 Thread Chris Pratt
The best way is to use StoredProceedures. When you call StoredProceedure.setString() it automatically takes care of all the encoding that's required. Other than that, you have to handle it yourself. (*Chris*) - Original Message - From: "Andrew Bruno" <[EMAIL PROTECTED]> To: <[EMAIL

Re: [off-topic] Legacy MFC C++ ===> J2EE or .NET or ??

2001-10-19 Thread Scott Watson
Check this out... I received it from a Oracle Newsletter. It is very interesting to get Ed's spin on how things are going to develop. HTH Scott. Snip - FEATURE RECOMMENDATION: J2EE vs. Microsoft.Net Ed Roman, CEO, The Middleware Company, discusses J2EE vs.Microsoft.Net and offers a comp

(Query)String to java.sql.Date

2001-10-19 Thread James Childers
I spent most of yesterday afternoon getting a string pulled in via a request.getParameter properly typed so that it could be updated or inserted into our Sybase backend. I searched the archives and wasn't able to find anything that specifically talked about how to do this, so I wanted to share.

[off-topic] Legacy MFC C++ ===> J2EE or .NET or ??

2001-10-19 Thread Seibert, Dan
Hi all, I've been a member of this list for almost two years now, and have learned a tremendous amount from you folks. I haven't had to post to the list much, because most of my questions have been asked (and answered) by others. Thanks to your help, my team has successfully completed a couple of

Re: How to create a report in JSP

2001-10-19 Thread Duc Nguyen
Are you looking for something like this?http://www.inetsoftware.de/English/produkte/crystalclear/Default.htm good lucks, Duc >From: Nguyen Tra Linh <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject

Re: help me with this " numberformat exception" please

2001-10-19 Thread yilmaz
Hi Jan, thank you very much for your help, it worked !!. as you said i began to cut off my code little by little and compile till i found the cancerous part. since i was having numberformat exception at Integer.parseInt , (which i hadn't in my code) i was supposing that the problem is relat

Re: JSP cookie problem

2001-10-19 Thread Saravanan Thangaraju
Could you please explain it more clearly.. name the jsps a , b ,c and tell what is happening.. where do you call response .add cookie like this...sure we will solve the problem.. Saravanan . T. Consultant Kanbay Software ,India. 020-7691100 (ext - 511) -Original Message- From: Paul Stea

JSP cookie problem

2001-10-19 Thread Paul Stearman
I am creating a site which almost entirely is made up of JSPs. On the loin page i want to write some information (use id, database connection id, etc) into a cookie. I am forwarding the page onto the next one using a javascript function which in turn calls window.location.href. (this is due t

Re: help me with this " numberformat exception" please

2001-10-19 Thread yilmaz
do you think that i am expecting a parameter without appending a parameter at the end of the url? come on. In my frist postage i already wrote that http://localhost:8080/newscont.jsp?no=1 doesn't work. i just wanted to tell you that it can't see the parameters, even i call it without parameters ,

Re: Creating shortcut using java-off topic

2001-10-19 Thread Hardeep Singh
Hi, Creating shortcut is a os specific. Most probably, you will need to create a shortcut creating DLL in vc++ and the write a JNI based java wrapper class. Hardeep Singh http://SeeingWithC.cjb.net - Original Message - From: "Amarnath N" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent:

Re: Formating Text In JSP

2001-10-19 Thread Dmitry Namiot
Check out Excape taglib from Coldjava's suite for example: http://www.servletsuite.com/jsp.htm -- Coldjava - server-side Java components http://www.servletsuite.com __ Your favorite stores, helpful shopping tools and great gift i

SV: help me with this " numberformat exception" please

2001-10-19 Thread Jan Areno
Ok, you hav eto check a few things, first, how do you send the parameter to the page? POST or GET (default). You cannot just comment the checks for null value (since it can be in a class or something) without comment the whole block. The easiest way should be to set a false && in the start