Re: Back button

2001-03-26 Thread Nasser Dassi

Here's an idea,
  Have the status be incorporated into the resulting JSP... like @ the
top... then have it disappear (javascript, or whatever) when the resulting
JSP is fully loaded (ready to flush content to the browser).
  It's a much smarter way of doing it.  It eliminates a status page... it
makes the status be on the results; except it disappears when results are
there.

As my mom would say, "duh."

Yours,

  Nasser Dassi
  NYU Student Senator
  Software & Internet Developer
  [EMAIL PROTECTED]

  "Openmindedness Rewards A Lifetime"
- Original Message -
From: "Mihir Sahu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 26, 2001 2:42 PM
Subject: Back button


Hi,
   I have a jsp status page,  which is displayed by the call from a
servlet(this in turn was called by another jsp).  I do not want the back
button on the browser to take me to the jsp which had called by the
servlet, but to some other page(homepage etc.). Is there any method to
do it directly by including something in the status page.  Any help is
really appreciated.  Thanks
Regards
Mihir

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



EJB trouble

2001-03-26 Thread DIMINO David

hello,

this is my first message to the list, I'm new at Java and I'd like to
experiment the EJB's.
I work with VisualAge for Java (IBM) in the Websphere Test Environment.

I've created an EJB group, MyHelloWorldGroup; an EJB (session),
MyHelloWorldBean and an access Bean,
MyHelloWorldAccessBean.

I'd like to create a client class "MyHelloWorldClient" to test my EJB.
Here is the main method of this class:

public static void main(java.lang.String[] args)

{
 try
 {
  String beanResult = null, ch = null;
  ch = "lalalala";
  MyHelloWorldAccessBean bAcces = null;
  beanResult = bAcces.hello(ch);  //hello(String param) that
only returns
 //param is a remote method of my
EJB.

  System.out.println("Retour de Bean Session: " + beanResult);
 }
 catch(Exception e)
 {
  System.out.println("Erreur: " + e.getMessage());
 }
}

This code doesn't work, I don't understand why it opens the debugger with
the insert:

 beanResult = bAcces.hello(ch (java.lang.String) lalalala);

Could someone help me please...

Thanks.

David.

===
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: Dreamweaver & JSP

2001-03-26 Thread Lee Turner

I have to agree.  We have put together a few simple intranet applications
very quickly, but the code that it generates is very hard to maintain - all
that JDBC code in each file - yuck !!!  I am not sure about UltraDev 4, but
in the previous version it would only allow you to use single column primary
keys.  This is a little difficult in larger apps.  I would personally stick
to UltraDev for knocking together prototypes.

Cheers
Lee

_

Lee Turner
Systems Developer
Information Technology Leeds
_

Watt Gilchrist Ltd
Ring Road, West Park
Leeds, LS16 6RA
Tel: 0113 288 3200
Fax: 0113 275 1690
http://www.wattgilchrist.co.uk
_


> -Original Message-
> From: M. Simms [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, March 26, 2001 7:38 AM
> To:   [EMAIL PROTECTED]
> Subject:  Re: Dreamweaver & JSP
>
> Yeah.but what about all of that imbedded JSP code within the
> page..
> how are you going to make changes ?
> Once you do, you cannot go back to the built-in JSP code generator /
> Ultradev server-side behaviors
> it's a one-way streetunless you know how to customize the
> behaviors
>
> > -Original Message-
> > From: A mailing list about Java Server Pages specification and reference
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Dylan Rosario
> > Sent: Friday, March 23, 2001 12:31 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Dreamweaver & JSP
> >
> >
> > Erwin,
> >
> > I developed a 30 page JSP application in under 2 week by my self with
> > Dreamweaver Ultradev4.  Complete with administration forms and
> > multi-record
> > views.  It's the fastest way to get a mid to large size app to the
> market.
> > I highly recommend it.  Stick to servlets to do complex binary
> > streams from
> > the database and you have a powerful tool at your hands.
> >
> > If you like superior layout design I recommend dreamweaver after you
> write
> > your code.  But even with it's repeat region function you will find the
> > flexibility and extensibility nice.
> >
> > Dylan
> >
> > At 08:40 AM 3/23/01 +0530, you wrote:
> > >Hi guys,
> > >
> > >This is my first J2ee project, and i was wondering - Can I use
> > Dreamweaver
> > >3 for editing my jsp files, or should I get Dreamweaver Ultradev? I'm
> > >pretty good at using DW 3.
> > >I don't need dreamweaver to do any coding itself - I am eager to do
> every
> > >bit of the jsp coding myself. But I'm wondering whether DW3 will allow
> me
> > >to edit the (layout of the) pages after i've finished coding them.
> > >I intend to use taglibs, but not XML.
> > >
> > >Any advice from the experts?
> > >TIA!
> > >
> > >-Erwin
> > >
> > >=
> > ==
> > >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

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



JSP & servlets problem in Netscape.

2001-03-26 Thread naidu

hi everybody,

We have developed a web site using JSP and servlets to our client, which was
tested in our office throughly and it was working fine with Netscape and
Internet Explorer, when we tested it.
But when we installed it at the client site it is not working in Netscape.

In netcape home page is opening which is static page.
Whenever i want to sign in or sign up,its displaying blank page.Any link
related to jsp and servlets is not working in Netscape,but working fine IE.

Can you please help me with this regard.

Thank you all.
Naidu Babu.

===
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: JSP & servlets problem in Netscape.

2001-03-26 Thread anuj

check the url in netscape. is it encoded properly ?
spaces give a %20... and so on.

just a suggestion!

bye

Anuj

- Original Message -
From: "naidu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 26, 2001 5:16 PM
Subject: JSP & servlets problem in Netscape.


> hi everybody,
>
> We have developed a web site using JSP and servlets to our client, which
was
> tested in our office throughly and it was working fine with Netscape and
> Internet Explorer, when we tested it.
> But when we installed it at the client site it is not working in Netscape.
>
> In netcape home page is opening which is static page.
> Whenever i want to sign in or sign up,its displaying blank page.Any link
> related to jsp and servlets is not working in Netscape,but working fine
IE.
>
> Can you please help me with this regard.
>
> Thank you all.
> Naidu Babu.
>
>
===
> 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



Jsp and JArs

2001-03-26 Thread Tom Simpson

Hi all

Can you tell me if you can have Beans in a jar file
for

the JSP  to use.

If so could you lead me on where to look or give me
example?

Thanks in advance

new to JSP


=
Thomas Simpson
[EMAIL PROTECTED]

__
Do You Yahoo!?
Get email at your own domain with 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: Disabling back button on the browser

2001-03-26 Thread Marty McKeever

In addition to being a faq on this list, it's also one of the worst
possible mistakes you can make, in terms of usability.   Users love their
back buttons, and will react unfavorably to any attempt to disable it.  The
solution, of course, is to accomodate it.
Pissing off your users does nothing to improve your product.
It just makes you look lazy...

Marty


At 07:27 PM 3/25/01 -0800, you wrote:
>Have you checked the archive.  This has to be one of the most f.a.q.
>
>http://archives.java.sun.com/archives/jsp-interest.html
>
>
>- Original Message -
>From: Swaminathan Gopal <[EMAIL PROTECTED]>
>Date: Sunday, March 25, 2001 7:49 pm
>Subject: Disabling back button on the browser
>
> > Hi,
> >
> > Can anyone of you please tell me how can we disable the back
> > button on the
> > browser using JavaScript.
> >
> > Regards,
> > Swami.
> >
> >
>
>===
> > 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

## Marty McKeever[Information Architect]
## [EMAIL PROTECTED] [I-Silver, Inc]

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



Debugging JSP with JRun Studio

2001-03-26 Thread Ganesh MohanRao

Since I didn't get not even one reply, I am resending this.


Hi All,

I am trying to Debug JSP with Jrun Studio which I am not able to do.

When I start Debug it gives the following error.

"An error occured contacting RDS server(localhost Hostname:localhost): (9) A
connection with server could not be established".

Have any of you worked on this Debug in Jrun?

Your help is highly Appreciated.


Thanx in Advance.

Ganesh

===
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: Disabling back button on the browser

2001-03-26 Thread Geert Van Damme

And besides that, I don't think there's a safe way to disable the back
button anyway.
In web development, if you rely on client side stuff, there's never a safe
way to do anything.
- disabling back button
- form field validation
- client side redirects
- javascript in general,
- applets

Not that you shouldn't use these techniques, you just have to be aware of
the limiation.

Geert Van Damme


> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Marty McKeever
> Sent: maandag 26 maart 2001 16:34
> To: [EMAIL PROTECTED]
> Subject: Re: Disabling back button on the browser
>
>
> In addition to being a faq on this list, it's also one of the worst
> possible mistakes you can make, in terms of usability.   Users love their
> back buttons, and will react unfavorably to any attempt to
> disable it.  The
> solution, of course, is to accomodate it.
> Pissing off your users does nothing to improve your product.
> It just makes you look lazy...
>
> Marty
>
>
> At 07:27 PM 3/25/01 -0800, you wrote:
> >Have you checked the archive.  This has to be one of the most f.a.q.
> >
> >http://archives.java.sun.com/archives/jsp-interest.html
> >
> >
> >- Original Message -
> >From: Swaminathan Gopal <[EMAIL PROTECTED]>
> >Date: Sunday, March 25, 2001 7:49 pm
> >Subject: Disabling back button on the browser
> >
> > > Hi,
> > >
> > > Can anyone of you please tell me how can we disable the back
> > > button on the
> > > browser using JavaScript.
> > >
> > > Regards,
> > > Swami.
> > >
> > >
> >
> >===
> > > 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
>
> ## Marty McKeever[Information Architect]
> ## [EMAIL PROTECTED] [I-Silver, Inc]
>
> ==
> =
> 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



Response has already been committed

2001-03-26 Thread Marino Vittorio

I can never figure out why I get this:

java.lang.IllegalStateException: Response has already been committed
at
org.apache.tomcat.core.HttpServletResponseFacade.sendError(HttpServletRespon
seFacade.java, Compiled Code)
at
org.apache.jasper.runtime.JspServlet.unknownException(JspServlet.java,
Compiled Code)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java,
Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled
Code)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java,
Compiled Code)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java, Compiled
Code)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java, Compiled Code)
at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java,
Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)


