Help please!
Please, I need help! I get an error after I start Tomcat in Linux and try to load a .JSP file. The error is: HANDLER THREAD PROBLEM: java.net.SocketException: Invalid argument java.net.SocketException: Invalid argument at java.net.PlainSocketImpl.setOption(PlainSocketImpl.java:156) at java.net.Socket.setSoLinger(Socket.java:106) at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection (Ajp12ConnectionHandler.java:115) at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338 ) at java.lang.Thread.run(Thread.java:314 I don't know what it would be. I think I have all setup, classpath, path, java_home. I am using JDK1.2.2 on RH Linux 6.2. Please, any help would be great. 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://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Javascript: How can I enable or disable a field in javascript
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 JavaScript aplication checks the fields you want to disable and clean the data they contain. Bye, Dani - Mensaje Original - De: Lorena Carlo <[EMAIL PROTECTED]> Fecha: Miércoles, Noviembre 8, 2000 4:14 am Asunto: Javascript: How can I enable or disable a field in javascript > Hi all, > > Can somebody, tell me how can I enable or disable a text box in > javascript? > Thanks in advance > > Lorena > > === > 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.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > Consigue tu cuenta gratuita de acceso a internet y de correo en http://www.navegalia.com === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Button Click on Enter
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 - Mensaje Original - De: vivek tiwari <[EMAIL PROTECTED]> Fecha: Miércoles, Noviembre 8, 2000 7:45 am Asunto: Button Click on Enter > 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 > presses enter on the keyboard , automatically the > submit button is pressed and he is taken to the next > page , instead of having to click the submit button > using the mouse . > > This only works in IE but not in Netscape . Does > anyone know of a solution to do this in Netscape ? > > Can keyboard events like "EnterKeyPressed" be captured > in JavaScript ? > > > Thanks > Vivek > > __ > Do You Yahoo!? > Thousands of Stores. Millions of Products. All in one Place. > http://shopping.yahoo.com/ > > === > 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.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > Consigue tu cuenta gratuita de acceso a internet y de correo en http://www.navegalia.com === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: To pass value to next page
I know - Original Message - From: hamid <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 07, 2000 3:32 PM Subject: Re: To pass value to next page > Hi, > simply use: > > u will get the value at next page as : request.getParameter("login field > name"); > > Hamid Hassan > VSDI > > -Original Message- > From: A mailing list about Java Server Pages specification and reference > [mailto:[EMAIL PROTECTED]]On Behalf Of Modassir Sattar > Sent: Tuesday, November 07, 2000 12:47 AM > To: [EMAIL PROTECTED] > Subject: > > > Hi erveryone, > > Can any one help me. > > I am working on a jsp application. > On the login page if someone enters valid loing, I need to pass a variable > to next page. How I can do that. > > I tried > > request.setAttribute("Varaible","Y"); > sessiont.setAttribute("Varaible","Y"); > > > on the next page > > request.getAttribute("Varaible"); > sessiont.gettAttribute("Varaible"); > > But I am getting lot of errors > > I am using IBM's WebSphere. > > Thanks for 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.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > === > 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.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
little off-topic /servlets
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 how can i do that?? thanx in advance and sorry for the off-topic regards marco === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Javascript: How can I enable or disable a field in javascript
> Hi, > Try using this. > > 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 === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
No Subject
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 different JDBC Drivers for there Databases. Hamid Hassan VSDI -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of chandimal wickramaratne Sent: Wednesday, November 08, 2000 12:31 PM To: [EMAIL PROTECTED] Subject: Hi I am using JSP and JDBC to display some records, currently I am using JDBC-ODBC bridge to a text driver , Can some tell me if there are pure JDBC text drivers available ( to run on any platform) Thanks Chandimal === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: an ODBC Datasource Name on Linux 7.0?
Why to use ODBC when you have jdbc? I have the same configuration (Linux server+mysql(oracle)+tomcat) and jdbc is working just fine. - Original Message - From: "JEANCHG" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 08, 2000 5:43 AM Subject: an ODBC Datasource Name on Linux 7.0? > Linux 7.0+RedHat+mySQL 3.22.32+Tomcat 3.1. > > Can I create a ODBC on my server? > > === > 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.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
No Subject
Hi I am building a simple application to log users, in text format, using a oracle database is a disadvatage , I am serching for a pure JDBC text driver 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://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: prepared statement problem
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 name, age from student where stud_no in (?, ?, ?, ?, ?) thanks for any help and suggestions. ced PIYUSH NIGAM wrote: > It is essential that your database allows nulls for values not being > updated.Also your insert statement must include the field names in which you > are inserting values: > inser into test(name,score) values(?,?) > Piyush Nigam > > -Original Message- > From: Synu Jacob Vengal [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 08, 2000 10:33 AM > To: [EMAIL PROTECTED] > Subject: prepared statement problem > > > > Hi, > > > I am using a prepared statement to insert values into the database > > fields. > > > Is it always necessary that we should insert data in all the fields or > > else null values?? > > > for eg. i gave the sql as > > > sql ="INSERT INTO test VALUES(?,?)"; > > > when the actual table contained 3 fields. > > > When i skipped one field it shows the following error > > > java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid argument > > value > > > Pls give me a solution. > > > Thanks , > > > SJ > > === > 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.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > === > 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.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets "Never let yesterday's disappointments overshadow tomorrow's dreams" === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Button Click on Enter
Hi... Check this out. It works both on netscape and IE function handleKey(event, form) { var keycode = document.all ? event.keyCode : event.which; if (keycode == 13) { form.submit() } } cheers... Jerson -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Clemente Dani Sent: Wednesday, November 08, 2000 4:01 PM To: [EMAIL PROTECTED] Subject: Re: Button Click on Enter 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 - Mensaje Original - De: vivek tiwari <[EMAIL PROTECTED]> Fecha: Miércoles, Noviembre 8, 2000 7:45 am Asunto: Button Click on Enter > 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 > presses enter on the keyboard , automatically the > submit button is pressed and he is taken to the next > page , instead of having to click the submit button > using the mouse . > > This only works in IE but not in Netscape . Does > anyone know of a solution to do this in Netscape ? > > Can keyboard events like "EnterKeyPressed" be captured > in JavaScript ? > > > Thanks > Vivek > > __ > Do You Yahoo!? > Thousands of Stores. Millions of Products. All in one Place. > http://shopping.yahoo.com/ > > === > 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.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > Consigue tu cuenta gratuita de acceso a internet y de correo en http://www.navegalia.com === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Javascript: How can I enable or disable a field in javascript
pls delete the 3D that came after onFocus and try out the code. Hi, Try using this. 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 - Original Message - From: "Synu Jacob Vengal" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 08, 2000 2:27 PM Subject: Javascript: How can I enable or disable a field in javascript > > Hi, > > Try using this. > > 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 > > === > 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.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Javascript: How can I enable or disable a field in javascript
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 Behalf Of Clemente Dani Sent: Wednesday, November 08, 2000 3:53 PM To: [EMAIL PROTECTED] Subject: Re: Javascript: How can I enable or disable a field in javascript 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 JavaScript aplication checks the fields you want to disable and clean the data they contain. Bye, Dani - Mensaje Original - De: Lorena Carlo <[EMAIL PROTECTED]> Fecha: Miércoles, Noviembre 8, 2000 4:14 am Asunto: Javascript: How can I enable or disable a field in javascript > Hi all, > > Can somebody, tell me how can I enable or disable a text box in > javascript? > Thanks in advance > > Lorena > > === > 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.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > Consigue tu cuenta gratuita de acceso a internet y de correo en http://www.navegalia.com === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Is there any way to send an Email with an attachment !
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: "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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Is there any way to send an Email with an attachment !
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 MimeBodyPart(); FileDataSource fds = new FileDataSource(filename); mimepart2.setDataHandler(new DataHandler(fds)); mimepart2.setFileName(fds.getName()); Multipart multi = new MimeMultipart(); multi.addBodyPart(mimepart1); multi.addBodyPart(mimepart2); msg.setContent(multi); Bhuvaneswari Palanivel wrote: > > 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: "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.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets -- I18n group, Sun Microsystems Ireland. Phone: 8199751, x19751 === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: prepared statement problem
hi, one way is to create a PreparedStatement like this: SELECT name, age FROM student WHERE stud_no = ? then stud_no.length tells you, how much values are there now you can execute the PreparedStatement in a for loop Other way is to use a normal SQL-Statement, which creates the WHERE-Cause by appending the entered Values like: StringBuffer sql = new StringBuffer("SELECT name, age FROM student WHERE stud_no IN ("); for(int i=0; ihttp://www.gmx.net === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: prepared statement problem
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;i To: <[EMAIL PROTECTED]> Sent: Wednesday, November 08, 2000 3:27 PM Subject: Re: prepared statement problem 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 name, age from student where stud_no in (?, ?, ?, ?, ?) thanks for any help and suggestions. ced PIYUSH NIGAM wrote: > It is essential that your database allows nulls for values not being > updated.Also your insert statement must include the field names in which you > are inserting values: > inser into test(name,score) values(?,?) > Piyush Nigam > > -Original Message- > From: Synu Jacob Vengal [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 08, 2000 10:33 AM > To: [EMAIL PROTECTED] > Subject: prepared statement problem > > > > Hi, > > > I am using a prepared statement to insert values into the database > > fields. > > > Is it always necessary that we should insert data in all the fields or > > else null values?? > > > for eg. i gave the sql as > > > sql ="INSERT INTO test VALUES(?,?)"; > > > when the actual table contained 3 fields. > > > When i skipped one field it shows the following error > > > java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid argument > > value > > > Pls give me a solution. > > > Thanks , > > > SJ > > === > 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.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > === > 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.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets "Never let yesterday's disappointments overshadow tomorrow's dreams" === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Is there any way to send an Email with an attachment !
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 there any way to send an Email with an attachment ! > 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: "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.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Is there any way to send an Email with an attachment !
http://www.jguru.com/jguru/faq/faqindex.jsp?title=Entries+In+Java%3AAPI%3AJa vaMail%3AAttachments&topic=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, November 08, 2000 4:33 AM Subject: Is there any way to send an Email with an attachment ! > 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: "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.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: new to jsp - tutorial needed
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 ? > > constantinos antzakas > > computers engineering & informatics department > university of patras - hellas > > > __ > Do You Yahoo!? > Talk to your friends online with Yahoo! Messenger. > http://im.yahoo.com > > === > 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.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets Do You Yahoo!? Get your free @yahoo.co.in address at http://mail.yahoo.co.in === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: jsp:getProperty - Please Help!
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, exactly an array > of this beans. > > Then in the for loop you overwrite the faq id with > the components of > the array, and use it as if it was the Bean you got > with Usebean?, I > don't understand this, but I think it could be > wrong. > > Bye > > - Mensaje Original - > De: Thang Nguyen <[EMAIL PROTECTED]> > Fecha: Miércoles, Noviembre 8, 2000 0:31 am > Asunto: jsp:getProperty - Please Help! > > > Hi, > > > > Allow me to ask you a question, that I can not > explain. It seems > > that I really > > miss out something with the jsp. Here is my > problem, I have a > > simple jsp that > > use java bean ( from a book example), however I > narrow it down. > > If I get the > > value directly from bean through scriptlet, then > it works fine as > > Method 1. > > However, Method 2 does not work, I could not find > what is wrong > > with it. I > > include here the jsp, the output, and java code > for the bean. > > Can you pls look > > at the code below and tell me what I have done > wrong there? > > Thanks much for your > > helps. > > > > > > <%@ page import="com.taglib.wdjsp.faqtool.*" > > errorPage="error.jsp" %> > > > class="com.taglib.wdjsp.faqtool.FaqBean"/><% > > FaqBean[] faqs = > (FaqBean[])request.getAttribute("faqs"); > > %> > > > > <% > > for (int i=0; i < faqs.length; i++) { > > faq = faqs[i]; > > %> > > > > Using method 1: > > Question is: <%= faq.getQuestion() %> > > > > Using method 2: > > Question is: property="question" /> > > > > <% } %> > > > > > > > > > > == > > Here is the output (you notice for method 2, the > question is null) > > > > Using method 1: > > Question is: How can mode 1 format fracture files > (.yaa) be > > converted to reticle > > mode format? > > > > Using method 2: > > Question is: > > > > > > Using method 1: > > Question is: How can mode 2 format fracture files > (.yaa) be > > converted to reticle > > mode format? > > > > Using method 2: > > Question is: > > > > > > = > > And the code for the bean is: > > > > package com.taglib.wdjsp.faqtool; > > > > import java.util.Date; > > > > public class FaqBean { > > private int id; > > private String question; > > private String answer; > > private Date lastModified; > > > > public FaqBean() { > >this.id = 0; > >this.question = ""; > >this.answer = ""; > >this.lastModified = new Date(); > > } > > > > public void setQuestion(String question) { > >this.question = question; > >this.lastModified = new Date(); > > } > > > > public String getQuestion() { > >return this.question; > > } > > > > public void setAnswer(String answer) { > >this.answer = answer; > >this.lastModified = new Date(); > > } > > > > public String getAnswer() { > >return this.answer; > > } > > > > public void setID(int id) { > >this.id = id; > > } > > > > public int getID() { > >return this.id; > > } > > > > public Date getLastModified() { > >return this.lastModified; > > } > > > > public void setLastModified(Date modified) { > >this.lastModified = modified; > > } > > > > public String toString() { > >return "[" + id + "] " + "Q: " + question + "; > A: " + > > answer + "\n"; > > } > > } > > > > > > > > > > == > > -TN > > > > > > === > > 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.nz/jsp/jspfaq.html > > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > > > > > Consigue tu cuenta gratuita de acceso a internet y > de correo en > http://www.navegalia.com > > === > 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.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets Do You Yahoo!? Get your free @yahoo.co.in address at http://mail.yahoo.co.in === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.
Server support for ftps (Secure FTP protocol)
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: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: jsp:getProperty - Please Help!
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 problem I think that It isn't about this. When you use the Usebean tag, you get an instance of the bean and (if not available yet) It's introduced into the scope (session, aplication, etc) the instance of the bean. So it does that things and other in just one tag invocation. I hope this helps you, I'm new to this world so I'm not an expert and maybe I'm wrong. ByeDani. - Mensaje Original - De: venkataraman bagavathi subramanian <[EMAIL PROTECTED]> Fecha: Miércoles, Noviembre 8, 2000 12:45 pm Asunto: Re: jsp:getProperty - Please Help! > 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, exactly an array > > of this beans. > > > > Then in the for loop you overwrite the faq id with > > the components of > > the array, and use it as if it was the Bean you got > > with Usebean?, I > > don't understand this, but I think it could be > > wrong. > > > > Bye > > > > - Mensaje Original - > > De: Thang Nguyen <[EMAIL PROTECTED]> > > Fecha: Miércoles, Noviembre 8, 2000 0:31 am > > Asunto: jsp:getProperty - Please Help! > > > > > Hi, > > > > > > Allow me to ask you a question, that I can not > > explain. It seems > > > that I really > > > miss out something with the jsp. Here is my > > problem, I have a > > > simple jsp that > > > use java bean ( from a book example), however I > > narrow it down. > > > If I get the > > > value directly from bean through scriptlet, then > > it works fine as > > > Method 1. > > > However, Method 2 does not work, I could not find > > what is wrong > > > with it. I > > > include here the jsp, the output, and java code > > for the bean. > > > Can you pls look > > > at the code below and tell me what I have done > > wrong there? > > > Thanks much for your > > > helps. > > > > > > > > > <%@ page import="com.taglib.wdjsp.faqtool.*" > > > errorPage="error.jsp" %> > > > > > class="com.taglib.wdjsp.faqtool.FaqBean"/><% > > > FaqBean[] faqs = > > (FaqBean[])request.getAttribute("faqs"); > > > %> > > > > > > <% > > > for (int i=0; i < faqs.length; i++) { > > > faq = faqs[i]; > > > %> > > > > > > Using method 1: > > > Question is: <%= faq.getQuestion() %> > > > > > > Using method 2: > > > Question is: > property="question" /> > > > > > > <% } %> > > > > > > > > > > > > > > > == > > > Here is the output (you notice for method 2, the > > question is null) > > > > > > Using method 1: > > > Question is: How can mode 1 format fracture files > > (.yaa) be > > > converted to reticle > > > mode format? > > > > > > Using method 2: > > > Question is: > > > > > > > > > Using method 1: > > > Question is: How can mode 2 format fracture files > > (.yaa) be > > > converted to reticle > > > mode format? > > > > > > Using method 2: > > > Question is: > > > > > > > > > = > > > And the code for the bean is: > > > > > > package com.taglib.wdjsp.faqtool; > > > > > > import java.util.Date; > > > > > > public class FaqBean { > > > private int id; > > > private String question; > > > private String answer; > > > private Date lastModified; > > > > > > public FaqBean() { > > >this.id = 0; > > >this.question = ""; > > >this.answer = ""; > > >this.lastModified = new Date(); > > > } > > > > > > public void setQuestion(String question) { > > >this.question = question; > > >this.lastModified = new Date(); > > > } > > > > > > public String getQuestion() { > > >return this.question; > > > } > > > > > > public void setAnswer(String answer) { > > >this.answer = answer; > > >this.lastModified = new Date(); > > > } > > > > > > public String getAnswer() { > > >return this.answer; > > > } > > > > > > public void setID(int id) { > > >this.id = id; > > > } > > > > > > public int getID() { > > >return this.id; > > > } > > > > > > public Date getLastModified() { > > >return this.lastModified; > > > } > > > > > > public void setLastModified(Date modified) { > > >this.lastModified = modified; > > > } > > > > > > public String toString() { > > >return "[" + id + "] " + "Q: " + question + "; > > A: " + > > > answer + "\n"; > > > } > > > } > > > > > > > > > > > > > > > == > > > -TN > > > > > > > > > > > === > > > To unsubscribe: mailto [EMAIL PROTECTED] with > > body: "signoff > > > JSP-INTEREST". > > > Some relevant FAQs o
Re: prepared statement problem
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. > > eg: > > String values="?"; > > if (stud_no==1)value="?"; > else > for(int i=1;i values=values+",?"; > } > > select name, age from student where stud_no in ("+values+")"; > > Hope this helps, > > Bye, > SJ > > - Original Message - > From: "Chin Sung Kit" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, November 08, 2000 3:27 PM > Subject: Re: prepared statement problem > > 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 name, age from student where stud_no in (?, ?, ?, ?, ?) > > thanks for any help and suggestions. > > ced > > PIYUSH NIGAM wrote: > > > It is essential that your database allows nulls for values not being > > updated.Also your insert statement must include the field names in which > you > > are inserting values: > > inser into test(name,score) values(?,?) > > Piyush Nigam > > > > -Original Message- > > From: Synu Jacob Vengal [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, November 08, 2000 10:33 AM > > To: [EMAIL PROTECTED] > > Subject: prepared statement problem > > > > > > Hi, > > > > I am using a prepared statement to insert values into the database > > > fields. > > > > Is it always necessary that we should insert data in all the fields or > > > else null values?? > > > > for eg. i gave the sql as > > > > sql ="INSERT INTO test VALUES(?,?)"; > > > > when the actual table contained 3 fields. > > > > When i skipped one field it shows the following error > > > > java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid > argument > > > value > > > > Pls give me a solution. > > > > Thanks , > > > > SJ > > > > > === > > 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.nz/jsp/jspfaq.html > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > > > > === > > 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.nz/jsp/jspfaq.html > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > "Never let yesterday's disappointments overshadow tomorrow's dreams" > > === > 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.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > === > 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.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets "Never let yesterday's disappointments overshadow tomorrow's dreams" === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: prepared statement problem
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 row. S.Ravi Kumar. - Original Message - From: Synu Jacob Vengal <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 08, 2000 10:32 AM Subject: prepared statement problem > > > Hi, > > > I am using a prepared statement to insert values into the database > > fields. > > > Is it always necessary that we should insert data in all the fields or > > else null values?? > > > for eg. i gave the sql as > > > sql ="INSERT INTO test VALUES(?,?)"; > > > when the actual table contained 3 fields. > > > When i skipped one field it shows the following error > > > java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid argument > > value > > > Pls give me a solution. > > > Thanks , > > > SJ > > === > 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.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: IP Addresses for Matt Maher
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 locate the exact machine from where to download the song when the would be server for downloading is behind some proxy. Mandeep >Reply-To: A mailing list about Java Server Pages specification and > reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: IP Addresses >Date: Tue, 7 Nov 2000 03:33:25 -0700 > >You can't. That means they are coming from behind a firewall and they >actually do NOT have an IP which you could address anyway. They have an IP >specific to that private network. The whole point to the firewall is to >keep >you from individually addressing machines on the "inside". > >-M@ >- Original Message - >From: "KJS ." <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Tuesday, November 07, 2000 2:52 PM >Subject: IP Addresses > > > > Can someone please tell me that how can I diffentiate between >various > > users who are coming from the same proxy server as they all have same IP > > address. > > > > > > >_ > > Get Your Private, Free E-mail from MSN Hotmail at >http://www.hotmail.com. > > > > Share information about yourself, create your own public profile at > > http://profiles.msn.com. > > > > >=== > > 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.nz/jsp/jspfaq.html > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > > >=== >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.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Button Click on Enter
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 presses enter on the keyboard , automatically the submit button is pressed and he is taken to the next page , instead of having to click the submit button using the mouse . This only works in IE but not in Netscape . Does anyone know of a solution to do this in Netscape ? Can keyboard events like "EnterKeyPressed" be captured in JavaScript ? Thanks Vivek __ Do You Yahoo!? Thousands of Stores. Millions of Products. All in one Place. http://shopping.yahoo.com/ === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
<< Why Java Beans or Servlets ?? >>
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 they have explained a comparision about them, it would be a great help, because i am getting a bit confused abt both of them. Regards Arjun === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: prepared statement problem
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 -- Sent through GMX FreeMail - http://www.gmx.net === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Tomcat as Personal Web Server Replacement
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 download, install and configure Apache to enable this? Does anyone have relevant experience or know of an appropriate resource? Thankyou for your interest I am using JBuilder Professional 4 on Win95 Edward Garson Channel4 Television Corporation +44 (020) 8874-3299 Any views or opinions are solely those of the author and do not necessarily represent those of Channel Four Television Corporation unless specifically stated. This email and any files transmitted are confidential and intended solely for the use of the individual or entity to which they are addressed. If you have received this email in error, please notify [EMAIL PROTECTED] === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: << Why Java Beans or Servlets ?? >>
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: http://developer.java.sun.com/developer/onlineTraining/ greetings martin -- Sent through GMX FreeMail - http://www.gmx.net === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Tomcat as Personal Web Server Replacement
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 JDK. For any other questions, we're always here... bye Robuschi Roberto Delfi srl P.za Ravenet 1/b - 43100 PARMA Tel. 0521/932474 Fax 0521/989045 [EMAIL PROTECTED] --- http://www.delfi.it === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
FastJavac
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 === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: IP Addresses for Matt Maher
There's really no magic to it. Basiclly, if there's a "port" opened through the firewall then people will slip out and things can slip in. I do not know the workings of Napster. Does it work behind firewalls? One thing firewalls can do is "remember" who requested what information, so that the packets which come streaming back to it can find their target (otherwise they would be useless). Several (behind firewall applications) I know use port 80 (the 'web port' or http traditionally). This port is very commonly open on firewalls so that users can "get out" to the web. The firewall still has to maintain the rerouting of the packets back to the internal user, however (in effect). Some programs will allow you to put your own port number in it for proxie servers etc. It's simply up to the Firewall setup. However, users who request info from behind the firewall STILL appear with the firewall's IP. There's no magical way around that. Not to mention the IP they are assigned behind the firewall would be useless to you. -M@ - Original Message - From: "KJS ." <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 08, 2000 7:42 AM Subject: Re: IP Addresses for Matt Maher > 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 locate the exact machine from > where to download the song when the would be server for downloading is > behind some proxy. > Mandeep > > > > >Reply-To: A mailing list about Java Server Pages specification and > > reference <[EMAIL PROTECTED]> > >To: [EMAIL PROTECTED] > >Subject: Re: IP Addresses > >Date: Tue, 7 Nov 2000 03:33:25 -0700 > > > >You can't. That means they are coming from behind a firewall and they > >actually do NOT have an IP which you could address anyway. They have an IP > >specific to that private network. The whole point to the firewall is to > >keep > >you from individually addressing machines on the "inside". > > > >-M@ > >- Original Message - > >From: "KJS ." <[EMAIL PROTECTED]> > >To: <[EMAIL PROTECTED]> > >Sent: Tuesday, November 07, 2000 2:52 PM > >Subject: IP Addresses > > > > > > > Can someone please tell me that how can I diffentiate between > >various > > > users who are coming from the same proxy server as they all have same IP > > > address. > > > > > > > > > > >_ > > > Get Your Private, Free E-mail from MSN Hotmail at > >http://www.hotmail.com. > > > > > > Share information about yourself, create your own public profile at > > > http://profiles.msn.com. > > > > > > > >=== > > > 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.nz/jsp/jspfaq.html > > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > > > > > >=== > >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.nz/jsp/jspfaq.html > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > _ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > Share information about yourself, create your own public profile at > http://profiles.msn.com. > > === > 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.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Tomcat as Personal Web Server Replacement
Sure - read the documents included in the Tomcat download. -Original Message- From: Edward Garson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 08, 2000 5:12 PM To: [EMAIL PROTECTED] Subject: Tomcat as Personal Web Server Replacement 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 download, install and configure Apache to enable this? Does anyone have relevant experience or know of an appropriate resource? Thankyou for your interest I am using JBuilder Professional 4 on Win95 Edward Garson Channel4 Television Corporation +44 (020) 8874-3299 Any views or opinions are solely those of the author and do not necessarily represent those of Channel Four Television Corporation unless specifically stated. This email and any files transmitted are confidential and intended solely for the use of the individual or entity to which they are addressed. If you have received this email in error, please notify [EMAIL PROTECTED] === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: IP Addresses for Matt Maher
--- "KJS ." <[EMAIL PROTECTED]> wrote: > 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 locate > the exact machine from > where to download the song when the would be server > for downloading is > behind some proxy. > Mandeep > > > > >Reply-To: A mailing list about Java Server Pages > specification and > > reference <[EMAIL PROTECTED]> > >To: [EMAIL PROTECTED] > >Subject: Re: IP Addresses > >Date: Tue, 7 Nov 2000 03:33:25 -0700 > > > >You can't. That means they are coming from behind a > firewall and they > >actually do NOT have an IP which you could address > anyway. They have an IP > >specific to that private network. The whole point > to the firewall is to > >keep > >you from individually addressing machines on the > "inside". > > > >-M@ > >- Original Message - > >From: "KJS ." <[EMAIL PROTECTED]> > >To: <[EMAIL PROTECTED]> > >Sent: Tuesday, November 07, 2000 2:52 PM > >Subject: IP Addresses > > > > > > > Can someone please tell me that how can I > diffentiate between > >various > > > users who are coming from the same proxy server > as they all have same IP > > > address. > > > > > > > > > > >_ > > > Get Your Private, Free E-mail from MSN Hotmail > at > >http://www.hotmail.com. > > > > > > Share information about yourself, create your > own public profile at > > > http://profiles.msn.com. > > > > > > > >=== > > > 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.nz/jsp/jspfaq.html > > > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > > > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > > > > > >=== > >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.nz/jsp/jspfaq.html > > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > _ > Get Your Private, Free E-mail from MSN Hotmail at > http://www.hotmail.com. > > Share information about yourself, create your own > public profile at > http://profiles.msn.com. > > === > 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.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets __ Do You Yahoo!? Thousands of Stores. Millions of Products. All in one Place. http://shopping.yahoo.com/ === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
HELP
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 on the machine/port you are trying to connect to? (java.security.AccessControlException) and my JSP file is as follows: Company Details <%@ page language="java" import="java.sql.*" %> Company Details Id Company's Name <% Connection conusers = null; ResultSet rsusers = null; Statement stusers = null; String dataid,datacname; Class.forName("org.gjt.mm.mysql.Driver").newInstance(); conusers = DriverManager.getConnection("jdbc:mysql://zeus:3360/zeus?user=admin;password=admin"); stusers = conusers.createStatement(); rsusers = stusers.executeQuery("SELECT id,name FROM emp"); while(rsusers.next()) { dataid = rsusers.getString("id"); datacname = rsusers.getString("name"); %> <%= dataid %> <%= datacname %> <% } stusers.close(); conusers.close(); %> I have also downloaded the mm.mysql driver from the worldserver site and also set the CLASSPATH in the System-Environment (NT) as: .;E:\mm.mysql.jdbc-1.2c;%CLASSPATH% Am i going worng somewhere or do i need to install some other driver as well...or is mySQL Server not loaded properly...or how do i check that mySQL server is running and listeneing to port no 3306. The other thing i had tried out is i installed myodbc-2.50.36-nt drivers and thru this in the program i made JDBC-ODBC connection to mySQL and it worked.in the program i had to load the driver sun.jdbc.odbc.JdbcOdbcDriver. Will someone help tell me whether mm.sql-jdbc drivers work for? And is the above code proper. Please help me out. THANX in advance. === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Tomcat as Personal Web Server Replacement
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 PROTECTED]] > Sent: Wednesday, November 08, 2000 3:44 PM > To: [EMAIL PROTECTED] > Subject: Re: Tomcat as Personal Web Server Replacement > > Sure - read the documents included in the Tomcat download. > > -Original Message- > From: Edward Garson [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 08, 2000 5:12 PM > To: [EMAIL PROTECTED] > Subject: Tomcat as Personal Web Server Replacement > > > 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 download, install and > configure Apache to enable this? > > Does anyone have relevant experience or know of an appropriate resource? > > Thankyou for your interest > > I am using JBuilder Professional 4 on Win95 > > Edward Garson > Channel4 Television Corporation > +44 (020) 8874-3299 > > > Any views or opinions are solely those of the author and do not > necessarily > represent those of Channel Four Television Corporation unless specifically > stated. This email and any files transmitted are confidential and > intended > solely for the use of the individual or entity to which they are > addressed. > If you have received this email in error, please notify > [EMAIL PROTECTED] > > == > = > 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.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > == > = > 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.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
How can I Pass user ID to JSP
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 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
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? 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 Purshottam [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 07, 2000 6:02 PM To: [EMAIL PROTECTED] Subject: where to learn about JSP based dynamic web applications? Recent traffic on this list has made me thing again about a matter that troubled me a few months ago: Where to point the bright young (and old) people who want to write dynamic web applications (things that look and act like windows MVC-based applications, but run in a browser and use javaScript, DHTML (esp uSoft's which is the most D) and maybe Flash or SVG)? I have not yet found a proper textbook or article that discusses this subject comprehensively. There are some articles and book that cover the server based forms and server only MVC setups like struts. And there are books and articles on client side dynamic web technology like DHTML, Flash and javaScript. But the only references I can find that show how to synthesize fake (fake because no proper firewall tolerant server->cliet notifiction exists yet) are the pushlets paper on JW and a couple notes from Netscape on DHTML. I have a rough note I wrote for some smart guys in my office. who were very troubled when they could not see explict use of sockets or other client server stuff in my designs, which I shall try to clean up when I get back to office this weekend and post. Does anyoe else have data or citations of publications that teach this tedious art? Andy === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Javascript: How can I enable or disable a field in javascrip t
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 javascript Hi all, Can somebody, tell me how can I enable or disable a text box in javascript? Thanks in advance Lorena === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Tomcat as Personal Web Server Replacement
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: Change it to: -Mensaje original- De: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]En nombre de Edward Garson Enviado el: Ninguno Para: [EMAIL PROTECTED] Asunto: Tomcat as Personal Web Server Replacement 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 download, install and configure Apache to enable this? Does anyone have relevant experience or know of an appropriate resource? Thankyou for your interest I am using JBuilder Professional 4 on Win95 Edward Garson Channel4 Television Corporation +44 (020) 8874-3299 Any views or opinions are solely those of the author and do not necessarily represent those of Channel Four Television Corporation unless specifically stated. This email and any files transmitted are confidential and intended solely for the use of the individual or entity to which they are addressed. If you have received this email in error, please notify [EMAIL PROTECTED] === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: HELP
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 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 on the machine/port you are trying to connect to? (java.security.AccessControlException) and my JSP file is as follows: Company Details <%@ page language="java" import="java.sql.*" %> Company Details Id Company's Name <% Connection conusers = null; ResultSet rsusers = null; Statement stusers = null; String dataid,datacname; Class.forName("org.gjt.mm.mysql.Driver").newInstance(); conusers = DriverManager.getConnection("jdbc:mysql://zeus:3360/zeus?user=admin;password =admin"); stusers = conusers.createStatement(); rsusers = stusers.executeQuery("SELECT id,name FROM emp"); while(rsusers.next()) { dataid = rsusers.getString("id"); datacname = rsusers.getString("name"); %> <%= dataid %> <%= datacname %> <% } stusers.close(); conusers.close(); %> I have also downloaded the mm.mysql driver from the worldserver site and also set the CLASSPATH in the System-Environment (NT) as: .;E:\mm.mysql.jdbc-1.2c;%CLASSPATH% Am i going worng somewhere or do i need to install some other driver as well...or is mySQL Server not loaded properly...or how do i check that mySQL server is running and listeneing to port no 3306. The other thing i had tried out is i installed myodbc-2.50.36-nt drivers and thru this in the program i made JDBC-ODBC connection to mySQL and it worked.in the program i had to load the driver sun.jdbc.odbc.JdbcOdbcDriver. Will someone help tell me whether mm.sql-jdbc drivers work for? And is the above code proper. Please help me out. THANX in advance. === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: HELP
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: Wednesday, November 08, 2000 5:23 PM Subject: HELP > 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 on the machine/port you are trying to > connect to? (java.security.AccessControlException) > > > and my JSP file is as follows: > > > Company Details > <%@ page language="java" import="java.sql.*" %> > > Company Details > > >Id >Company's Name > > <% > Connection conusers = null; > ResultSet rsusers = null; > Statement stusers = null; > String dataid,datacname; > > Class.forName("org.gjt.mm.mysql.Driver").newInstance(); > conusers = > DriverManager.getConnection("jdbc:mysql://zeus:3360/zeus?user=admin;password=a dmin"); > > stusers = conusers.createStatement(); > rsusers = stusers.executeQuery("SELECT id,name FROM emp"); > > while(rsusers.next()) > { > dataid = rsusers.getString("id"); > datacname = rsusers.getString("name"); > %> > > > <%= dataid %> > <%= datacname %> > > > <% > } > stusers.close(); > conusers.close(); > %> > > > > > > > > I have also downloaded the mm.mysql driver from the worldserver site and > also set the CLASSPATH in the System-Environment (NT) as: > > .;E:\mm.mysql.jdbc-1.2c;%CLASSPATH% > > Am i going worng somewhere or do i need to install some other driver as > well...or is mySQL Server not loaded properly...or how do i check that > mySQL server is running and listeneing to port no 3306. > > The other thing i had tried out is i installed myodbc-2.50.36-nt drivers > and thru this in the program i made JDBC-ODBC connection to mySQL and it > worked.in the program i had to load the driver > sun.jdbc.odbc.JdbcOdbcDriver. > > Will someone help tell me whether mm.sql-jdbc drivers work for? And > is the above code proper. > > > Please help me out. > THANX in advance. > > === > 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.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Encryption value
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 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: Wednesday, November 08, 2000 5:23 PM > Subject: HELP > > > > 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 on the machine/port you are trying to > > connect to? (java.security.AccessControlException) > > > > > > and my JSP file is as follows: > > > > > > Company Details > > <%@ page language="java" import="java.sql.*" %> > > > > Company Details > > > > > >Id > >Company's Name > > > > <% > > Connection conusers = null; > > ResultSet rsusers = null; > > Statement stusers = null; > > String dataid,datacname; > > > > Class.forName("org.gjt.mm.mysql.Driver").newInstance(); > > conusers = > > > DriverManager.getConnection("jdbc:mysql://zeus:3360/zeus?user=admin;password =a > dmin"); > > > > stusers = conusers.createStatement(); > > rsusers = stusers.executeQuery("SELECT id,name FROM emp"); > > > > while(rsusers.next()) > > { > > dataid = rsusers.getString("id"); > > datacname = rsusers.getString("name"); > > %> > > > > > > <%= dataid %> > > <%= datacname %> > > > > > > <% > > } > > stusers.close(); > > conusers.close(); > > %> > > > > > > > > > > > > > > > > I have also downloaded the mm.mysql driver from the worldserver site and > > also set the CLASSPATH in the System-Environment (NT) as: > > > > .;E:\mm.mysql.jdbc-1.2c;%CLASSPATH% > > > > Am i going worng somewhere or do i need to install some other driver as > > well...or is mySQL Server not loaded properly...or how do i check that > > mySQL server is running and listeneing to port no 3306. > > > > The other thing i had tried out is i installed myodbc-2.50.36-nt drivers > > and thru this in the program i made JDBC-ODBC connection to mySQL and it > > worked.in the program i had to load the driver > > sun.jdbc.odbc.JdbcOdbcDriver. > > > > Will someone help tell me whether mm.sql-jdbc drivers work for? And > > is the above code proper. > > > > > > Please help me out. > > THANX in advance. > > > > === > > 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.nz/jsp/jspfaq.html > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > === > 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.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
custom tag with object attribute, close tag causes error
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: code weblogic.examples.jsp.quote.CodeTag param1 false true CodeTag class: public class CodeTag extends BodyTagSupport { private Vector param1; public void setParam1(Vector param1){this.param1 = param1;} } JSP: This works: <% Vector v = new Vector(); v.addElement("First Element"); %> /> This doesn't: <% Vector v = new Vector(); v.addElement("First Element"); %> > Any ideas why? 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://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: little off-topic /servlets
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 * http://www.ibiblio.org/javafaq/slides/gsdc/wcp/ - Tutorial slides kindly made available to net by Elliotte Rusty Harold For more exotic approaches try: http://db.cis.upenn.edu/W4F/ - library and language for web scraping http://www.almaden.ibm.com/cs/wbi/ - tooklit for building programs that act as both web clients and web servers. Luca Cardelli's stuff from DEC/Compac research, do not yet understand, looks cool though. Companies built on these techniques (though of course they do not obviously admit their secret sauce has such humble ancestry) http://www.vignette.com/CDA/Site/0,2097,1-1-731-1581,FF.html (onDisplay was swallowed by Vignette) http://www.webmethods.com/ I would like to make a slightly nasty, snide remark about a more appropriate list to post this question to, but I don't know one! Any further poiters on web client programming in java, web scraping and transcoding proxies, please send to me and I'll summarize to list. It is a fun subject that opens many possibilites for doing active web stuff now, with content and apps that exist today, without waiting for Xanadu type fantasies. Cheers, Andy [EMAIL PROTECTED] [EMAIL PROTECTED] -Original Message- From: Marco M To: [EMAIL PROTECTED] Sent: 11/8/00 12:39 AM Subject: little off-topic /servlets 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 how can i do that?? thanx in advance and sorry for the off-topic regards marco === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: custom tag with object attribute, close tag causes error
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: custom tag with object attribute, close tag causes error 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: code weblogic.examples.jsp.quote.CodeTag param1 false true CodeTag class: public class CodeTag extends BodyTagSupport { private Vector param1; public void setParam1(Vector param1){this.param1 = param1;} } JSP: This works: <% Vector v = new Vector(); v.addElement("First Element"); %> /> This doesn't: <% Vector v = new Vector(); v.addElement("First Element"); %> > Any ideas why? 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://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: About remote database access
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 dataserver which submits the appropriate query locally to my Oracle database. Then the results are sent back to the client. Hope this helps. Brad Webb Celal Ceken wrote: > Hi everybody, > I want to use a remote database(For example my Database is in another server > ). How can I connect this database. (Database that I use is an access file. > I use ODBC ). > String url="jdbc:odbc:Veri"; When the database is in my server there is no > problem. If the database is in "http://lab19:8080" , What can I do?? > String url="jdbc:odbc:?"; > Thanks for your help, > with regards, > > === > 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.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: where to learn about JSP based dynamic web applications?-you'll be sorry !
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 Message- > From: A mailing list about Java Server Pages specification and reference > [mailto:[EMAIL PROTECTED]]On Behalf Of Sicaud Patrice > Sent: Wednesday, November 08, 2000 12:19 PM > To: [EMAIL PROTECTED] > 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? > 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 Purshottam [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 07, 2000 6:02 PM > To: [EMAIL PROTECTED] > Subject: where to learn about JSP based dynamic web applications? > > > Recent traffic on this list has made me thing again about > a matter that troubled me a few months ago: > > Where to point the bright young (and old) people who want to > write dynamic web applications (things that look and act like windows > MVC-based applications, but run in a browser and use javaScript, > DHTML (esp uSoft's which is the most D) and maybe Flash or SVG)? > > I have not yet found a proper textbook or article that discusses this > subject comprehensively. > > There are some articles and book that cover the server > based forms and server only MVC setups like struts. And there > are books and articles on client side dynamic web technology like > DHTML, Flash and javaScript. But the only references I can find > that show how to synthesize fake (fake because no proper > firewall tolerant server->cliet notifiction exists yet) are > the pushlets paper on JW and a couple notes from Netscape > on DHTML. > > I have a rough note I wrote for some smart guys in my office. who > were very > troubled when they could not see explict use of sockets or other > client server stuff in my designs, which I shall try to clean > up when I get back to office this weekend and post. Does anyoe else > have data or citations of publications that teach this tedious art? > > Andy > > == > = > 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.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > == > = > 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.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: About remote database access
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 PROTECTED]] Sent: Wednesday, November 08, 2000 3:02 PM To: [EMAIL PROTECTED] Subject: Re: About remote database access 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 dataserver which submits the appropriate query locally to my Oracle database. Then the results are sent back to the client. Hope this helps. Brad Webb Celal Ceken wrote: > Hi everybody, > I want to use a remote database(For example my Database is in another server > ). How can I connect this database. (Database that I use is an access file. > I use ODBC ). > String url="jdbc:odbc:Veri"; When the database is in my server there is no > problem. If the database is in "http://lab19:8080" , What can I do?? > String url="jdbc:odbc:?"; > Thanks for your help, > with regards, > > === > 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.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: prepared statement problem
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 statement problem > > Hi, > > I am using a prepared statement to insert values into the database > fields. > > Is it always necessary that we should insert data in all the fields or > else null values?? > > for eg. i gave the sql as > > sql ="INSERT INTO test VALUES(?,?)"; > > when the actual table contained 3 fields. > > When i skipped one field it shows the following error > > java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid argument > value > > Pls give me a solution. > > Thanks , > > SJ === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
JDK1.2.2 on RH7
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 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: where to learn about JSP based dynamic web applications?
-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 like windows MVC-based applications, but run in a browser?" I mean GUI applications built with windows, menus, text and direct manipulation graphics, running in a browser with no installation footprint on local machine beyond cookies and browser cache. Examples include the (now defunct) funiture.com room planner and to a less extent, hotmail. Andy === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: About remote database access
if you want to use ODBC, then you have to install the ODBC driver for the DB you're using, and then create a DSN that references the remote DB. Then you can use the odbc url -> jdbc:odbc: - Original Message - From: "Zheng, Jennifer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 08, 2000 4:01 PM Subject: Re: About remote database access 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 PROTECTED]] Sent: Wednesday, November 08, 2000 3:02 PM To: [EMAIL PROTECTED] Subject: Re: About remote database access 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 dataserver which submits the appropriate query locally to my Oracle database. Then the results are sent back to the client. Hope this helps. Brad Webb Celal Ceken wrote: > Hi everybody, > I want to use a remote database(For example my Database is in another server > ). How can I connect this database. (Database that I use is an access file. > I use ODBC ). > String url="jdbc:odbc:Veri"; When the database is in my server there is no > problem. If the database is in "http://lab19:8080" , What can I do?? > String url="jdbc:odbc:?"; > Thanks for your help, > with regards, > > === > 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.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: JDK1.2.2 on RH7
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 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Include a file
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 loads fine independently. However, when I load it in a frame, it does not load completely. It stops immediately after the include statement. Hence, I am suspecting something is wrong with the include. Any suggestions? Thanks, -Sangeeta === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
threads
Hi, I'm trying to implement a timer, so I call this Runnable class Timer, from a servlet. I want to cancel the operation the servlet was doing and send a message to the user when there's a timeout. How can the Timer thread tell the servlet there has been a time out?? thanks! Luis Javier === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Include a file
As long as you only need the include for display and not for the data structures it contains... 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 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 loads fine independently. However, when I load it in >a frame, it does not load completely. It stops immediately after the include >statement. Hence, I am suspecting something is wrong with the include. > >Any suggestions? > >Thanks, >-Sangeeta === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: threads
got the same question.. would java.util.Observable be a good solution for this? thanks in advance! _I -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Luis Javier Beltran Sent: Wednesday, November 08, 2000 3:55 PM To: [EMAIL PROTECTED] Subject: threads Hi, I'm trying to implement a timer, so I call this Runnable class Timer, from a servlet. I want to cancel the operation the servlet was doing and send a message to the user when there's a timeout. How can the Timer thread tell the servlet there has been a time out?? thanks! Luis Javier === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: jsp:getProperty - Please Help!
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 helping me out. TN Clemente Dani 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, exactly an array of this beans. > > Then in the for loop you overwrite the faq id with the components of > the array, and use it as if it was the Bean you got with Usebean?, I > don't understand this, but I think it could be wrong. > > Bye > > - Mensaje Original - > De: Thang Nguyen <[EMAIL PROTECTED]> > Fecha: Miércoles, Noviembre 8, 2000 0:31 am > Asunto: jsp:getProperty - Please Help! > > > Hi, > > > > Allow me to ask you a question, that I can not explain. It seems > > that I really > > miss out something with the jsp. Here is my problem, I have a > > simple jsp that > > use java bean ( from a book example), however I narrow it down. > > If I get the > > value directly from bean through scriptlet, then it works fine as > > Method 1. > > However, Method 2 does not work, I could not find what is wrong > > with it. I > > include here the jsp, the output, and java code for the bean. > > Can you pls look > > at the code below and tell me what I have done wrong there? > > Thanks much for your > > helps. > > > > > > <%@ page import="com.taglib.wdjsp.faqtool.*" > > errorPage="error.jsp" %> > > > class="com.taglib.wdjsp.faqtool.FaqBean"/><% > > FaqBean[] faqs = (FaqBean[])request.getAttribute("faqs"); > > %> > > > > <% > > for (int i=0; i < faqs.length; i++) { > > faq = faqs[i]; > > %> > > > > Using method 1: > > Question is: <%= faq.getQuestion() %> > > > > Using method 2: > > Question is: > > > > <% } %> > > > > > > > > > > == > > Here is the output (you notice for method 2, the question is null) > > > > Using method 1: > > Question is: How can mode 1 format fracture files (.yaa) be > > converted to reticle > > mode format? > > > > Using method 2: > > Question is: > > > > > > Using method 1: > > Question is: How can mode 2 format fracture files (.yaa) be > > converted to reticle > > mode format? > > > > Using method 2: > > Question is: > > > > > > = > > And the code for the bean is: > > > > package com.taglib.wdjsp.faqtool; > > > > import java.util.Date; > > > > public class FaqBean { > > private int id; > > private String question; > > private String answer; > > private Date lastModified; > > > > public FaqBean() { > >this.id = 0; > >this.question = ""; > >this.answer = ""; > >this.lastModified = new Date(); > > } > > > > public void setQuestion(String question) { > >this.question = question; > >this.lastModified = new Date(); > > } > > > > public String getQuestion() { > >return this.question; > > } > > > > public void setAnswer(String answer) { > >this.answer = answer; > >this.lastModified = new Date(); > > } > > > > public String getAnswer() { > >return this.answer; > > } > > > > public void setID(int id) { > >this.id = id; > > } > > > > public int getID() { > >return this.id; > > } > > > > public Date getLastModified() { > >return this.lastModified; > > } > > > > public void setLastModified(Date modified) { > >this.lastModified = modified; > > } > > > > public String toString() { > >return "[" + id + "] " + "Q: " + question + "; A: " + > > answer + "\n"; > > } > > } > > > > > > > > > > == > > -TN > > > > > > === > > 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.nz/jsp/jspfaq.html > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > > > > Consigue tu cuenta gratuita de acceso a internet y de correo en > http://www.navegalia.com > > === > 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.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: ht
Re: Best JSP Tool
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 > http://www7.software.ibm.com/vad.nsf/Data/Document2390?OpenDocument&p=1&BCT= > 3&Footer=1. > > I wouldn't call it an IDE for JSPs though, as there are no features for HTML > designing. I could do with a visual HTML editor that knows JSP. Preferably > free. Any ideas? > > Chris Walker > Brainbench MVP for ASP > http://www.brainbench.com > > > > > -Original Message- > > From: Mio Nino Marquez [mailto:[EMAIL PROTECTED]] > > Sent: Monday, November 06, 2000 2:12 PM > > To: [EMAIL PROTECTED] > > Subject: Re: Best JSP Tool > > > > > > Khurram, > > > > We went to the product launch of JBuilder 4 recently and was really > > impressed with it. > > The JBuilder 4 Enterprise edition allows you to do Servlet / JSP > > debugging... this includes stepping through codes, modify > > variable values > > etc. > > It's expensive though. But you can have the Pro albeit > > without JSP / > > Servlet debugging capabilities. > > > > For other stuffs, you may want to check this out: > > > > JSP for Code Jockeys > > http://www.zdnet.com/products/stories/reviews/0,4161,2639151,00.html > > > > Mio Nino P. Marquez > > Senior Analyst Programmer > > Apsilon Technologies Pte Ltd > > Email: [EMAIL PROTECTED] > > DID : (65) 6613219 > > > > - Original Message - > > From: "Khurram Sardar" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Monday, November 06, 2000 3:00 PM > > Subject: Best JSP Tool > > > > > > > Hello Everyone, > > > Does any one know that which one is the best JSP tool > > other than > > notepad. > > > AS per my knowledge Tools like JBuilder are really good at it. > > > Please share your knowledge of JSP tools with me also > > if anyone know > > about > > > some web site giving benchmarks on comparisons of JSP tools. > > > I think it will be helful to all of us and solve many of tool > > dependent > > > problems. > > > Waiting for your interest > > > Khurram > > > Junior System Analyst Programmer > > > > > __ > > ___ > > > > > > Disclaimer: > > > > > > "This message is confidential. It may also be privileged > > or otherwise > > protected > > > by legal rules. If you have received it by mistake please > > let us know by > > reply > > > and then delete it from your system." > > > > > > > > == > > = > > > 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.nz/jsp/jspfaq.html > > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > > > > > > == > > = > > 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.nz/jsp/jspfaq.html > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > > > === > 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.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Please help me: Too many open files
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 java.net.PlainSocketImpl.socketAccept(Compiled Code) at java.net.PlainSocketImpl.accept(Compiled Code) at java.net.ServerSocket.implAccept(Compiled Code) at java.net.ServerSocket.accept(Compiled Code) at org.apache.tomcat.service.PoolTcpEndpoint.acceptSocket(Compiled Code) at org.apache.tomcat.service.TcpWorkerThread.run(Compiled Code) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code) at java.lang.Thread.run(Compiled Code) Thank you in advance. Choi === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Set init parameter
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 JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
How can I Pass user ID to JSP
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 = |\ /| ||\ /|| Sivashanker Shanmugam ___|| \ / || FLAG IR /\__\| \ / |/___/\ Phone: 650 336 0341 (x60341) \\Communicate\ G /Interact// Email:sivashanker.shanmugam@corp \\ & \O/&\\ Mailstop: UPAL01-210 //Coordinate /A\ Involve // \\___ / L \___// Sun Microsystems, || / \ || 901 San Antonio Road, || / \ || Palo Alto. CA 94303 \|/ \|/ = === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: where to learn about JSP based dynamic web applications?-you'll be sorry !
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 permutations and paths in the script code will just grow even more !! That's why server-side is much safer and even more productive.but at a cost of execution speed. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 08, 2000 5:40 PM > To: [EMAIL PROTECTED] > Subject: RE: where to learn about JSP based dynamic web > applications?-you'll be sorry ! > > > Yes but > > - much faster execution > - less impact on servers/network > - DOM1 standard will be implemented by Netscape 6.0 and is partially > implmented in IE 4.0 > - code is no more complex than Java > - front ends are smart > - pages do not need to be reloaded all the time. > > > -Original Message- > From: M. Simms [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 08, 2000 12:24 PM > To: [EMAIL PROTECTED] > Subject: Re: where to learn about JSP based dynamic web > applications?-you'll be sorry ! > > > 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 Message- > > From: A mailing list about Java Server Pages specification and reference > > [mailto:[EMAIL PROTECTED]]On Behalf Of Sicaud Patrice > > Sent: Wednesday, November 08, 2000 12:19 PM > > To: [EMAIL PROTECTED] > > 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? > > 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 Purshottam [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, November 07, 2000 6:02 PM > > To: [EMAIL PROTECTED] > > Subject: where to learn about JSP based dynamic web applications? > > > > > > Recent traffic on this list has made me thing again about > > a matter that troubled me a few months ago: > > > > Where to point the bright young (and old) people who want to > > write dynamic web applications (things that look and act like windows > > MVC-based applications, but run in a browser and use javaScript, > > DHTML (esp uSoft's which is the most D) and maybe Flash or SVG)? > > > > I have not yet found a proper textbook or article that discusses this > > subject comprehensively. > > > > There are some articles and book that cover the server > > based forms and server only MVC setups like struts. And there > > are books and articles on client side dynamic web technology like > > DHTML, Flash and javaScript. But the only references I can find > > that show how to synthesize fake (fake because no proper > > firewall tolerant server->cliet notifiction exists yet) are > > the pushlets paper on JW and a couple notes from Netscape > > on DHTML. > > > > I have a rough note I wrote for some smart guys in my office. who > > were very > > troubled when they could not see explict use of sockets or other > > client server stuff in my designs, which I shall try to clean > > up when I get back to office this weekend and post. Does anyoe else > > have data or citations of publications that teach this tedious art? > > > > Andy > > > > == > > = > > 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.nz/jsp/jspfaq.html > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > > > == > > = > > 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.nz/jsp/jspfaq.html > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets > > > > == > = > 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.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?nam
Re: where to learn about JSP based dynamic web applications?
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. DHTML is good, but the biggest problem is Netscape ... ServletShop: java server side programming http://coldjava.hypermart.net Get your own FREE, personal Netscape WebMail account today at http://home.netscape.com/webmail === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Building PORTAL
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 === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Please help me: Too many open files
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 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Tomcat as Personal Web Server Replacement
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 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Building PORTAL
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, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Include a file
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 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 loads fine independently. However, when I load it in > a frame, it does not load completely. It stops immediately after the include > statement. Hence, I am suspecting something is wrong with the include. > > Any suggestions? > > Thanks, > -Sangeeta > > === > 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.nz/jsp/jspfaq.html > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === 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.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets