JDBC-ODBC bridge

2002-04-23 Thread Cédric Favier
Hello, >From a Linux server I want to read an exel file on a Windows NT server (200.8.97.21) Class.forName( "sun.jdbc.odbc.JdbcOdbcDriver" ); Connection conn = DriverManager.getConnection("jdbc:odbc://200.8.97.21/test","",""); But I got this message : "SQL Exception : No suitable dr

Testing JSPs

2002-04-23 Thread Balaji Nagarajan
Hi, Can anyone point me to resources that talk about testing JSPs, say in a model 2 architecture. thanks in advance, balaji. ==To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mail

java and excel

2002-04-23 Thread Kesav, Ramesh
Hi all, This may be out of topic but i need itvery urgently. i have an excel file with 4 sheets containing many data. is it possible to read a particular sheet's contents (column wise) Regards Ramesh Kesavanarayanan [EMAIL PROTECTED] ===

TEI classes for custom tags

2002-04-23 Thread cbarnes
I am writing a number of custom tags, all of which return a list of string values to the JSP by using a TEI class. I want to write a generic TEI class that can be used by all the custom tags. This TEI class needs to be supplied with a list of attribute names that it has to create VariableInfo obje

Re: java and excel

2002-04-23 Thread Balaji Nagarajan
Hi, I hope this solves the problem. you can use the microsoft's ODBC driver for Excel sheet and read individual columns as if they are contained in a database table.Alternately, you can save the excel sheet as a csv(comma separated values) format and use Microsoft's text driver(ODBC). regards

Re: java and excel

2002-04-23 Thread Cédric Favier
Hi, >From a Linux server I want to read an exel file on a Windows NT server (200.8.97.21) : > Class.forName( "sun.jdbc.odbc.JdbcOdbcDriver" ); > Connection conn = DriverManager.getConnection("jdbc:odbc://200.8.97.21/test","",""); But I got this message : "SQL Exception : No suitable driver" What

Re: java and excel

