Re: Javascript: How can I enable or disable a field in javascript

2000-11-08 Thread Clemente Dani
If you want to disable the field, you must set the "disabled" property to true in JavaScript, but this taht is in the Html4 especs.(I don't know in earlier versions), only works in IE5 (I don't know in earlier versions). Other way colud be that before the client browser send the data, your

Re: Button Click on Enter

2000-11-08 Thread Clemente Dani
Yes, you can capture onkeypress event and then get the key code form the envent object that you must have as a parameter in your JS function (Navigator) or in the general event object (in Explorer), you can use its method "which" to get it. If you don't understand, tell me Bye, Dani -

little off-topic /servlets

2000-11-08 Thread Marco M
hi all, sorry if it is a little off-topic but how can i call a servlet(residing in another web-server) from my servlet (running on my web-server)?? for example: my servlet is running under WLS at http://localhost:7001 i want to access the servlet beta running on Apache on another machine

Javascript: How can I enable or disable a field in javascript

2000-11-08 Thread Synu Jacob Vengal
Hi, Try using this. input type="text" name="first" onFocus=3D"this.blur();my_form.next.focus();" where first is the first text field name , next is the second text field name , my_form is the form name Happy coding!!! Bye, SJ

No Subject

2000-11-08 Thread hamid
Hi, Every vendor has its own Drivers like Oracle has given the implementation of JDBC in order to access Oracle as native driver. This implementation works on every platform. go to Oracle site and download JDBC driver acc to the database version u have. Similarly Different Companies have

Re: prepared statement problem

2000-11-08 Thread Chin Sung Kit
hi, i have a question on preparedstatement. i get the parameter values from the form submitted String[] stud_no = request.getParameterValues("stud_no"); and the question is how do i set the values into the preparedstatement, for i dont know how many stud_no is the user going to submit. select

Re: Button Click on Enter

