Re: prepared statement problem

2000-11-10 Thread Venu Gopal
The skipped field should NOT be the PRIMARY KEY.. Venu --- Mutahar Qayum <[EMAIL PROTECTED]> wrote: > Actually you can even specify what columns you are > inserting. > like. > sql ="INSERT INTO test(userid,username) > VALUES(?,?)"; > > regards > -Original Message- > From: Synu Jacob Veng

Re: what do i need to run .jsp?

2000-11-10 Thread Alan KF LAU
I was always wondering, how does gnujsp stand out of other jsp-containers? > > if u-r running under Linux, u can use gnujsp, too. http://www.klomp.org > > > The Internet runs on its programmers, and programmers run on coffee!!! > Ricky Y. Artigas > Analyst/Programmer > Software Development - > In

contentType="Application" always uses the name of the jsp page (o r action)??

2000-11-10 Thread Duffey, Kevin
Hi.. We are inacting a "download" feature on our site..where we create some files dynamically, and allow people to download them. First, let me explain how we did it and see if anyone agrees. We have a MVC setup, so all requests go to a single controller servlet, it then calls an action class.

Update: Numberformat

2000-11-10 Thread Daniel Lynn
WooHoo! Worked, I get it now (thank god). Thank you everyone, much appreciated as always. -Daniel === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be foun

Re: Best JSP Tool

2000-11-10 Thread M. Simms
Macromedia's UltraDev has some slick features. but no debugger. > -Original Message- > From: A mailing list about Java Server Pages specification and reference > [mailto:[EMAIL PROTECTED]]On Behalf Of Khurram Sardar > Sent: Friday, November 10, 2000 12:54 AM > To: [EMAIL PROTECTED] >

Re: numberformat

2000-11-10 Thread Arun Thomas
Daniel, In order to obtain an instance of NumberFormat, you make use of the static methods of the class (getNumberInstance, getCurrencyInstance(), or getPercentInstance()). These methods create objects of one of the subclasses and returns it for use. -AMT > -Original Message- > From: D

numberformat

2000-11-10 Thread Daniel Lynn
OK, so I've been staring at my Nutshell book for a few hours now and the whole NumberFormat class doesn't seem to be getting any less confusing... currently, my price variables come up as 1 digit after the decimal ($8.0 instead of $8.00 for example). I know numberformat can format to currencies, b

Re: Class file of a JSP

2000-11-10 Thread Oleg V Alexeev
Hello Sunil, You can find it in x:\jakarta-tomcat\work\ Tuesday, October 03, 2000, 12:50:43 AM, you wrote: SR> Is it possible to see the servlet ( .java) file of a JSP? SR> Where is it stored? ( I am using Tomcat) SR> This is impt. since ,during error , the line no. of the generated servlet is

[Off-Topic] pre-1.0 releases (was: Struts stable enough for a production system?)

2000-11-10 Thread Bob Schmertz
On Fri, 10 Nov 2000, JavierG wrote: >Hi all: > >Has anybody used Struts for real development without the whole stuff >crashing down every two weeks? Please, don’t misinterpret me, I think >Struts is a GREAT thing and I’m very exited about it, but the 0.5 version >stuff is scary at best… I mean,

Class file of a JSP

2000-11-10 Thread Sunil Roy
Is it possible to see the servlet ( .java) file of a JSP? Where is it stored? ( I am using Tomcat) This is impt. since ,during error , the line no. of the generated servlet is indicated & thus it is impossible to know the location of the error. Thanks in advance Sunil K. Roy ===

Re: Tools in JSP

2000-11-10 Thread Sherry Hu
Hi Rajan, For me, I would like to have a tool that let me 1. visually create/design JSP (good GUI, database access buttons...) 2. conveniently modify code (colorful/well formating, preview/test page...) 3. easily debug the code (precise error message, run-time debugging...) 4. virtually manage f

Re: JSP ( Runtime access of filenames of images in JSP )

2000-11-10 Thread Katherine Fraser
Sunil- A JSP tag scriptlet tag *can* be nested inside an html tag since the scriptlet tags get resolved at compile time, then the html tag becomes or whatever (btw, you might want to enclose your image file name in quotes). Your problem is that the array name you use in your loop is intImg ins

Re: JSP ( Runtime access of filenames of images in JSP )

2000-11-10 Thread Luis Javier Beltran
that JSP tag inside the HTML tag is totally valid - Original Message - From: "Sunil Roy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 02, 2000 2:10 PM Subject: JSP ( Runtime access of filenames of images in JSP ) Dear JSP gurus, Pl. solve my following problem: Pl

Java Developer's Guide to Servlets & JSP