2002-04-23 Thread subbu
Balaji has given good solution.Iam adding a sample code ... import java.io.*; import java.sql.*; public class ExcelReadTest{ public static void main(String[] args){ Connection connection = null; try{

Getting server paths

2002-04-23 Thread Fredrik Lindner
Hello all. Does anyone know which servlet API method is used to extract the "server part" of a request URL? Example: I have a jsp based app running in a servlet container. One dynamically generated output pages contains a link to a web page within the same container, e.g. http:/[host]/myapp/som

Re: java and excel

2002-04-23 Thread Arthur Alexander
Quick search of GOOGLE returned this link: http://www.javaworld.com/javaworld/javaqa/2001-08/02-qa-0824-excel2.html - Original Message - From: Balaji Nagarajan <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 23, 2002 6:34 AM Subject: Re: java and excel > Hi, >

Re: Getting server paths

2002-04-23 Thread Bhushan_Bhangale
Use the request.getHeader(String) method. To know the property name of what value you require first print the whole request object then you will be able to know what property name returns what. For hostname the property name is "host" for protocol i don't remember please check. -Original M

Using the BodyTagSupport class for custom tags

2002-04-23 Thread cbarnes
I have written a custom tag that extends the BodyTagSupport class. The reason I have extended this class is because I want the body of the tag to be evaluated a number of times, and this can only be done by using the doAfterBody method in BodyTagSupport. I don't want the custom tag to change the

Re: Using the BodyTagSupport class for custom tags

2002-04-23 Thread Fredrik Lindner
It's difficult to pinpoint the problem exactly. One possibility though, is that you return the constant EVAL_PAGE from the BodyTagSupport.doEndTag() method (which is the default return value), rather than EVAL_BODY_AGAIN. Returning EVAL_PAGE means that the body iteration should end and the rest o

Re: Using the BodyTagSupport class for custom tags

2002-04-23 Thread cbarnes
- Original Message - From: "Fredrik Lindner" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 23, 2002 3:04 PM Subject: Re: Using the BodyTagSupport class for custom tags > It's difficult to pinpoint the problem exactly. One possibility though, is > that you return the co

Re: TEI classes for custom tags

2002-04-23 Thread cbarnes
Fixed it. Apparently I needed to add the following code to the doEndTag method: try { // get the current bodyContent for this tag and write it to the original JSP writer pageContext.getOut().print(bodyContent.getString()); } catch(IOException e) { throw new JspEx

Re: java and excel

2002-04-23 Thread Smita Kotnis
Hi, There is a utility called, jxl, you can download that and put in your classpath. Then following code will get the data from excel file. Importing this jar will do, and I am not sure new version of weblogic do have this in built. This works fine and efficient... simple to code too..Hope

Re: java and excel

2002-04-23 Thread Chris Pratt
Any idea where to download this? I can't find it with Google. (*Chris*) - Original Message - From: "Smita Kotnis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 23, 2002 7:06 AM Subject: Re: [JSP-INTEREST] java and excel > Hi, > There is a utility called, jxl,

Re: TEI classes for custom tags

2002-04-23 Thread Hans Bergsten
cbarnes wrote: > I am writing a number of custom tags, all of which return a list of string > values to the JSP by using a TEI class. > I want to write a generic TEI class that can be used by all the custom tags. > This TEI class needs to be supplied with a list of attribute names that it > has to

Re: Getting server paths

2002-04-23 Thread Hans Bergsten
Fredrik Lindner wrote: > Hello all. > > Does anyone know which servlet API method is used to extract the "server > part" of a request URL? > > Example: > > I have a jsp based app running in a servlet container. One dynamically > generated output pages contains a link to a web page within the same

Tomcat and error page display

2002-04-23 Thread Bommakanti, Vamsee
hello I have an error page in my application that displays any/all the errors. i have a problem here, when a page throws an error before it writes any content to the output, it shows the error page ok, but if there is any error after it writes the content to the page then it doesnot show it at all

Re: JDBC-ODBC bridge

2002-04-23 Thread Piotr Korzybski
The driver .class or .jar file(s) you should place in TOMCAT_HOME/webapps/your_app/WEB-INF/lib directory Piotr K. > > >From a Linux server I want to read an exel file on a Windows NT server > (200.8.97.21) > > Class.forName( "sun.jdbc.odbc.JdbcOdbcDriver" ); > Connection conn = > Driv

Deploying in a Lotus Domino Server.

2002-04-23 Thread Sami J.Casab
Hi EveryBody: I have used JBuilder with tomcat serveral times and everithing work fine. My company buyed Lotus Domino as JSP/Servlet Engine and i cant find how to deploy an application. Any tip, will be appreciated. Thanks in advance. =

using 2 bean with same id in jsps

2002-04-23 Thread Elangovan,Bhuvane
Could any one tell is there any way to use 2 beans with the same id in the jsp under usebean tag. The thing is I want to use the second bean if the first bean is null. IMPORTANT THING is I want to use SAME ID under usebean tag for both beans. Thanks in advance, (Bh

Re: java and excel

2002-04-23 Thread Rick Fincher
Go to jakarta.apache.org and look up the POI project. They have stuff for reading and writing Microsoft files. Rick > Hi all, > > This may be out of topic but i need itvery urgently. > i have an excel file with 4 sheets containing many data. > is it possible to read a particular sheet's conten

Re: using 2 bean with same id in jsps

2002-04-23 Thread atodburns
i'm not sure if this is what you were asking... <% Object objectName=new Object(); if(objectName==null) { Object2 objectName=new Object2(); } %> you can then call To

Re: using 2 bean with same id in jsps

2002-04-23 Thread Elangovan,Bhuvane
The thing here is how could we declare both the beans initially using usebean tag with the same id. (Bhuvane) -Original Message- From: atodburns [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 5:43 PM To: [EMAIL PROTECTED] Subject: Re: using 2 bean with same id in jsps i'm not

Java Web Services Development Tools

2002-04-23 Thread Burdick Robert
Hello All: What is the "best" free development toolkit / environment for building Java based web services? The JWSDP looked more like a simple bundle of the needed code libraries (XML parser, SOAP server, etc.) plus a very simple deployment tools. I'm wondering if there is an IDE style toolk

Re: Java Web Services Development Tools

2002-04-23 Thread Ivan de Araujo Saraiva
look at Borland.com. I guess you'll find what you're looking for. hope this help. Ivan Saraiva -Original Message- From: Burdick Robert To: [EMAIL PROTECTED] Sent: 23/4/2002 21:01 Subject: Java Web Services Development Tools Hello All: What is the "best" free development toolkit / env

Re: Java Web Services Development Tools

2002-04-23 Thread Sudhakar Kurumella
Try Iona's Orbix E2A Web Services Integration Platform, it is good to play around with webservices. http://www.iona.com/products/ I think it might help you. thanks Sudhakar Kurumella. --- Ivan de Araujo Saraiva <[EMAIL PROTECTED]> wrote: > look at Borland.com. > I guess you'll find what you'r

Re: Java Web Services Development Tools

2002-04-23 Thread Gare, Trefor
I started looking at SilverStream's eXtend WorkBench app which seemed to do the stuff you're after quite nicely, however I didn't get very far down the path before getting distracted away so I can't really comment in any detail. I'm also not sure it's still a freebie. Worth a look though. chee

Re: using 2 bean with same id in jsps

2002-04-23 Thread eric pan
I think the id is a reference to the bean, the jsp compile the code ... id="xx" class="XX" ... to XX xx = ...; So I don't think you can put the same id in the same name space. --- "Elangovan,Bhuvane" <[EMAIL PROTECTED]> wrote: > Could any one tell is there any way to use 2 > beans with th

Jakarta Samples

2002-04-23 Thread Prabodh Goel
Hi experts Can anybody tell me the site to download Jakarta samples so that I can test the webcontainer. Thanks in Advance Prabodh __ Do You Yahoo!? Yahoo! Games - play chess, backgammon, pool and more http://games.yahoo.com/ ==

accessing web application

2002-04-23 Thread F Sanda
hi, I have developped a authorized web based application using jsp and servlet. The web application is just for a few static process. User can only one process after login. I have used session and ssl to make the web application secure. Because of this single process, it is possible to develop a w

Re: JDBC-ODBC bridge

2002-04-23 Thread Cédric Favier
Yes, but it does not work with a simple java file. Piotr Korzybski a écrit: > The driver .class or .jar file(s) you should place in > TOMCAT_HOME/webapps/your_app/WEB-INF/lib directory > > Piotr K. > > > > >From a Linux server I want to read an exel file on a Windows NT server > > (200.8.97.21)