2000-11-08 Thread Jerson Chua
Hi... Check this out. It works both on netscape and IE script function handleKey(event, form) { var keycode = document.all ? event.keyCode : event.which; if (keycode == 13) { form.submit()

Re: Javascript: How can I enable or disable a field in javascript

2000-11-08 Thread Synu Jacob Vengal
pls delete the 3D that came after onFocus and try out the code. Hi, Try using this. input type="text" name="first" onFocus="this.blur();my_form.next.focus();" where first is the first text field name , next is the second text field name , my_form is the form name Happy coding!!! Bye, SJ

Re: Javascript: How can I enable or disable a field in javascript

2000-11-08 Thread Jerson Chua
Hi DISABLED only works with IE. For netscape, I use onFocus = 'this.blur()' as work around. At least, the user cannot still edit the text field. cheers... Jerson -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On

Is there any way to send an Email with an attachment !

2000-11-08 Thread Bhuvaneswari Palanivel
Hi, I am using Java Mail API for sending mail. Is there any method or something to send a email with an attachment? Please refer some site name. Thanks, Bhuvana === To unsubscribe: mailto [EMAIL PROTECTED] with body:

Re: Is there any way to send an Email with an attachment !

2000-11-08 Thread maurice coyle
you have to make a multi-part message and set the second part of it as the file. construct the rest of the message as normal(from, to, etc.): MimeMessage msg = new MimeMessage(session); MimeBodyPart mimepart1 = new MimeBodyPart(); mbp1.setText(msgText1); MimeBodyPart mimepart2 = new

Re: prepared statement problem

2000-11-08 Thread Synu Jacob Vengal
Initialize values as "?" and the add ",?" to it for each of the count in the array. eg: String values="?"; if (stud_no==1)value="?"; else for(int i=1;istud_no;i++){ values=values+",?"; } select name, age from student where stud_no in ("+values+")"; Hope this helps, Bye, SJ - Original

Re: Is there any way to send an Email with an attachment !

2000-11-08 Thread Aby Kuriakose
check dis link http://www.jguru.com/jguru/faq/view.jsp?EID=30251 they hav a sample code for sending a mail with an attach using javamail api's - Original Message - From: Bhuvaneswari Palanivel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 08, 2000 4:33 AM Subject: Is

Re: Is there any way to send an Email with an attachment !

2000-11-08 Thread Aby Kuriakose
http://www.jguru.com/jguru/faq/faqindex.jsp?title=Entries+In+Java%3AAPI%3AJa vaMail%3AAttachmentstopic=110904 'n for reading http://www.jguru.com/jguru/faq/view.jsp?EID=26996 - Original Message - From: Bhuvaneswari Palanivel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday,

Re: new to jsp - tutorial needed

2000-11-08 Thread venkataraman bagavathi subramanian
reply from venky to begin with you may use the tiny tutorial which sun provides in "javasoft.com" site you may search in google goto for "jsp" --- Constantinos Antzakas [EMAIL PROTECTED] wrote: in pretty new to jsp and im looking for a good online tutorial to get started. any ideas ?

Re: jsp:getProperty - Please Help!

2000-11-08 Thread venkataraman bagavathi subramanian
hi could you suggest any materials to read on sessions in jsp thank you --- Clemente Dani [EMAIL PROTECTED] wrote: What are you doing?, You aren't accessing the same bean, you first get a bean using Usebean and save it in "faq" id, but you next get another instance from the request object,

Server support for ftps (Secure FTP protocol)

2000-11-08 Thread Raja Nagendra Kumar
Hi! How do I make my NES or IIS server to accept ftps protocol.. Regards, Nagendra === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at:

Re: jsp:getProperty - Please Help!

2000-11-08 Thread Clemente Dani
Hi again, You can see in the Java tutorial from javasoft: http://www.javasoft.com/docs/books/tutorial/servlets/client- state/session-tracking.html In Jsp it's similar because they are compiled into Servlets. In Jsp you already have an instance of the object HttpSession Is: session. But the

Re: prepared statement problem

2000-11-08 Thread Chin Sung Kit
hi all, thanks for your reply. :) can i use a PreparedStatement to do executeQuery?? from the javadoc, i can only see that they use for executeUpdate? thanks for any help :) ced Synu Jacob Vengal wrote: Initialize values as "?" and the add ",?" to it for each of the count in the array.

Re: prepared statement problem

2000-11-08 Thread Rekha Puthalpet
u need no insert values if its not a primary key or a notnull field in the database...u can just insert into other fields when u specify which field ur entering the values to rekha Hi I think u have to insert NULL values in case u are not inserting all the values in the database of a particular

Re: IP Addresses for Matt Maher

2000-11-08 Thread KJS .
Matt Maher, Thanks for taking interest and replying to my query. U r right but I wonder how these chat programs who use socket connections to tramsfer message between the two parties are able to locate the exact m/c on the network(thru proxy). Do u have any idea then how Napster can

Re: Button Click on Enter

2000-11-08 Thread Rekha Puthalpet
u can just use (request.getParameter("buttonname"))!=null to see if the button is pressed and carry on..this works fine with both... rekha Hi All , I have a simple login form with two textboxes : Login , Password and a submit button . When the user has finished entering the password and

Why Java Beans or Servlets ??

2000-11-08 Thread Arjun Kalura
Hey All Jsp Guru's I am a bit new to this java world, can you guys please explain me a bit about when to use a java bean and when to use the servelet, or in the otherway what is the difference between then, and when should i preffer bean and when servelet. Or if somebody know the site where

Re: prepared statement problem

2000-11-08 Thread Dengler Martin
hmm, ResultSet executeQuery(): Executes the SQL query in this PreparedStatement object and returns the result set generated by the query. taken from Java 2 V 1.3.0. PreparedStatement - Interface maybe take a look again: Interface PreparedStatement, package java.sql greetings MD --

Tomcat as Personal Web Server Replacement

