Re: ASSIGNING REQUEST.GETPARAMETER TO A VARIABLE IN A JSP FILE !! !

2000-08-22 Thread Naveen Gupta
use % String str=request.getParamter("varName"); String query="insert into urtablename values(str)"; executeQuery(query); % and dont forget to register class and opening connection as well which i'm not writing here :) Naveen -Original Message- From: Agarwal Gokul [mailto:[EMAIL

Re: How to combine javascipt within JSP ?

2000-08-22 Thread Naveen Gupta
just use script language="javascript" javascript functions script in head of jsp file and it will work as in ordinary HTML files -Original Message- From: Muhammad Arsyad [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 22, 2000 6:28 AM To: [EMAIL PROTECTED]

Re: ASSIGNING REQUEST.GETPARAMETER TO A VARIABLE IN A JSP FILE !!!

2000-08-22 Thread JSPInsider
Here is one example of getting a value with request.getParameter(), http://www.jspinsider.com/beans/beans/email/BeanMailer/index.html Hope it helps! [EMAIL PROTECTED] - Original Message - From: "Agarwal Gokul" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, August 20, 2000 11:45

Re: How to set apache on mod_SSL

2000-08-22 Thread Antonio Jimenez
on NT is easy http://www.modssl.org/contrib/apache-ssl-win32-howto.html on other O.S. is more complex regards, -- Antonio mike dell wrote: Hi all... How to run apache on mod_ssl? Thanks in advance. -Mike, __ Do You Yahoo!? Yahoo! Mail –

WebSphere

2000-08-22 Thread Diwakar Killamsetty
Hi, Please let me know whether WebSphere 3.0 Standard Edition supports EJBs. regards, Diwakar. (office) +91-40-3308600 x8547. The information transmitted is intended only for the person or entity to which it is addressed

Re: WebSphere

2000-08-22 Thread Neto Luís
Howdy, Diwakar. Only the Advanced Edition of WebSphere Application Server supports EJB's. Best Regards, Luís Miguel Neto, IBS Portugal Diwakar Killamsetty [EMAIL PROTECTED]@java.sun.com on 08/22/2000 08:47:38 AM Please respond to A mailing list about Java Server Pages specification and

Can't convert javax.servlet.jsp.JspWriter to java.io.PrintWriter

2000-08-22 Thread Erwan TROEL
Est ce que quelqu'un saurait d'où vient le Pb? org.apache.jasper.JasperException: Unable to compile class for JSPC:\jakarta-tomcat\work\localhost_8080\_0002fmyfirst_0002ejspmyfirst_jsp_0 .java:172: Incompatible type for method. Can't convert javax.servlet.jsp.JspWriter to java.io.PrintWriter.

how to load a class by package ?

2000-08-22 Thread Dion Dion
hi all.. i'm having difficulties with loading class.. please help :) in myclasspath i have c:\;c:\jdk1.2.2\lib;c:\myjava; I have directory c:\myjava\hardware and inside the hardware directory i have Harddisk.java and i already stated inside it: package hardware; compile it, and to test it, i

urgent Help on UPLOAD a file

2000-08-22 Thread Rajesh Singh
Hi all guru ...i've one problem which is bugging me since last two days.I NEED URGENT HELP from all of u ...the problem is like this: ...creating a web-based application in which one of the functionality is to UPLOAD a file (in my case it will be .xls file)from the client's machine. Now

How to display the errors in this html

2000-08-22 Thread swaroop
Hi friends, See the code below, This following code is in some.jsp file %@ page errorPage ="/ib/error/DirectAccess.htm" % How can I show the errorPage (exceptions,printStackTrace) in the DirectAccess.htm Thanks in advance venna

Re: urgent Help on UPLOAD a file

2000-08-22 Thread Scott Evans
IMHO the only real solution for this is smarter or better trained users - maybe put a warning next to the browse button, or popup a javascript prompt when they click the button, like confirm("Hey, are you sure you saved your most recent changes?"). As for a hack, if you are on an intranet using

Re: urgent Help on UPLOAD a file

2000-08-22 Thread Tripat Kharbanda
Hi Rajesh. Try the following 1. For intracting with the client (node) :- Try using java web start . it allows u to interact with the client(node) or may be signed applets. 2. use boolean java.io.File.canWrite() method to see if u can write to file. if u r sucessful in writing to the file

Re: Up to how many concurrent sessions can tomcat support?

2000-08-22 Thread Scott Evans
Won't that depend on how much memory tomcat is allocated, and how much you store in the sessions? -Original Message- From: Kim [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 22, 2000 4:56 AM To: [EMAIL PROTECTED] Subject: Up to how many concurrent sessions can tomcat support? I can't

Re: need your Suggestion

2000-08-22 Thread Hines, Bill
There is a great book, a very thin green book that our team uses as a basis for our standards with some small modifications. The book is "Elements of Java Style". Scott Ambler is one of the major contributors and he has some documents on his web site (ambysoft.com?) on this subject. Just FYI,

Re: replacing the tic with a double tic in embedded SQL statements

2000-08-22 Thread Shibi Sudhakaran
Use PreparedStatement to Insert the values. It will allow tic also. shibi Enter your default signature here Sent by Indya Messaging Service === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".

Re: how to load a class by package ?

2000-08-22 Thread Kanojia Jogesh
Hi Put your hardware in classes dir of the webserver ie \jakarta-tomcat\webapps\ROOT\WEB-INF\classes Hope this Help You At 05:00 PM 22/08/2000 +0700, you wrote: hi all.. i'm having difficulties with loading class.. please help :) in myclasspath i have c:\;c:\jdk1.2.2\lib;c:\myjava; I have

Re: How to display the errors in this html

2000-08-22 Thread Kanojia Jogesh
Hi Try this a) Frist Create a Error page with name errorPage.jsp having following code body text ="red" %@ page isErrorPage="true"% Error Found %=exception.getMessage()% Here /body b) Second add the below line any of the jsp file where error occurs %@ page errorPage ="errorPage.jsp"% Hope

