Re: where to store bean?

2001-02-01 Thread Deepak C S
in /WEB-INF/classes > -- > From: Crisalyn Ramos[SMTP:[EMAIL PROTECTED]] > Reply To: A mailing list about Java Server Pages specification and > reference > Sent: Friday, February 02, 2001 12:51 PM > To: [EMAIL PROTECTED] > Subject: where to store bean? > > Guys,

where to store bean?

2001-02-01 Thread Crisalyn Ramos
Guys, Hi. I would like to know where to store bean so that i could access them with my jsp file via the import statement and useBean... thanks! Joy _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.co

File Upload to database

2001-02-01 Thread JSP Beginner
Hi, I am new to JSP. I want to upload a fixed format text file from the user's machine to the Oracle database. I would appreciate if somebody could guide me how this can be done. Better still, if somebody can send me the sample code with some explanation. Thanks in advance, Regards, K. A.

Re: float to decimal?

2001-02-01 Thread Manish Joshi
hey i solved it, MJ === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at

Re: float to decimal?

2001-02-01 Thread Ramesh, Kesav
what is the error you are getting??? Regards Ramesh Kesavanarayanan Electronic Data Systems Steeple Reach, 25, Cathedral Road, 91-44-811 3801 to 15 ext :2186 91-44-233 0380 (res) [EMAIL PROTECTED] [EMAIL PROTECTED] -Original Message- From: Manish Joshi [mailto:[EMAIL

Re: Escaping ' in a SQL INSERT

2001-02-01 Thread Artigas, Ricardo Y.
I think it should be insert into tablename(field1) values(value1,'ab''c'); :^) Ricky Y. Artigas Analyst/Programmer Information Technology Division Easycall Communications Phils., Inc. - Easycall Internet - 418 Arayat St., Mandaluyong City 1550, Philippines Personal WAP Site: http://www.buzzed.co

Re: Escaping ' in a SQL INSERT

2001-02-01 Thread Chitra Muthukrishnan
Use double single quote . For example, if you want to insert ab'c, your insert statement will be like this : insert into tablename(field1) values(value1,'ab''c); M.Chitra www.3rdagenda.com - Original Message - From: Anil John <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday,

float to decimal?

2001-02-01 Thread Manish Joshi
hi all, i have a column in my database(DB2) with type=decimal,i m suceessfully gettin this out.println(rs1.getFloat("app_rate")); but when i try to assign it to float variable like this, float app_rate1=rs1.getFloat("app_rate"); it is givin errors, any brains..? thx MJ ==

Fwd: UNCLASSIFIED: dbSwing Applet cannot be not instatiated

2001-02-01 Thread S. Atif Naeem
Hi All, I had a similar problem of "applet cannot be inst" but got fixed with 1. setting the classpath to include used libs of Java on server (through Environment variable) 2. Worked fine on Netscape (4.0 >) with doing 1. (you may see java console for exceptions) 2'. On Internet Explorer

Re: Editable Combo Box

2001-02-01 Thread Willy LEGIMAN
Editable Combobox Try: http://www.ycode.com/ComboBox/Latest/combo_box_simple.htm I think Oracle JDeveloper includes a Combobox bean to do that too. Regards -Original Message- From: [Jwas J] [mailto:[EMAIL PROTECTED]] Sent: Friday, 2 February 2001 15:34 To: [EMAIL PROTECTED] Subject: Re

Re: Editable Combo Box

2001-02-01 Thread [Jwas J]
Hi Seb, Thanks for the quick reply you can enter values in combo box with Javascript: function addValues(value,text) { document.FORM_NAME.COMBO_NAME.options[document.FORM_NAME.COMBO_NAME.options. length] = new Option(value, text); } But the requirement is that user should be able to

[ANN] ServletExec 3.1 Released

2001-02-01 Thread Vince Bonfanti
New Atlanta is pleased to announce the release of ServletExec 3.1 and ServletExec Debugger 3.1, both of which are available for immediate download: http://www.servletexec.com/download.jsp This maintenance (bug fix) release is a free upgrade for owners of ServletExec 3.0, 3.0C, and 3.0E. Serv

Re: FW: Jrun to Tomcat conversion

