SV: If ResultSet is null

2001-10-24 Thread Jan Arenö
Your resultset isn't null... the result set does just not contain anything... test if(rs.next()) {     //The Resultset contain at least 1     do     {     }     while(rs.next())       //or something, itäs up to you } else {     //Does not contain any answer  }   Hope I could help -

If ResultSet is null

2001-10-24 Thread Isak Rickyanto
Hello all   I want to ask about this code...   This code get resultset from database,,, but if it is null (the null result set) doesn't run the code in the else section   I can't understand what is the problem ... If I use sql tag or not... those have same result...   the code in else do

SV: Encrypt Jsp , how?

2001-10-24 Thread Jan Arenö
Title: RE: Encrypt Jsp , how? Yes, some of it. My experience is that the decompler don't work to a 100%, but they would get out some (or most) of your code. I don't know what type of system you are running, but in Oracle you (can) deploy the jsp into the database. So any "hacker" needs to h

SV: NTLM auto-authentication with IE

2001-10-24 Thread Jan Arenö
answer to 1 : I don't think this is possible. Maybe you can tell the OS to use default user/pass or something, but I don't think you can withdraw the password and use it as you wish, since you then could easy do an application that shows all the passwords to people. If you can tell the OS to logi

anything to flag before starting out in JSP?

2001-10-24 Thread Steve Bearss
I am starting out with JSP (and this email list) and I am hoping that if someone had hardships with the following:   1. Win98 2. MS Access2000 database 3. 200MHZ MMX pentium pro processor 4. keeping everything java on its own HD partition   they could let me know before I get ahead of myself.

Re: Encrypt Jsp , how?

2001-10-24 Thread Miao, Franco CAWS:EX
Title: RE: Encrypt Jsp , how?   That is good idea, but can bean be decompiled? Franco      -Original Message-From: Jean-Francois Pinero [mailto:[EMAIL PROTECTED]]Sent: Wednesday, October 24, 2001 4:37 PMTo: [EMAIL PROTECTED]Subject: Re: Encrypt Jsp , how? How about putting everything

Re: Encrypt Jsp , how?

