Re: detecting browser type

2000-08-14 Thread Kumail Rizvi
Javascript var browsername=navigator.appname; thi swill give u browser type. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Brad Miley Sent: Monday, August 14, 2000 9:17 PM To: [EMAIL PROTECTED] Subject: d

Re: bit off topic - HELP on books: book for sale

2000-08-14 Thread M. Simms
I've got a brand-new copy of the "Java Servlet Programming" by Jason Hunter - 2nd edition !!! (got a second copy by mistake) $20 shipping/handling included. > -Original Message- > From: A mailing list about Java Server Pages specification and reference > [mailto:[EMAIL PROTECTED]]On Beha

Re: SQL server date Type - formatting

2000-08-14 Thread Neal Cabage
Nevermind - I figured it out. Thanks! Date thisdate = rs.getDate("date_mod"); out.println(myFormat.format(thisdate)); Neal -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Neal Cabage Sent

SQL server date Type - formatting

2000-08-14 Thread Neal Cabage
I have a field in my SQLServer DB that is of DateTime type. JDBC returns the value as: 2000-08-09 23:24:43.810 Then I need to format this as follows: 8/14/00 I was going to use: <% DateFormat myFormat = new SimpleDateFormat("MM/dd/yy"); Date myTest = myFormat.parse(rs.getString("date_mod")) %>

Re: detecting browser type