2000-11-08 Thread Edward Garson
Greetings JSP Community I am interested in using Tomcat in the same capacity (read: replace) as Microsoft's Personal Web Server, such that I may replace ASP with JSP. Is it possible to set up a simple Tomcat configuration on a Win95 machine to respond to intranet http requests, or will I have to

Re: Why Java Beans or Servlets ??

2000-11-08 Thread Dengler Martin
hi, i think the question is: should u use jsp or servlet tech. with both u can use beans, which are reusable, selfwritten classes. beans are used to separate your logic from presentation. maybe check out tutorials at java.sun.com regarding jsp, servlet:

Re: Tomcat as Personal Web Server Replacement

2000-11-08 Thread Robuschi (Delfi)
Of course you can Tomcat is a Servlet and JSP engine and also a Web Server! So, when he's running, you can get it at http://machineaddress:8080 this is the limit of Tomcat (but I think you can configure it to use port 80). Before installing it, you have to install a Java2

FastJavac

2000-11-08 Thread Santiago Benito Rebollo
Hi all. Does anybody know why if I try to use FasJavac to compile a class without Forte I obtain errors because it doesn't find classes on imports? Error: Package java.util. not found in import. . Thanks for your help

HELP

2000-11-08 Thread Chetna Bhatt
Hi, I have installed mySQL on Windows NT and also am using Java Web Server2.0 to execute the JSP file.Now im trying to connect to the database in mySQL ...but it is giving me an error as follows: java.sql.SQLException: Cannot connect to MySQL server on zeus:3360. Is there a MySQL server running

Re: Tomcat as Personal Web Server Replacement

2000-11-08 Thread Jason Anderson
Hi... I've just done the very thing that you're asking about. And this is my first ever foray into JSP/Java world, and it wasn't at all difficult. In fact, it was easier to install and setup than Microsofts own PWS :) /jase -Original Message- From: Scott Evans [SMTP:[EMAIL

How can I Pass user ID to JSP

2000-11-08 Thread Sivashanker Shanmugam
Hi, How could I get the user ID value that was entered in authorization popup in to a JSP? (authorization popup flashes if a web page is protected.) Any help is appreciated. Thanks in Advance Shiv === To

Re: where to learn about JSP based dynamic web applications?

2000-11-08 Thread Sicaud Patrice
Andrew: I am interested in this thread. Can you expand on what you exactly mean? I have the feeling we are facing the same problem and conceivably rolling our own solution(we are designing an Win Explorer-like interface using javascript). Patrice -Original Message- From: Andy

Re: Javascript: How can I enable or disable a field in javascrip t