digestifing the list

2000-08-22 Thread Boaz Laor
is there away to go to digest mode for this list? boaz __ Do You Yahoo!? Yahoo! Mail – Free email you can access from anywhere! http://mail.yahoo.com/ === To unsubscribe:

EJB and JSP

2000-08-22 Thread Leonov, Stanislav (RSCH)
Hello everyone, I'm looking for some good (better great) book on EJB and JSP to buy, and also for free e-books (online books) or tutorials on EJB and JSP. If you know any titles (or ISBNs) or websites, please email them. Thank you, Stas [EMAIL PROTECTED]

out.println( styleTableBeg ); not the good syntax ?

2000-08-22 Thread Erwan TROEL
Does anybody what is my problem? with: out.println( styleTableBeg ); org.apache.jasper.JasperException: Unable to compile class for JSPC:\jakarta-tomcat\work\localhost_8080\_0002fmyfirst_0002ejspmyfirst_jsp_1 8.java:80: Exception java.io.IOException must be caught, or it must be declared in the

Re: EJB and JSP

2000-08-22 Thread Scott Evans
check out http://theserverside.com/home/index.jsp for a free EJB book in PDF. -Original Message- From: Leonov, Stanislav (RSCH) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 22, 2000 5:05 PM To: [EMAIL PROTECTED] Subject: EJB and JSP Hello everyone, I'm looking for some good (better

Applet popup question

2000-08-22 Thread Stefán Freyr Stefánsson
Is there any way of displaying a popup confirmation box (like javascript "confirm()" box) from an applet? What I need is confirmation from the user that an applet can continue with it's work... like say modifying a string sent in from the user and the applet wants confirmation that the changes

Re: Can't convert javax.servlet.jsp.JspWriter to java.io.PrintWri ter

2000-08-22 Thread Arun Thomas
Yes, The "out" implicit object is of type javax.servlet.jsp.JSPWriter which derives from java.io.Writer. Your method doReport apparently requires a PrintWriter Try: doReport("select * from " + strTableName, new PrintWriter(out));

Re: How to combine javascipt within JSP ?

2000-08-22 Thread Sicaud Patrice
I would also recommend you evaluate the SRC attribute of the SCRIPT tag. I have always found it better to farm out my scripts to a separate .js file. Of course, you do need to download the file when the page loads but this is more than offset by the following facts - it is harder for your users

Re: out.println( styleTableBeg ); not the good syntax ?

2000-08-22 Thread Veronique Dupierris
In your jsp file you have certainly use a class method which throws a IOException and you should catch this exception ... Can't you send the portion of your code which causes the problem ?! It would be easier to explain what's going on ... Regards veronique Erwan TROEL a crit : Does anybody

iPlanet installation

2000-08-22 Thread Sundeep Goswami
I am trying to install iPlanet6.0 on windows NT. Can someone tell me if of any sites that give information, dos and donts about the installation and setup? Thanks Get Your Private, Free E-mail from MSN Hotmail at

out.println ou System.out.println

2000-08-22 Thread Erwan TROEL
le principe out.println( styleTableBeg ); ne semble pas marcher chez moi styleTableBeg étant une balise html (TABLE) l'erreur suivante se produit: org.apache.jasper.JasperException: Unable to compile class for

Re: digestifing the list

2000-08-22 Thread Sanjay Gomes
Hello Goto archives.java.sun.com n search for the JSP-INTEREST list You will find every message listed there n you can change your options there for any mode you want.I am not sure whether you can get a digest kind of a setup . Sanjay -Original Message- From: A mailing list about Java

