Re: How do I call method of servlet from jsp

2005-06-28 Thread Jason Johnston
ashi kanth Sent: Tue 06/28/2005 7:18 AM To: SERVLET-INTEREST@JAVA.SUN.COM Subject: Re: How do I call method of servlet from jsp Hi All, How do I call method(other than Life-Cycle methods) of servlet from jsp? -Thanx Shashi <http://client

Re: How do I call method of servlet from jsp

2005-06-28 Thread Karr, David
EREST@JAVA.SUN.COM Subject: Re: How do I call method of servlet from jsp Hi All, How do I call method(other than Life-Cycle methods) of servlet from jsp? -Thanx Shashi <http://clients.rediff.com/signature/track_sig.asp> ___

Re: How do I call method of servlet from jsp

2005-06-28 Thread shashi kanth
  Hi All,     How do I call method(other than Life-Cycle methods) of servlet from jsp? -Thanx Shashi ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST".

Re: How do i know who called my servlet

2003-02-07 Thread Milt Epstein
On Fri, 7 Feb 2003, Mark Galbreath wrote: > See java.net.InetAddress. This should do exactly what you want. Shouldn't need to, though. The Servlet API has getRemoteAddr() and getRemoteHost() (although I have seen times where the latter returned the IP address instead of the host name, probably

Re: How do i know who called my servlet

2003-02-07 Thread Mark Galbreath
See java.net.InetAddress. This should do exactly what you want. Mark -Original Message- From: Jen Sent: Friday, February 07, 2003 2:15 PM Can I get the domain name the request coming from? ___ To unsubscribe, send

Re: How do i know who called my servlet

2003-02-07 Thread Jen
or 30% of all > hits. > > > -Original Message- > > From: Chuck Hirstius > [SMTP:[EMAIL PROTECTED]] > > Sent: 06 February 2003 10:49 > > To: [EMAIL PROTECTED] > > Subject: Re: How do i know who called my > servlet > > > > You should be able to ge

Re: How do i know who called my servlet

2003-02-06 Thread Adrian Janssen
Be aware though that machines behind a proxy will share the same IP, on an internet we-site this can account for 30% of all hits. > -Original Message- > From: Chuck Hirstius [SMTP:[EMAIL PROTECTED]] > Sent: 06 February 2003 10:49 > To: [EMAIL PROTECTED] > Subject: Re

Re: How do i know who called my servlet

2003-02-06 Thread Chuck Hirstius
You should be able to get the IP of the box calling your servlet from the HttpServletRequest object like: String clientIPAddr = request.getRemoteAddr(); You could then match this up with an expected IP or any number of other methods to determine who called you. Jen <[EMAIL PROTECTED]> Sent

Re: How do I use J2EE SDK?

2003-01-02 Thread Michael Weller
Hi! Well, you "use" j2ee by putting the contained j2ee.jar (%j2ee-install-dir%/lib/j2ee.jar) file in your classpath and by referecing classes from j2ee.jar in your code; compile just like you used to. Furthermore the J2EE SDK comes with an application server and some other EJB tools you won't need

Re: How do I.......

2002-09-23 Thread KL OOI
thanks.. - Original Message - From: "Sanjeev Verma" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 23, 2002 9:55 PM Subject: Re: How do I... > Invoke the servlet using "POST" semantics, using URLConnection etc. > > Re

Re: How do I.......

2002-09-23 Thread Santosh Kumar Janmanchi
: [EMAIL PROTECTED] Subject: Re: How do I... beside that sendRedirect, any else? because i dont want my query string to be expose - Original Message - From: "S Srinivas Nayak" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 23, 2002 6:05 PM

Re: How do I.......