2000-11-10 Thread Sloan Michael
I was just wondering if anyone had this book, and had any comments on it. Java Developer's Guide to Servlets & JSP Trade Paperback, 608 Pages, Sybex, Incorporated, October 2000 ISBN: 0782128092 Author: Brogden, William B. -- Michael Sloan Ass

JSP ContextPath is different than that in my Servlet

2000-11-10 Thread Duffey, Kevin
Hey there. I have a MVC setup..a controller servlet, passes off to action classes, populate a JavaBean then forward to a JSP page. Why is it in the action class, (which is basically a servlet), that the request.getContextPath() returns the proper value..the web-app context, the path etc. But in a

Re: Problem with Tomcat 3.2beta

2000-11-10 Thread Hans Bergsten
S Ramakrishnan wrote: > > Yes the cases match (at any rate, its an NT > system). > > The file is under $TOMCAT_HOME\webapps\ROOT > and is named A.JSP. > > The JSP file is trivial: > > >Bajji > > > <% int x = 5 ; %> > <% out.println("X = " + x); %> A side note, you could

Re: Problem with Tomcat 3.2beta

2000-11-10 Thread S Ramakrishnan
Yes the cases match (at any rate, its an NT system). The file is under $TOMCAT_HOME\webapps\ROOT and is named A.JSP. The JSP file is trivial: Bajji <% int x = 5 ; %> <% out.println("X = " + x); %> The URL I request is http://localhost:8080/webapps/ROOT/A.J

Re: SSL

2000-11-10 Thread Antonio W. Lagnada
Hi Doug, Thanks for the reply. What I want to know is if there is a Tomcat (which happens to ship with a minimal apache server) with an SSL module or if someone has information on how I can use or get tomcat with an SSL module. -- Antonio W. Lagnada Ecommerce Consultant [EMAIL PROTECTED] This

JSP ( Runtime access of filenames of images in JSP )

2000-11-10 Thread Sunil Roy
Dear JSP gurus, Pl. solve my following problem: Pl. see the following code for displaying images "1.jpg" , "2.jpg" , "3.jpg" , etc. in subsequent in the same row: <%@ page import = "ImageServlet" %> <%! int imgNo[]; int col; %> <% imgNo = ImageServlet.staticImgNo ; %> <

Re: What kinf of Application Server I should chose?

2000-11-10 Thread Shireesh Thanneru
check out http://www.theserverside.com Shireesh Thanneru On Fri, 10 Nov 2000, Alex zhang wrote: >Hi, There: > I was always confused by so many application >server. >We have Jserver, Tomcat, Iplanet,Jrun, Websphere >But How should I chose from all this list? >Is there any web compared thes

What kinf of Application Server I should chose?

2000-11-10 Thread Alex zhang
Hi, There: I was always confused by so many application server. We have Jserver, Tomcat, Iplanet,Jrun, Websphere But How should I chose from all this list? Is there any web compared these AP server? Or Who can tell me some difference between these server? Speed, Load, Cache pool, database p

Re: How can i send a Fax through my JSP Page !