2001-02-01 Thread Anil Menon
Hi, One of the reasons for the switch is the future switch to Vignette. Vignette StoryServer engine uses Tomcat for all its JSP stuff. Thank you very much for the warning. Cheers AK --- "M. Simms" <[EMAIL PROTECTED]> wrote: > A good question: > WHY ARE YOU DOING THIS ? > > Tomcat 3.1 performance

Re: jsp object(Param) and javascript

2001-02-01 Thread Hans Bergsten
Michael Sweeney wrote: > > Look into Rhino (http://www.mozilla.org/js/) and BSF > (http://oss.software.ibm.com/developerworks/projects/bsf) through which you > can expose the Java API to javascript and evaluate js code on the server. > > .michael. Not to rain on your parade, but both these produc

Re: Re-execution of servlet

2001-02-01 Thread Venkat
Hi Shashwati! Off late, i came accross the same situation, and give tell u how did i solve this.. When u come to the page page which adds a record to the table, come with a parameter from previous page, let's say parameter 'addToken=yes' and add record only if request.getParameter(("addToken").

Escaping ' in a SQL INSERT

2001-02-01 Thread Anil John
Greetings, I am new to JSP, so if this question has been asked and aswered before, please point me to the FAQ. If not, could someone provide a code sample of how you escape a ' when doing a SQL Insert in JSP? I am familiar with the VBScript replace function that would allow you to do this and a

Re: jsp object(Param) and javascript

2001-02-01 Thread Michael Sweeney
Look into Rhino (http://www.mozilla.org/js/) and BSF (http://oss.software.ibm.com/developerworks/projects/bsf) through which you can expose the Java API to javascript and evaluate js code on the server. .michael. At 12:44 PM 2/1/01 -0600, you wrote: > ok, hmm, I see what you are saying, but

Re: Which JSP Engine/Application Server is the best?

2001-02-01 Thread M. Simms
There's pockets of brilliance at IBM, but also lots of administrative bungling.. good example: I ordered a trial, 90 day version of DB2/UDB 7.1. Took 60 days to be delivered.when I received it, only 30 days remained on the license ! > -Original Message- > From: A mailing list a

Transaction Handling..

2001-02-01 Thread Sreemushta, Santhosh (c)
This might not be a JSP related issue. But however if anyone knows more about this please respond. I've an application where in once use logs in his connection object is stored in a session and this is fetched whenever he inserts/deletes/updates the database. To control transactions I did the fo

Re: jsp object(Param) and javascript

2001-02-01 Thread Tosa, Alex
if you want to do it w/o reloading the page you can place a small applet that will talk to your server object. from javascript you can pass a value to the applet and the applet will send it to the server. anyway the best bet maybe is to change your design. -Original Message- From: Yan Zhu

Re: Disallowing concurrent login

2001-02-01 Thread Hans Bergsten
Venkat wrote: > > Hi All > > This has reference to an previous discussion on 'disallowing concurrent > login' and Mr.Hans Bergsten came out with a suggestion of implementing > HttpSessionBindingListener interface, add every new user to a vector, check > the existence when a new user logs in ... >

Re: Which JSP Engine/Application Server is the best?

2001-02-01 Thread Ivan Kougaenko
orion has been my fav. for a while now.. check it out www.orionserver.com _Ivan -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Jann VanOver Sent: Wednesday, January 31, 2001 2:51 PM To: [EMAIL PROTECTED]

Re: refresh of Session scoped beans

2001-02-01 Thread Hans Bergsten
Peter Bishop wrote: > > -Original Message- > From: A. C. [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 01, 2001 1:59 PM > To: [EMAIL PROTECTED] > Subject: Re: refresh of Session scoped beans > > > A recent thread out here has me playing with the "scope" attribute of the > > tag. U

Re: Re-execution of servlet

2001-02-01 Thread Hans Bergsten
Shashwati Panigrahi wrote: > > Hi All, > > I am describing my situation below. > I have a page called AddTicket.jsp, which sends all the ticket related data > entered by the user to the servlet AddTicket.java. > > Now AddTicket.java creates a new ticket id by fecthing the maximum ticket id > from

UNCLASSIFIED: dbSwing Applet cannot be not instatiated

2001-02-01 Thread PAPPLE HAMISH,MR
I own JBuilder 3.5, and am having problems with dbSwing. I have created a JdbTable that gets populated from a text file (using a TableDataSet and TextDataFile). It works fine when run in JBuilder. However, will not run when deployed (it loads but cannot be instantiated. And my other Swing Applet

Re: refresh of Session scoped beans

2001-02-01 Thread A. C.
> A recent thread out here has me playing with the "scope" attribute of the > tag. Unfortunately, I have hit a wall. When using a bean of > scope="session", which is populated from an HTML form using a > . The initial population of the > bean is OK, however when I hit "back" on the browser to mak

Re: refresh of Session scoped beans

2001-02-01 Thread A. C.
> I agree that this will solve the problem, but at the same time doesn't that > defeat alot of the "convenience" associated with the JSP/Beans combo? For a > large form, that is alot of bean.setProperty... calls. I know, but unlickily this is the only way to solve the problem. The setProperty tag

Re: Re-execution of servlet

2001-02-01 Thread Gustavo Mateos
I think that forward is an internal redirection in the server, so the client browser still sees the same original url. Check it searching the word "forward" in www.jspinsider.com for more info. Hope it helps. - Original Message - From: Shashwati Panigrahi <[EMAIL PROTECTED]> To: <[EMAIL P

how to start the server

2001-02-01 Thread Ramagopal, Mudigonda (CORP, Consultant)
Hi the JSP group, I have been using the JSWDK for long.Recently, i downloaded the tomcat4.0. Could some one clarify me on how to start the server, with out using the 'startup.bat' file.Also, which all the JAR files to be kept in classpath.Can i specify my own document root and port dynamically(as

Re: how best to execute long-running batch process in JSP

2001-02-01 Thread Tim Keuning
Why not create a class that implements Thread? You could start it from your JSP page or servlet, and it should run in the background. Then, your JSP page will continue processing concurrently with the ODBC process. -- Tim Keuning -

session/servlet container question

2001-02-01 Thread Phil Swenson
Do any of the appserver or servlet container products support maintaining sessions across multiple webservers???...that is, I would set up our load balancer so it didn't need to maintain the connection/session on one specific machine, it could bounce around to the fastest one at that moment. To av

Re-execution of servlet

2001-02-01 Thread Shashwati Panigrahi
Hi All, I am describing my situation below. I have a page called AddTicket.jsp, which sends all the ticket related data entered by the user to the servlet AddTicket.java. Now AddTicket.java creates a new ticket id by fecthing the maximum ticket id from the database and adding 1 to it. Then AddT

global.jsa file

2001-02-01 Thread A. C.
Does Tomcat support the "golbal.jsa" init file? If yes, where do i've to put it and what's its template? Thanx. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECT

Re: refresh of Session scoped beans

2001-02-01 Thread Peter Bishop
-Original Message- From: A. C. [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 01, 2001 1:59 PM To: [EMAIL PROTECTED] Subject: Re: refresh of Session scoped beans > A recent thread out here has me playing with the "scope" attribute of the > tag. Unfortunately, I have hit a wall. Whe

Re: jsp object(Param) and javascript

2001-02-01 Thread Dawei Jiang
Don't be too dispointed, I may have a solution for your problem. I think you can have an input field in the form and have your parameter in that field and the request will send it for you, on the javaside, use request.getParameter to get it, look like that, at client site: function assignValue()

Re: jsp object(Param) and javascript

2001-02-01 Thread Yan Zhu
ok, hmm, I see what you are saying, but it's a bit disappoiting. I really need a way to dynamically pass a javascript parameter to the server object. :( thanks a lot though. yan Hung Yee wrote: > I think we're getting confused on what i mean by 'access'. When I mean > 'access' I'm ta

Re: jsp object(Param) and javascript

2001-02-01 Thread Hans Bergsten
Yan Zhu wrote: > > Hung Yee wrote: > > > Javascript code on the client cannot access Java objects that were created > > in the JSP page on the server! > > > > but I did. In fact, I have a ejb created on a totally different server, and I > got > the remote interface, persisted that in http sess

Re: refresh of Session scoped beans

2001-02-01 Thread Peter Bishop
Hi, Thanks for the response. The exact syntax of the page is: So I think the bean is created correctly (?). This initial form/bean combination is then forwarded on to a confirmation page where the user can validate that what was entered is correct (at this point, the data entered into the f

FTP command

2001-02-01 Thread Richard Diaz
Hi does anyone know of a good resource for LINUX commands, specifically FTP. thanks, Rich === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set J

Re: refresh of Session scoped beans

2001-02-01 Thread Kevin Jones
Where are your setProperty elements If your page looks like this Does it still fail? Kevin Jones DevelopMentor www.develop.com > -Original Message- > From: A mailing list about Java Server Pages specification and reference > [mailto:[EMAIL PROTECTED]]On Behalf Of Peter Bishop > S

Re: jsp object(Param) and javascript

2001-02-01 Thread Hung Yee
I think we're getting confused on what i mean by 'access'. When I mean 'access' I'm talking about directly getting a pointer to the object's address in memory, not about evaluating a expression and assigning that value to some other variable or expression. Hans' article talks about passing a var

Transform taglibrary updated to 1.2

2001-02-01 Thread Joseph Ottinger
The transform tag library (http://epesh.com/transformtags.jsp) have been updated to version 1.2, after the addition of a regular expression transformation. This allows you to do something like: \'([^\']+)\' "$1" 'James', James 'Bond' And get "James", James "Bond" in the output stream

Re: WebLogic cooperation with IDE's

2001-02-01 Thread Angus Mezick
Webgain (visual cafe) and BEA have some sort of marketing agreement and one owns a piece/most of the other. The integration between the two is VERY tight and works rather well. I have been trying to contact webgain through email about getting the 4.1 upgrade though. So far it has been 2 days. T

Re: jsp object(Param) and javascript

2001-02-01 Thread Dawei Jiang
The point is any JavaScript code can get the value of Java object, but you can not alter those java objects by javascript. if you like to do the work like <% String name = javaObject1.getName(); %> function myFunction() { var name = <%= name%>; name = name+" test"; if (document.yourForm.yourN

Re: jsp object(Param) and javascript

2001-02-01 Thread Yan Zhu
Hung Yee wrote: > Javascript code on the client cannot access Java objects that were created > in the JSP page on the server! > but I did. In fact, I have a ejb created on a totally different server, and I got the remote interface, persisted that in http session, and called it from javascrip

jsp object(Param) and javascript

2001-02-01 Thread Yan Zhu
ok, a little twist, anyone done calling a java object method inside of a javascript with a Parameter (which is a javascript variable) ? thanks yan Hung Yee wrote: > Here's some more details as to what is happening between jsp code and > javascript code: > http://thejspbook.com/faq/det

refresh of Session scoped beans

2001-02-01 Thread Peter Bishop
Hi all, A recent thread out here has me playing with the "scope" attribute of the tag. Unfortunately, I have hit a wall. When using a bean of scope="session", which is populated from an HTML form using a . The initial population of the bean is OK, however when I hit "back" on the browser to make

Re: jsp object(Param) and javascript

2001-02-01 Thread Hung Yee
Javascript code on the client cannot access Java objects that were created in the JSP page on the server! The link that I gave you shows you how to create javascript code using jsp, BUT the jsp code itself is only executed at the server and the javascript code that is dynamically built by the jsp

Re: jsp object and javascript

2001-02-01 Thread Yan Zhu
Ha Ha! It worked! You guys are too cool! thanks yan Hung Yee wrote: > Here's some more details as to what is happening between jsp code and > javascript code: > http://thejspbook.com/faq/details.jsp?id=1003 > > -Original Message- > From: Yan Zhu [mailto:[EMAIL PROTECTED]] > Sent:

Pointers on JavaDoc-ing JSPs

2001-02-01 Thread Stefán F. Stefánsson
Hi. I'm wondering if anyone has any pointers about how to document and comment code in JSPs so that they can be read and parsed by JavaDoc. I don't think you can have the JavaDoc tool examine JSPs themselves but perhaps it's possible to generate JavaDoc from the servlet code generated by the ser

Logout

2001-02-01 Thread Marino Vittorio
Hi folks, I am trying to log out from my web app. I am using JDBC realm to authenticate users. Any clue? Thanks, Vittorio === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMA

[SOLVED] Re: How get a JSP to write CSV file?

2001-02-01 Thread Peter Pilgrim
DOH! 1) The MIME type was wrong it should have been "application/csv" not "cvs"! I got Concurrent Version System on the brain ( I must read my code. I must read my code. I must read my code. ){1 , 50 } 2) The comma donot nee

Re: Editable Combo Box

2001-02-01 Thread Castiaux, Sebastien
you can enter values in combo box with Javascript: function addValues(value,text) { document.FORM_NAME.COMBO_NAME.options[document.FORM_NAME.COMBO_NAME.options. length] = new Option(value, text); } Seb > -Original Message- > From: [Jwas J] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, F

Re: How get a JSP to write CSV file?

2001-02-01 Thread Peter Pilgrim
Thanks a lot Hans! Does anybody know what this flipping Comma-Separated-Value format is exactly?! because it does NOT work for me? What I am doing wrong? I though the syntax was = [ "," ] * '\n'; ::= any character except for quote or double quote!!! Does anybody have a Servle

Re: Error Accessing Connection pool

2001-02-01 Thread Yogeeta_Raghunathan
Thanks. That was the problem. It was an error in putting the initial context factory and provider_url. Thank You T R Yogeeta > -- > From: Lee Turner[SMTP:[EMAIL PROTECTED]] > Reply To: A mailing list about Java Server Pages specification and > reference > Sent: Wedne

New tag libraries available

2001-02-01 Thread Joseph Ottinger
I'd like to announce a major revision to the Taglib Roadmap I created well over a year ago, it seems, at http://epesh.com/tagroadmap.jsp, and also announce that I now have five taglibraries available for download: 1) Transform (http://epesh.com/transformtags.jsp), for transforming content (includ

Editable Combo Box

2001-02-01 Thread [Jwas J]
Hi, Is there any editable combo box available in html ? In Normal Combo box i can only select but the requirement is that the user can select as well as enter values in Combo box . Can anyone help me out ? Jwas =

WebLogic cooperation with IDE's

2001-02-01 Thread Edward Garson
Greetings All I am interested in hearing from developers using BEA WebLogic. We have bought this product but not standardised on a development environment. We are primarily a Borland shop, and thus tend toward JBuilder, especially given that it supposedly has good integration with this product.

Re: Disallowing concurrent login

2001-02-01 Thread John Thomas
Hi, A example is available in Professional JSP from wrox, pls check it out John thomas Venkat <[EMAIL PROTECTED]>@java.sun.com> on 02/01/2001 02:50:03 PM Please respond to A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]> Sent by: A mailing li

Thanks!! Re: [JSP-INTEREST] Which JSP Engine/Application Server is thebest?

2001-02-01 Thread ZHU Jia
Thanks to all of you! Some of the detailed analysis really help me A LOT! Now at least I know where to begin to look! I must say I'm pleasantly surprised by the response time of this list, thank you one more time, all of you! best regards ZHU Jia =

Disallowing concurrent login

2001-02-01 Thread Venkat
Hi All This has reference to an previous discussion on 'disallowing concurrent login' and Mr.Hans Bergsten came out with a suggestion of implementing HttpSessionBindingListener interface, add every new user to a vector, check the existence when a new user logs in ... I have implemented a soluti

Re: Pass Parameters and Nested Jsp Question

2001-02-01 Thread Kevin Jones
The answers yes. Doing it yourself is thje best way to learn. This is such an easy thing to try, you should have tried it before sending the question here, Kevin Jones DevelopMentor www.develop.com > -Original Message- > From: A mailing list about Java Server Pages specification and ref

How to control Jsp Script timeout?

2001-02-01 Thread Malik Himanshu
I am looking for a way to control the Jsp script time out in Jrn. Any ideas or guidance would be highly appreciated. Thanks, himanshu __ Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ ==

Re: jsp object and javascript

2001-02-01 Thread Castiaux, Sebastien
thanks a lot, I was also looking for such method but I didn't think it was possible. seb > -Original Message- > From: Konuru, Raghu [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 01, 2001 1:30 AM > To: [EMAIL PROTECTED] > Subject: Re: jsp object and javascript > > > You can use ge

JSP FAQ & Resource Information

2001-02-01 Thread Anil K. Vijendran
This is a weekly informative posting to the jsp-interest list. Before asking questions of a general nature, please check out the resources available online to see if your question already has an answer. The best place to start

Jrun to Tomcat conversion

2001-02-01 Thread Anil Menon
Hi, I am new to the list, sorry if this has been discussed before. I was wondering if anybody had gone through this process before and if any issues on this. We are using Allaire JRun and trying to convert to Tomcat. Any, ANY information is usful before I attempt the process. Thanks in advance,