Re: Loading applets

2001-06-26 Thread ZhaoBin

Leonard:

I think the pivotal thing is "WEB-INF", for security reason, anything under this 
directory is NOT allowed download to Browser, just can run , like java Servlet, the 
applet class file must download to browser to run it, so , it can not be found.

To resolv this probleam, you can put the class file outer "WEB-INF" directory and set 
proper codebase properties.

Hope this Help
ZhaoBin

 
> --- Leonard Wolters <[EMAIL PROTECTED]> wrote:
> > Hi there,
> >
> > I still have problems with loading applets within
> > jsp pages.
> >
> > Consider the following scenario:
> > I have a WAR file which consists of several .jsp
> > files, a "WEB-INF"
> > directory which contains a "classes" and a "lib"
> > directory. In the classes
> > directory, another directory "foo" exists which
> > contains the "BarApplet.class" file.
> >
> > From one of the jsp files, i try to load the applet
> > using the following
> > code:
> >
> >  >   type="applet"
> >   code="foo.BarApplet.class"
> >   codebase="/"
> >   jreversion="1.3"
> >   align="center"
> >   height="400"
> >   width="400"
> >
> >
> nspluginurl="http://java.sun.com/products/plugin/1.3.0_01/plugin-install.html";
> >
> >
> 
>iepluginurl="http://java.sun.com/products/plugin/1.3.0_01/jinstall-130_01-win32.cab#Version=1,3,0,1";
>
> > >
> >
> >   
> > Unable to start plugin.
> >   
> > 
> >
> >
> > Still, each time the java console tells me that the
> > file foo.BarApplet.class cannot be found. Even after
> > changing the codebase
> > from relative to full (i.e. http://) it still
> > doesn't work out.
> >
> > The only thing that works is to copy the
> > "web-inf\classes\foo" directory
> > to the 'root' of the WAR file i.e. the place where
> > all .jsp files are
> > located. Then, I finally see the applet showing
> > up...
> >
> >
> > The only thing that I can figure out is that the
> > "web-inf\classes" is
> > unaccessable from the web --> it is unvisible.
> >
> > Can someone please help me out by telling me how
> > they succeeded in
> > showing applets from jsp pages ? Do I need to
> > explicitly create a jar
> > file containing the applet ? Or can i use the
> > web-inf\classes directory ?
> > (preferable). Or do I just need to put the classes
> > in the 'root' directory ?
> >
> > Please help me out !
> >
> > (I know for sure that it should be possible to
> > access the applet from the
> > web-inf\classes directory from a jsp file)
> >
> >
> > Thanks
> >
> >
> ===

N‹§²æìr¸›zf¢–Ú%ŠËlz»ãjö¬ºw(›­…ºÊÈ ž‡ß%#È51$Å¢·bë-™¨¥¶‰b²Û®øÚ½«.Ê&Â+an‡r±ëIHò
LDDI0ÈD“J‰ž­é^½©í,¢rR?ôž®ù^¶Ç·Ÿ¢éÝjØm¶Ÿÿ«Ú²éÜ¢o鮇nrÛ?ŽÊ}ª¡¶ia¶Úÿ
0zÊ^­©í¢ŠàŸ?㲟㲗ڪf–m§ÿðÃົœ¢oã‚êîýöªýöª¥¨ŽÊgjg‰Høm¶ŸÿÃ
#‚êîr‰¿Ž«»÷Ú«÷Úª– z;)©žIêï•ël


Re: Loading applets

2001-06-26 Thread Hans Bergsten

Leonard Wolters wrote:
>
> Hi there,
>
> I still have problems with loading applets within jsp pages.
>
> Consider the following scenario:
> I have a WAR file which consists of several .jsp files, a "WEB-INF"
> directory which contains a "classes" and a "lib" directory. In the classes
> directory, another directory "foo" exists which contains the "BarApplet.class" file.
>
> >From one of the jsp files, i try to load the applet using the following
> code:
>
>type="applet"
>   code="foo.BarApplet.class"
>   codebase="/"
>   jreversion="1.3"
>   align="center"
>   height="400"
>   width="400"
>   nspluginurl="http://java.sun.com/products/plugin/1.3.0_01/plugin-install.html";
>   
>iepluginurl="http://java.sun.com/products/plugin/1.3.0_01/jinstall-130_01-win32.cab#Version=1,3,0,1";
> >
>
>   
> Unable to start plugin.
>   
> 
>
> Still, each time the java console tells me that the file foo.BarApplet.class cannot 
>be found. Even after changing the codebase
> from relative to full (i.e. http://) it still doesn't work out.
>
> The only thing that works is to copy the "web-inf\classes\foo" directory
> to the 'root' of the WAR file i.e. the place where all .jsp files are
> located. Then, I finally see the applet showing up...
>
> The only thing that I can figure out is that the "web-inf\classes" is
> unaccessable from the web --> it is unvisible.

Yes, that's exactly what the servlet specification demands. Contents in the
WEB-INF directory structure must not be accessible to clients, only to
code running on the server. The applet code is loaded directly by the
browser, so it must be located in a publicly accessible directory,
defined by the codebase attribute.

Also note that HTML 4.0 requires that the codebase directory be a subdirectory
of the directory where the web page is located. So if you have the JSP
page /foo/bar.jsp, you could specify codebase as "classes" and place the
applet class files in /foo/classes.

> Can someone please help me out by telling me how they succeeded in
> showing applets from jsp pages ? Do I need to explicitly create a jar
> file containing the applet ?

No, you can put the class files directly in the directory specified by
codebase.

> Or can i use the web-inf\classes directory ?
> (preferable). Or do I just need to put the classes in the 'root' directory ?

See above; you can *not* put them in any WEB-INF subdirectory.

> Please help me out !
>
> (I know for sure that it should be possible to access the applet from the
> web-inf\classes directory from a jsp file)

I don't know where you've got this information, but it's contrary to what
the spec says (and as you have found, how it works in real life :-)

Hans
--
Hans Bergsten   [EMAIL PROTECTED]
Gefion Software http://www.gefionsoftware.com
Author of JavaServer Pages (O'Reilly), http://TheJSPBook.com

===
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:

 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



restoring the jsp form values.

2001-06-26 Thread Dhanumjaya Julakanti

Hi,

I am working on IE 5.00.3105.0116.

I have a jsp page, from which I am calling a servlet as part of the 'action' command.

Here is the problem I am facing:

step 1: I am loading the jsp page.

step 2: Entering all the data in the jsp page.

step 3: Hitting the 'submit' button on the jsp page, which will call the  servlet as 
part of the action command.

step 4: Servlet will receive all the form data by POST method,
   it will do some processing with the data and will generate a
   page.

step 5: At this point, after generating the page, if I hit 'browser'   back
button, it is displaying the jsp page but without the entered data. i.e. it
is displaying the blank jsp page.

This is the problem, when I hit the browser's back button, previously
entered data values needs to be restored.

Any help in this regard is very much appreciated.

thanks for your time.

dhanu

===
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:

 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: javax.servlet.ServletException: No data found... why???? plea se h elp..!!

2001-06-26 Thread Atilio Ranzuglia

Juan:

The problem you are facing now can be easy or
difficult to resolve.

It can be that you are trying to read the ResultSet
with no data on it.

Or, in the worst case, you can have the problem I had
a few weeks ago. The exception was the same, I were
working on a PreparedStatement (about 20 lines).

It never work, it was always the same output. If I try
it like a regular Statement it worked fine.

Looking for a solution I enter on Oracle's Metalink
(one of the million sites searched) and the solution
encoutered there was:
"... the problem appeared and dissappeared
misteriously ..." from some other guys.

So I have to stay cool and make it a regular
Statement.

I could not find any other solution, if someone here
knows one please let me know, thanks.

Hope this help
Atilio


--- "Orozco, Juan Carlos" <[EMAIL PROTECTED]> wrote:
> Thank you very much..for your help..
> I change to JDBC Oracle thin driver, instead
> jdbc-odbc bridge,
> and the jsp, begin to populate the list box, but i
> have this error..
> Internal Servlet
> Error:javax.servlet.ServletException: Exhausted
> Resultset:
>
> what's happening? , maybe the recordset it's too
> large??
>
> thanks,
>
> Juan
>
>
>
> -Original Message-
> From: Atilio Ranzuglia [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 25, 2001 11:12 AM
> To: [EMAIL PROTECTED]
> Subject: Re: javax.servlet.ServletException: No data
> found... why
> please h elp..!!
>
>
> Chris:
>
> What you said is true on JDBC 1.0 but not in JDBC
> 2.0.
>
> JDBC 2.0 allows you to calls the getter method in
> any
> order, and to navigate through the ResultSet.
>
> There are a lot of new features on JDBC 2.0.
>
> Hope this help
> Atilio
>
>
> --- Chris Pratt <[EMAIL PROTECTED]> wrote:
> > From what I understand, you cannot call a
> > resultSet.getXXX() method more
> > than once on a single value with predictable
> > results.  You should probably
> > get it and store it in a variable if you need to
> use
> > it more than once.
> > (*Chris*)
> >
> > - Original Message -
> > From: "Orozco, Juan Carlos" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Saturday, June 23, 2001 7:38 AM
> > Subject: [JSP-INTEREST]
> > javax.servlet.ServletException: No data found...
> > why please h elp..!!
> >
> >
> > > Hi guys,
> > >
> > > I have a problem with the resultSets, when i
> made
> > the getObject method
> > > more than one time...example:
> > >
> > > String temp="";
> > > String depto="";
> > >
> > > String
> > paisd=(String)rst_loc.getObject("PAIS_ORIGEN");
> > <--may be here
> > >
> > >
> > > while (rst_loc_hasData)
> > > {
> > >
> > > temp =
> > (String)rst_loc.getObject("PAIS_ORIGEN"); <--here
> is
> > the
> > > problem
> > >
> > > while (paisd.equals(temp))
> > >{
> > >
> > >
> > depto=(String)rst_loc.getObject("DEPARTAMENTO");
> > > %>
> > >
> >
> listB.addOptions(<%=paisd%>,<%=depto%>,<%=depto%>);
> > > <-- my JavaScript function
> > > <%
> > > rst_loc_hasData =
> > rst_loc.next();
> > >
> > paisd=(String)rst_loc.getObject("PAIS_ORIGEN");
> > > }
> > > }
> > > rst_loc.close();
> > > rst_loc = Statementrst_loc.executeQuery();
> > > rst_loc_hasData = rst_loc.next();
> > > rst_loc_isEmpty = !rst_loc_hasData;
> > > %>
> > >
> > > I don't know why... and is the same thing when i
> > am populate a listbox
> > >
> > >
> > >
> > > <%
> > > String pais = "";
> >   <-- I have to
> > > declare this variables because i can't use
> > getObject method
> > > String pais_iso = "";
> > > while
> (rst_paises_hasData)
> > > {
> > > pais =
> > (String)rst_paises.getObject("PAIS");
> > > pais_iso =
> > > (String)rst_paises.getObject("PAIS_ORIGEN");
> > > %>
> > >> value="<%=pais_iso%>"><%=pais%>
> > > <-- i must can
> > put(String)rst_paises.getObject("PAIS_ORIGEN")
> > directly
> > >   <%
> > >
> rst_paises_hasData
> > = rst_paises.next();
> > > }
> > > rst_paises.close();
> > > rst_paises =
> > Statementrst_paises.executeQuery();
> > > rst_paises_hasData =
> > rst_paises.next();
> > > rst_paises_isEmpty =
> > !rst_paises_hasData;
> > > %>
> > >
> > >
> > > Thanks a lot friends..!!
> > >
> > >
> >
>
===
> > > 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:
> > >
> > >  http://java.sun.com/products/jsp/faq.html
> > >  http://www.esperanto.org.nz/jsp/jspfaq.html
> > >
> >
> h

Re: class and bean finder tool

2001-06-26 Thread Margaret Fisk

Windows Explorer's Search will actually search the contents of a jar or zip
and tell you if the file is in there. Then you have to open it in WinZip or
equivalent to see the file.

-Original Message-
From: Frank Mancini [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 26, 2001 12:02 PM
To: [EMAIL PROTECTED]
Subject: class and bean finder tool


Does anyone know where I can get a tool that will search jars, zips, etc.
for a specific class file and it's directory...
_
Get your FREE download of MSN Explorer at http://explorer.msn.com

===
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:

 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".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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



class and bean finder tool

2001-06-26 Thread Frank Mancini

Does anyone know where I can get a tool that will search jars, zips, etc.
for a specific class file and it's directory...
_
Get your FREE download of MSN Explorer at http://explorer.msn.com

===
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:

 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: Java web Start

2001-06-26 Thread horwat

The JNLP is a special configuration file used by Java Web Start. The HTML
links that launch the applications point to this file. The browser looks at
the file extentsion and MIME types and verifies that they belong to Java Web
Start. JWS is started with the downloaded JNLP file as an argument.

Check to see that the file extension .jnlp and MIME type
application/x-java-jnlp-file exists so that Java Web Start will be invoked
when the browser encounters a link to a JNLP link.

Justy

- Original Message -

> Java Web Start - When trying to launch the application on
>  I receive the
> following messages:
>
> "An error occurred while launching/running the application.
>
> Title: Draw 4
> Vendor: Sun Microsystems, Inc.
> Category: Download Error
>
> Bad MIME type returned from server when accessing resource:
>  - null"
>
> What is the best way to solve this problem?
>
> Glauco.
>
>
===
> 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:
>
>  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".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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: Exception in a jsp file: OutputStream already obtained

2001-06-26 Thread Lorena Carlo

Hello all,

I don't know why I obtain the following error:

Root Error-1: OutputStream already obtained
java.lang.IllegalStateException: OutputStream already obtained at
com.ibm.servlet.engine.webapp.WebAppDispatcherResponse.getWriter(WebAppDispa
tcherContext.java:290) at
com.sun.jsp.runtime.JspServlet.unknownException(JspServlet.java:361) at
com.sun.jsp.runtime.JspServlet.service

In the servlet, I create a java file, then in a link of the results page I
point to a JSP, that uses a bean that can download files from the server,
but I don't know why I get the former exception in my jsp page.

Please help me, thanks in advance

Lorena Carlo

===
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:

 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: How to create a file in java

2001-06-26 Thread horwat

Here are a couple of free jsp/servlet web hosting sites. I would contact
them about javamail support.

http://www.mycgiserver.com/
http://www.webappcabaret.com/


Justy

- Original Message -

> is there a free webhost that allow you to use javamail
>
> - Original Message -
> From: "friza taib" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, June 25, 2001 10:55 PM
> Subject: Re: How to create a file in java
>
>
> > yea.
> > u can use servlet instead.
> > but yr framework should be JSP-->servlet-->...
> >
> > try
> > {
> >   1. use FileInputStream where u can specify yr dir.
> > }
> > catch
> > {
> > }
> >
> > for more details, refer to Java servlet programming by O'reilly
> >
> >
> >
> >
> >
> > >From: Atilio Ranzuglia <[EMAIL PROTECTED]>
> > >Reply-To: A mailing list about Java Server Pages specification and
> > >reference <[EMAIL PROTECTED]>
> > >To: [EMAIL PROTECTED]
> > >Subject: Re: How to create a file in java
> > >Date: Mon, 25 Jun 2001 08:26:33 -0700
> > >
> > >Lorena:
> > >
> > >there is a lot of information on sun's site.
> > >(java.sun.com/j2se/1.3/docs/api/index.hmtl)
> > >also check thinking in java 2 (www.bruceeckel.com)
> > >
> > >the io issue is not a short one
> > >
> > >Hope this help
> > >Atilio
> > >
> > >
> > >--- Lorena Carlo <[EMAIL PROTECTED]> wrote:
> > > > Hello all,
> > > >
> > > > Does anybody know how to create a file in java and
> > > > then save it to some
> > > > direction of the disk?
> > > >
> > > > Please help me, thanks in advance
> > > >
> > > > Lorena Carlo
> > > >
> > > >
> >
>
>===
> > > > 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:
> > > >
> > > >  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
> > >
> > >
> > >=
> > >Ing. Atilio Ranzuglia Buteler
> > >[EMAIL PROTECTED]
> > >
> > >__
> > >Do You Yahoo!?
> > >Get personalized email addresses from Yahoo! Mail
> > >http://personal.mail.yahoo.com/
> > >
> >
>
>===
> > >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:
> > >
> > >  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.
> >
> >
>
===
> > 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:
> >
> >  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".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> 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".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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: Java XML

2001-06-26 Thread horwat

The XML tutorial can be found here:
http://java.sun.com/xml/tutorial_intro.html

Justy

- Original Message -

> You can take a look at java.sun.com XML tutorial,m or
>
> You can also take a look at my homepage at: www.geocities.com/hisiomara
> where I placed an example of a Java Sax Parser.
>
> Sio
>
> -Original Message-
> From: Sharon Rose Orillaneda [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 25, 2001 6:28 PM
> To: [EMAIL PROTECTED]
> Subject: Java XML
>
>
> Hi!
>
> Do you have any Java XML tutorial site? Or any other resources?
>
> Thanks.
>
> -Sharon
>
>
===
> 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:
>
>  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".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> 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".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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: Image properties on UNIX

2001-06-26 Thread Brad Cox

Surely there are java classes somewhere out there that can get depth/width
of
images without going through java AWT. Haven't found them yet. Does anyone
have a specific URL?

On Tuesday, June 26, 2001, at 11:42 AM, Pete Freitag wrote:

> Yeah you need to have a X server installed, even if you aren't drawing the
> image to the screen, the Java AWT requires this.  JRE 1.4 will not have
> this
> requirement.
>
> There are some ways around this...
>
> 1) Use Pure Java AWT http://www.eteks.com/pja/en/
> 2) Install an X Server (xvfb does not require display hardware)
> 3) Wait for JRE 1.4
>
> 
> Pete Freitag ([EMAIL PROTECTED])
> CFDEV.COM
> ColdFusion Developers Resources
> http://www.cfdev.com/
>
>
>
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Alireza Nahavandi
> Sent: Tuesday, June 26, 2001 11:19 AM
> To: [EMAIL PROTECTED]
> Subject: Image properties on UNIX
>
>
> Hi all,
> I have a program which tries to get the width and height of an image. I use
> java Frame as observer component. Program works fine on NT servers but on
> Unix server it doesn't. There is no error message and program just halts.
>  It
> seems there are some server setting on Unix when using java Frames, does
> anybody know about this? or is there any other way than Frames to get those
> properties?
>
> Thank you,
>
> =
> ==
> 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:
>
>  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".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> 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
>

---
For industrial age goods there were checks and credit cards.
For everything else there is http://virtualschool.edu/mybank
Brad Cox [EMAIL PROTECTED] 703 361 4751

===
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:

 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: javax.servlet.ServletException: No data found... why???? plea se h elp..!!

2001-06-26 Thread Chris Pratt

You're probably reading after next() returned false.
(*Chris*)

- Original Message -
From: "Orozco, Juan Carlos" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 26, 2001 8:54 AM
Subject: Re: [JSP-INTEREST] javax.servlet.ServletException: No data found...
why plea se h elp..!!


> Thank you very much..for your help..
> I change to JDBC Oracle thin driver, instead jdbc-odbc bridge,
> and the jsp, begin to populate the list box, but i have this error..
> Internal Servlet Error:javax.servlet.ServletException: Exhausted
Resultset:
>
> what's happening? , maybe the recordset it's too large??
>
> thanks,
>
> Juan
>
>
>
> -Original Message-
> From: Atilio Ranzuglia [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 25, 2001 11:12 AM
> To: [EMAIL PROTECTED]
> Subject: Re: javax.servlet.ServletException: No data found... why
> please h elp..!!
>
>
> Chris:
>
> What you said is true on JDBC 1.0 but not in JDBC 2.0.
>
> JDBC 2.0 allows you to calls the getter method in any
> order, and to navigate through the ResultSet.
>
> There are a lot of new features on JDBC 2.0.
>
> Hope this help
> Atilio
>
>
> --- Chris Pratt <[EMAIL PROTECTED]> wrote:
> > From what I understand, you cannot call a
> > resultSet.getXXX() method more
> > than once on a single value with predictable
> > results.  You should probably
> > get it and store it in a variable if you need to use
> > it more than once.
> > (*Chris*)
> >
> > - Original Message -
> > From: "Orozco, Juan Carlos" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Saturday, June 23, 2001 7:38 AM
> > Subject: [JSP-INTEREST]
> > javax.servlet.ServletException: No data found...
> > why please h elp..!!
> >
> >
> > > Hi guys,
> > >
> > > I have a problem with the resultSets, when i made
> > the getObject method
> > > more than one time...example:
> > >
> > > String temp="";
> > > String depto="";
> > >
> > > String
> > paisd=(String)rst_loc.getObject("PAIS_ORIGEN");
> > <--may be here
> > >
> > >
> > > while (rst_loc_hasData)
> > > {
> > >
> > > temp =
> > (String)rst_loc.getObject("PAIS_ORIGEN"); <--here is
> > the
> > > problem
> > >
> > > while (paisd.equals(temp))
> > >{
> > >
> > >
> > depto=(String)rst_loc.getObject("DEPARTAMENTO");
> > > %>
> > >
> > listB.addOptions(<%=paisd%>,<%=depto%>,<%=depto%>);
> > > <-- my JavaScript function
> > > <%
> > > rst_loc_hasData =
> > rst_loc.next();
> > >
> > paisd=(String)rst_loc.getObject("PAIS_ORIGEN");
> > > }
> > > }
> > > rst_loc.close();
> > > rst_loc = Statementrst_loc.executeQuery();
> > > rst_loc_hasData = rst_loc.next();
> > > rst_loc_isEmpty = !rst_loc_hasData;
> > > %>
> > >
> > > I don't know why... and is the same thing when i
> > am populate a listbox
> > >
> > >
> > >
> > > <%
> > > String pais = "";
> >   <-- I have to
> > > declare this variables because i can't use
> > getObject method
> > > String pais_iso = "";
> > > while (rst_paises_hasData)
> > > {
> > > pais =
> > (String)rst_paises.getObject("PAIS");
> > > pais_iso =
> > > (String)rst_paises.getObject("PAIS_ORIGEN");
> > > %>
> > >> value="<%=pais_iso%>"><%=pais%>
> > > <-- i must can
> > put(String)rst_paises.getObject("PAIS_ORIGEN")
> > directly
> > >   <%
> > > rst_paises_hasData
> > = rst_paises.next();
> > > }
> > > rst_paises.close();
> > > rst_paises =
> > Statementrst_paises.executeQuery();
> > > rst_paises_hasData =
> > rst_paises.next();
> > > rst_paises_isEmpty =
> > !rst_paises_hasData;
> > > %>
> > >
> > >
> > > Thanks a lot friends..!!
> > >
> > >
> >
>
===
> > > 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:
> > >
> > >  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.com address at
> > http://mail.yahoo.com
> >
> >
> >
>
===
> > To unsubscribe: mailto [EMAIL PROTECTED] with
> > body: "signoff JSP-INTEREST".
> > For digest: mailto [EMAIL PROTECTED] with body:
> > "set JSP-INTEREST DIGEST

Re: javax.servlet.ServletException: No data found... why???? plea se h elp..!!

2001-06-26 Thread Jann VanOver

Well, what Atilio says is theoretically true, but even JDBC 2 drivers are
not REQUIRED to support scrollable result sets.  No matter what the spec
says, your DRIVERS may NOT support them correctly.  Unless you KNOW your
drivers support them, follow Chris's advise -- go through the resultSet
ONCE, reading from first to last vertically and horizontally, and store the
result in another object you can reuse.



-Original Message-
From: Orozco, Juan Carlos [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 26, 2001 8:55 AM
To: [EMAIL PROTECTED]
Subject: Re: javax.servlet.ServletException: No data found... why
plea se h elp..!!


Thank you very much..for your help..
I change to JDBC Oracle thin driver, instead jdbc-odbc bridge,
and the jsp, begin to populate the list box, but i have this error..
Internal Servlet Error:javax.servlet.ServletException: Exhausted Resultset:

what's happening? , maybe the recordset it's too large??

thanks,

Juan



-Original Message-
From: Atilio Ranzuglia [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 25, 2001 11:12 AM
To: [EMAIL PROTECTED]
Subject: Re: javax.servlet.ServletException: No data found... why
please h elp..!!


Chris:

What you said is true on JDBC 1.0 but not in JDBC 2.0.

JDBC 2.0 allows you to calls the getter method in any
order, and to navigate through the ResultSet.

There are a lot of new features on JDBC 2.0.

Hope this help
Atilio


--- Chris Pratt <[EMAIL PROTECTED]> wrote:
> From what I understand, you cannot call a
> resultSet.getXXX() method more
> than once on a single value with predictable
> results.  You should probably
> get it and store it in a variable if you need to use
> it more than once.
> (*Chris*)
>
> - Original Message -
> From: "Orozco, Juan Carlos" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, June 23, 2001 7:38 AM
> Subject: [JSP-INTEREST]
> javax.servlet.ServletException: No data found...
> why please h elp..!!
>
>
> > Hi guys,
> >
> > I have a problem with the resultSets, when i made
> the getObject method
> > more than one time...example:
> >
> > String temp="";
> > String depto="";
> >
> > String
> paisd=(String)rst_loc.getObject("PAIS_ORIGEN");
> <--may be here
> >
> >
> > while (rst_loc_hasData)
> > {
> >
> > temp =
> (String)rst_loc.getObject("PAIS_ORIGEN"); <--here is
> the
> > problem
> >
> > while (paisd.equals(temp))
> >{
> >
> >
> depto=(String)rst_loc.getObject("DEPARTAMENTO");
> > %>
> >
> listB.addOptions(<%=paisd%>,<%=depto%>,<%=depto%>);
> > <-- my JavaScript function
> > <%
> > rst_loc_hasData =
> rst_loc.next();
> >
> paisd=(String)rst_loc.getObject("PAIS_ORIGEN");
> > }
> > }
> > rst_loc.close();
> > rst_loc = Statementrst_loc.executeQuery();
> > rst_loc_hasData = rst_loc.next();
> > rst_loc_isEmpty = !rst_loc_hasData;
> > %>
> >
> > I don't know why... and is the same thing when i
> am populate a listbox
> >
> >
> >
> > <%
> > String pais = "";
>   <-- I have to
> > declare this variables because i can't use
> getObject method
> > String pais_iso = "";
> > while (rst_paises_hasData)
> > {
> > pais =
> (String)rst_paises.getObject("PAIS");
> > pais_iso =
> > (String)rst_paises.getObject("PAIS_ORIGEN");
> > %>
> >value="<%=pais_iso%>"><%=pais%>
> > <-- i must can
> put(String)rst_paises.getObject("PAIS_ORIGEN")
> directly
> >   <%
> > rst_paises_hasData
> = rst_paises.next();
> > }
> > rst_paises.close();
> > rst_paises =
> Statementrst_paises.executeQuery();
> > rst_paises_hasData =
> rst_paises.next();
> > rst_paises_isEmpty =
> !rst_paises_hasData;
> > %>
> >
> >
> > Thanks a lot friends..!!
> >
> >
>
===
> > 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:
> >
> >  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.com address at
> http://mail.yahoo.com
>
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with
> body: "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body:
> "set JSP-INTEREST D

Re: javax.servlet.ServletException: No data found... why???? plea se h elp..!!

2001-06-26 Thread Orozco, Juan Carlos

Thank you very much..for your help..
I change to JDBC Oracle thin driver, instead jdbc-odbc bridge,
and the jsp, begin to populate the list box, but i have this error..
Internal Servlet Error:javax.servlet.ServletException: Exhausted Resultset:

what's happening? , maybe the recordset it's too large??

thanks,

Juan



-Original Message-
From: Atilio Ranzuglia [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 25, 2001 11:12 AM
To: [EMAIL PROTECTED]
Subject: Re: javax.servlet.ServletException: No data found... why
please h elp..!!


Chris:

What you said is true on JDBC 1.0 but not in JDBC 2.0.

JDBC 2.0 allows you to calls the getter method in any
order, and to navigate through the ResultSet.

There are a lot of new features on JDBC 2.0.

Hope this help
Atilio


--- Chris Pratt <[EMAIL PROTECTED]> wrote:
> From what I understand, you cannot call a
> resultSet.getXXX() method more
> than once on a single value with predictable
> results.  You should probably
> get it and store it in a variable if you need to use
> it more than once.
> (*Chris*)
>
> - Original Message -
> From: "Orozco, Juan Carlos" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, June 23, 2001 7:38 AM
> Subject: [JSP-INTEREST]
> javax.servlet.ServletException: No data found...
> why please h elp..!!
>
>
> > Hi guys,
> >
> > I have a problem with the resultSets, when i made
> the getObject method
> > more than one time...example:
> >
> > String temp="";
> > String depto="";
> >
> > String
> paisd=(String)rst_loc.getObject("PAIS_ORIGEN");
> <--may be here
> >
> >
> > while (rst_loc_hasData)
> > {
> >
> > temp =
> (String)rst_loc.getObject("PAIS_ORIGEN"); <--here is
> the
> > problem
> >
> > while (paisd.equals(temp))
> >{
> >
> >
> depto=(String)rst_loc.getObject("DEPARTAMENTO");
> > %>
> >
> listB.addOptions(<%=paisd%>,<%=depto%>,<%=depto%>);
> > <-- my JavaScript function
> > <%
> > rst_loc_hasData =
> rst_loc.next();
> >
> paisd=(String)rst_loc.getObject("PAIS_ORIGEN");
> > }
> > }
> > rst_loc.close();
> > rst_loc = Statementrst_loc.executeQuery();
> > rst_loc_hasData = rst_loc.next();
> > rst_loc_isEmpty = !rst_loc_hasData;
> > %>
> >
> > I don't know why... and is the same thing when i
> am populate a listbox
> >
> >
> >
> > <%
> > String pais = "";
>   <-- I have to
> > declare this variables because i can't use
> getObject method
> > String pais_iso = "";
> > while (rst_paises_hasData)
> > {
> > pais =
> (String)rst_paises.getObject("PAIS");
> > pais_iso =
> > (String)rst_paises.getObject("PAIS_ORIGEN");
> > %>
> >value="<%=pais_iso%>"><%=pais%>
> > <-- i must can
> put(String)rst_paises.getObject("PAIS_ORIGEN")
> directly
> >   <%
> > rst_paises_hasData
> = rst_paises.next();
> > }
> > rst_paises.close();
> > rst_paises =
> Statementrst_paises.executeQuery();
> > rst_paises_hasData =
> rst_paises.next();
> > rst_paises_isEmpty =
> !rst_paises_hasData;
> > %>
> >
> >
> > Thanks a lot friends..!!
> >
> >
>
===
> > 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:
> >
> >  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.com address at
> http://mail.yahoo.com
>
>
>
===
> 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:
>
>  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


=
Ing. Atilio Ranzuglia Buteler
[EMAIL PROTECTED]

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: 

Re: dynamic data from a servlet ??? thanks

2001-06-26 Thread Karau, Joe

Not sure what you need help with...

You know how to get values out of a database, correct?

You know how to build arrays in Java, correct?

Just get your data, build the two dimensional array per method spec, and
call the method.

What are you having problems with?

Joseph Karau
Kingland Systems
[EMAIL PROTECTED]
507-536-3629
AIM: jkara3629


-Original Message-
From: sufi malak [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 26, 2001 10:12 AM
To: [EMAIL PROTECTED]
Subject: dynamic data from a servlet ??? thanks


Hi, I have a servlet that draw charts, it works fine, but the data is
static, here is the function that has the static data :
/**
   * Creates and returns a category data source for the demo charts.
   */
  public CategoryDataSource createCategoryDataSource() {

Number[][] data = new Integer[][]
  { { new Integer(10), new Integer(4), new Integer(15), new Integer(14)
},
{ new Integer(5), new Integer(7), new Integer(14), new Integer(3) },
{ new Integer(6), new Integer(17), new Integer(12), new Integer(7)
},
{ new Integer(7), new Integer(15), new Integer(11), new Integer(0)
},
{ new Integer(8), new Integer(6), new Integer(10), new Integer(9) },
{ new Integer(9), new Integer(8), new Integer(8), new Integer(6) },
{ new Integer(10), new Integer(9), new Integer(7), new Integer(7) },
{ new Integer(11), new Integer(13), new Integer(9), new Integer(9)
},
{ new Integer(3), new Integer(7), new Integer(11), new Integer(10) }
};

return new DefaultCategoryDataSource(data);

  }

Can someone please help me on how to have another servlet that get data from
a database and return the array data, so I can call the above function
snstead like this :
/**
   * Creates and returns a category data source for the demo charts.
   */
  public CategoryDataSource createCategoryDataSource() {
GET THE ARRAY DATA FROM ANOTHER SERVLET HERE
return new DefaultCategoryDataSource(data);

  }

Thanks lot, your help will be appreciated.
Sufi


_
Get your FREE download of MSN Explorer at http://explorer.msn.com

===
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:

 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".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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: Image properties on UNIX

2001-06-26 Thread Pete Freitag

Yeah you need to have a X server installed, even if you aren't drawing the
image to the screen, the Java AWT requires this.  JRE 1.4 will not have this
requirement.

There are some ways around this...

1) Use Pure Java AWT http://www.eteks.com/pja/en/
2) Install an X Server (xvfb does not require display hardware)
3) Wait for JRE 1.4


Pete Freitag ([EMAIL PROTECTED])
CFDEV.COM
ColdFusion Developers Resources
http://www.cfdev.com/



-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Alireza Nahavandi
Sent: Tuesday, June 26, 2001 11:19 AM
To: [EMAIL PROTECTED]
Subject: Image properties on UNIX


Hi all,
I have a program which tries to get the width and height of an image. I use
java Frame as observer component. Program works fine on NT servers but on
Unix server it doesn't. There is no error message and program just halts. It
seems there are some server setting on Unix when using java Frames, does
anybody know about this? or is there any other way than Frames to get those
properties?

Thank you,

===
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:

 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".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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: Image properties on UNIX

2001-06-26 Thread David Morton

 If on linux and not in 'gui' mode try:
Xvfb
http://www.xfree.org/ (virtual framebuffer X server)

 We use this for our image sitesstart up command line...as if
in windows environment


David

At 11:18 AM 6/26/01 -0400, you wrote:
>Hi all,
>I have a program which tries to get the width and height of an image. I use
>java Frame as observer component. Program works fine on NT servers but on
>Unix server it doesn't. There is no error message and program just halts. It
>seems there are some server setting on Unix when using java Frames, does
>anybody know about this? or is there any other way than Frames to get those
>properties?
>
>Thank you,
>
>===
>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:
>
>  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".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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



Image properties on UNIX

2001-06-26 Thread Alireza Nahavandi

Hi all,
I have a program which tries to get the width and height of an image. I use
java Frame as observer component. Program works fine on NT servers but on
Unix server it doesn't. There is no error message and program just halts. It
seems there are some server setting on Unix when using java Frames, does
anybody know about this? or is there any other way than Frames to get those
properties?

Thank you,

===
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:

 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: Section 508

2001-06-26 Thread Haseltine, Celeste

Dwayne, 

I've worked as a contract developer for federal agencies (like the IRS) and
for state/local agencies in TX over the years.  All of the contracts I've
been on since 1998 have had a requirement that the products developed be
useable by people with disabilities, including navigation without the use of
a mouse, visual layout on the monitor screen not affected by change of font
size/monitor specifics, etc. In fact, when I worked out at the IRS site, we
actually used disabled people who worked in the gov't to test our products
prior to deployment.

Even though I have not read Section 508, this is not new news to anyone who
has worked on a federal contracts for IT services.  This has been a
requirement, as least in the contract itself, for the last couple of years.
In most cases, we developed our own internal libraries of code to meet any
needs a federal contract client required in regard to the software meeting
special needs/requirements for people with disabilities.  Since these were
all "cost plus" contracts, it didn't matter how much it cost us to develop
these custom libraries, as we were always able to recoup our costs, plus the
fixed amount of profit/overhead that was negotiated in the contract.  The
custom libraries, of course, belonged to the client when we were done, per
the requirements of the contract.

If you or your company is looking at making third party components to meet
this requirement, I would suggest that you do your homework on gov't
contracts/contracting in general first.  Many of these types of contracts
are "cost +", and are very lucrative contracts, as you are guaranteed to
recoup your costs and get your "fixed profit" as specified in the contract.
Some contracts even award bonus money if you finish by a certain
predetermined milestone.  But in most cases, it behooves the contracting
firm NOT to use third party tools, but to develop custom code, to meet many
of these types of federal requirements.  By doing so, you tie the client
closer to you and your services, and increase your chances that the client
will renew his contract with you indefinitely.  Many of these contracts,
such as the one I was on with the IRS, are 5 to 20 year contracts, with
options for renewal/exit out every 3-5 years.  So as you can see, using
third party tools are usually NOT in the interest of the contract firm, or
the programmers who are on the contract.

Celeste



-Original Message-
From: Conyers, Dwayne [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 25, 2001 9:45 AM
To: [EMAIL PROTECTED]
Subject: Section 508


We are developing JSP for federal government clients and are concerned about
compliance with Section 508, which President Bush recently spoke about and
which many government agencies are very nervous about.

http://www.iqsolutions.com/accessibility/section%20508/default.htm provides
details on Section 508, in case you are outside the USA or if you have never
heard of this provision.

I am curious how other JSP developers are working to stay in compliance with
this regulation... and specifically how difficult/easy is it to achieve and
maintain compliancy?

Also, are there any tools out there that automate the process of making JSP
documents Section 508 compliant?  We found a plug-in for Macromedia
UltraDev.  Any others?  Thanks!

 

©¿©¬ 
 =   Come with me, leave yesterday behind...
 And take a giant step outside your mind.
http://www.dwacon.com 

 

==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:

 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".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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



dynamic data from a servlet ??? thanks

2001-06-26 Thread sufi malak

Hi, I have a servlet that draw charts, it works fine, but the data is
static, here is the function that has the static data :
/**
   * Creates and returns a category data source for the demo charts.
   */
  public CategoryDataSource createCategoryDataSource() {

Number[][] data = new Integer[][]
  { { new Integer(10), new Integer(4), new Integer(15), new Integer(14)
},
{ new Integer(5), new Integer(7), new Integer(14), new Integer(3) },
{ new Integer(6), new Integer(17), new Integer(12), new Integer(7)
},
{ new Integer(7), new Integer(15), new Integer(11), new Integer(0)
},
{ new Integer(8), new Integer(6), new Integer(10), new Integer(9) },
{ new Integer(9), new Integer(8), new Integer(8), new Integer(6) },
{ new Integer(10), new Integer(9), new Integer(7), new Integer(7) },
{ new Integer(11), new Integer(13), new Integer(9), new Integer(9)
},
{ new Integer(3), new Integer(7), new Integer(11), new Integer(10) }
};

return new DefaultCategoryDataSource(data);

  }

Can someone please help me on how to have another servlet that get data from
a database and return the array data, so I can call the above function
snstead like this :
/**
   * Creates and returns a category data source for the demo charts.
   */
  public CategoryDataSource createCategoryDataSource() {
GET THE ARRAY DATA FROM ANOTHER SERVLET HERE
return new DefaultCategoryDataSource(data);

  }

Thanks lot, your help will be appreciated.
Sufi


_
Get your FREE download of MSN Explorer at http://explorer.msn.com

===
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:

 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: How to create a file in java

2001-06-26 Thread Billy Gates

ok

- Original Message -
From: "Atilio Ranzuglia" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 26, 2001 8:32 AM
Subject: Re: How to create a file in java


> King:
>
> There are a couple of servers that let you play with
> JavaMail, www.mycgiserver.com, www.webappcabaret.com
>
> Please, when you want to post a message to the list,
> reply one message and change the subject or create a
> new one and write the email direction again.
>
> Atilio
>
>
> --- King Maurice <[EMAIL PROTECTED]> wrote:
> > Thanks for the information, but I got enough
> > information about javamail.
> >
> > maurice
> > W.alltechneeds.com
> >
> >
> > - Original Message -
> > From: "Pantarotto, Sio" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, June 26, 2001 12:10 AM
> > Subject: Re: How to create a file in java
> >
> >
> > > I don't know if there is a webhost that allows you
> > to use javamail but if
> > > you are looking for an example and codes on how to
> > work with javamail I
> > got
> > > a good one in my web site
> > >
> > > www.geocities.com/hisiomara just click tutorials
> > >
> > > good luck
> > >
> > > siomara
> > >
> > > -Original Message-
> > > From: King Maurice
> > [mailto:[EMAIL PROTECTED]]
> > > Sent: Monday, June 25, 2001 8:32 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: How to create a file in java
> > >
> > >
> > > is there a free webhost that allow you to use
> > javamail
> > >
> > > - Original Message -
> > > From: "friza taib" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Monday, June 25, 2001 10:55 PM
> > > Subject: Re: How to create a file in java
> > >
> > >
> > > > yea.
> > > > u can use servlet instead.
> > > > but yr framework should be JSP-->servlet-->...
> > > >
> > > > try
> > > > {
> > > >   1. use FileInputStream where u can specify yr
> > dir.
> > > > }
> > > > catch
> > > > {
> > > > }
> > > >
> > > > for more details, refer to Java servlet
> > programming by O'reilly
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > >From: Atilio Ranzuglia <[EMAIL PROTECTED]>
> > > > >Reply-To: A mailing list about Java Server
> > Pages specification and
> > > > >reference <[EMAIL PROTECTED]>
> > > > >To: [EMAIL PROTECTED]
> > > > >Subject: Re: How to create a file in java
> > > > >Date: Mon, 25 Jun 2001 08:26:33 -0700
> > > > >
> > > > >Lorena:
> > > > >
> > > > >there is a lot of information on sun's site.
> > > > >(java.sun.com/j2se/1.3/docs/api/index.hmtl)
> > > > >also check thinking in java 2
> > (www.bruceeckel.com)
> > > > >
> > > > >the io issue is not a short one
> > > > >
> > > > >Hope this help
> > > > >Atilio
> > > > >
> > > > >
> > > > >--- Lorena Carlo <[EMAIL PROTECTED]> wrote:
> > > > > > Hello all,
> > > > > >
> > > > > > Does anybody know how to create a file in
> > java and
> > > > > > then save it to some
> > > > > > direction of the disk?
> > > > > >
> > > > > > Please help me, thanks in advance
> > > > > >
> > > > > > Lorena Carlo
> > > > > >
> > > > > >
> > > >
> > >
> >
>
>===
> > > > > > 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:
> > > > > >
> > > > > >  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
> > > > >
> > > > >
> > > > >=
> > > > >Ing. Atilio Ranzuglia Buteler
> > > > >[EMAIL PROTECTED]
> > > > >
> > > >
> > >__
> > > > >Do You Yahoo!?
> > > > >Get personalized email addresses from Yahoo!
> > Mail
> > > > >http://personal.mail.yahoo.com/
> > > > >
> > > >
> > >
> >
>
>===
> > > > >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:
> > > > >
> > > > >  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.
> > > >
> > > >
> > >
> >
>
===
> > > > To unsubscribe: mailto [EMAIL PROTECTED]
> > with body: "signoff
> > > JSP-INTEREST".
> > > > For digest: mailto [

SAXParser in session scope bean

2001-06-26 Thread Nianwei Liu

Hi,

I have a SESSION scope Java Bean in a JSP page. It used a javax.xml.parsers.SAXParser 
and a subclass of org.xml.sax.helpers.DefaultHandler, as:

public class myClass  {
SAXParser parser;
MyHandler handler; //extends org.xml.sax.helpers.DefaultHandler
...
}

My question is: what is the size of the SAXParser in general? (assume use default 
implementation crimson parser). Will it make a difference in performance if I create 
an external APPLICATION scope pool to store a group of SAXParsers and Handlers, and 
get/return instances from pool each time the page get executed? Also, do I need to 
mark the SAXParser and Handler as transient?

Thanks,

Nianwei

===
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:

 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: Loading applets

2001-06-26 Thread Atilio Ranzuglia

Leonard:

you have to remove out the ".class" section off
"code=foo.BarApplet.class"

Hope this help
Atilio


--- Leonard Wolters <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> I still have problems with loading applets within
> jsp pages.
>
> Consider the following scenario:
> I have a WAR file which consists of several .jsp
> files, a "WEB-INF"
> directory which contains a "classes" and a "lib"
> directory. In the classes
> directory, another directory "foo" exists which
> contains the "BarApplet.class" file.
>
> From one of the jsp files, i try to load the applet
> using the following
> code:
>
>type="applet"
>   code="foo.BarApplet.class"
>   codebase="/"
>   jreversion="1.3"
>   align="center"
>   height="400"
>   width="400"
>
>
nspluginurl="http://java.sun.com/products/plugin/1.3.0_01/plugin-install.html";
>
>
iepluginurl="http://java.sun.com/products/plugin/1.3.0_01/jinstall-130_01-win32.cab#Version=1,3,0,1";
> >
>
>   
> Unable to start plugin.
>   
> 
>
>
> Still, each time the java console tells me that the
> file foo.BarApplet.class cannot be found. Even after
> changing the codebase
> from relative to full (i.e. http://) it still
> doesn't work out.
>
> The only thing that works is to copy the
> "web-inf\classes\foo" directory
> to the 'root' of the WAR file i.e. the place where
> all .jsp files are
> located. Then, I finally see the applet showing
> up...
>
>
> The only thing that I can figure out is that the
> "web-inf\classes" is
> unaccessable from the web --> it is unvisible.
>
> Can someone please help me out by telling me how
> they succeeded in
> showing applets from jsp pages ? Do I need to
> explicitly create a jar
> file containing the applet ? Or can i use the
> web-inf\classes directory ?
> (preferable). Or do I just need to put the classes
> in the 'root' directory ?
>
> Please help me out !
>
> (I know for sure that it should be possible to
> access the applet from the
> web-inf\classes directory from a jsp file)
>
>
> Thanks
>
>
===
> 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:
>
>  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


=
Ing. Atilio Ranzuglia Buteler
[EMAIL PROTECTED]

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

===
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:

 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: How to create a file in java

2001-06-26 Thread Atilio Ranzuglia

King:

There are a couple of servers that let you play with
JavaMail, www.mycgiserver.com, www.webappcabaret.com

Please, when you want to post a message to the list,
reply one message and change the subject or create a
new one and write the email direction again.

Atilio


--- King Maurice <[EMAIL PROTECTED]> wrote:
> Thanks for the information, but I got enough
> information about javamail.
>
> maurice
> W.alltechneeds.com
>
>
> - Original Message -
> From: "Pantarotto, Sio" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, June 26, 2001 12:10 AM
> Subject: Re: How to create a file in java
>
>
> > I don't know if there is a webhost that allows you
> to use javamail but if
> > you are looking for an example and codes on how to
> work with javamail I
> got
> > a good one in my web site
> >
> > www.geocities.com/hisiomara just click tutorials
> >
> > good luck
> >
> > siomara
> >
> > -Original Message-
> > From: King Maurice
> [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, June 25, 2001 8:32 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: How to create a file in java
> >
> >
> > is there a free webhost that allow you to use
> javamail
> >
> > - Original Message -
> > From: "friza taib" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Monday, June 25, 2001 10:55 PM
> > Subject: Re: How to create a file in java
> >
> >
> > > yea.
> > > u can use servlet instead.
> > > but yr framework should be JSP-->servlet-->...
> > >
> > > try
> > > {
> > >   1. use FileInputStream where u can specify yr
> dir.
> > > }
> > > catch
> > > {
> > > }
> > >
> > > for more details, refer to Java servlet
> programming by O'reilly
> > >
> > >
> > >
> > >
> > >
> > > >From: Atilio Ranzuglia <[EMAIL PROTECTED]>
> > > >Reply-To: A mailing list about Java Server
> Pages specification and
> > > >reference <[EMAIL PROTECTED]>
> > > >To: [EMAIL PROTECTED]
> > > >Subject: Re: How to create a file in java
> > > >Date: Mon, 25 Jun 2001 08:26:33 -0700
> > > >
> > > >Lorena:
> > > >
> > > >there is a lot of information on sun's site.
> > > >(java.sun.com/j2se/1.3/docs/api/index.hmtl)
> > > >also check thinking in java 2
> (www.bruceeckel.com)
> > > >
> > > >the io issue is not a short one
> > > >
> > > >Hope this help
> > > >Atilio
> > > >
> > > >
> > > >--- Lorena Carlo <[EMAIL PROTECTED]> wrote:
> > > > > Hello all,
> > > > >
> > > > > Does anybody know how to create a file in
> java and
> > > > > then save it to some
> > > > > direction of the disk?
> > > > >
> > > > > Please help me, thanks in advance
> > > > >
> > > > > Lorena Carlo
> > > > >
> > > > >
> > >
> >
>
>===
> > > > > 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:
> > > > >
> > > > >  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
> > > >
> > > >
> > > >=
> > > >Ing. Atilio Ranzuglia Buteler
> > > >[EMAIL PROTECTED]
> > > >
> > >
> >__
> > > >Do You Yahoo!?
> > > >Get personalized email addresses from Yahoo!
> Mail
> > > >http://personal.mail.yahoo.com/
> > > >
> > >
> >
>
>===
> > > >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:
> > > >
> > > >  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.
> > >
> > >
> >
>
===
> > > 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:
> > >
> > >  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".
> > For dige

Re: signoff JSP-INTEREST

2001-06-26 Thread Anubhav Jain

___
DATA SECURITY - PLEASE READ
This communication may contain information which is CATALOGA confidential
and may also be privileged. It is for exclusive use of the intended
recipient(s). If you are not the intended recipient(s) please note that any
form of distribution, copying or use of this communication or information in
it, is strictly prohibited and may be unlawful.

If you have received this communication in error please forward it to
[EMAIL PROTECTED], then delete the email and destroy any copies of
it.

Thank you for your cooperation.
___

===
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:

 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



Loading applets

2001-06-26 Thread Leonard Wolters

Hi there,

I still have problems with loading applets within jsp pages.

Consider the following scenario:
I have a WAR file which consists of several .jsp files, a "WEB-INF"
directory which contains a "classes" and a "lib" directory. In the classes
directory, another directory "foo" exists which contains the "BarApplet.class" file.

>From one of the jsp files, i try to load the applet using the following
code:

http://java.sun.com/products/plugin/1.3.0_01/plugin-install.html";
  
iepluginurl="http://java.sun.com/products/plugin/1.3.0_01/jinstall-130_01-win32.cab#Version=1,3,0,1";
 >

  
Unable to start plugin.
  



Still, each time the java console tells me that the file foo.BarApplet.class cannot be 
found. Even after changing the codebase
from relative to full (i.e. http://) it still doesn't work out.

The only thing that works is to copy the "web-inf\classes\foo" directory
to the 'root' of the WAR file i.e. the place where all .jsp files are
located. Then, I finally see the applet showing up...


The only thing that I can figure out is that the "web-inf\classes" is
unaccessable from the web --> it is unvisible.

Can someone please help me out by telling me how they succeeded in
showing applets from jsp pages ? Do I need to explicitly create a jar
file containing the applet ? Or can i use the web-inf\classes directory ?
(preferable). Or do I just need to put the classes in the 'root' directory ?

Please help me out !

(I know for sure that it should be possible to access the applet from the
web-inf\classes directory from a jsp file)


Thanks

===
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:

 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



Sybase ASE JDBC driver

2001-06-26 Thread Lester June Cabrera

Does anybody know where I can get the Sybase ASE JDBC driver?

Thanks,
Lester


===
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:

  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".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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