Any hint?
Thanks, Vittorio

===
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: [Opensource] note about bringing Expresso into CVS

2001-03-26 Thread Peter Pilgrim

I just tried out the -d  command with CVS checkout.

pilgpe@cedar (bash) [374] > cvs checkout -d .  GDD2/eMIS/src
cvs server: existing repository /export/devel/cvs/. does not match 
/export/devel/cvs/GDD2/eMIS/src
cvs server: ignoring module GDD2/eMIS/src


pilgpe@cedar (bash) [375] > cvs checkout -help
checkout: invalid option -- h
Usage:
  cvs checkout [-ANPcflnps] [-r rev | -D date] [-d dir] [-k kopt] modules...
-A  Reset any sticky tags/date/kopts.
-N  Don't shorten module paths if -d specified.
-P  Prune empty directories.
-c  "cat" the module database.
-f  Force a head revision match if tag/date not found.
-l  Local directory only, not recursive
-n  Do not run module program (if any).
-p  Check out files to standard output (avoids stickiness).
-s  Like -c, but include module status.
-r rev  Check out revision or tag. (implies -P) (is sticky)
-D date Check out revisions as of date. (implies -P) (is sticky)
-d dir  Check out into dir instead of module name.
-k kopt Use RCS kopt -k option on checkout.
-j rev  Merge in changes made between current revision and rev.
pilgpe@cedar (bash) [376] >

I cannot force CVS to checkout to the current directory. It seems to only work by 
creating
`./GDD2/eMIS/src' path in my current directory. Which is not what I want because
that CVS directory is the root of the project and the expresso web app.

I want

`/home/gdd2_dev/jakarta-tomcat-3.2.1/webapps/expresso3.0fcs/WEB-INF/classes'

and not