2000-08-14 Thread Jayson Falkner
An easy way to detect which browser is being used is by JavaScript. Here are two functions for detecting IE vs. Netscape: function is_ie() { if (browser == "Microsoft Internet Explorer") return true; return false; } function is_ns4() { if(browser == "Netscape" && parseInt(navigator.appVersio

Where did 1.0 spec go?

2000-08-14 Thread Ed Dunkle
Download via HTTP returns a blank page. I really just need a reference card. I just installed ServletExec 3.0 and it supports 1.0, NOT 1.1 or .91!!! Thanks, Ed http://java.sun.com/Download3 === To unsubscribe: mailto [EM

Re: Servlets question, Urgent!!!!

2000-08-14 Thread Kevin Citron
Thanks for the reply Aaron. But, when I attempt this I get the following output by Tomcat "Error reading request connection reset". Yet when I invoke my servlet from a browser such as IE5. Things work fine. Thanks again. -Original Message- From: Aaron Gilreath [mailto:[EMAIL PROTECTED]]

Re: Servlets question, Urgent!!!!

2000-08-14 Thread Kevin Citron
When attempting this method of communications with a servlet I receive a "Error reading request connection reset by peer" message. Any ideas would be greatly appreciated. -Original Message- From: Aaron Gilreath [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 25, 2000 1:27 PM To: [EMAIL PRO

error resolving relative path in 'errorPage'

2000-08-14 Thread Yashwant Balwant
I have question regarding error handling in JSP. My site say 'Today' has two jsp files under two seperate folders namely 'News.jsp' under 'News' folder and 'failure.jsp' under 'failure' folder. As you can see failure is my error page. Now when an exception occurrs in news.jsp, my error page gets c

ConcurrentModificationException

2000-08-14 Thread Sneha Sharma
Sneha Sharma@CONTEXT 08/14/2000 02:42 PM Hi ! We are using JSPs and in some occasions, when we say jsp:include , we get the exception ConcurrentModificationException It is meant to be for Collections. We are not using collections. So what is it? Regards, Sneha ===

Tomcat running on Solaris 8 (x86)

2000-08-14 Thread Murphy, Chris (OTS-EDH)
O wise ones: I have installed tomcat 3.1 on my Solaris 8 machine. When connecting to http://mybox:8080 , I can run the servlet examples ok. When I run the NumberGuess, the harddrives on the server just spin and spin and spin. I telnet'd in and noticed that the drive space was being chewed up in

Re: Thanks in advance

2000-08-14 Thread Elamurugu Rajagopal
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Thanks E. wayne allison wrote: > Hello all, > > I am unable to handle the volume of email generated > with this group on top of others. > > I have tried three different methods to remove > myself, all to no avail. >

Thanks again for Everybody - Helped

2000-08-14 Thread Abudhahir A
thanks for ur help === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.

Thanks in advance

2000-08-14 Thread wayne allison
Hello all, I am unable to handle the volume of email generated with this group on top of others. I have tried three different methods to remove myself, all to no avail. Can some help get me off of this email list? Thanks, Wayne Allison __

Re: bit off topic - HELP on books

2000-08-14 Thread Daryani Santosh
Servlets - Java Servlet Programming by jason Hunter O'Reilley publication Servlets - Professional java Server Programming Wrox Publication Servlets and JSPs - Core Servlets and Java Server Pages - check fatbrain.com they have a very special offer for this book JSP - Professional JSP by Wrox Publ

Re: bit off topic - HELP on books

2000-08-14 Thread Ron Chan
Hi, ed roman's ejb book is available: http://www.interpasnet.com/JSS/index.htm?id=11 wrox's prof jsp is good. ron --- Abudhahir A <[EMAIL PROTECTED]> wrote: > Thanks Patrick. > > - Original Message - > From: Patrick Buchanan <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tu

Re: bit off topic - HELP on books

2000-08-14 Thread Hiren Dossani
For Servlets & JSP refer to the following books: Core Servlets & JavaServer Pages by Marty Hall(ISBN:0130893404) Professional JSP by Wrox Publishers (ISBN:1861003625) Fir EJB refer to Developing Enterprise JavaBeans by O'Reilly publishers - Original Message - From: "Abudhahir A" <[EMAIL

Re: bit off topic - HELP on books

2000-08-14 Thread Abudhahir A
Thanks Patrick. - Original Message - From: Patrick Buchanan <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 15, 2000 12:49 AM Subject: Re: bit off topic - HELP on books > A very good book on JSP's is "Web Development with JavaServer Pages" by Duane K. > Fields and

Re: bit off topic - HELP on books

2000-08-14 Thread Patrick Buchanan
A very good book on JSP's is "Web Development with JavaServer Pages" by Duane K. Fields and Mark A. Kolb, Manning publishing. Another is "Core Servlets adn JavaServer Pages" by Marty Hall, Sun publishing Another very popular book is "Java Servlet Programming" by Jason Hunter, O'Reilly publishing

bit off topic - HELP on books

2000-08-14 Thread Abudhahir A
hi guys there I want to equip as you guys are can any body suggest good book on 1. Web Sphere 2. Web Logic 3. EJB 4. Servlets & JSP Thanks for your time and guidance abudhahir === To unsubscribe: mailto [EMAIL PROTECTED] wit

Test

2000-08-14 Thread Sanjay Gomes
This is a test message === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.

Re: detecting browser type

2000-08-14 Thread Mohan Radhakrishnan
Hi, There are some more browser specific variables also. Search http://www.irt.org var browserApp = navigator.appName; var browserPlatform = navigator.platform; if ( browserApp.indexOf ( "Microsoft" ) >= 0 ) { if (browserPlatform.i

leap Year check method in JavaScript

2000-08-14 Thread Naresh Thawani
Is there any better way in Java Script to do a leap year check. One way of doing it is to take the sub string for year from the date and check for it. Thanks, === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff

servletNeedsCreating

2000-08-14 Thread Boemio, Neil (CAP, FGI)
> Anyone know what this means? > I have 2.3.3 Build 157 on NT running on IIS. > > This just starting happening today. I wasn't even working on any of this. > It was working fine. > > Also, when I delete the xml, java, and class files, they are not > recreated. Can anyone please help? > > > Mon A

Re: detecting browser type

2000-08-14 Thread Mohan Radhakrishnan
Hi, There are some more browser specific variables also. Search http://www.irt.org var browserApp = navigator.appName; var browserPlatform = navigator.platform; if ( browserApp.indexOf ( "Microsoft" ) >= 0 ) { if (browserPlatform.i

Re: detecting browser type

2000-08-14 Thread JSP Insider
Use request.getHeader("user-agent"); for example a client with internet explorer 5.5 will return a user agent of: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0; ZDNetSL) Casey Kochmer [EMAIL PROTECTED] www.jspinsider.com >From: Brad Miley <[EMAIL PROTECTED]> >Reply-To: A mailing list abo

Re: detecting browser type

2000-08-14 Thread Daryani Santosh
Try this , its Javascript App name returns the type of browser document.write(navigator.appName); document.write(navigator.platform); Brad Miley <[EMAIL PROTECTED]> on 08/14/2000 12:17:05 PM Please respond to A mailing list about Java Server Pages specification and reference <[EM

Re: JSP with Visual Age for Java

2000-08-14 Thread workme
your version of VAJ is running pre-1.0 jsp; either .91 or .92. don't remember which is which with regard to VAJ. any jsp book or jason hunter's servlet book shows pre-1.0 syntax. don't bank on it; jsp containers, that i've seen, don't support more than version. tomcat is 1.0 compliant. robert

giving scope both session and request?

2000-08-14 Thread Rick Reumann
I was wondering if it is possible to give a bean scope both "session" and "request"? I have a page called process.jsp which is called after the submission of a form. In this page I would like to be able to use the jsp shortcuts of getting the parameters by (this example:).. text.addLine( text.get

detecting browser type

2000-08-14 Thread Brad Miley
How do you detect what type of browser the client is using? Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com === To unsubscribe

JSP with Visual Age for Java

2000-08-14 Thread Maciej Tylczyński
Hi all I just started to use VAJ with jsp and it looks like VAJ uses different kind of jsp syntax. For example instead of . Where can I find some syntax explanation ? Thanks === To unsubscribe: mailto [EMAIL PROTECTED] wit

Re: WEBLOGIC JDBC PROBLEM

2000-08-14 Thread Thomas Preston
This is a WL specific problem and should be posted to WL group. You need to have the classfile in your WEBLOGICCLASSPATH (edit your startWebLogic.cmd or .sh) file. >From: "Lamport, Mark" <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and > reference <[EM

SV: what's wrong with this JSP file ? Urgent Please

2000-08-14 Thread Magnus Walter
Change the SQL statement, configure the table to use default values, use some JavaScript to check the form values before submitting will all FIX the problem BUT ! Can I check/handle NULL values in a recordset using JAVA (JDBC-ODBC) ? Example: I have a .jsp page for list all messages from table:

SV: JDBC-ODBC and NULL

2000-08-14 Thread Magnus Walter
Change the SQL statement, configure the table to use default values, use some JavaScript to check the form values before submitting (app design problem) will all FIX the problem BUT ! Can I check/handle NULL values in a recordset using JAVA (JDBC-ODBC) ? Example: I have a .jsp page for list all

what's wrong with this JSP file ? Urgent Please

2000-08-14 Thread sufi malak
Flash macromedia set the variable Counter, and call this JSP file, I want this JSP file to return a string to flash someting like " Headlines=5&Headline1=import java.awt.*;" I don't know if it is correct or no to use out.write or out print to output a string from JSP file to the caller( flash or a

WEBLOGIC JDBC PROBLEM

2000-08-14 Thread Lamport, Mark
Hi I wonder if anyone out there can help me. I've compile a Java program which accesses an MS SQL database via JDBC, which works fine as a stand alone program. However when I run a servlet using Weblogic 5.1 that also accesses the MS SQL database I get the following error: java.lang.ClassNotFoun

Re: Page comes up as ---> No detailed message

2000-08-14 Thread Hendrik Schreiber
Hi! I have no idea what's wrong with tomcat, but your code is perfectly fine and executes smoothly with jo! Maybe you can find something in tomcat's log or you have to set the logger to DEBUG level... -hendrik - - - - - - - - - - - - - - - - - - - - - - - - - - - tagtraum industries http:

Re: JDBC-ODBC and NULL

2000-08-14 Thread Selvamani Jayakumar
hi you can change the SQL statement to avoid null. Check the fields which will be null and replace with space. You can use the NVL funct in Oracle and ISNULL funct in SQL Serv. By this way you can avoid null values before getString. It doesnt chnge your database values too. >From: Magnus Wal

Information about JDeveloper Required.

2000-08-14 Thread Ritesh_Srivastava
Platform : JSP,Java,EJB. Hi, Can anyone send me some information about Oracle JDeveloper 3.1.Can anyone suggest some good sites . Thanks in Advance. Regards Ritesh === To unsubscribe: mailto [EMAIL PROTECTED] with bod

FWD: Database hierarchy

2000-08-14 Thread Oscar Sanchez Vilar
Sorry if you got this message before (email problem). Oscar --Original Message-- From: Oscar Sanchez Vilar <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Sent: August 14, 2000 11:34:31 AM GMT Subject: Database hierarchy Hi list. I have a table in a database storing data structured as a hier

Re: reload doesn't work suddenly

2000-08-14 Thread Peter Gozal
Dear David, I once have this problem too. I put all my jsp files under /pathTo/jakarta-tomcat/webapps/examples. I've read once in this mailing list sometime on early March 2000, and there's an advice to check a directory where our compiled jsp code resides in tomcat directory structures. For exam

Re: using corba from servlets

2000-08-14 Thread TODD HARNEY
Your classpath is different when you run the application from the command line than when you run the servlet through the webserver. Make sure your web server's classpath has the CORBA classes in it. >>> [EMAIL PROTECTED] 8/11/00 4:45 >>> dear Members, If anyone over there knows y I get clas

JDBC-ODBC and NULL

2000-08-14 Thread Magnus Walter
Hi, need help with JDBC-ODBC and NULL values ? When I use getString and the value is null I got a ugly ERROR ! Is it possible to check for NULL values before i use getString ? (getString will give me the error so the method wasNull() dont help) Please help ! ( I dont want to change the database

Database hierarchy

2000-08-14 Thread Oscar Sanchez Vilar
Hi list. I have a table in a database storing data structured as a hierarchy: categories and subcategories of products. Each row has to fields: the name of the category and the category that it belongs to. I was wondering which would be the best way to show this information using jsp, and allow t

Re: A EJB Question

2000-08-14 Thread Richardson, Simon IT
Pratik OK so you're more interested in a comparison of different EJB containers. I cannot provide you with this information, but a site which may be of interest to you as a starting point is: http://www.techmetrix.com/lab/benchcenter/asdirindex.shtml This gives a list of some very popular appl

Page comes up as ---> No detailed message

2000-08-14 Thread Prasad Mvs
Hi JSP lovers, I have this small jsp code: Hello World ! <%@ page language="java" import="java.util.*" %> This is an example <%=Calendar.getInstance().toString() %> This code shows up as Error: 500 Location: /jsp/index.jsp No det

upload file

2000-08-14 Thread faritonang
how to upload file with jsp? thanks... === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://w

Re: using RequestDispatcher.forward

2000-08-14 Thread Shibi Sudhakaran
check out if u are using relative path anywhere in the JSP. with regards, shibi Enter your default signature here Sent by Indya Messaging Service === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INT

Re: A EJB Question

2000-08-14 Thread Pratik
Friends thanks for your reply. But I am more interested in comparison of different EJB containers. Is there any url for comparison ? thanks - Original Message - From: "ramadevi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 14, 2000 3:18 PM Subject: Re: A EJB Question

jsp and search

2000-08-14 Thread Rakesh Bhat
Hi all, I have following scenario. Please tell me how to go about it ? In my jsp page i have a search option which may return lot of search results. I want to display the informations 10  0r 20 at a time in the page. Each time , when i say more>> , i want the same page(i mean rest of the design s

Re: A EJB Question

2000-08-14 Thread subramanian Athimoolam
hi j2ee also container. Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com === To unsubscribe: mailto [EMAIL PROTECTED] with body

Re: A EJB Question

2000-08-14 Thread ramadevi
weblogic ,websphere are the other EJB containers. Pratik wrote: > Friends sorry for EJB question in JSP forum. > I would like to know about EJB container available . > And if possible comparision of them. > What about Jboss or EJBoss?. > I am using Tomcat as Servlet Cointainer. > > Any Idea.? >

Re: storing data in database v. servletcontext

2000-08-14 Thread Hendrik Schreiber
Hi! In general it would be a good idea if you had the data in the ServletContext as that is basically a HashMap and therefore very fast. BUT... ServletContext are local to your instance of the servlet engine and not distributable. i.e. if you have to scale the appication to multiple machines you

Re: Please help:Network Adapter Problem

2000-08-14 Thread Santiago Benito Rebollo
Thanks, but both parameters are OK Santiago > -Mensaje original- > De: A mailing list about Java Server Pages specification and reference > [mailto:[EMAIL PROTECTED]]En nombre de Prasad Mvs > Enviado el: lunes 14 de agosto de 2000 10:35 > Para: [EMAIL PROTECTED] > Asunto: Re: Please help

Re: A EJB Question

2000-08-14 Thread Richardson, Simon IT
Check out JRun http://www.allaire.com/Products/JRun/ Simon -Original Message- From: Pratik [mailto:[EMAIL PROTECTED]] Sent: 14 August 2000 08:07 To: [EMAIL PROTECTED] Subject: A EJB Question Friends sorry for EJB question in JSP forum. I would like to know about EJB container available

Re: Please help:Network Adapter Problem

2000-08-14 Thread Prasad Mvs
Check the "IP ADDRESS" and "PORT NUMBER". atleast, one of them is wrong. Network connection needs only these two parameters. - Prasad Santiago Benito Rebollo wrote: > Hi all > > I installed JRun 2.3.3. in windows NT with ISS, but when I start my > aplication, that connect with a

Re: using RequestDispatcher.forward

2000-08-14 Thread SRINIVAS RAO
David, which web server r u using? I am also having the same problem in JWS. I was told that there are a few configurations to be set in the JW. I dunno what r those? AH, my suggestion is put this block in try-catch block. But now your error will not be program error but jws error. srinivas. >

Re: Tomcat 3.1 Calling a JSP from a servlet

2000-08-14 Thread Eoin Shalloo
Since I am a relative newbie to Java and JSP I will have to bow to your superior knowledge. However the problem did turn out to be a simple matter of correct paths. Tomcat ( I have discovered) expects the path to be relative to (but not including) the server root. Having entered this, everything w

Please help:Network Adapter Problem

2000-08-14 Thread Santiago Benito Rebollo
Hi all I installed JRun 2.3.3. in windows NT with ISS, but when I start my aplication, that connect with a DB, I have an error message that says: "The network adapter could not establish the connection". So please tell me how to solve this problem. Thanks for previous help. Thanks in advance.

storing data in database v. servletcontext

2000-08-14 Thread Soon Hong
hello, I have a performance question regarding the storing of information. I have data that needs to be frequently accessed and modified by users, and do not know if i should attach it to the servletcontext or if i can simply access it every time from the database. i would rather leave the info

A EJB Question

2000-08-14 Thread Pratik
Friends sorry for EJB question in JSP forum. I would like to know about EJB container available . And if possible comparision of them. What about Jboss or EJBoss?. I am using Tomcat as Servlet Cointainer. Any Idea.? Thanks in advance bye ==