Classpath Problem with JSERv

2000-08-22 Thread sara
I am using JServ. I have a zone properties file. I want to load the MySQL Driver. Where shall I set the Classpath-- 1) In the jserv.properties file or 2) In the zone.properties file. What is the difference between these two? Thanks , Saravanan - Original Message - From: Suresh kumar

Re: out.println ou System.out.println

2000-08-22 Thread Steve Bayouk
vous pouvez ecrire ca try { ( Le chose qui fait l'erreur) }catch(Exception e) { } ou vous pouvez ecrire ca private void (Le nombre de la method) throws java.io.IOException { } Steve Bayouk [EMAIL PROTECTED] Mad Scientist in the lab at www.com Log On. Tune In. -Original Message-

Re: Applets as GUI

2000-08-22 Thread Menard, Demetria
I have an example of a jsp calling an applet: HTMLHEADTITLEINTERNAL USER/TITLE BODY bgColor=#ece9d9FONT face=Arial pimg src="../../connectadminheaders/usersmain.jpg" width="800" height="67"font face="Arial" /font/pfont face="Arial"center jsp:plugin type="applet" code="internalUsers.class"

JDBC: want to know the no of record fetch my any select query

2000-08-22 Thread amar singhal
Hi, I am using jdbc 1.1 driver. I want to know the records fetch by any select query statment. thanks. Amar Singhal Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

Re: JDBC: want to know the no of record fetch my any select query

2000-08-22 Thread Daryani Santosh
There is no direct way of getting the record count using JDBC 1.1 , you can do it with JDBC 2.0 though. With JDBC 1.1 , you can do a resultset.last() , that takes you to the last record , this is an indirect way of getting the record count. That's all I can think of. Santosh amar singhal

Urgent error resolving relative path in 'errorPage'

2000-08-22 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

Re: sending a session id to a JSP via url rewriting

2000-08-22 Thread Ed Dunkle
DId you get an answer to your question? Why do you need the session ID? Each servlet and JSP has access to the session object. YOu can just call getId() on it. Ed -Original Message- From: Hussain Shah [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 15, 2000 9:10 AM To: [EMAIL

Re: Applets as GUI

2000-08-22 Thread sufi malak
Hi, please can I have a copy of your example of jsp calling an applet. Thanks From: "Menard, Demetria" [EMAIL PROTECTED] Reply-To: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Applets as GUI Date: Tue, 22 Aug 2000

submit form onLoad

2000-08-22 Thread Calixto Melean
I have a JSP page that builds a form with hidden fields only and calls document.form.submit() on the body's onLoad event. This works fine on IE, but Netscape comes up with the error "Document contains no data". How else can I do this automatic submit? Thanks in advance cal

where to put my JSP servlet and beans ??

2000-08-22 Thread sufi malak
Hi I have an example of a shopping card ( from Java Pro ), I am trying to run it in JavaWebServer2.0 (or JRUNS + Apache), the directores and files are like this : jsp folder that has the files : (error.jsp, footer.html, header.html,Inventory.jsp..) servlets folder has antoer folder called

Unsubscribe

2000-08-22 Thread Julie McKay
[EMAIL PROTECTED] 08/22/00 08:03 AM Use PreparedStatement to Insert the values. It will allow tic also. shibi Enter your default signature here Sent by Indya Messaging Service === To unsubscribe: mailto [EMAIL PROTECTED]

Re: submit form onLoad

2000-08-22 Thread Kapoor Ajay
I am using Netscape ver 4.5 and the onLoad works fine. It appears that either you are using an older version or javascript is not enanbled on the browser. To verify that javascript is enabled, go to Preferences and check.And send the code that you are using ( b'cause iexplore is more

useBean tag ????

2000-08-22 Thread sufi malak
How to change this to a useBean tag : % BasketBean basket = (BasketBean)session.getAttribute(BasketBean.BASKET); % _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about

Re: classpath to beans in a virtual domain?

2000-08-22 Thread Kevin Jones
The bean goes into the WEB-INF/classes directory (if its a class) or into WEB-INF/lib if it's a jar. Even if you have an application you don't need to change your HREFs you can still use relative paths, Kevin Jones DevelopMentor www.develop.com -Original Message- From: A mailing list

request/session ?

2000-08-22 Thread Rick Reumann
This is really puzzling me.. Is there a way I can use the JSP/bean shortcut of doing, for example: jsp:getProperty name="sample" property="name"/ so that the session bean is also updated with the information? It seems like in order to do the above I had to set the bean scope to "request" which

Handiling OutputStream in JSP

2000-08-22 Thread Santapur, Rao
Hi All, I am trying to display binary data from the database directly to the browser using OutputStream. This worked fine with a servlet using ServletOutputStream.However, when I tried to do the same thing in JSP, It's giving me an Illgal State Exception. I went through the doc's, it says .. one

Re: Handiling OutputStream in JSP

2000-08-22 Thread Craig R. McClanahan
"Santapur, Rao" wrote: Hi All, I am trying to display binary data from the database directly to the browser using OutputStream. This worked fine with a servlet using ServletOutputStream.However, when I tried to do the same thing in JSP, It's giving me an Illgal State Exception. I went

How to upload more than one files at same time?

2000-08-22 Thread James Lee
When I test INPUT TYPE=3DFILE NAME=3Dfile, I can only upload one file = at a time. Is anybody know how to upload mutiple files at same time. Thanks! James Lee === To unsubscribe: mailto [EMAIL PROTECTED] with body:

Suggestion of Servlet Engine

2000-08-22 Thread Amy Wan
We are lookiing for good performance and stable servlet engine with work well with Apache on Linux. Currently we use Resin 1.3 but it seems pretty unstable. Anyone has any comment on other servlet engine? Such as JRUN, Jserv, etc?

jsp-servlet compiler

2000-08-22 Thread sara
Do anyone know about any compiler to compile the jsps and give the servlets in return. It will be very easy to develop the Servlets then? Saravanan === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff

FW: request/session ?

2000-08-22 Thread Vishu G
I guess the code inside jsp:usebean and /jsp:usebean is executed only if that bean is instantiated.for session since that bean might have been instantiated already,the code inside will not be executed.if you move the jsp:setProperty out of jsp:usebean the properties will be set whenever the page

Random Generator

2000-08-22 Thread Henki Lubis
Guys where can i find a simple code to generate a simple secret Key using java.security package ?? regards a Beginner === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on

Re: how to load a class by package ?

2000-08-22 Thread Dion Dion
Hello Kanojia, thx for your answer, i noticed that the way you suggest has been working well, but i tought it's possible to put my classes in directory different than webserver's classes directory? if yes, how? btw, in classpath (i'm using win nt), is this the same between c:\; and .; thx

Up to how many concurrent sessions can tomcat support?

2000-08-22 Thread Kim
Up to how many concurrent sessions can tomcat support? I can't seem to get the above info. Anybody has the answer or ref. to this? thanks, kim. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff

Re: Up to how many concurrent sessions can tomcat support?

2000-08-22 Thread Craig R. McClanahan
There is no container-mandated limit in Tomcat (or, I suspect, in any other servlet container). After all, in most of them the set of sessions is just a Hashtable or something like that, which has no arbirtary limit at all. The real issues to consider are: how much memory do each of your

Accessing History from the server side.

2000-08-22 Thread SANDIPAN DUTTA
Hi, Is there any way I can access the client-side history object from a servlet before sending back a jsp. Basically I would like to know from the server side whether the page request is coming from a newly opened window. Thanks Sandipan.

Re: Handiling OutputStream in JSP

2000-08-22 Thread luyi
Hi: please try : try{ file://you can get bianary data from the database BufferedInputStream in=new BufferedInputStream(new FileInputStream("/1.gif")); ByteArrayOutputStream byteStream=new ByteArrayOutputStream(512); int imageByte; while ((imageByte=in.read())!=-1){ byteStream.write(imageByte);

EJB--JSP related config seetings doubts.

2000-08-22 Thread Leena Diwan
Hi!! my friend had a problem.. so I suggested to put it on our mailing list.. hope someone of u would be helpful for him. Regards.. Leena Hello !! I have been facing problem while running PowerTier 6.0 (Persistence application server which supports J2EE, it will have Apache web server,

Jdbc error-UnsupportedOperationException

2000-08-22 Thread coolknight
I wrote a javabean and test it in main function, I found it cann't work, the error as following: java.lang.UnsupportedOperationException java.sql.Statement sun.jdbc.odbc.JdbcOdbcConnection.createStatement(int, int) java.sql.ResultSet lyf.mydb.executeQuery(java.lang.String, int)

finalize

2000-08-22 Thread Lakosi Istvan
Hi, I create an instance of a Bean with jsp:useBean ... how can I drop (finalize) this object? I'm using Tomcat 3.1 on NT Thanks in advance Istvan === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff

Call EJBs from remote web server.

2000-08-22 Thread Ritesh_Srivastava
I am using J2EE server to deploy my Enterprise Java Beans(EJBs).Since servlet chaining/forwarding is not supported by Tomcat we have put our servlets on Java Web server.These servlets will do a lookup for the EJBs residing on J2EE.The problem starts here: How can i call the EJBs which are

WebSphere

2000-08-22 Thread Diwakar Killamsetty
Hi, Please let me know whether WebSphere 3.0 Standard Edition supports EJBs. regards, Diwakar. (office) +91-40-3308600 x8547. The information transmitted is intended only for the person or entity to which it is addressed