`/home/gdd2_dev/jakarta-tomcat-3.2.1/webapps/expresso3.0fcs/GDD2/eMIS/src/WEB-INF/classes'

Any ideas on CVS?

What is a best recommend practice on CVS with JSP 1.1 containers?

I think Jakarta just throw the whole the web app root into CVS.

jakarta/
jakarta/examples
jakarta/WEB-INF
jakarta/WEB-INF/classes
jakarta/WEB-INF/tlds

This is what I have done for my own CVS set up. It seems that CVS does not
cope well with directory restructuring and is very rigid

--

Peter Pilgrim
G.O.A.T
"the Greatest Of All Time"



 Message History 



From: Adam Rossi <[EMAIL PROTECTED]>@javacorporate.com on 20/03/2001 
11:59 EST

Please respond to [EMAIL PROTECTED]

DELEGATED - Sent by: [EMAIL PROTECTED]


To:   [EMAIL PROTECTED]
cc:
Subject:  [Opensource] note about bringing Expresso into CVS


We just imported Expresso 3.0 source into our CVS server, and I wanted to
share a note about a small gotcha that we ran into. When you import the
source, cvs will by default skip the "core" subdirectory in the source tree.
This is an important directory. You need to alter the import command to force
cvs to import everything, like so:

cvs import -I ! -m "Imported from source" mydir/ mycompany start

Hope this saves someone some time.

- Adam

--
Adam Rossi
President, PlatinumSolutions, Inc.
[EMAIL PROTECTED]
http://www.platinumsolutions.com
P.O. Box 31  Oakton, VA 22124
PH: 703.471.9793  FAX: 703.471.7140


___
Opensource mailing list
[EMAIL PROTECTED]
http://www.javacorporate.com/mailman/listinfo/opensource



--

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorised copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.

===
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: Response has already been committed

2001-03-26 Thread Tim Hengst

Marino,

I've been struggling with the same error - sometimes it occurs in a
non-predictable way.  Generally, it occurs when you try to write to the
Writer having already "committed" the response object (either explicitly by
calling certain response object methods (see below), or implicitly by
writing enough data to the response object to fill the buffer - thus causing
it to flush to the client).

What is the "root cause" error report?

The J2EE API states the following regarding certain response methods:

flushBuffer
public void flushBuffer() throws java.io.IOException
Forces any content in the buffer to be written to the client. A call to this
method automatically commits the response, meaning the status code and
headers will be written.

isCommitted
public boolean isCommitted()
Returns a boolean indicating if the response has been committed. A commited
response has already had its status code and headers written.
Returns:
a boolean indicating if the response has been committed




reset
public void reset()
Clears any data that exists in the buffer as well as the status code and
headers. If the response has been committed, this method throws an
IllegalStateException.
Throws:
java.lang.IllegalStateException - if the response has already been committed




Tim Hengst
Tampa, FL

-Original Message-
From: Marino Vittorio [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 26, 2001 10:28 AM
To: [EMAIL PROTECTED]
Subject: Response has already been committed


I can never figure out why I get this:

java.lang.IllegalStateException: Response has already been committed
at
org.apache.tomcat.core.HttpServletResponseFacade.sendError(HttpServletRespon
seFacade.java, Compiled Code)
at
org.apache.jasper.runtime.JspServlet.unknownException(JspServlet.java,
Compiled Code)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java,
Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled
Code)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java,
Compiled Code)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java, Compiled
Code)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java, Compiled Code)
at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java,
Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)


Any hint?
Thanks, Vittorio

===
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: Response has already been committed

2001-03-26 Thread Bolt, Dave

Often this happens because you are attempting to forward a user to another
page or an error has occured and Tomcat is attempting to send the user to
your web apps error page and content has already been sent to the user. This
can also happen when you try to set various headers in the response object
(mime type, length, etc.) and content has already been sent to the user.

Most JSP engines, including Tomcat, use a buffer that temporarily holds
information to be sent back to the user, as long as the buffer has not been
flushed (i.e. sent to the user's browser), you can do stuff like
, etc. Once the buffer has been flushed at least once, any
attempt to forward the user, set HTTP headers, etc. will cause the app to
get this exception. The buffer is something like 4K or 8K in size.

Double check the content on your page, you are probably getting an exception
which is causing a forward to your error page, but the buffer has already
flushed. Check the log files carefully, you might have an earlier exception
that is being masked by the IllegalStateException. Many of the books on JSPs
and servlets also cover this issue, so you might visit your local bookstore
to scan for help on this issue.

Good luck
Dave

-Original Message-
From: Marino Vittorio [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 26, 2001 10:28 AM
To: [EMAIL PROTECTED]
Subject: Response has already been committed


I can never figure out why I get this:

java.lang.IllegalStateException: Response has already been committed
at
org.apache.tomcat.core.HttpServletResponseFacade.sendError(HttpServletRespon
seFacade.java, Compiled Code)
at
org.apache.jasper.runtime.JspServlet.unknownException(JspServlet.java,
Compiled Code)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java,
Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled
Code)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java,
Compiled Code)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java, Compiled
Code)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java, Compiled Code)
at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java,
Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)


Any hint?
Thanks, Vittorio

===
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: Cannot insert data into table

2001-03-26 Thread Satyanarayan Divakar

Hi,

 Instead of executeQuery(sql) you need to use executeUpdate(sql). For
further information please go through documentation on JDBC.

Regards,
Divakar

-Original Message-
From: kuttappan [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 24, 2001 11:29 AM
To: [EMAIL PROTECTED]
Subject: Cannot insert data into table


Hello all. This is a snippet from my JavaBean that I'm using to insert data
into MySql database.
The bean is working perfectly alright but I can't insert data into the user
table. Please help and do tell what I'm doing wrong here.

This is the code:

public String saveToDB() {
  try {
   Class.forName("org.gjt.mm.mysql.Driver").newInstance();
   try {
cn = DriverManager.getConnection("jdbc:mysql://localhost/users");
try{
 Statement st = cn.createStatement();
 String sql = "insert into user Values('"+userName+"','"+password1+"')";
 st.executeQuery(sql);
 return "success";
}
catch(SQLException e){
 return e.toString();
}
   }
   catch(SQLException e){
return e.toString();
   }
  }
  catch(ClassNotFoundException e){
   return e.toString();
  }
  catch(Exception e) {
   return e.toString();
  }
 }

Thanks.

Rohit.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.237 / Virus Database: 115 - Release Date: 07/03/2001

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



Invalide directive ???

2001-03-26 Thread sufi malak

I am using a jsp file from IBM examples (jsp with xml), I just changed :

http://localhost/xml/specs.xml">
http://localhost/xml/specs.xsl">


to :

<%@ page import="DataIslandBean"%>


  http://localhost:8080/ibmxml/specs.xml" >
   http://localhost:8080/ibmxml/specs.xsl" >


Here is the jsp file :

<%@ import = "com.lotus.xsl.XSLProcessor" %>
<%@ page import="DataIslandBean"%>


  http://localhost:8080/ibmxml/specs.xml" >
   http://localhost:8080/ibmxml/specs.xsl" >




 XML Data Island Sample 



Data Island Example

<%= dataIslandBean.getDocument() %>





I got this error :
A Servlet Exception Has Occurred
org.apache.jasper.compiler.ParseException:
C:\tomcat4\bin\..\webapps\ibmxml\XMLSample.jsp(0,4) Invalid directive
at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:214)



_
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



Formatting excel sheet in jsp

2001-03-26 Thread Rama, Raman

I am displaying an excel sheet using jsp by setting the content type as
follows:

<%@ page contentType="application/vnd.ms-excel" %>

Is there a way I can do the cell formatting inside my jsp, e.g. changing
font color, column width etc?

Thanks,
Raman

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



how to call EJB from Java bean...

2001-03-26 Thread RAJESH SINGHANIA

hi all..
i am facing one problem...
could anybody help me

while calling an EJB from Java bean it's giving an
error that remote ,home interface not found

please help me
with regards,
rajesh

__
Do You Yahoo!?
Get email at your own domain with 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: Formatting excel sheet in jsp

2001-03-26 Thread Brad Rhoads

You'll need to use the COM interface for that.

http://www.infozoom.de/IE/home.html give you everything thing you need to
build a java interface for COM objects. And it comes with examples for Word,
Excel, & PowerPoint. I'm using it successfully now w/ Crystal Reports.


> -Original Message-
> From: Rama, Raman [mailto:[EMAIL PROTECTED]]
> Sent: Monday, March 26, 2001 10:55 AM
> To: [EMAIL PROTECTED]
> Subject: Formatting excel sheet in jsp
>
>
> I am displaying an excel sheet using jsp by setting the
> content type as
> follows:
>
> <%@ page contentType="application/vnd.ms-excel" %>
>
> Is there a way I can do the cell formatting inside my jsp,
> e.g. changing
> font color, column width etc?
>
> Thanks,
> Raman
>
> ==
> =
> 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



JSWDK-1.0.1 error page

2001-03-26 Thread Daniel Tomé

Hi,
I wanted to know if there's anyway that I can display the errors on the web
browser instead of the cmd console.
Thanks.

Daniel Tome
[EMAIL PROTECTED]

===
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: JSWDK-1.0.1 error page

2001-03-26 Thread Alison Dent

In the catch clause of the try-catch

exception.printStackTrace(out);

A. Dent



Daniel Tomé wrote:
>
> Hi,
> I wanted to know if there's anyway that I can display the errors on the web
> browser instead of the cmd console.
> Thanks.
>
> Daniel Tome
> [EMAIL PROTECTED]
>
> ===
> 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



off topic (windows2000, classpath) ??

2001-03-26 Thread sufi malak

Do we have to shutdown windows2000 every time we set the classpath ??
_
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: off topic (windows2000, classpath) ??

2001-03-26 Thread Ying Ho

Not if you make your changes in control panel/system -> tab (advanced) ->
Enviroment variables.

- Original Message -
From: "sufi malak" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 26, 2001 8:39 PM
Subject: off topic (windows2000, classpath) ??


> Do we have to shutdown windows2000 every time we set the classpath ??
> _
> 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: Basic Newbie Question

2001-03-26 Thread Ying Ho

> java.sql.SQLException: [Microsoft][ODBC SQL Server Driver][SQL
> Server]Invalid co
> lumn name 'fname'.
> at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6031)
> at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:6188)
> at sun.jdbc.odbc.JdbcOdbc.SQLExecDirect(JdbcOdbc.java:2494)
> at sun.jdbc.odbc.JdbcOdbcStatement.execute(JdbcOdbcStatement.java:314)
> at sun.jdbc.odbc.JdbcOdbcStatement.executeUpdate(JdbcOdbcStatement.java:
> 264)
> at examples.Test.setDatabase(Test.java:92)
> at java.lang.reflect.Method.invoke(Native Method)

According to the error its the SQL that is wrong. Wrong column name according to
the error statement (column name fname does not exists).

- Original Message -
From: "joe smith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, March 25, 2001 4:05 PM
Subject: Basic Newbie Question


> I'm trying to test setting a simple string value to my java bean's setter
> method from the input of a JSP page.
>
> Using the JSP set syntax and usebean to get a reference to my bean's setter
> method, can I use response.encodeURL() to call the same current jsp and then
> the same jsp calls the setter method on the bean, which then updates the
> database?
>
> I don't know if this is correct or not, but my example is not working. My
> database should be fine and my java bean syntax/connection to db should be
> fine. I just don't have the right syntax in my JSP page to submit the input
> value to my bean - I think.
>
> Thank you!
>
> Here is my jsp code:
>
> 
>
>  type='examples.TestIF' />
>
> 
> 
> Test Bean
> 
>
>  >
>
> 
> 
>
> 
> 
> 
>
>
>
> Here is my error stack trace:
>
> java.sql.SQLException: [Microsoft][ODBC SQL Server Driver][SQL
> Server]Invalid co
> lumn name 'fname'.
> at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6031)
> at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:6188)
> at sun.jdbc.odbc.JdbcOdbc.SQLExecDirect(JdbcOdbc.java:2494)
> at sun.jdbc.odbc.JdbcOdbcStatement.execute(JdbcOdbcStatement.java:314)
> at sun.jdbc.odbc.JdbcOdbcStatement.executeUpdate(JdbcOdbcStatement.java:
> 264)
> at examples.Test.setDatabase(Test.java:92)
> at java.lang.reflect.Method.invoke(Native Method)
>
>
> __
> FREE Personalized Email at Mail.com
> Sign up at http://www.mail.com/?sr=signup
>
> ===
> 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



IBM XSLProcessor problem ????

2001-03-26 Thread sufi malak

Hi , I am trying to learn xml from some IMB articles, I downloaded this
article :
http://www-106.ibm.com/developerworks/library/dataislands/index.html

My classpath looks like this :
C:\Majid\Mydownload\ZIP\pdfManuscript.jar;C:\Majid\xml4j_2_0_9\xml4j.jar;C:\Majid\lotusxsl-j_2_0_0\bin\lotusxsl.jar;

But when I compile :
C:\tomcat4\webapps\ibmxml\WEB-INF\classes>javac -deprecation
DataIslandBean.java

DataIslandBean.java:53: cannot access org.apache.xalan.xslt.XSLTEngineImpl
file org\apache\xalan\xslt\XSLTEngineImpl.class not found
XSLProcessor processor = new XSLProcessor();
 ^
DataIslandBean.java:54: warning:
process(java.lang.String,java.lang.String,java.
io.PrintWriter) in com.lotus.xsl.XSLProcessor has been deprecated
processor.process(xml, xsl, pw);
 ^
1 error
1 warning

Please help me.
Thanks

_
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



do you know the difference?

2001-03-26 Thread Shawn Zhu

Hi in a servlet that takes request and response parameters.
  You can use

request.getRequestDispatcher("somefile.jsp").forward(request,response);
  or

getServletConfig().getServletContext().getRequestDispatcher("somefile.jsp").
forward(request,response);

Are they the same thing?  If they are then I'd assume the later is used
if you don't have request object handy in that function.

===
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: JavaBeans Components vs. EJBs

2001-03-26 Thread Eduardo Pelegri-Llopart

Also note that the tag handlers that are used to implement JSP tag
libraries follow the JavaBeans patterns.

- eduard/o

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



Back button

2001-03-26 Thread Mihir Sahu

Hi,
   I have a jsp status page,  which is displayed by the call from a
servlet(this in turn was called by another jsp).  I do not want the back
button on the browser to take me to the jsp which had called by the
servlet, but to some other page(homepage etc.). Is there any method to
do it directly by including something in the status page.  Any help is
really appreciated.  Thanks
Regards
Mihir

===
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: Performance on (PureJSP) vs. (JSP+XML/XSL)

2001-03-26 Thread Eduardo Pelegri-Llopart

First a note that XSLT & XML can be used not just as on the output
part of a JSP but also when processing data in.

We are seing a number of peple use tag libraries to get better reuse of
abstractions, with multiple JSP pages per substantially different user
itnerations.  Experience seems to point that it is hard to do a good job
designing a JSP page that works equally well for, say, a voice
interaction and a desktop browser interaction.  But we have heard of
people being sucessful using XSLT to, say, cover the differences between
multiple WAP clients, or compact HTML or basic XHTML, or the like - all
similar interaction models.  In general going with plain JSP seems to be
faster, and people doing XSLT tend to do caching - although XSLTC does
deliver good performance-; but really what is important (usually) is
whether it is fast "enough".

Also check out http://java.sun.com/products/jsp/html/JSPXML.html,
although that paper & presentation is due for an update.

Hope this helps,

- eduard/o

> Hi,
>
> I have a scenario where I need to write
> web-server-side component that generates UI in an
> efficient way. I am considering many different
> combinations of technologies to achieve this:
> (1) Servlets + XML/XSL
> (2) JSP + XML/XSL
> (3) Just JSP
> (4) Just Servlets
> Among these four both (2) and (3) are the chosen.
> Among these two, which one is the best for:
> (A) Best Performance
> (B) Scalable
> (C) Customizable
> (D) Easily maintainable, etc
>
> Any help would be really appreciatable.
>
> Thank you.
>
> -Srini
>

===
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: Dreamweaver & JSP

2001-03-26 Thread M. Simms

Bingomy sentiments exactly.
it's also good for designer-types who cannot program for sh...t.


> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Lee Turner
> Sent: Monday, March 26, 2001 5:07 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Dreamweaver & JSP
>
>
> I have to agree.  We have put together a few simple intranet applications
> very quickly, but the code that it generates is very hard to
> maintain - all
> that JDBC code in each file - yuck !!!  I am not sure about
> UltraDev 4, but
> in the previous version it would only allow you to use single
> column primary
> keys.  This is a little difficult in larger apps.  I would
> personally stick
> to UltraDev for knocking together prototypes.
>
> Cheers
> Lee
>
> _
>
> Lee Turner
> Systems Developer
> Information Technology Leeds
> _
>
> Watt Gilchrist Ltd
> Ring Road, West Park
> Leeds, LS16 6RA
> Tel: 0113 288 3200
> Fax: 0113 275 1690
> http://www.wattgilchrist.co.uk
> _
>
>
> > -Original Message-
> > From: M. Simms [SMTP:[EMAIL PROTECTED]]
> > Sent: Monday, March 26, 2001 7:38 AM
> > To:   [EMAIL PROTECTED]
> > Subject:  Re: Dreamweaver & JSP
> >
> > Yeah.but what about all of that imbedded JSP code within the
> > page..
> > how are you going to make changes ?
> > Once you do, you cannot go back to the built-in JSP code generator /
> > Ultradev server-side behaviors
> > it's a one-way streetunless you know how to customize the
> > behaviors
> >
> > > -Original Message-
> > > From: A mailing list about Java Server Pages specification
> and reference
> > > [mailto:[EMAIL PROTECTED]]On Behalf Of Dylan Rosario
> > > Sent: Friday, March 23, 2001 12:31 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: Dreamweaver & JSP
> > >
> > >
> > > Erwin,
> > >
> > > I developed a 30 page JSP application in under 2 week by my self with
> > > Dreamweaver Ultradev4.  Complete with administration forms and
> > > multi-record
> > > views.  It's the fastest way to get a mid to large size app to the
> > market.
> > > I highly recommend it.  Stick to servlets to do complex binary
> > > streams from
> > > the database and you have a powerful tool at your hands.
> > >
> > > If you like superior layout design I recommend dreamweaver after you
> > write
> > > your code.  But even with it's repeat region function you
> will find the
> > > flexibility and extensibility nice.
> > >
> > > Dylan
> > >
> > > At 08:40 AM 3/23/01 +0530, you wrote:
> > > >Hi guys,
> > > >
> > > >This is my first J2ee project, and i was wondering - Can I use
> > > Dreamweaver
> > > >3 for editing my jsp files, or should I get Dreamweaver Ultradev? I'm
> > > >pretty good at using DW 3.
> > > >I don't need dreamweaver to do any coding itself - I am eager to do
> > every
> > > >bit of the jsp coding myself. But I'm wondering whether DW3
> will allow
> > me
> > > >to edit the (layout of the) pages after i've finished coding them.
> > > >I intend to use taglibs, but not XML.
> > > >
> > > >Any advice from the experts?
> > > >TIA!
> > > >
> > > >-Erwin
> > > >
> > > >=
> > > ==
> > > >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
>
> ==
> =
> To unsubsc

Re: Back button

2001-03-26 Thread Bansal Siddharth

I don't think you can modify the back button on the browser. I had a
similar problem and what I did is to direct the page to a new window and
close the old window and it appears no change. So the new window will not
have any back button at all.

I hope this will help you, it helped me avoid somethings.

Siddharth Bansal
Consultant (CT/AD&I/FSI)
Cap Gemini Ernst & Young



Mihir Sahu
<[EMAIL PROTECTED]To: [EMAIL PROTECTED]
>cc:
Sent by: A   Subject: Back button
mailing list
about Java Server
Pages
specification and
reference



03/26/2001 01:42
PM
Please respond to
A mailing list
about Java Server
Pages
specification and
reference






Hi,
   I have a jsp status page,  which is displayed by the call from a
servlet(this in turn was called by another jsp).  I do not want the back
button on the browser to take me to the jsp which had called by the
servlet, but to some other page(homepage etc.). Is there any method to
do it directly by including something in the status page.  Any help is
really appreciated.  Thanks
Regards
Mihir

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



__
The information contained in this communication is intended solely for the
use of the individual or entity to whom it is addressed and others
authorized to receive it. It may contain confidential or legally privileged
information. If you are not the intended recipient you are hereby notified
that any disclosure, copying, distribution or taking any action in reliance
on the contents of this information is strictly prohibited and may be
unlawful. If you have received this communication in error, please notify
us immediately by responding to this email and then delete it from your
system. Cap Gemini Ernst & Young is neither liable for the proper and
complete transmission of the information contained in this communication
nor for any delay in its receipt.

===
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: Dreamweaver & JSP

2001-03-26 Thread Dylan Rosario

The original question was can you use Dreamweaver ULTRADEV to lay out the
page... well of course you can. And well the layout of the HTML and the
various ways to view you document is worth the time it take to learn the
application.  The sites you can create are beautiful.

If you used vi   "all"
the time, your web site would look like sht.  

Coding is just as much of an art form as graphics.  I think if you
are a web developer you should always aspire to do better design. No
matter if it is a photoshop project or a complex java bean.  Those
who criticize new tools like Dreamweaver are probably not even using a
GUI based operating system.  Only coders who lack the flexibility to
ever grow beyond vi are scared of Graphical based tools.  I use vi
too but it's not the tool to use for layout.

Yes, I have to agree with you on the one-way street if you use the
Ultradev generated code.  Although if you can program a bean you can
use that instead.  It does the basic 
conventions.  Write a JSP tag lib, jar it up and add it to your
application to use the full extent of the Dreamweaver Ultradev DOM
compliant interface.  It really is a hybrid application. I have
several applications that use a blend of Ultradev code and hand written
code.  The real power comes if you understand XML and can write tag
library's you can pretty much do all you want with Dreamweaver. 
Read the docs on how to extend the Dreamweaver JSP interface. 


Time to market is everything.  I can make $200,000 dollars in 6
weeks because my team uses rapid development tools like Dreamweaver
Ultradev 4 and Forte for Java to design high quality web
sites.    But if you know your sh...t you don't have any
thing to worry about the because your smart enough to use DOM and
customize the interface for generating the code...  

It's just my opinion too, so take it with a grain of salt, but my bank
accounts and happy clients sure says something else.

Dylan

At 03:59 PM 3/26/01 -0500, M. Simms wrote:
>Bingomy sentiments exactly.
>it's also good for designer-types who cannot program for
sh...t.
>
>
>> -Original Message-
>> From: A mailing list about Java Server Pages specification and
reference
>>
[mailto:[EMAIL PROTECTED]]On
Behalf Of Lee Turner
>> Sent: Monday, March 26, 2001 5:07 AM
>> To: [EMAIL PROTECTED]
>> Subject: Re: Dreamweaver & JSP
>>
>>
>> I have to agree.  We have put together a few simple
intranet applications
>> very quickly, but the code that it generates is very hard
to
>> maintain - all
>> that JDBC code in each file - yuck !!!  I am not sure
about
>> UltraDev 4, but
>> in the previous version it would only allow you to use
single
>> column primary
>> keys.  This is a little difficult in larger apps.  I
would
>> personally stick
>> to UltraDev for knocking together prototypes.
>>
>> Cheers
>> Lee
>>
>> _
>>
>> Lee Turner
>> Systems Developer
>> Information Technology Leeds
>> _
>>
>> Watt Gilchrist Ltd
>> Ring Road, West Park
>> Leeds, LS16 6RA
>> Tel: 0113 288 3200
>> Fax: 0113 275 1690
>>
http://www.wattgilchrist.co.uk
>> _
>>
>>
>> > -Original Message-
>> > From: M. Simms [SMTP:[EMAIL PROTECTED]]
>> > Sent: Monday, March 26, 2001 7:38 AM
>> > To:   [EMAIL PROTECTED]
>> > Subject:  Re: Dreamweaver
& JSP
>> >
>> > Yeah.but what about all of that imbedded JSP code
within the
>> > page..
>> > how are you going to make changes ?
>> > Once you do, you cannot go back to the built-in JSP code
generator /
>> > Ultradev server-side behaviors
>> > it's a one-way streetunless you know how to customize
the
>> > behaviors
>> >
>> > > -Original Message-
>> > > From: A mailing list about Java Server Pages
specification
>> and reference
>> > >
[mailto:[EMAIL PROTECTED]]On
Behalf Of Dylan Rosario
>> > > Sent: Friday, March 23, 2001 12:31 PM
>> > > To: [EMAIL PROTECTED]
>> > > Subject: Re: Dreamweaver & JSP
>> > >
>> > >
>> > > Erwin,
>> > >
>> > > I developed a 30 page JSP application in under 2 week
by my self with
>> > > Dreamweaver Ultradev4.  Complete with
administration forms and
>> > > multi-record
>> > > views.  It's the fastest way to get a mid to
large size app to the
>> > market.
>> > > I highly recommend it.  Stick to servlets to do
complex binary
>> > > streams from
>> > > the database and you have a powerful tool at your
hands.
>> > >
>> > > If you like superior layout design I recommend
dreamweaver after you
>> > write
>> > > your code.  But even with it's repeat region
function you
>> will find the
>> > > flexibility and extensibility nice.
>> > >
>> > > Dylan
>> > >
>> > > At 08:40 AM 3/23/01 +0530, you wrote:
>> > > >Hi guys,
>> > > >
>> > > >This is my first J2ee project, and i was wondering
- Can I use
>> > > Dreamweaver
>> > > >3 for editing my jsp files, or should I get
Dreamweaver Ultradev? I'm
>> > > >pretty good at using DW 3.
>> > > >I don't need dreamweaver to do any coding

Dreamweaver & JSP (Killing the concept with biz)

2001-03-26 Thread Nasser Dassi

I am urged to give my .02$ (although it's only a fraction of your bank
account).

Web dev't is not about using graphics, making quick money, being a
capitalist pig and moving to the next project.

Web dev't is not being satisfied with what you have... it's development
because it is intended to be built upon, dynamically, with the knowing that
there is something better.

Web dev't is knowing code, understanding it; knowing technology and its
implementations.  It's about knowing systems architectures in future worlds
and approached for innovative development.  Both online, and off.  Software
and hardware.

If someone knows that Dreamweaver sucks programmatically, and they can
readily use JSP with their own means, then why bother asking the list ???
If one knows, one does not ask.

IF YOU'RE SO GOOD, DYLAN, THEN how about you develop and design the best RAD
IDE, multi-platform, fully dynamic, standards-based, and spans across
businesses... and keep the rest of the world quiet... IF YOU"RE SO RICH AND
HAPPY.

... wait... Microsoft is doing that... nevermind... I guess you should shut
up next time ??

My two canadian pennies...

(PS:  I'm aware you don't all want this email.  I send this only because we
all want to read this sort of response... a response I personally do not
usually share with the list.)

Yours,

  Nasser Dassi
  Software & Internet Developer
  [EMAIL PROTECTED]

  "Openmindedness Rewards A Lifetime"

- Original Message -
From: Dylan Rosario
To: [EMAIL PROTECTED]
Sent: Monday, March 26, 2001 6:07 PM
Subject: Re: Dreamweaver & JSP


The original question was can you use Dreamweaver ULTRADEV to lay out the
page... well of course you can. And well the layout of the HTML and the
various ways to view you document is worth the time it take to learn the
application.  The sites you can create are beautiful.

If you used vi   "all" the time, your web site would look like sht.

Coding is just as much of an art form as graphics.  I think if you are a web
developer you should always aspire to do better design. No matter if it is a
photoshop project or a complex java bean.  Those who criticize new tools
like Dreamweaver are probably not even using a GUI based operating system.
Only coders who lack the flexibility to ever grow beyond vi are scared of
Graphical based tools.  I use vi too but it's not the tool to use for
layout.

Yes, I have to agree with you on the one-way street if you use the Ultradev
generated code.  Although if you can program a bean you can use that
instead.  It does the basic  conventions.  Write a JSP tag lib,
jar it up and add it to your application to use the full extent of the
Dreamweaver Ultradev DOM compliant interface.  It really is a hybrid
application. I have several applications that use a blend of Ultradev code
and hand written code.  The real power comes if you understand XML and can
write tag library's you can pretty much do all you want with Dreamweaver.
Read the docs on how to extend the Dreamweaver JSP interface.

Time to market is everything.  I can make $200,000 dollars in 6 weeks
because my team uses rapid development tools like Dreamweaver Ultradev 4 and
Forte for Java to design high quality web sites.But if you know your
sh...t you don't have any thing to worry about the because your smart enough
to use DOM and customize the interface for generating the code...

It's just my opinion too, so take it with a grain of salt, but my bank
accounts and happy clients sure says something else.

Dylan

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

2001-03-26 Thread Swaminathan Gopal

Can you please forward us the piece of code which you used for directing it
to a new window and close the old window.

> -Original Message-
> From: Bansal Siddharth [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, March 27, 2001 2:42 AM
> To:   [EMAIL PROTECTED]
> Subject:  Re: Back button
>
> I don't think you can modify the back button on the browser. I had a
> similar problem and what I did is to direct the page to a new window and
> close the old window and it appears no change. So the new window will not
> have any back button at all.
>
> I hope this will help you, it helped me avoid somethings.
>
> Siddharth Bansal
> Consultant (CT/AD&I/FSI)
> Cap Gemini Ernst & Young
>
>
>
> Mihir Sahu
> <[EMAIL PROTECTED]To:
> [EMAIL PROTECTED]
> >cc:
> Sent by: A   Subject: Back button
> mailing list
> about Java Server
> Pages
> specification and
> reference
>  a.sun.com>
>
>
> 03/26/2001 01:42
> PM
> Please respond to
> A mailing list
> about Java Server
> Pages
> specification and
> reference
>
>
>
>
>
>
> Hi,
>I have a jsp status page,  which is displayed by the call from a
> servlet(this in turn was called by another jsp).  I do not want the back
> button on the browser to take me to the jsp which had called by the
> servlet, but to some other page(homepage etc.). Is there any method to
> do it directly by including something in the status page.  Any help is
> really appreciated.  Thanks
> Regards
> Mihir
>
> ==
> =
> 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
>
>
>
> __
> The information contained in this communication is intended solely for the
> use of the individual or entity to whom it is addressed and others
> authorized to receive it. It may contain confidential or legally
> privileged
> information. If you are not the intended recipient you are hereby notified
> that any disclosure, copying, distribution or taking any action in
> reliance
> on the contents of this information is strictly prohibited and may be
> unlawful. If you have received this communication in error, please notify
> us immediately by responding to this email and then delete it from your
> system. Cap Gemini Ernst & Young is neither liable for the proper and
> complete transmission of the information contained in this communication
> nor for any delay in its receipt.
>
> ==
> =
> 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: Formatting excel sheet in jsp

2001-03-26 Thread Pugsley, Jason

I've successfully used Formula One for Java from Tidestone Technologies. It
is a commercial product.
www.tidestone.com

You can create Excel spreadsheets from scrath or from templates. I've had
success with tables as well as charts.

Regards,

Jason Pugsley

-Original Message-
From: Rama, Raman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 27 March 2001 2:55 AM
To: [EMAIL PROTECTED]
Subject: Formatting excel sheet in jsp


I am displaying an excel sheet using jsp by setting the content type as
follows:

<%@ page contentType="application/vnd.ms-excel" %>

Is there a way I can do the cell formatting inside my jsp, e.g. changing
font color, column width etc?

Thanks,
Raman

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



signoff

2001-03-26 Thread [Malini Iyer]


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

2001-03-26 Thread Jithesh Kollarkandy

Hi Malini:

How are u dear?
Shall we be friends?

Regards,
Jithesh Kollarkandy,
Software Engineer,
IT Solutions (India) Pvt Limited,
South End Road,
Bangalore,
India.
Phone : 6655122/44 Extn : 2134



"[Malini Iyer]"
 cc:
Sent by: A   Subject: signoff
mailing list
about Java Server
Pages
specification and
reference



03/27/01 11:02 AM
Please respond to
A mailing list
about Java Server
Pages
specification and
reference






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

2001-03-26 Thread Nishant Baranwal

I guess this is not a personal mailing list

Nishant Baranwal

-Original Message-
From: Jithesh Kollarkandy [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 27, 2001 11:38 AM
To: [EMAIL PROTECTED]
Subject: Re: signoff


Hi Malini:

How are u dear?
Shall we be friends?

Regards,
Jithesh Kollarkandy,
Software Engineer,
IT Solutions (India) Pvt Limited,
South End Road,
Bangalore,
India.
Phone : 6655122/44 Extn : 2134



"[Malini Iyer]"
 cc:
Sent by: A   Subject: signoff
mailing list
about Java Server
Pages
specification and
reference



03/27/01 11:02 AM
Please respond to
A mailing list
about Java Server
Pages
specification and
reference







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

2001-03-26 Thread Sachin S. Khanna

In your code the debugger is trying to make you aware of a simple java
error, nothing to do with EJB's.
Calling a method named hello on a MyHelloWorldAccessBean object named bAcces
which is null. It would surely throw a NullPointerException.
Have a nice day.
With regards,
Sachin S. Khanna.
www.emailanorder.com

- Original Message -
From: DIMINO David <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 26, 2001 1:30 PM
Subject: EJB trouble


> hello,
>
> this is my first message to the list, I'm new at Java and I'd like to
> experiment the EJB's.
> I work with VisualAge for Java (IBM) in the Websphere Test Environment.
>
> I've created an EJB group, MyHelloWorldGroup; an EJB (session),
> MyHelloWorldBean and an access Bean,
> MyHelloWorldAccessBean.
>
> I'd like to create a client class "MyHelloWorldClient" to test my EJB.
> Here is the main method of this class:
>
> public static void main(java.lang.String[] args)
>
> {
>  try
>  {
>   String beanResult = null, ch = null;
>   ch = "lalalala";
>   MyHelloWorldAccessBean bAcces = null;
>   beanResult = bAcces.hello(ch);  file://hello(String param)
that
> only returns
>  file://param is a remote method
of my
> EJB.
>
>   System.out.println("Retour de Bean Session: " + beanResult);
>  }
>  catch(Exception e)
>  {
>   System.out.println("Erreur: " + e.getMessage());
>  }
> }
>
> This code doesn't work, I don't understand why it opens the debugger with
> the insert:
>
>  beanResult = bAcces.hello(ch (java.lang.String) lalalala);
>
> Could someone help me please...
>
> Thanks.
>
> David.
>
>
===
> 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: Tomcat + JavaMail

2001-03-26 Thread Sachin S. Khanna

Yes the activation.jar and mail.jar should be in the classpath as well.
Have a nice day.
With regards,
Sachin S. Khanna.
www.emailanorder.com

- Original Message -
From: Nicholas Larsson <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 26, 2001 12:15 AM
Subject: Tomcat + JavaMail


> Hi
> Hoe do I configure and use JavaMail with tomcat?
> Do I need to put activation.jar and mail.jar in the webserver?
>
> file://nico
>
>
===
> 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



JSP for database updation

2001-03-26 Thread Aravind

hi,
please advice what tech to use (servlet or JSP) for big database insertions
(for around 20 fields), for which data is coming from a form.

also somebody is talking about model 1/2/3/4 for web applications for using
java technology.  where i can find the info on this?

thanks in advance

regards
Aravind

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

2001-03-26 Thread Srinivasa Reddy

ni yabba.. pani modda leda..


> K. Srinivas Reddy
> Associate E-Solutions Consultant(E-Business)
> B-65, J B Sawant Marg,
> Road No.21, Wagle Industrial Esttate,
> THANE-400604
> Ph: 91-22-5834643/44/45
> Extn: 2221
> MaiIID: [EMAIL PROTECTED]
>   : [EMAIL PROTECTED]
>
>
>
> -Original Message-
> From: Jithesh Kollarkandy [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, March 27, 2001 11:38 AM
> To:   [EMAIL PROTECTED]
> Subject:  Re: signoff
>
> Hi Malini:
>
> How are u dear?
> Shall we be friends?
>
> Regards,
> Jithesh Kollarkandy,
> Software Engineer,
> IT Solutions (India) Pvt Limited,
> South End Road,
> Bangalore,
> India.
> Phone : 6655122/44 Extn : 2134
>
>
>
> "[Malini Iyer]"
>  [EMAIL PROTECTED]
> DIA.COM> cc:
> Sent by: A   Subject: signoff
> mailing list
> about Java Server
> Pages
> specification and
> reference
>  a.sun.com>
>
>
> 03/27/01 11:02 AM
> Please respond to
> A mailing list
> about Java Server
> Pages
> specification and
> reference
>
>
>
>
>
>
> ==
> =
> 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
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.237 / Virus Database: 115 - Release Date: 3/7/2001
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.237 / Virus Database: 115 - Release Date: 3/7/2001

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



Réf. : Re: EJB trouble

2001-03-26 Thread DIMINO David

Thanks for your interest to my trouble.(It is not without a little emotion
that I'have opened your  response, my first one adressed to me!)

It's true that I had forgotten to instanciate  the object MyHelloWorldBean
(shame on me!), now I've got this new message  in the debugger:

"MyHelloWorldAccessBean bAcces = new MyHelloWorldAccessBean() ; Impossible
to use the

MyHelloWorldAccessBean type as a value."

with, so, my new main() in the EJB Client class:



public static void main(java.lang.String[] args)

 {
  try
  {
   String beanResult = null, ch = null;
   ch = "lalalala";
   MyHelloWorldAccessBean bAcces = new MyHelloWorldAccessBean() ;

  // hello(String param)that only returns param is a remote method
  // of my EJB.
   beanResult = bAcces.hello(ch);


   System.out.println("Retour de Bean Session: " + beanResult);
  }
  catch(Exception e)
  {
   System.out.println("Erreur: " + e.getMessage());
  }
 }


Thanks for your help...

David.



"Sachin S.
Khanna"  Pour :  [EMAIL PROTECTED]
   Objet :  Re: EJB trouble
Envoyé par : A
mailing list
about Java Server
Pages
specification and
reference



27/03/01 08:45
Veuillez répondre
à A mailing list
about Java Server
Pages
specification and
reference






In your code the debugger is trying to make you aware of a simple java
error, nothing to do with EJB's.
Calling a method named hello on a MyHelloWorldAccessBean object named
bAcces
which is null. It would surely throw a NullPointerException.
Have a nice day.
With regards,
Sachin S. Khanna.
www.emailanorder.com

- Original Message -
From: DIMINO David <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 26, 2001 1:30 PM
Subject: EJB trouble


> hello,
>
> this is my first message to the list, I'm new at Java and I'd like to
> experiment the EJB's.
> I work with VisualAge for Java (IBM) in the Websphere Test Environment.
>
> I've created an EJB group, MyHelloWorldGroup; an EJB (session),
> MyHelloWorldBean and an access Bean,
> MyHelloWorldAccessBean.
>
> I'd like to create a client class "MyHelloWorldClient" to test my EJB.
>
>
>
>
>
>
>
===
> 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



EJB trouble 2

2001-03-26 Thread DIMINO David

Hello,

Thanks for your interest to my trouble.(It is not without a little emotion
that I'have opened your  response, my first one in my first List adressed
to me!)

It's true that I had forgotten to instanciate  the object MyHelloWorldBean
(shame on me!), now I've got this new message  in the debugger:

"MyHelloWorldAccessBean bAcces = new MyHelloWorldAccessBean() ; Impossible
to use the

MyHelloWorldAccessBean type as a value."

with, so, my new main() in the EJB Client class:



public static void main(java.lang.String[] args)

 {
  try
  {
   String beanResult = null, ch = null;
   ch = "lalalala";
   MyHelloWorldAccessBean bAcces = new MyHelloWorldAccessBean() ;

  // hello(String param)that only returns param is a remote method
  // of my EJB.
   beanResult = bAcces.hello(ch);


   System.out.println("Retour de Bean Session: " + beanResult);
  }
  catch(Exception e)
  {
   System.out.println("Erreur: " + e.getMessage());
  }
 }


Thanks for your help...

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