2000-11-10 Thread Richard Yee
Bhuvana, Rather than writing code for sending a fax, you should look at a service such as JFax (in the US) that allows you to just send an e-mail to the service site and they fax the contents of the e-mail. Regards, Richard -Original Message- From: Bhuvaneswari Palanivel [mailto:[EMAIL

Re: Best JSP Tool

2000-11-10 Thread Ortiz, William J
Visual Age for Java for itself does not offer a visual JSP editor. The Enterprise Edition (the one we're starting to use) comes bundled with WebSphere Studio, a very capable HTML/JSP editor. You can create JSP's, link them to a servlet, debug, test, etc. An amazing resource hungry program.

Re: Best JSP Tool - JBuilder 3.5/4.0 and Inprise AppServer

2000-11-10 Thread W Paul Waits
I use JBuilder 3.5 Enterprise Ed. which comes with the Inprise Application Server (IAS). I like the JBuilder IDE and the IAS interface, but give IAS a "B -" grade. IAS with JBuilder 3.5 uses Servlet 2.0 and JSP 0.92 APIs. without providing free upgrades. The "new" IAS that ships with JBuilder 4

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

2000-11-10 Thread Hines, Bill
Actually, read up on the new "Java Web Start" initiative on Sun's web site (and in recent trade journals). It is for this type of application, with a sophisticated UI, and the good part is that it doesn't run under a browser but has many of the benefits - i.e. it is automatically updated if any co

Struts stable enough for a production system?

2000-11-10 Thread JavierG
Hi all: Has anybody used Struts for real development without the whole stuff crashing down every two weeks? Please, don’t misinterpret me, I think Struts is a GREAT thing and I’m very exited about it, but the 0.5 version stuff is scary at best… I mean, we live in a world where most of the time 1

Re: Best JSP Tool

2000-11-10 Thread Edward Garson
JBuilder4 has wonderful support for all aspects of JSP development, and comes with Tomcat straight out of the box. Edward Garson Channel 4 Television Corporation [EMAIL PROTECTED] > -Original Message- > From: Khurram Sardar [SMTP:[EMAIL PROTECTED]] > Sent: Friday, November 10, 2000 5:57

Re: Tools in JSP

2000-11-10 Thread Walker, Chris
No one of the things you list is essential on its own. There are several Java IDEs that are good for developing beans and servlets. The ability to debug server code is important here. But the big issue in server development is decoupling the design job from the programming job. My view is that

Re: Jsp to retrieve asp session variables

2000-11-10 Thread Walker, Chris
It's a bit of a long shot, but I read an article on http://www.15seconds.com that showed how to call Java classes from ASP. So ASP could pass data to a class that writes to the JSP session. The alternative is to try to find the COM interface to ASP's intrinsic objects, but I'm not even sure how

Re: can i store an ArrayList in Session?

2000-11-10 Thread deepak gupta
hi everybody We are working on a project which u can call as application hosting. basically we have some programmes written in the our site(In ASP) where user enters the some input , that input is processed by ASP result is given to user. Now what we want to achieve is that we have some method by

Re: can i store an ArrayList in Session?

2000-11-10 Thread Manne Fagerlind
Ginni, My guess is that you're using a version that does not support v 2.2 of the Servlet API. In that case you have to use the deprecated methods putValue(String a, Object b) and getValue(String a) instead (not a long-term solution, though). This problem should be added to the faq, if it's not

Re: SSL

2000-11-10 Thread Dengler Martin
u absolutly right Doug, SSL must be handled by Web Server Greetings MD -- Sent through GMX FreeMail - http://www.gmx.net === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs o

Re: bean initialization lock

2000-11-10 Thread Manne Fagerlind
Hello Primoz, Actually, the code you wrote should work. What JSP engine are you using? Dani's code might do the trick. If that still doesn't work, you might want to try using a Singleton (see the book Design Patterns by Gamma et al.) to make sure that only one instance of the class is ever creat

Re: Best JSP Tool

2000-11-10 Thread Robuschi (Delfi)
since 2 days ago, JBuilder 4 is available for download. we can download the Foundation edition. unfortunately, I tried to get the activation key and this function is not available now. Bye Robuschi Roberto Delfi srl P.za Ravenet 1/b - 43100 PARMA Tel. 0521/932474 Fax 0521/

Re: Best JSP Tool

2000-11-10 Thread Srikanth Ramaswamy
ColdFusion Studio (Version 4.5.1) provides a good editor for developing JSP pages. I have not worked on it much but I am sure it does provide a better GUI. The latest version of ColdFusion viz. CF 4.5.1 has the feature to run JSP tags and run it on any webserver maybe JRUN,etc. I hope this mail do

Tomcat 3.2beta6: largeFile init parameter

2000-11-10 Thread Christian Mallwitz
Hi, I read about the largeFile init parameter and set it to true in my conf/web.xml file. but the static HTML is still in the class file. The FAQ says: "If the file is really large then all the static html is stored is a separate data file if the value of this param is set to true." How large i

Re: Best JSP Tool

2000-11-10 Thread Khurram Sardar
Hello Mr. Mio Nino P. Marquez, Thanks a lot for such a helpful information but can you please tell me whether it is possible to get an evaluation version of JBuilder 4. I checked a few days ago and evaluation version of JBuilder 3.5 was available. Also what do you think regarding one fea

Re: Problem with Tomcat 3.2beta

2000-11-10 Thread Christian Mallwitz
Can you check that upper/lowercase in your URL is the same as in your file systems ... Christian -- Christian Mallwitz INTERSHOP Communications Germany Senior Software Engineerphone: +49 3641 894 334 -Original Message- From: S Ramakrishnan [mailto:[EMAIL PROTECTED]] Sent: Friday, No

Re: Urgent: sorting japanese - off topic

2000-11-10 Thread Chandhan Rangarajan
Problem resolved Thanx -Original Message- From: Chandhan Rangarajan Sent: Friday, 10 November 2000 4:14 PM To: [EMAIL PROTECTED] Subject:Urgent: sorting japanese - off topic Hi Can somebody tell me if there is any java API that can help me sort Japanese words... Pls rep

Re: How can i send a Fax through my JSP Page !

2000-11-10 Thread Jitesh Gangwani
Hi, Its available at java.sun.com just check the site below http://java.sun.com/products/javacomm/ Regards Jitesh - Original Message - From: Bhuvaneswari Palanivel <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 10, 2000 12:45 PM Subject: How can i send a Fax