2002-09-23 Thread Sanjeev Verma
Invoke the servlet using "POST" semantics, using URLConnection etc. Regards Sanjeev -Original Message- From: KL OOI [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 7:34 PM To: [EMAIL PROTECTED] Subject: Re: How do I... beside that sendRedirect, any else? beca

Re: How do I.......

2002-09-23 Thread KL OOI
beside that sendRedirect, any else? because i dont want my query string to be expose - Original Message - From: "S Srinivas Nayak" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 23, 2002 6:05 PM Subject: Re: How do I... > u may sendRe

Re: How do I.......

2002-09-23 Thread S Srinivas Nayak
u may sendRedirect to that particular url. - Original Message - From: KL OOI <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 20, 2002 9:23 AM Subject: How do I... > Hi all, > > How do I use a servlet to post the user to another site, for example hotmail > or yahoo

Re: How do I.......

2002-09-20 Thread Mark E. Zawadzki
What's the RFC ? ;-) --- Nick Kings <[EMAIL PROTECTED]> wrote: > I'd recommend that you follow the same procedure to MIME encode Trolls. > > > > First I think you are going to have to mime-encode your user, I saw an RFC > for mime-encodeing human beings somewhere . . . > > > > > -Original Mess

Re: How do I.......

2002-09-20 Thread Nick Kings
I'd recommend that you follow the same procedure to MIME encode Trolls. > First I think you are going to have to mime-encode your user, I saw an RFC for mime-encodeing human beings somewhere . . . > > > -Original Message- > > From: KL OOI [SMTP:[EMAIL PROTECTED]] > > Sent: 20 September 2

Re: How do I.......

2002-09-20 Thread Galbreath, Mark
Outstanding!!! -Original Message- From: Adrian Janssen [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 6:59 AM To: [EMAIL PROTECTED] Subject: Re: How do I... and here it is: http://www.faqs.org/rfcs/rfc1437.html > -Original Message- > From: Adrian J

Re: How do I.......

2002-09-20 Thread Galbreath, Mark
Wow, am I beat! I totally missed the humor. That was funny as sh*t!! :-0 -Original Message- From: Paul Foxton [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 4:42 AM To: [EMAIL PROTECTED] Subject: Re: How do I... ROTFL! -Original Message- From: Adrian

Re: How do I.......

2002-09-20 Thread Galbreath, Mark
or rather response.sendRedirect() (not enough coffee yet...) -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 8:10 AM To: [EMAIL PROTECTED] Subject: Re: How do I... Huh? RequestDispatcher? -Original Message- From

Re: How do I.......

2002-09-20 Thread Adrian Janssen
how to post people: see RFC 1437 (I kid you not) Isn't that what he asked for? I think he asked for it > -Original Message- > From: Galbreath, Mark [SMTP:[EMAIL PROTECTED]] > Sent: 20 September 2002 02:10 > To: [EMAIL PROTECTED] > Subject: Re: How

Re: How do I.......

2002-09-20 Thread Vikramjit Singh
> -Original Message- > From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] > Sent: Friday, September 20, 2002 5:10 AM > To: [EMAIL PROTECTED] > Subject: Re: How do I... > > > Huh? RequestDispatcher? RequestDispatcher wont work when going to some other site,

Re: How do I.......

2002-09-20 Thread Paul Foxton
sorry for adding more noise - but thats the funniest thing I've seen for a long time! Thanks for brightening an otherwise dull day :-) -Original Message- From: Adrian Janssen [mailto:[EMAIL PROTECTED]] Sent: 20 September 2002 11:59 To: [EMAIL PROTECTED] Subject: Re: How

Re: How do I.......

2002-09-20 Thread Galbreath, Mark
Huh? RequestDispatcher? -Original Message- From: Adrian Janssen [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 2:10 AM To: [EMAIL PROTECTED] Subject: Re: How do I... First I think you are going to have to mime-encode your user, I saw an RFC for mime-encodeing human

Re: How do I.......

2002-09-20 Thread Galbreath, Mark
RTFM or STFW. -Original Message- From: KL OOI [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 19, 2002 11:54 PM To: [EMAIL PROTECTED] Subject: How do I... Hi all, How do I use a servlet to post the user to another site, for example hotmail or yahoo? Thanks. Regards, KL

Re: How do I.......

2002-09-20 Thread Adrian Janssen
and here it is: http://www.faqs.org/rfcs/rfc1437.html > -Original Message- > From: Adrian Janssen > Sent: 20 September 2002 08:10 > To: [EMAIL PROTECTED] > Subject: Re: How do I... > > First I think you are going to have to mime-encode your user, I

Re: How do I.......

2002-09-20 Thread Paul Foxton
ROTFL! -Original Message- From: Adrian Janssen [mailto:[EMAIL PROTECTED]] Sent: 20 September 2002 07:10 To: [EMAIL PROTECTED] Subject: Re: How do I... First I think you are going to have to mime-encode your user, I saw an RFC for mime-encodeing human beings somewhere

Re: How do I.......

2002-09-19 Thread Adrian Janssen
First I think you are going to have to mime-encode your user, I saw an RFC for mime-encodeing human beings somewhere . . . > -Original Message- > From: KL OOI [SMTP:[EMAIL PROTECTED]] > Sent: 20 September 2002 05:54 > To: [EMAIL PROTECTED] > Subject: How do I... > > Hi all, > >

Re: How do I redirect to a different servlet after successful au thentication?

2002-06-26 Thread Galbreath, Mark
In the doProcess() (doGet(), doPost()) method of your login servlet: RequestDispatcher rd; if( login) { rd = request.getRequestDispatcher( String success); rd.forward( request, response); } else { rd = request.getRequestDispatcher( String error); rd.forward( request, response); } Where

Re: how do i use session.setAttribute for arrays?

2002-05-20 Thread David Mossakowski
oops I didn't see your reply and posted basically the same thing. sorry :) Does anyone have trouble with Mozilla not being able to keep threads together? It doesn't always put a message where it belongs in a thread. d. Galbreath, Mark wrote: > Well, I notice a few things here. > > 1. Java co

Re: how do i use session.setAttribute for arrays?

2002-05-20 Thread David Mossakowski
It looks like you trying to put each bookmark under a name in your session like this: MyBookmkarArray1 - www.ll.com MyBookmkarArray2 - www.gg.com MyBookmkarArray3 - www.kk.com MyBookmkarArray4 - www.aa.com I don't think you want to do this. See my changes to your code below But you would be be

Re: how do i use session.setAttribute for arrays?

2002-05-20 Thread Galbreath, Mark
Well, I notice a few things here. 1. Java constants should be all upper-case, so "iMaxBookmarks" should be "IMAXBOOKMARKS," and Java variables and methods should begin lower-case chars, so "MyBookmarkArray" should be myBookmarkArray. 2. I can't see how in the world you are setting a session att

Re: How do I get the timezone of

2002-02-20 Thread Rohan Shrinivas Desai
u can do that using javascript. create a Date object and use its methods to get the time . Calendar object in java will give u the time of the server i hope that helps u. -Original Message- From: Matthias Hanel [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 3:02 PM To:

Re: How do I handle the back button of the browser in servlet environment.

2001-12-26 Thread Yuriy Stepovoy
>Hi all, >I have a different servlets which does the different functions such as add, modify, delete & view. At the end of each function, the session arributes gets >removed. >One can try click on the back button of the browser & view the cached version of pages and also may click on some functi

Re: how do i pass data from servlet to jsp bean ?

2001-09-05 Thread Geeta Ramani
You should be able to use session variables. (Lots of stuff on this in the archives!) Geeta chenghong wrote: hi all,    how do i pass data from servlet to jsp bean ?  example in my servlet i have this object call config which is a hastable type.is it a way to use it in jsp bean and taglib progr

Re: How do I determine the Applet is loaded.

2001-05-24 Thread Niraj Soni
Applet has init method loading is done in init method when applet is loaded after this it calls start method any process you want to put after loading simpley put in start method - Original Message - From: "Ashok Palaniswamy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday,

Re: How do I determine the Applet is loaded.

2001-05-24 Thread Alex Amies
Cool! Put an image with text saying that the applet is loading. Also put a Javascript reference in the tag to switch the image out when the applet is loaded. This will only be called when all of the items on the page are completely loaded. See a Javascript reference on this. -Original M

Re: how do i redirect

2001-02-05 Thread Uday Prajapati
you can also use RequestDispatcher for this purpose -Original Message- From: poornima visvesvaran [mailto:[EMAIL PROTECTED]] Sent: Monday, February 05, 2001 8:29 PM To: [EMAIL PROTECTED] Subject: Re: how do i redirect Hi Jitin, Get the privilage column value from the database. if

Re: how do i redirect

2001-02-05 Thread poornima visvesvaran
Hi Jitin, Get the privilage column value from the database. if(privilage.equals("user")) { res.sendRedirect("http://hostname:8080/servlet/servlet1"); } else if(privilage.equals("admin")) { res.sendRedirect("http://hostname:8080/servlet/servlet2"); } I hope this will serve your purpose. Poornim

Re: how do i redirect

2001-02-04 Thread yogaraj
Use response.sendRedirect("UR specified servlet file path"); Have a nice time with regards Yogaraj *** REPLY SEPARATOR *** On 2/5/01 at 11:45 AM Jitin Narula wrote: >hi all, >how do i redirect from a servlet to another servlet depending on the results >from the database. >act

Re: how do i redirect

2001-02-04 Thread Srinivas K. R.
user response.sendRedirect method - Original Message - From: Jitin Narula <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 05, 2001 5:15 PM Subject: how do i redirect > hi all, > how do i redirect from a servlet to another servlet depending on the results > from the dat

Re: how do i redirect

2001-02-04 Thread Gokul Singh
- Original Message - From: "Jitin Narula" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> > how do i redirect from a servlet to another servlet depending on the results > from the database. If you are thinking of an HTTP redirect which will result in the browser issuing another request for

Re: how do i redirect

2001-02-04 Thread Manish Bhatnagar
Hi Jitin: Say... response.sendRedirect(""); Hth, Manish Bhatnagar Jitin Narula wrote: > hi all, > how do i redirect from a servlet to another servlet depending on the results > from the database. > actually i am making an user authentication form in servlest using oracle > db. which would contai

Re: How do I stop people dumping large files on my server using POST

2000-12-29 Thread Russell Gold
Mark Koscak <[EMAIL PROTECTED]> wrote: >I have spent some time on the archives, as yet I have been unable to find >information on this quesiton. > >If I have a servlet that processes form data using POST, do I have to add >functionality to stop people potentially dumping large files on the form an

Re: How do I stop people dumping large files on my server using POST

2000-12-28 Thread Gokul Singh
Hi, Each POST request has a header Content-Length*. The value of this tells the length of the request. Using this you may be able to achieve the desired functionality. A pseudo code of the form int length = request.getContentLength(); if( length > RESTRICTED LENGTH) { // take some action..

Re: HOW DO I GET CONNECTED TO MYSQL ON LINUX SERVER

2000-10-15 Thread Kwan, Kenneth Y
Try to use JDBC and you may get the driver from http://www.mysql.com/downloads/contrib.html Kenneth Kwan -Original Message- From: Mustali Kachwala [mailto:[EMAIL PROTECTED]] Sent: Saturday, October 14, 2000 3:08 PM

Re: HOW DO I GET CONNECTED TO MYSQL ON LINUX SERVER

2000-10-14 Thread jdbc
Dear MK, If you are connecting Java Application to MySQL Database following links will help you. Or you can even use VB application to communicate through MySQL Database. You visit http://www.worldserver.com/mm.mysql and download the MM MySQL JDBC DRIVERS for MySQL and user this driver to conne

Re: HOW DO I GET CONNECTED TO MYSQL ON LINUX SERVER

2000-10-14 Thread Daniel Lynn
Hi, um, if this is a JDBC question, I have some degree of knowledge and a really thick impressive looking book that I can look things up in, but I'm not fully sure what you're asking, so -Daniel Mustali Kachwala wrote: > Hi, > I am having problems getting connected to the Mysql database

Re: HOW DO I GET CONNECTED TO MYSQL ON LINUX SERVER

2000-10-14 Thread Claude HONNORE
It is a question about : 1) MySql ? 2) ODBC ? 3) Linux ? But not about servlets ?? CH - Original Message - From: "Mustali Kachwala" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, October 14, 2000 9:07 AM Subject: HOW DO I GET CONNECTED TO MYSQL ON LINUX SERVER > Hi, >

Re: How Do I refresh a SERVLET page everytime I go into it?

2000-08-10 Thread Tim Stoop
- Original Message - From: Suon, Thla <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 10, 2000 11:32 PM Subject: How Do I refresh a SERVLET page everytime I go into it? > Please let me know. I would appreciate your help. Thank you. As far as I know, it is refreshed

Re: how do I?

2000-07-30 Thread George I Matkovits
IMHO you could send the XML data stream over http to the servlet (jsp) and use xerces (apache) or jaxp (sun) to parse it there. Use url.connect to the servlet(jsp) and use the data streams of the connection objet for the data transfers Regards. Howard Lee wrote: > Hi guys, > > I have a program t

Re: How do i find where the class file is stored?

2000-07-16 Thread George I Matkovits
Please try MySQL at: http://www.mysql.com/ . There are also app notes, samples and Type 4 JDBC drivers there (with source for your learning experience!). It is also free. It has a very, very large user base. I believe that there is also a book on it! Regards. Rob Hazlewood wrote: > Hi all! >

Re: How Do I Insert Informations into a BLOB datatype Column...PleaseHelp.

2000-07-10 Thread Jayakumar
You can use the setBinaryStream() of PreparedStatement. If you have a table with two name (of type varchar2) and data (of type BLOB), then you can use the following code sample, ... Connection con = .; try { PreparedStatement pst = con.prepareStatement("insert into mytab

Re: How Do I Insert Informations into a BLOB datatype Column...Please Help.

2000-07-10 Thread Danny Rubis
Hey! I recommend that you *do not* use PL-SQL. Oracle themselves have dropped this in favor of Java. PL-SQL was proprietary to Oracle. One credit to Oracle is they are learning the lesson that Microsoft still has not learned. Instead do something like this: try { PreparedStatem

Re: How Do I Insert Informations into a BLOB datatype Column...Pl ease Help.

2000-07-10 Thread Grant Cullen
Check out site http://www.rocket99.com/oracle/ under link PL-SQL there is sample code for dealing with blobs. Grant Cullen UNIX System Admin [EMAIL PROTECTED] 416-935-6558 -Original Message- From: Suon, Thla [mailto:[EMAIL PROTECTED]] Sent: Monday, July 10, 2000 13:42 To: [EMAIL PROTEC

Re: How do i Upload a file whit servlets? URGENT!!

2000-05-28 Thread Jason Hunter
> >Luckily I've been around long enough to strongly suspect this is that > >famous ArrayIndexOOBE bug in JSDK 2.0. BMP and PDF files are notorious > >for having long lines. You can upgrade to a more modern servlet engine, > >or read the FAQ at http://www.faqtory.com/servlets/main.jsp. > > > >-jh

Re: How do i Upload a file whit servlets? URGENT!!

2000-05-24 Thread Desarrollo
--- Jason Hunter <[EMAIL PROTECTED]> escribió: --- >> I try to use this package >> http://www.servlets.com/resources/com.oreilly.servlet/Multi >> >> , but thare is a error ocurr when a try to upload a >> file whit extension '.bmp' or '.pdf', >> >> Do you have any idea to solve this? > >Why does

Re: How do i Upload a file whit servlets?

2000-05-24 Thread Jason Hunter
> I try to use this package > http://www.servlets.com/resources/com.oreilly.servlet/Multi > > , but thare is a error ocurr when a try to upload a > file whit extension '.bmp' or '.pdf', > > Do you have any idea to solve this? Why does no one ever include an error message? Do people think we can

Re: How do I call classes or beans

2000-04-11 Thread Karl Roberts
Chris Powell wrote: > > Hi, > Can anyone assist me, PLEASE. > I have created a JSP and included a call to a simple bean which all > works fine. > I need to know how within my bean I can call another class/bean? > > I am trying to write a validate bean that calls a 'wrapped database > procedure' cl

Re: How do I set paths in JSDK2.1

2000-03-13 Thread shishirk
set it in ur classpath and then it will be taken from there as usual for the rest of the jars also add the things in ur path too for some execution of the servlet runner too okay have fun and respond back to me bye shishir *** Change is Inevident eve

Re: ? How do I know if a request is coming from browser's cache.

2000-02-02 Thread Craig R. McClanahan
SUH wrote: > Hi, all. Is there any way to check a request if it is coming from > browser's cache ? The problem is :When users refresh web pages, > browsers repost data to my servlet.My servlet should not do anything > if the request is sent by refreshing web pages. Thanks in > advance. Chang You

Re: ? How do I know if a request is coming from browser's cache.

2000-02-02 Thread Charles Forsythe
> Is there any way to check a request if it is coming from browser's > cache ? The problem is :When users refresh web pages, browsers repost > data to my servlet.My servlet should not do anything if the request is > sent by refreshing web pages. 1. Download a hidden, unique "transaction ID" with

Re: ? How do I know if a request is coming from browser's cache.

2000-02-02 Thread Denis Bucher
> SUH a écrit : Hello ! > Is there any way to check a request if it is coming from browser's cache ? This question is inadequate to your problem : > The problem is : > When users refresh web pages, browsers repost data to my servlet. > My servlet should not do anything if the request is sent b

Re: How do I make a servlet bean using classes in a package?

1999-12-31 Thread Reginald Braithwaite-Lee
Craig: --- "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote: > Reginald Braithwaite-Lee wrote: > > > Hello! > > > > I am trying to build a servlet bean which uses classes in a > package. > > The simplest example would be a one class servlet derived from > > HttpServlet, but which is in my own pack

Re: How do I make a servlet bean using classes in a package?

1999-12-31 Thread Craig R. McClanahan
Reginald Braithwaite-Lee wrote: > Hello! > > I am trying to build a servlet bean which uses classes in a package. > The simplest example would be a one class servlet derived from > HttpServlet, but which is in my own package (com.yell-it-out.servlets). > > e.g. the servlet itself is class com.yel

Re: How do I make a resultset scrollable ?

1999-12-14 Thread N Zulfikhar Ali
hi, i think ur using JDBC-ODBC bridge for connectivity. sun has not implemented scrollable resultset feature in the current release of JDBC-ODBC bridge. they may do it in the next release. plese check out with sun's online support for further confirmation. good luck zulfi On Mon, 13 Dec 1999

Re: How do I make a resultset scrollable ?

1999-12-14 Thread Harichandra Reddy S
hi, it means that jdbc driver does not support jdbc 2.0 ,it maight be jdbc 1.0 .jdbc 1.0 does not support scrollable resultset.so check that driver version. bye, hari. At 12:49 PM 12/13/99 -0600, you wrote: >Hi everybody ! > > I my servlet I have a Query to a database which should retrieve ser

Re: How do I make a resultset scrollable ?

1999-12-14 Thread Joe Lei
is this version of driver available for Oracle? - Original Message - From: Neerav Aggarwal <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 14, 1999 1:46 PM Subject: Re: How do I make a resultset scrollable ? > make sure that your JDBC driver is JDB

Re: How do I make a resultset scrollable ?

1999-12-13 Thread jk
add this code Statement stmt = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_READ_ONLY); driver should support jdbc2.0 . jk Neerav Aggarwal wrote: > make sure that your JDBC driver is JDBC 2.0 compliant because first() and prev() >

Re: How do I make a resultset scrollable ?

1999-12-13 Thread Neerav Aggarwal
make sure that your JDBC driver is JDBC 2.0 compliant because first() and prev() methods are supported by the JDBC 2.0. - Original Message - From: Santana, Jaime To: [EMAIL PROTECTED] Sent: Tuesday, December 14, 1999 12:19 AM Subject: How do I make a resultset scrollable ? Hi everybody

Re: How do I make a resultset scrollable ?

1999-12-13 Thread Giri Lingamarla
Add two more arguments to the method create statement like: Statement stmt = con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY); The first argument must be one of these three constants: TYPE_FORWARD_ONLY: nonscrollable result set(default) TYPE_SCROLL_I

Re: How do I convert Java application to EXE ? (off topic)

1999-11-24 Thread Ajay singh bhadauria
There are some IDE for java which can convert your class files to an exe. One such which I know is 'SuperCede Java'. It can converts your class filess to IBM compatible exe's. Ajay >-- >From: Sanjay[SMTP:[EMAIL PROTECTED]] >Sent: Wednesday, November 24, 1999 1:03 PM >To:[EMAIL PR

Re: How do I convert Java application to EXE ? (off topic)

1999-11-24 Thread Tsao Su Jen
Hi, I was trying to find out how to do just that too. I'm using Visual Age for Java, which includes a "high performance java compiler" that can compile java programs to native code for different platforms. I wanted to compile a pretty simple java program (1 .java file only, no GUI, use java.lang o

Re: How do I convert Java application to EXE ? (off topic)

1999-11-24 Thread Andrea Lardicci
There is an IBM compiler that do what you wanted. It was at alphaworks site. ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.ja

Re: How do I convert Java application to EXE ? (off topic)

1999-11-24 Thread G Ramesh [Support]
Please try to visit the following url http://www.symantec.com Regards, gramesh On Wed, 24 Nov 1999, Sanjay wrote: > How can I convert my Java application (total 3 class files) to a EXE file

Re: How do I conditionally include a file/page

1999-11-03 Thread Erik Sahl
va Servlet > API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Karl > Roberts > Sent: Wednesday, November 03, 1999 6:37 AM > To: [EMAIL PROTECTED] > Subject: Re: How do I conditionally include a file/page > > > Hi, > yes it is possible, this will include

Re: How do I conditionally include a file/page

1999-11-03 Thread Karl Roberts
Hi, yes it is possible, this will include the result of another.jsp into your page: <% if(true) { %> <%@ include file="another.jsp" %> <% } %> however if you want to use the "include page" try using but beware that it will be unparsed ie it will ju

Re: How do i call a Jsp from a Servlet

1999-11-02 Thread Steve Buonincontri
There was a very good article that discussed this in Java Report. I forgot what addition. But it used a "call" function. - steveb ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "si

Re: How do i call a Jsp from a Servlet

1999-11-02 Thread Chris Gow
getRequestDispatcher() was added to the Servlet 1.1 API. If you (or your Servlet engine) is using the 2.0 Servlet API then this method is not availible to you. Instead, you can use the old, now deprectated API, getServletConfig().getServlet() and call the doGet or doPost methods directly. Chris

Re: How do I discover security details?

1999-10-26 Thread Craig McClanahan
Mike Spreitzer wrote: > How (in which version(s) of servlets?) do I discover security details > beyond the basics revealed by HttpServletRequest.getAuthType, > getUserPrincipal, isSecure, and isUserInRole? In particular, I'd like to > get (1) the X.509 certificate, if any, presented by a client

Re: how do i?

1999-09-16 Thread Jyoti Parthasarathy
Hi Hemant, Check the Classpath that has been set. Jyoti -Original Message- From: Hemant Gore [SMTP:[EMAIL PROTECTED]] Sent: Thursday, September 16, 1999 1:12 PM To: [EMAIL PROTECTED] Subject:how do i? hi i am writing for the first time and after going through the ini

Re: How do I Unsubscribe?

1999-08-20 Thread Chris Ferris - Enterprise Architect - EMA
James, Actually, I've tried changing my options (to get the digest) but the list server doesn't recognize me despite the fact that I AM on the list. I guess somehow, my email address has changed, possibly due to the email server consolidation or an OS upgrade which might have changed the mapping

Re: How do I Unsubscribe?

1999-08-20 Thread James Todd
hi mark, et al - the web interface to listserv appears to be quite snappy these days. so much so that we may start adding a message to the footer as to how to go about removing or changing your registration information. can you try going to: http://archiv

Re: How do I submit a JDK bug?

1999-08-19 Thread Chris Pratt
2 AM Subject: Re: How do I submit a JDK bug? > Jason. > > Look at 'tradeDate.set()'. The month is set as mm-1 > > --Olu E, > > > > > > > Calendar tradeDate = Calendar.getInstance(); > > tradeDate.set(, mm-1, d

Re: How do I submit a JDK bug?

1999-08-16 Thread Jason Hunter
Emuleomo, Olu (PME) wrote: > > Jason. > > Look at 'tradeDate.set()'. The month is set as mm-1 Ooh, the plot thickens then... :-) OK, so I tried the code on IRIX with JDK 1.1.5, and it works fine. Seems you may have a JDK bug. The URL to report this is http://java.sun.com/cgi-bin/bugreport.cgi.

Re: How do I submit a JDK bug?

1999-08-16 Thread Emuleomo, Olu (PME)
em.err.println("Tradedate is " + tradeDate.getTime() + > ", DAY_OF_WEEK = " + tradeDate.get(Calendar.DAY_OF_WEEK)); > > -Original Message- > From: Jason Hunter [SMTP:[EMAIL PROTECTED]] > Sent: Monday, August 16, 1999 1:14 PM > To: [EMAIL PROTECTED] >

Re: How do I submit a JDK bug?

1999-08-16 Thread Jason Hunter
Emuleomo, Olu (PME) wrote: > > Sorry. Left ot the line > > int =1999; > int mm=08; > int dd=13; > Should print 6 for DAY_OF_WEEK (Friday). But it prints 0 > (or some other number) Months are 0 based, so mm=08 is September. That's why you're not getting Friday. Days meanwhile are 1 based, s

Re: How do I submit a JDK bug?

1999-08-16 Thread Emuleomo, Olu (PME)
Sorry. Left ot the line int =1999; int mm=08; int dd=13; > -Original Message- > From: Emuleomo, Olu (PME) > Sent: Monday, August 16, 1999 12:28 PM > To: 'A mailing list for discussion about Sun Microsystem's Java Servlet > API Technology.' > Subject: How do I submit a JDK bug?

Re: How do I set the current date thru JDBC.

1999-07-25 Thread Chris Pratt
Then use the new Date(System.currentTimeMillis()) call, it is equivalent. (*Chris*) - Original Message - From: Wilson. P <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 13, 1999 2:19 AM Subject: Re: How do I set the current date thru JDBC. > Sorry to

Re: How do I set the current date thru JDBC.

1999-07-25 Thread Chris Pratt
ay, July 13, 1999 3:19 AM Subject: Re: How do I set the current date thru JDBC. > First get the current date from > > java.util.Date > > Date currentDate=new Date(); > > then convert it into long type. > > then pass that as a parameter to the java.sql.Date constr

Re: How do I set the current date thru JDBC.

1999-07-25 Thread Joe Sam Shirah
hirah Autumn Software -Original Message- From: Cezar Totth <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Friday, July 23, 1999 9:22 PM Subject: Re: How do I set the current date thru JDBC. >Hi, > >I need to know, is this example standard SQ

Re: How do I set the current date thru JDBC.

1999-07-25 Thread Cezar Totth
Hi Wilson, The java.sql.Date does not have an empty constructor. Use "absolute" class refferencing to java.sql.Date types in your .java sources if you also include java.util.* : java.sql.Date mySqlDate = new java.sql.Date(System.currentTimeMillis()); Cezar /usr/games/fortune randomly gener

Re: How do I set the current date thru JDBC.

1999-07-24 Thread Bob Withers
(ID, NAME) VALUES ('E15','Wilson P'); > > (*Chris*) > > > > - Original Message - > > From: Wilson. P <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Monday, July 12, 1999 11:37 PM > > Subject: Re:

Re: How do I set the current date thru JDBC.

1999-07-23 Thread Chris Pratt
I have no idea, I know it works on Oracle. (*Chris*) - Original Message - From: Cezar Totth <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 19, 1999 1:53 AM Subject: Re: How do I set the current date thru JDBC. > Hi, > > I need to know, is this

Re: How do I set the current date thru JDBC.

1999-07-23 Thread Cezar Totth
ES (ID, NAME) VALUES ('E15','Wilson P'); > (*Chris*) > > - Original Message - > From: Wilson. P <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, July 12, 1999 11:37 PM > Subject: Re: How do I set the current date thru JDBC. >

Re: How do I limit access to servlets to one user at a time?

1999-07-21 Thread Mukul Gandhi
Thanks James. I'll follow the guidelines -mukul At 08:50 PM 7/21/99 -0700, you wrote: >hi mukul - > >this list is not actively monitored by sun. put another >way, if you post a message to the list from an address >which is subsribed to the list then your message will >

Re: How do I limit access to servlets to one user at a time?

1999-07-21 Thread James Todd
hi mukul - this list is not actively monitored by sun. put another way, if you post a message to the list from an address which is subsribed to the list then your message will get posted to the list. we require posters to be registered to minimize the "spam

Re: How do I limit access to servlets to one user at a time?

1999-07-21 Thread Mukul Gandhi
Hi, I feel some of my mails are getting filtered from this list. May be after some discussion on this list regarding not answering questions which are "off topic". Recently I answered question regarding thin & thik drivers which was not related to servlets. I think we should respect the charter of

Re: How do I limit access to servlets to one user at a time?

1999-07-21 Thread Xizhen Wang
Thanks for all your suggestions! So, I think I have following questions before I can solve my problem. How can I do these in Servlet session? 1. OnInvalidate Event (so I can set the flag "off" to let another user login, even the current user simply closed his browser without logout) or 2. get/pee

Re: How do I limit access to servlets to one user at a time?

1999-07-20 Thread Joe Sam Shirah
Xizhen, Don't do this to real live users. > You could just put all of the interesting stuff off in another >method and declare that method with the synchronized keyword, so >subsequent servlet requests will hang until the current request exits >the synchronized method.

Re: How do I limit access to servlets to one user at a time?

1999-07-20 Thread Mukul Gandhi
Although Steven gave good suggestions to solve this problem, but I think what Xizhen wants is "when the browser closes, then only servlet is allowed to be run by another user". If I use synchronized to lock some code or use single threaded model where service method of the servlet cannot be execut

  1   2   >