2001-10-24 Thread Jean-Francois Pinero
Title: RE: Encrypt Jsp , how? How about putting everything in beans and just calling them? -Original Message- From: Miao, Franco CAWS:EX [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 24, 2001 5:17 PM To: [EMAIL PROTECTED] Subject: Encrypt Jsp , how? Is there any way to encry

Encrypt Jsp , how?

2001-10-24 Thread Miao, Franco CAWS:EX
Is there any way to encrypt Jsp, not allow people read the content, but the Jsp maintain functioning, just like Cold Fusion. Just in case someone hack in the server steal the Jsp source code, but they can't read the code, the Jsp file only shows strange characters. Any suggestion? Thanks, Fra

[ADMIN] Re: test

2001-10-24 Thread horwat
You may have seen a slowdown of the list as a result of the list administration work done on 10/22. I sent out a couple of e-mails to the list warning people about it. That work was finished on Monday and everything is back on-line and working properly. Please you do not need to send any more tes

Re: DBTAGS and variables

2001-10-24 Thread Lance Lavandowska
You cannot put a tag inside a scriptlet. Read the docs for DBTags at http://jakarta.apache.org/taglibs/doc/dbtags-doc/index.html It explains how to get the value into a page variable (hint: use the "to" attribute). Lance Lavandowska www.Brainopolis.com - Original Message - From: "Tro

Re: DBTAGS and variables

2001-10-24 Thread Chris Pratt
You are embedding JSP Tags within a Java Scriplet that is embedded in a JSP Page. Unfortunately this level of nesting is not supported. You can design your tags (using the TagExtraInfo) so that they create variables for you, or you can directly call the JDBC routines from the Scriplet. (*Chr

DBTAGS and variables

2001-10-24 Thread Troy Campano
I am trying to make a variable that uses a value that comes from DBTAGS. So when it loops through the recordset and gets the values from the database, I'd like to do something like this: <% String myvar; myvar = ; %> I have also tried: <% String myvar; myvar = %><%; out.println(my

Re: Platform choice advice for deploying a website

2001-10-24 Thread Daniel Jaffa
Look up jrun. It works pretty well with iis. Daniel Jaffa Computer GOD who Created the Stars and Moon "If you are not happy, I am not happy" _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp ===

NTLM auto-authentication with IE

2001-10-24 Thread Glenn Wearen
Two question and one part solution follows. 1. Is there a way to get the username/password of a user who has logged onto a network domain (i.e. NIS or NTLM) without asking the user to (re)enter it in a form (without using IIS or Cookies)? 2. Is IE (or Mozilla) capable of automatically picking up

Re: Offtopic:ODBC

2001-10-24 Thread Robert Stauder
Consider mdac the deliver vehicle for odbc/oledb. It is far easier to deal with odbc through mdac than to individually mess with the odbc drivers. To remove odbc drivers/mdac revisions, download the "component checker" from www.micrsoft.com/data Make sure you read the help, as using this tool i

Re: Offtopic:ODBC

2001-10-24 Thread Steve Bang
MDAC is relevant to ODBC! See below. -- steve >From Microsoft's description of MDAC: What are the Microsoft Data Access Components? The Microsoft Data Access Components are the key technologies that enable Universal Data Access. They include ActiveX Data Objects (ADO), Remote Data Service (RDS,

Re: Would like to know....

2001-10-24 Thread Praveen Potineni
Now i'm getting this weird error... javax.servlet.ServletException: JZ0D5: Error loading protocol com.sybase.jdbc2.asa60.ASA60. private String myDriver ="com.sybase.jdbc2.jdbc.SybDriver"; private String myURL ="jdbc:sybase:ASA60:dbrepository"; My database is sybase database on ASA60 server and a

Re: Platform choice advice for deploying a website

2001-10-24 Thread Panagiotis Konstantinidis
Sorry I do not. I have never used IIS with Servlets/JSP. I always think of IIS and ASP working together not JSP/Servlets. Maybe if you post a message to an IIS related mailing list. 24/10/2001 17:05:09, "Haseltine, Celeste" <[EMAIL PROTECTED]> wrote: >Thank you. The discussion under the Intr

Re: Platform choice advice for deploying a website

2001-10-24 Thread Haseltine, Celeste
Thank you. The discussion under the Intro pretty much answered my questions. Do you know if there is a similiar discussion on the merits of using IIS and other JSP/Servlet containers together somewhere else on the web? My intial search on this topic using google.com on Monday did not bring up a

Re: Offtopic:ODBC

2001-10-24 Thread Haseltine, Celeste
MDAC and ODBC are not the same thing. Whomever suggested that you install MDAC to correct an ODBC problem was incorrect. MDAC is Microsoft's version of ADO (Active X Data Objects) and if my memory serves me correctly, I believe it sets up a transparent "communication" layer for the developer bet

Re: Platform choice advice for deploying a website

2001-10-24 Thread Panagiotis Konstantinidis
Take a look here: http://jakarta.apache.org/tomcat/tomcat-3.2-doc/tomcat-apache-howto.html It might help. 24/10/2001 16:44:47, "Haseltine, Celeste" <[EMAIL PROTECTED]> wrote: >I too am trying to understand what parameters you should take into >consideration when looking at the JSP/Servlet cont

Re: Platform choice advice for deploying a website

2001-10-24 Thread Haseltine, Celeste
I too am trying to understand what parameters you should take into consideration when looking at the JSP/Servlet container to use for a web site, and whether you should use the JSP/servlet container in conjunction with Apache or IIS. One thing struck me in the dialog below, and it was the followi

Re: Offtopic:ODBC

2001-10-24 Thread Othmar Stehlik
I installed the mdac, but the error stays the same, should uninstall ODBC, how? > http://www.microsoft.com/data > download the latest mdac > > Daniel Jaffa > Computer GOD who Created the Stars and Moon > "If you are not happy, I am not happy" > > > > _

Re: test

2001-10-24 Thread Jean-Francois Pinero
Title: RE: test Testing myself... -Original Message- From: Peter Pilgrim [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 24, 2001 11:31 AM To: [EMAIL PROTECTED] Subject: test test mail -- Peter Pilgrim ++44 (0)207-545-9923   

Re: and

2001-10-24 Thread Lance Lavandowska
It isn't clear exactly what your question is, but the following line is not supposed to work (you cannot put a tag within a tag) but this line should work (I say "should" because I'm having trouble with rtexprvalue in a tag) =

test

2001-10-24 Thread Peter Pilgrim
test mail -- Peter Pilgrim ++44 (0)207-545-9923 //_\\ "Mathematics is essentially the study of islands of === disparate subjects in a sea of ignorance." || ! || Andrew Wiles __/\/\_

Re: Would like to know....

2001-10-24 Thread Praveen Potineni
Thanks for the suggestions...i had already set up the CLASSPATH but i forgot to restart the tomcat...i restarted and it worked...i mean it recognized the driver but now i got another problem... with the URL javax.servlet.ServletException: Communication link failure:java.io.EOFException and the UR

Re: Offtopic:ODBC

2001-10-24 Thread Daniel Jaffa
http://www.microsoft.com/data download the latest mdac Daniel Jaffa Computer GOD who Created the Stars and Moon "If you are not happy, I am not happy" _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp =

SV: Disable browser back

2001-10-24 Thread Jan Arenö
Your example does not disable the back button, it just hide it. You can still go back with keyboardcommands or right-click mouse. Yuo don't want to use location.href, but submit a form. I don't understand what you are trying to say. You can excecute the function like this... function myFunction

Re: Would like to know....

2001-10-24 Thread sufi malak
Just put mySQL driver in tomcat_dir\lib and restart tomcat, it works for me. >From: Praveen Potineni <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and >reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: Would like to know >Date: Wed, 24

Offtopic:ODBC

2001-10-24 Thread Othmar Stehlik
How can I reinstall ODBC, I know this is a silly question, but ʹve never worked with ODBC, should I reinstall windows? Cause when I open the ODBCAdmin an error occurs and the prompt tells me I should reinstall ODBC. Regards Othmar -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.

Re: Would like to know....

2001-10-24 Thread Panagiotis Konstantinidis
There is another way to do it in Windows 2000. My Computer...Properties...Advanced...Environment Variables and then append the path of your sql jar file to the end of the classpath variable. 24/10/2001 13:49:38, Praveen Potineni <[EMAIL PROTECTED]> wrote: >Hi Alex, >I have the same problem

Re: Would like to know....

2001-10-24 Thread Praveen Potineni
Hi Alex, I have the same problem that paul has. But i'm trying to do that on Windows 2000. I am getting a javax.servlet.ServletException: org.gjt.mm.mysql.Driver I am using mm.mysql-2.0.6.1.jar driver and i set the CLASSPATH using set CLASSPATH.. Not sure if i'm doing any mistake in setting the

Disable browser back

2001-10-24 Thread Vibha Jindal
Hi , I want to disable my browse back, forward etc. menu buttons... If I use the code : open(location.href, 'windowName', 'toolbar=0,menubar=0,status=1,resizable=1,scrollbars=1') and close the old window: window.close(); it should work. I found this on teh net. But my problem is that I don't w

and

2001-10-24 Thread LASKOWSKI,JACEK (HP-Poland,ex1)
Hi, Please look at the following example and answer my question below. I've created a simple web application with a JSP page and a tag. The tag is of my interest. Here is a part of its tld: portlet tag.SimpleTag empty name no yes Now here is the ma

Re: Platform choice advice for deploying a website

2001-10-24 Thread Joseph Ottinger
That's not the only difference. As I said, WebLogic is J2EE whereas Tomcat is a Servlet container. I'm well aware of what the implications are, and I use a number of application servers; I'd say Tomcat's suitable for testing and possibly deployment on sites with *little* traffic (not "a little tra

FW: Services or Daemons in java

2001-10-24 Thread Ivan de Araujo Saraiva
Hi Bommakanti, Vamsee In Oracle 8i there is a package that send email. You can write a trigger to send an email as an answer of an event on database, like insert, delete, login, etc... Or You can schedule a task to execute at some intervals of time to send emails. You choice! Hope this help, Iva

Re: JSP newbie kick start

2001-10-24 Thread Greg Philpott
If you know ASP and ColdFusion, then learning JSP will be a breeze - What you need to do first though is get started with learning Java (without the Enterprise API's for the moment).  I recommend the following for a solid foundation:   1.  visit www.javaranch.com to particaipate in the forum

Re: Platform choice advice for deploying a website

2001-10-24 Thread Panagiotis Konstantinidis
You can run Tomcat in conjuction with Apache for web sites with loads of traffic. There is a version of Apache for Windows as well. Take a look at the Apache project web site http://www.apache.org and you can find loads of information about how to do it. There is an extensive documentation on T

[ANN] a major new release of custom JSP tags suite.

2001-10-24 Thread Dmitry Namiot
Coldjava announced a new release of Coldjava taglib. This suite provides 60+ custom JSP tags for common programming tasks faced by JSP developers. Tags cover the most often used areas in web development: Database manipulations XML/XSL support SOAP, UDDI requests printing formatted data authenti

Re: JSP Tags

2001-10-24 Thread Hardeep Singh
Title: JSP Tags JSP:FORWARD  is handled at the server side. the browser is ignorant of its presence.   Hardeep Singhhttp://SeeingWithC.cjb.net - Original Message - From: Sanjay Gomes To: [EMAIL PROTECTED] Sent: Wednesday, October 24, 2001 4:55 PM Subject: JSP Tags

Re: STOP-JSP

2001-10-24 Thread Dmitry Namiot
<% return; %> or see an appropriate custom tag on http://www.servletsuite.com/jsp.htm > how to stop e jsp? -- Coldjava - server-side Java components http://www.servletsuite.com __ Your favorite stores, helpful shopping tools a

JSP Tags

2001-10-24 Thread Sanjay Gomes
Title: JSP Tags Hi All Is the JSP:FORWARD  tag a server dependent one or a browser dependent The reason am asking this is coz it fails  sometimes Cheers Sanjay This e-mail and any attachments are confidential and may also be privileged. If you are not the named recipient, please noti

Re: Platform choice advice for deploying a website

2001-10-24 Thread Panagiotis Konstantinidis
I think the only difference here is that Tomcat is a Servlet/JSP engine while Weblogic is a Servlet/JSP engine *and* EJB container (in a few words weblogic is a proper Application Server). Unfortunatelly while one of the most popular Servlet/JSP engines (Tomcat) comes for free, the most popular E

Offtopic: Resin

2001-10-24 Thread Hardeep Singh
Hi All,   Resin CMP is a webserver and EJB container downloadable from www.caucho.com. Has anyone used it? How do its features and performance compare with other app servers like JBoss.   Thanx Hardeep Singhhttp://SeeingWithC.cjb.net

Re: Platform choice advice for deploying a website

2001-10-24 Thread Joseph Ottinger
Tomcat doesn't do what weblogic does. Weblogic is a J2EE container; Tomcat is a servlet container. J2EE is more than servlets. You might also consider Orion (www.orionserver.com) - it's also a J2EE container, runs much faster than WebLogic (although BEA won't allow anyone to publish benchmarks -

Re: Escaping quotes in SQL string

2001-10-24 Thread Ashish Shrestha
Yes, use PreparedStatement instead of Statement. It does it for you. Ashish Shrestha === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-IN

Re: Platform choice advice for deploying a website

2001-10-24 Thread Ashish Shrestha
Hi, We have about 90% dynamic and 10% static content(few help pages and mostly images). Yet we are using Apache + Tomcat 3.2.3. Why? Well, our site is access with SSL (https) only. Though we did not test it to verify, we were told that SSL in native library is faster than Java. Basically, Apache

Re: Refreshing parent page

2001-10-24 Thread Ashish Shrestha
The *best* solution would be to use client side JavaScript! Ashish Shrestha === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DI

Cookies not working!

2001-10-24 Thread Paul Stearman
I am using the following code as a jsp login page. On pressing the Login button the cookie should be created but its not. Any ideas?