2000-11-08 Thread Sicaud Patrice
in IE use the .disabled attribute. No equivalent in NS until rev 6. which will implement DOM1. P. -Original Message- From: Lorena Carlo [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 07, 2000 7:14 PM To: [EMAIL PROTECTED] Subject: Javascript: How can I enable or disable a field in

Re: Tomcat as Personal Web Server Replacement

2000-11-08 Thread Roberto E. Earle
Yes as a matter of fat you can, I'm using it that way right now, and yes you can change the default port to use port 80 Find the server.xml file under the conf directory, find this: Connector className="org.apache.tomcat.service.SimpleTcpConnector" Parameter name="handler"

Re: HELP

2000-11-08 Thread David Koo
The standard port for DB's is 3306 not 3360 -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Chetna Bhatt Sent: Wednesday, November 08, 2000 11:23 AM To: [EMAIL PROTECTED] Subject: HELP Hi, I have

Re: HELP

2000-11-08 Thread Darko Cokor
check number of port: 3306 or 3360 In your post you are reffering to 3306, and in code is 3360 Default is 3306 Try using win client to connect when it succeds, you know parameters Regards - Original Message - From: "Chetna Bhatt" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Encryption value

2000-11-08 Thread Larry Hoffman
Is there away to get the clients encryption value using either JavaScript or a Servlet. Thanks - Larry - Original Message - From: "Darko Cokor" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 08, 2000 12:48 PM Subject: Re: HELP check number of port: 3306 or

custom tag with object attribute, close tag causes error

2000-11-08 Thread Cancro Dan
It seems that custom tags that take object attributes and have both open and close tags causes the following error: "no corresponding open tag for tag extension close: " Here are the relevant snips from some sample parts: Tag library: tag namecode/name

Re: little off-topic /servlets

2000-11-08 Thread Andy Purshottam
Operative buzz-phrase is web client programming. For baisc web client stuff using standard java libraries: * Try the java man page for URLConnection() (I think, sorry if error, away from office) * http://www.innovation.ch/java/HTTPClient/ - nice class library *

Re: custom tag with object attribute, close tag causes error

2000-11-08 Thread Cancro Dan
Never mind, I found the answer at http://java.sun.com/products/jsp/tutorial/TagLibraries16.html I just needed to put quotes around the %=v% part. -Original Message- From: Cancro Dan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 08, 2000 11:07 AM To: [EMAIL PROTECTED] Subject:

Re: About remote database access

2000-11-08 Thread Brad Webb
Hello, I am doing something similar and I wrote a dataserver that runs as a java application on the machine that contains the database. I also wrote a client that connects via sockets to this dataserver. I subclass the client and describe my request and the client sends the request to the

Re: where to learn about JSP based dynamic web applications?-you'll be sorry !

2000-11-08 Thread M. Simms
Nothing wrong with Javascript except: 1) lack of consistent support by browsers 2) changing standard 3) complex voluminous code 4) lack of standard code libraries Building anything significant with Javascript ? "Y O U ' l l B E S O R R Y .." (remember the adage ?) -Original

Re: About remote database access

2000-11-08 Thread Zheng, Jennifer
I haven't tried odbc, but for oracle jdbc connection, the url would be url = "jdbc:oracle:thin:@hpcad145:1521:fe_d"; so for the odbc, it could be protocol followed by subprotocol followed by @machinename:port:dbname as well. -Original Message- From: Brad Webb [mailto:[EMAIL

Re: prepared statement problem

2000-11-08 Thread Mutahar Qayum
Actually you can even specify what columns you are inserting. like. sql ="INSERT INTO test(userid,username) VALUES(?,?)"; regards -Original Message- From: Synu Jacob Vengal [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 07, 2000 9:03 PM To: [EMAIL PROTECTED] Subject: prepared

JDK1.2.2 on RH7

2000-11-08 Thread Luis Javier Beltran
Has anybody had any problem using the JDK1.2.2 with RedHat Linux 7.0??? I get a 'Segmentation fault (core dumped)' error. Is that a compatibility problem?? Should I have any problem with JDK1.3?? thanks! Luis Javier === To

Re: where to learn about JSP based dynamic web applications?

2000-11-08 Thread Andy Purshottam
-Original Message- From: Sicaud Patrice To: [EMAIL PROTECTED] Sent: 11/8/00 9:19 AM Subject: Re: where to learn about JSP based dynamic web applications? Andrew: I am interested in this thread. Can you expand on what you exactly mean? What is not exact about: "things that look and act

Re: JDK1.2.2 on RH7

2000-11-08 Thread Venkatesh Prasad Ranganath
Hi, I got this problem when I tried to run jvm(1.2.2) with green-thread support. As jdk1.3 doesnot have green-threads I havenot encountered this problem. - Venkatesh === To unsubscribe: mailto [EMAIL PROTECTED] with

Include a file

2000-11-08 Thread Sangita Gupta
Hello, I am new to this list. I ahve checked the archives and haven't found an answer to this question. Can we include a file using script tag in jsp? Nothing seems to work for me other than %@ include...%. The reason I am trying to include using script is following. I have a jsp page which

Re: Include a file

2000-11-08 Thread Moen, Michael
As long as you only need the include for display and not for the data structures it contains... jsp:include page="someFileToInclude" flush="true" / At 11/8/2000 03:21 PM, you wrote: Hello, I am new to this list. I ahve checked the archives and haven't found an answer to this question. Can we

Re: jsp:getProperty - Please Help!

2000-11-08 Thread Thang Nguyen
Thanks for pointing it out. That portion of the code I got from a book example so i have no idea why the author did it and wonder if it ever worked actually.I was under the impression that this was an object assignment when I overwrite the faq id, but of course it is not. Thanks again for

Re: Best JSP Tool

2000-11-08 Thread Alan KF LAU
Very informative(Score: 5) and very helpful. Thanks a lot. It's worth checking out the free version of IBM VisualAge. You can run Apache Tomcat within the IDE and debug servlets and JSPs. You can even modify running code. See

Please help me: Too many open files

2000-11-08 Thread Choi Jong Myung(SS)
Hello. I am using jakarta-tomcat now, and I met "Too many open files" error message. Would you tell me the why and how to fix this problem ? The error message is : java.net.SocketException: Too many open files at java.net.PlainSocketImpl.socketAccept(Native Method) at

Set init parameter

2000-11-08 Thread Xing guohong
Hi, How can I set the init parameter to all servlets of web app? My web server is Tomcat3.1. Thanks Guohong Xing === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on

How can I Pass user ID to JSP

2000-11-08 Thread Sivashanker Shanmugam
Hi, How could I get the user ID value that was entered in authorization popup in to a JSP? (authorization popup flashes if a web page is protected.) Any help is appreciated. Thanks in Advance Shiv = |\

Re: where to learn about JSP based dynamic web applications?-you'll be sorry !

2000-11-08 Thread M. Simms
Hey, I can't argue with you on those points. However, Netscape 6 is another can-of-wormswith a unique set-up that is different than the existing 4.7 as well as different from IE 5. All HTML/script developers are growning about this "additional" browser that must be handled. The number of

Re: where to learn about JSP based dynamic web applications?

2000-11-08 Thread Dmitri Namiot
you may check out Java_To_JavaScript tool: http://coldjava.hypermart.net/servlets/j2j.htm It is a development tool lets you to integrate Java classes and JavaScript within your HTML pages. The main idea behind this product is how to call methods of Java classes right from JavaScript functions.

Building PORTAL

2000-11-08 Thread wissam khater
Hi all, I am a new subscriber to this mailing list. I was doing some researchs on how to create a Portal using JSPs. I am not finding a lot of resources or code examples on that subject. can anybody help me to have a good start. Thanks

Re: Please help me: Too many open files

2000-11-08 Thread Thu LV
Hi, If your machine run under Windows- modify config.sys file with this statement : shell=[path]command.com /p /e:32000. It would cure your problem. Hope this help. ThuLV, === To unsubscribe: mailto [EMAIL PROTECTED] with

Re: Tomcat as Personal Web Server Replacement

2000-11-08 Thread Thu LV
Hi, Yes, You can. Tomcat can run as Web server without Apache. Please refer to Tomcat FAQ to how to make Tomcat deal with *.jsp file while PWS deal with *.asp. Hope this help. ThuLV, === To unsubscribe: mailto [EMAIL

Re: Building PORTAL

2000-11-08 Thread subramanian Athimoolam
hi what u r expecting i don't know.. now a days may portals are running in jsps. ours websits www.schoolnetindia.com also have many applicaion developed in jsps. and one more www.brainbench.com subu _ Get Your Private,

Re: Include a file

2000-11-08 Thread Darko Cokor
Syntax is: %@ include file="..." % works for me on jserve+gnujsp and tomcat Regards - Original Message - From: "Sangita Gupta" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, November 09, 2000 12:21 AM Subject: Include a file Hello, I am new to this list. I ahve checked the