Re: EJB in Weblogic 5.1...

2000-07-06 Thread Gene Chuang

Hi,

Your client environment needs to include the weblogic-generated client stubs
in the classpath.  The server already sees these classes because the ejb
jars are included in the weblogic.properties file from which wl server
generates its "internal" classpath.

The simplist way expose the stubs to your client is to include the same ejb
jars in the client classpath.

Gene Chuang
[EMAIL PROTECTED]


-Original Message-
From: A mailing list about Java Server Pages specification and
reference
To: [EMAIL PROTECTED]
Sent: 7/4/00 9:18 PM
Subject: EJB in  Weblogic 5.1...

Hi,
I am using Weblogic 5.1.0 on Win NT
I am developed a session stateless Bean .
I registered  it . The server shows the messages deployed but when the
clientapplication invoked it
gives an error of class path not found.
i checked the classpath  setting  from the console too all are set.
weblogicaux.jar, classes, serverclasses, servletclasses etc.
Is there any problem in my descriptor file .
Where to put my classes.
Need help
Thanks/Regards

Gurung


===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
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".
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 FAQ & Resource Information

2000-07-06 Thread Anil K. Vijendran

This is a weekly informative posting to the jsp-interest list.



Before asking questions of a general nature, please check out the
resources available online to see if your question already has an
answer. The best place to start is our web site:

http://java.sun.com/products/jsp

This contains pointers to the specification, and to the JavaServer Web
Development Kit (JSWDK).

Some FAQs that may help you

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 archives of this list are available at:

http://archives.java.sun.com/archives/jsp-interest.html

JSWDK is the reference implementation for the latest JSP and Servlet
specs. You can download JSWDK at
http://java.sun.com/products/jsp/download.html. Please send
your feedback and bug reports on JSWDK to [EMAIL PROTECTED]



A few notes about the use of this list. We at Sun enjoy hosting this
list to give everyone a forum to discuss JSP, servlets and related
technology. There are a few things that we ask of you, the list
members:

Please don't engage in advertising. We like to hear when new
products are announced and a link for all the
information. What we don't like are lengthy press releases,
advertisements, and other material which falls under the
umbrella term "marketing". There is no problem in stating how
your product compares to another, but remember, this isn't run
by Sun to be an advertising forum -- but as a technical forum.

Please don't post attachments to the list. The use of VCards
and S/MIME is not really needed on a list like this and is
annoying to some whose readers don't support them. More
serious is the posting of .zip files and other larger
items. You might get flamed a little bit for S/MIME or posting
in HTML. You will be removed from the list for posting a .zip
or other archive file.

If you need technical support from a vendor, please contact
that vendor directly.



Now, back to regularly scheduled programming.

Anil Vijendran
for the JSP/JSWDK team

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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: custom tag question

2000-07-06 Thread Veronique Dupierris

Hi,

I don't know if  what I do is correct but
- I've created a TEI to add a scripting variable with type a String Object, an
other one that adds a variable of type a Date Object, for ex, and again an other
one that add a sripting variable of type my own objetc
- Then I associate one of these TEI with my tags depending of what the tags do. For
ex, I have a  Iterate Tag class which is associated with an Object TEI to create
JSP iterate tag. But, in the taglib.tld, I also associated the Iterate Tag class
with the String TEI to create the IterateOnString Tag and again this Iterate Tag
class with the Date TEI to IterateOnDates JSP tag.

Here is the code of the metho getVariableInfo(TagDate d) of the StringTEI ... It
just creates a NESTED variable referenced by the id parameter of the associated
tag.

 public VariableInfo[] getVariableInfo(TagData data) {
 String idValue  = data.getId();

 if ( idValue == null)
 {
 throw new Error("TagLibrary inconsistency");
 }

 //Create a String Object with identifier 'idValue' (given by id) with Scope =
NESTED
 VariableInfo info = new VariableInfo(idValue,"String",true,VariableInfo.NESTED);

 VariableInfo[] back = { info } ;
 return back;
}

I don't know if this answer your question or if this is the good way to use TEI ...
but it may help you !
Regards
Veronique
"Holmes III, William S" a écrit :

> Hi,
>
>  Does anyone know of a good example using TagExtraInfo to declare scripting
> variables?
> The only example I've found so far is in the Orion Tag Extensions tutorial.
>
> Thanks,
>  Bill
>
> ===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> 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".
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 editor

2000-07-06 Thread Geert Van Damme

I would like to add JPadPro.
I've used it for a couple of months now and it works very good.
It also has text & background coloring and lots of options that form simple
wrappers around typical java commands (java, javac, jdb, jar)
and what's more, it's completely cusomizable. And I really mean completele
(although it's not always easy to find out how ;-)
Every action, menu, template,... is made in javascript!
Anyway, that's what I use, maybe we should have some sort of a poll on this.

Geert Van Damme

> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Sanjay Gomes
> Sent: donderdag 6 juli 2000 14:08
> To: [EMAIL PROTECTED]
> Subject: Re: JSP editor
>
>
> Multiedit is a good one .
> It also does compiling by automatically detecting ur compiler
> directory and
> running the Java program using that
> Regards
> Sanjay
>
>
> >From: Brad Miley <[EMAIL PROTECTED]>
> >Reply-To: A mailing list about Java Server Pages specification and
> > reference <[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED]
> >Subject: Re: JSP editor
> >Date: Wed, 5 Jul 2000 23:33:42 GMT
> >
> >textpad
> >
> >Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
> >
> >=
> ==
> >To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> >JSP-INTEREST".
> >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".
> 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".
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 editor

2000-07-06 Thread Sanjay Gomes

Multi Edit can be found at multiedit.com
Yes Geert its a good idea to have a poll on the topic
Btw From where can I download the editor

Regards
Sanjay

>From: [EMAIL PROTECTED] (Shashwati Panigrahi)
>Reply-To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
>To: 'Sanjay Gomes' <[EMAIL PROTECTED]>
>Subject: RE: JSP editor
>Date: Thu, 6 Jul 2000 13:15:24 +0530
>
>thanks a lot
>
>-Original Message-
>From:  Sanjay Gomes [SMTP:[EMAIL PROTECTED]]
>Sent:  Thursday, July 06, 2000 06:34 PM
>To:[EMAIL PROTECTED]
>Subject:   RE: JSP editor
>
>At www.multiedit.com
>
>Regards
>Sanjay
> >From: [EMAIL PROTECTED] (Shashwati Panigrahi)
> >Reply-To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> >To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> >Subject: RE: JSP editor
> >Date: Thu, 6 Jul 2000 12:36:56 +0530
> >
> >Where can I get MultiEdit from ?
> >
> >---
> >Shashwati Panigrahi
> >Project Leader
> >Contech Software Ltd.
> >E-3/1,2,3, GIDC Electronics Estate,
> >Sector - 25, Gandhinagar - 382 044, INDIA
> >Phone : 91 - 2712 - 44989  Ext  035
> >Fax : 91 - 2712 - 44468
> >Email  : [EMAIL PROTECTED]
> >URL: http://www.contechgroup.com
> >---
> >Disclaimer: You are requested to carry out  your own virus checks before
> >opening the contents of this email and its attachment, if any. While we
> >take every reasonable precaution to minimize this risk, we cannot accept
> >any liability for damage which you can sustain as a result of software
> >viruses.
> >
> >-Original Message-
> >From:Sanjay Gomes [SMTP:[EMAIL PROTECTED]]
> >Sent:Thursday, July 06, 2000 05:38 PM
> >To:  [EMAIL PROTECTED]
> >Subject: Re: JSP editor
> >
> >Multiedit is a good one .
> >It also does compiling by automatically detecting ur compiler directory
>and
> >running the Java program using that
> >Regards
> >Sanjay
> >
> >
> > >From: Brad Miley <[EMAIL PROTECTED]>
> > >Reply-To: A mailing list about Java Server Pages specification and
> > > reference <[EMAIL PROTECTED]>
> > >To: [EMAIL PROTECTED]
> > >Subject: Re: JSP editor
> > >Date: Wed, 5 Jul 2000 23:33:42 GMT
> > >
> > >textpad
> >
> >
> > >Get Your Private, Free E-mail from MSN Hotmail at
>http://www.hotmail.com
> > >
> > >===
> >
> > >To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > >JSP-INTEREST".
> > >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".
> >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
>
>


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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: New jsptags

2000-07-06 Thread Khem Chand Sachdeva

I tried downloading it and it is asking for password.
- Original Message -
From: Pratik <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 04, 2000 6:06 PM
Subject: New jsptags


> Hi friends
> I have created two new tags .
> find it on http://prat.freeservers.com/tags
>
> regards
> Pratik
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> 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".
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 precompiled

2000-07-06 Thread Andrew Wallace

Pete,

The second visit will be faster.

On the first visit, the JSP is compiled into a servlet. This servlet is
then run as normal.

On the second visit, there is less work for the JSP engine to do as the
servlet is already there, so it is quicker.

Regards,

Andy

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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 in Weblogic 5.1...

2000-07-06 Thread R.B. Gurung

Hi Gene Chuang,

I have edited the scripts files all .sh(files) to point to
My JAVA_HOME=d:\jdk1.2.2  but it shows
JAVA_HOME=c:\jdk1.1.7  and error is echoed.

I have seen the content of  the example beans ejb.jar files which contains
the .classes and the stubs/Skel.
But When I am making my .jar . How can i generate the container classes to
put into .jar files.
need help

thanks/regards
gurung






- Original Message -
From: Gene Chuang <[EMAIL PROTECTED]>
To: 'R.B. Gurung ' <[EMAIL PROTECTED]>; 'A mailing list about Java
Server Pages specification and reference ' <[EMAIL PROTECTED]>
Sent: Thursday, July 06, 2000 12:07 PM
Subject: RE: EJB in Weblogic 5.1...


> Hi,
>
> Your client environment needs to include the weblogic-generated client
stubs
> in the classpath.  The server already sees these classes because the ejb
> jars are included in the weblogic.properties file from which wl server
> generates its "internal" classpath.
>
> The simplist way expose the stubs to your client is to include the same
ejb
> jars in the client classpath.
>
> Gene Chuang
> [EMAIL PROTECTED]
>
>
> -Original Message-
> From: A mailing list about Java Server Pages specification and
> reference
> To: [EMAIL PROTECTED]
> Sent: 7/4/00 9:18 PM
> Subject: EJB in  Weblogic 5.1...
>
> Hi,
> I am using Weblogic 5.1.0 on Win NT
> I am developed a session stateless Bean .
> I registered  it . The server shows the messages deployed but when the
> clientapplication invoked it
> gives an error of class path not found.
> i checked the classpath  setting  from the console too all are set.
> weblogicaux.jar, classes, serverclasses, servletclasses etc.
> Is there any problem in my descriptor file .
> Where to put my classes.
> Need help
> Thanks/Regards
>
> Gurung
>
> 
> ===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> 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".
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: SQL results into an Object

2000-07-06 Thread Matthews,Paul

> From: Mauro Gagni (EMS) [mailto:[EMAIL PROTECTED]]
> Visual Age EE - Data Access Builder but it is fat, about 10
> classes for each
> table are generated and most interlinked also not very
> flexible it only
> generates once the code and if anything changes you have to
> save the changed
> methods (from the originally gen calsses) or do it manually.
>

That sounds great ;-)

WebSphere Studio does this sort of stuff- will generate bean and servlet
from a SQL statement. JBuilder also does it pretty well. This is pretty
basic functionality so I would guess that the other tools (Cafe etc) would
also do it just as well.

JBuilder foundation is a free download, but I don't think it is much more
than a Java editor and may not include this functionality- I would guarantee
that somebody somewhere has knocked up a bit of freeware.

ALL of these tools provide code based on rigid templates which is useful
from a labour saving pov, but I would personally be loath to deploy it
directly unless your application is VERY simple, otherwise your going to end
up with a disorganised mess with code repeated all over the place.

Every month for the last 20 years somebody has released a tool that is going
to make programmers redundant overnight...

Regards,

Paul 'using his very expensive copy of JBuilder Enterprise as an editor'

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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 editor

2000-07-06 Thread Jason Whiting

Hi,

I've been following the 'search' for a good JSP editor, and was
wondering if there would be a port of any of the mentioned editors
(UltraEdit, Jrun Studio, MultiEdit, JPadPro) to the Linux (RedHat)
platform?

(Alternatively, is there an easy way to configure jed or kedit to
accommodate the syntax?)

Thanks,
Jason

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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



Japanese Characters

2000-07-06 Thread Stephen Toner

Hi,
I'm having a problem reading in Japanese characters.  I've tried:
<%@ page contentType="text/html; charset=Shift_JIS" %> and

I wanted to simply echo the characters back to the screen.
However the String read in was just junk.
I was hoping to try and store them as unicode but can't seem to work this.
I would appreciate any pointers.

Thanks in advance,
Stephen


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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 editor

2000-07-06 Thread Riccardo Ganzerla

> Hi,
>
> I've been following the 'search' for a good JSP editor, and was
> wondering if there would be a port of any of the mentioned editors
> (UltraEdit, Jrun Studio, MultiEdit, JPadPro) to the Linux (RedHat)
> platform?
>
> (Alternatively, is there an easy way to configure jed or kedit to
> accommodate the syntax?)

that's not about jed or kedit, but it's the solution I've adopted.

under Linux I use Emacs, with html-helper-mode(.el) which provides an effective
way for editing html mixed to php, or asp, or jsp.

It works in this way: it defaults to html for normal source editing, and when
the cursor is on a block of server page code, you can narrow that block (see it
apart) by simply issuing one hotkey, and there you can edit it with the
appropriate highlighting and indentation.

I'm using it on a regular basis and it's ok, at least for me.

html helper page:

http://www.gest.unipd.it/~saint/hth.html

follow the instructions embedded in the source as comments for installation,
and feel free to contact me by email if you need.

Bye
--
Riccardo

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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



Returning java.sql.ResultSet from an EJB

2000-07-06 Thread Corey A. Johnson

Morning!

Quick question... I am invoking a method in an EJB from a JSP...  the
method in the EJB performs a SQL query...  Is it possible to return the
java.sql.ResultSet object to my JSP?  So i can then loop through the
records in the JSP and build the results HTML table?  I tried this and i
keep getting an IDL error telling me that the return type
"java.sql.ResultSet" is not allow...

if i can't.. does anyone have any code examples or suggestions? Or am i
missing something?

i guess i could place the data from each field into an element of a
String array... and then place each String array which would
represent a row in the SQL ResultSet.. in a Vector... and then return
the Vector to the JSP and use an Enumeration to loop through the String
Arrays  does that make sense?  Or can it be done in a simpler
fashion?

Thanks in advance.

Cj
--
Corey A. Johnson
Creative Network Innovations, Inc.
1-800-264-5547 ** 1-407-259-1984

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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 editor

2000-07-06 Thread Matthias Piepenschneider

hi,

what about forte4java from sun? it is pure java. so it runs at any
platform having an JDK. u might find it at http://www.sun.com/forte
u can download it there, it is free.

Jason Whiting wrote:
>
> Hi,
>
> I've been following the 'search' for a good JSP editor, and was
> wondering if there would be a port of any of the mentioned editors
> (UltraEdit, Jrun Studio, MultiEdit, JPadPro) to the Linux (RedHat)
> platform?
>
> (Alternatively, is there an easy way to configure jed or kedit to
> accommodate the syntax?)
>
> Thanks,
> Jason
>
> ===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> 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

--
Mit freundlichen Gruessen


Matthias Piepenschneider

Get a free Palm V here!
http://www.pdafn.com/register.shtml?referrer_id=47908

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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: Still cannot solve database problem

2000-07-06 Thread Tamanna Kher

Use TimeStamp this might solve ur problem.




rayteng <[EMAIL PROTECTED]> on 07/06/2000 03:25:06 PM

Please respond to A mailing list about Java Server Pages specification and
  reference <[EMAIL PROTECTED]>

To:   [EMAIL PROTECTED]
cc:(bcc: Kher Tamanna-SWD-ITIL-UB/Itilmail)

Subject:  Still cannot solve database problem




I have problem in query data in Ms Access database

I use preparestatement in making the query and use
setDate(1, datefrom) in the statement.

The thing is the result it return is false (I try the statement in query
utility, it return the correct result)

It think is the setDate problem, how should i set the date in the query
statement ? (Currently i'm using java.sql.Date to form the date).

thanks
ray

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
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".
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 Instantiation.

2000-07-06 Thread Tarun Dewan

Somebody pls. suggest me to do the following :

InitialContext ic = new InitialContext();
BpHome home = (BpHome)ic.lookup("jndiBpHome");

If BpHome(Home interface of an EJB) is in a String variable, then how can I
perform same as above. i.e.


String HomeStr = "BpHome";
InitialContext ic = new InitialContext();
HomeStr home = (HomeStr)ic.lookup("jndiBpHome");


I know that this will now work, somebody pls. suggest me the way to do this.
It's very urgent.

Thanks in advance.

Tarun

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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: Returning java.sql.ResultSet from an EJB

2000-07-06 Thread Lesley Eadie

hi Cj

why don't you wrap the rows from your query in an object and vector like you
mentioned then use a helper class to generate the html you need.  This way
you only need to pass a String back to the JSP.
Happy Thursday
DD x
- Original Message -
From: "Corey A. Johnson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 06, 2000 1:23 PM
Subject: Returning java.sql.ResultSet from an EJB


> Morning!
>
> Quick question... I am invoking a method in an EJB from a JSP...  the
> method in the EJB performs a SQL query...  Is it possible to return the
> java.sql.ResultSet object to my JSP?  So i can then loop through the
> records in the JSP and build the results HTML table?  I tried this and i
> keep getting an IDL error telling me that the return type
> "java.sql.ResultSet" is not allow...
>
> if i can't.. does anyone have any code examples or suggestions? Or am i
> missing something?
>
> i guess i could place the data from each field into an element of a
> String array... and then place each String array which would
> represent a row in the SQL ResultSet.. in a Vector... and then return
> the Vector to the JSP and use an Enumeration to loop through the String
> Arrays  does that make sense?  Or can it be done in a simpler
> fashion?
>
> Thanks in advance.
>
> Cj
> --
> Corey A. Johnson
> Creative Network Innovations, Inc.
> 1-800-264-5547 ** 1-407-259-1984
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> 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".
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



iPlanet 4.1 importing classes into JSP pages

2000-07-06 Thread Hensley, Zachary

I want to import some of my own classes into a JSP page without adding it to
the classpath.  Is there any special place in iPlanet 4.1 where you can put
supporting classes for the jsp.

Thanks
Zach Hensley

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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: Returning java.sql.ResultSet from an EJB

2000-07-06 Thread Tamanna Kher

Hi!
There is a very simple solution to this.
Have one function for executing the query and gettin the result in the
resultset.Then have another function to fetch the result one by one and
putiing thm in the elements or variables of the bean and  in the jsp page
run a while loop this this (2nd function) does not return a false get the
values of the elements using get method in simple bean case (dunno about
EJB).
And hence this solves ur problem.




"Corey A. Johnson" <[EMAIL PROTECTED]> on 07/06/2000 06:53:51 PM

Please respond to A mailing list about Java Server Pages specification and
  reference <[EMAIL PROTECTED]>

To:   [EMAIL PROTECTED]
cc:(bcc: Kher Tamanna-SWD-ITIL-UB/Itilmail)

Subject:  Returning java.sql.ResultSet from an EJB




Morning!

Quick question... I am invoking a method in an EJB from a JSP...  the
method in the EJB performs a SQL query...  Is it possible to return the
java.sql.ResultSet object to my JSP?  So i can then loop through the
records in the JSP and build the results HTML table?  I tried this and i
keep getting an IDL error telling me that the return type
"java.sql.ResultSet" is not allow...

if i can't.. does anyone have any code examples or suggestions? Or am i
missing something?

i guess i could place the data from each field into an element of a
String array... and then place each String array which would
represent a row in the SQL ResultSet.. in a Vector... and then return
the Vector to the JSP and use an Enumeration to loop through the String
Arrays  does that make sense?  Or can it be done in a simpler
fashion?

Thanks in advance.

Cj
--
Corey A. Johnson
Creative Network Innovations, Inc.
1-800-264-5547 ** 1-407-259-1984

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
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".
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: IIS + ServletExec

2000-07-06 Thread Sundaram Ramasamy

before calling the Hashtable put method, you have to create new instance of
Hastable. do it in wtForm constructor.

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Debbie Casper
Sent: Wednesday, July 05, 2000 2:52 PM
To: [EMAIL PROTECTED]
Subject: IIS + ServletExec


Hi all,

I use jswdk-1.0.1 as a dev web server, my application run just fine. from
JSP call Servlet, no problem.

But when I move my code to  IIS + ServletExec, it broke on the spot where
JSP calls Servlet. It give me error msg right away.

the servlet is not configured to ServletExec (don't see a reason to), but
the wtForm.class file is placed in Servlets directory. I don't see a reason
why it's not working.

Where did I do wrong, can anyone shed some light ?

Tks - Casper


java.lang.NullPointerException
  at java.util.Hashtable.put(Compiled Code)
  at newatlanta.servletexec.SEHttpSession.putValue(SEHttpSession.java)
  at wtForm.doGet(Compiled Code)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:715)
  at javax.servlet.http.HttpServlet.service(Compiled Code)
  at newatlanta.servletexec.ServletExec.processServletRequest(Compiled Code)
  at newatlanta.servletexec.ServletExec.ProcessRequest(Compiled Code)
  at newatlanta.servletexec.ServletExec.ProcessRequest(Compiled Code)



Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
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".
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 editor

2000-07-06 Thread Sundaram Ramasamy

I am using Allaire HomeSite.

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Terence Lui
Sent: Wednesday, July 05, 2000 3:39 PM
To: [EMAIL PROTECTED]
Subject: JSP editor


What is the best editor for doing JSP, HTML, Javascript developemnt?

-TL

---
FREE! The World's Best Email Address @email.com
Reserve your name now at http://www.email.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
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".
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 editor

2000-07-06 Thread Mark G. Franz

Allaire has anew product out called JRUN Suite, it is an editor that
emulates HomeSite but was developed for JSP development.

Mark
-Original Message-
From: Sundaram Ramasamy <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Thursday, July 06, 2000 9:35 AM
Subject: Re: JSP editor


>I am using Allaire HomeSite.
>
>-Original Message-
>From: A mailing list about Java Server Pages specification and reference
>[mailto:[EMAIL PROTECTED]]On Behalf Of Terence Lui
>Sent: Wednesday, July 05, 2000 3:39 PM
>To: [EMAIL PROTECTED]
>Subject: JSP editor
>
>
>What is the best editor for doing JSP, HTML, Javascript developemnt?
>
>-TL
>
>---
>FREE! The World's Best Email Address @email.com
>Reserve your name now at http://www.email.com
>
>===
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>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".
>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".
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 editor

2000-07-06 Thread Manisha Menon

I am using NetObjects Scriptbuilder and it is good.

--- Sanjay Gomes <[EMAIL PROTECTED]> wrote:
> Multi Edit can be found at multiedit.com
> Yes Geert its a good idea to have a poll on the
> topic
> Btw From where can I download the editor
>
> Regards
> Sanjay
>
> >From: [EMAIL PROTECTED] (Shashwati
> Panigrahi)
> >Reply-To: "[EMAIL PROTECTED]"
> <[EMAIL PROTECTED]>
> >To: 'Sanjay Gomes' <[EMAIL PROTECTED]>
> >Subject: RE: JSP editor
> >Date: Thu, 6 Jul 2000 13:15:24 +0530
> >
> >thanks a lot
> >
> >-Original Message-
> >From:  Sanjay Gomes [SMTP:[EMAIL PROTECTED]]
> >Sent:  Thursday, July 06, 2000 06:34 PM
> >To:[EMAIL PROTECTED]
> >Subject:   RE: JSP editor
> >
> >At www.multiedit.com
> >
> >Regards
> >Sanjay
> > >From: [EMAIL PROTECTED] (Shashwati
> Panigrahi)
> > >Reply-To: "[EMAIL PROTECTED]"
> <[EMAIL PROTECTED]>
> > >To: "'[EMAIL PROTECTED]'"
> <[EMAIL PROTECTED]>
> > >Subject: RE: JSP editor
> > >Date: Thu, 6 Jul 2000 12:36:56 +0530
> > >
> > >Where can I get MultiEdit from ?
> > >
> >
>
>---
> > >Shashwati Panigrahi
> > >Project Leader
> > >Contech Software Ltd.
> > >E-3/1,2,3, GIDC Electronics Estate,
> > >Sector - 25, Gandhinagar - 382 044, INDIA
> > >Phone : 91 - 2712 - 44989  Ext  035
> > >Fax : 91 - 2712 - 44468
> > >Email  : [EMAIL PROTECTED]
> > >URL: http://www.contechgroup.com
> >
>
>---
> > >Disclaimer: You are requested to carry out  your
> own virus checks before
> > >opening the contents of this email and its
> attachment, if any. While we
> > >take every reasonable precaution to minimize this
> risk, we cannot accept
> > >any liability for damage which you can sustain as
> a result of software
> > >viruses.
> > >
> > >-Original Message-
> > >From:Sanjay Gomes
> [SMTP:[EMAIL PROTECTED]]
> > >Sent:Thursday, July 06, 2000 05:38 PM
> > >To:  [EMAIL PROTECTED]
> > >Subject: Re: JSP editor
> > >
> > >Multiedit is a good one .
> > >It also does compiling by automatically detecting
> ur compiler directory
> >and
> > >running the Java program using that
> > >Regards
> > >Sanjay
> > >
> > >
> > > >From: Brad Miley <[EMAIL PROTECTED]>
> > > >Reply-To: A mailing list about Java Server
> Pages specification and
> > > > reference <[EMAIL PROTECTED]>
> > > >To: [EMAIL PROTECTED]
> > > >Subject: Re: JSP editor
> > > >Date: Wed, 5 Jul 2000 23:33:42 GMT
> > > >
> > > >textpad
> > >
> >
>
>
> > > >Get Your Private, Free E-mail from MSN Hotmail
> at
> >http://www.hotmail.com
> > > >
> > >
>
>===
> > >
> > > >To unsubscribe: mailto [EMAIL PROTECTED]
> with body: "signoff
> > > >JSP-INTEREST".
> > > >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".
> > >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
> >
> >
>
>

> Get Your Private, Free E-mail from MSN Hotmail at
> http://www.hotmail.com
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with
> body: "signoff JSP-INTEREST".
> 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!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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.j

Re: Tomcat files.

2000-07-06 Thread Zaina Ajakie

You do need the web.xml file for any servlets you wish to run with tomcat,
however, JSPs and JavaBeans will run without the web.xml file.

~zaina


-Original Message-
From: Hans Bergsten [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 01, 2000 5:58 PM
To: [EMAIL PROTECTED]
Subject: Re: Tomcat files.


"Jason C. Leach" wrote:
>
> hi,
>
> Do I need to do a .xml file to define the web site, even if it's just a
> simle little hello world?

Probably not (I'm pretty sure Tomcat can do without it), but there are no
guarantees in the spec.

Hans

> On Fri, 30 Jun 2000, Hans Bergsten wrote:
>
> > "Jason C. Leach" wrote:
> > >
> > > hi,
> > >
> > > In Tomcat, where to I put my JSP pages, and my .class files?  I can't
seem
> > > to get them both in a place that makes Tomcay happy.
> >
> > For any web server, JSP pages go in the document structure, i.e. in the
same
> > directories you put HTML and image files. The fact that they are turned
into
> > servlets and compiled into a class file is nothing you need to worry
about;
> > it's done automatically by the web container.
> >
> > Class files for beans, servlets and utility classes used in you
application
> > need to be in a directory structure that's part of the classpath for the
> > container. In Tomcat, or any container that supports the web application
> > file structure defined by Servlet 2.2 spec, you should place them in one
> > of the WEB-INF directories for the application. Use WEB-INF/classes if
the
> > class files are not packaged in a JAR file, use WEB-INF/lib for all JAR
files.
> >
> > Hans

--
Hans Bergsten   [EMAIL PROTECTED]
Gefion Software http://www.gefionsoftware.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
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".
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 editor

2000-07-06 Thread Geert Van Damme

And how closely this is linked to the JRUN server?
I prefer a loose coupling here. I don't want to have my development
environment make
too many decisions about my deployment possibilities.
Of course, if you're using JRun anyway then YMMV,
but I thought independence is one of the most important features of Java.

Anyway, I'll take a look at JRun studio.

Geert Van Damme

> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Mark G. Franz
> Sent: donderdag 6 juli 2000 12:46
> To: [EMAIL PROTECTED]
> Subject: Re: JSP editor
>
>
> Allaire has anew product out called JRUN Suite, it is an editor that
> emulates HomeSite but was developed for JSP development.
>
> Mark
> -Original Message-
> From: Sundaram Ramasamy <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> Date: Thursday, July 06, 2000 9:35 AM
> Subject: Re: JSP editor

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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: Passing Session values between ASP and JSP

2000-07-06 Thread Cogley, Jonathan

Daryani,

If you are just saving simple values in the session why not just use
a temporary cookie? Save the values to the cookie from ASP and then
read the values in from JSP. Your session id in ASP depends on the client
having cookies enabled anyway ... so why not?
If there are many values .. then use a cookie dictionary ...

I think this is the simplest solution ...

Cheers,
Jonathan


-Original Message-
From: Daryani Santosh [mailto:[EMAIL PROTECTED]]
Sent: 30 June, 2000 3:16 PM
To: [EMAIL PROTECTED]
Subject: Passing Session values between ASP and JSP


Hi All,
  I am working on JSPs that interact with another website , where
the
pages are ASPs , I need to get the session values set in a ASP into a JSP.
Session variables work fine between ASP-ASP and JSP-JSP but inter ASP-JSP
communication results in null session variables. I am not sure though , but
I
believe that there should'nt be any problem in doing so.
 Can anyone throw some light on this. Your response is appreciated

ASP code
<%
Session("cono")="7719"
%>

JSP code
<%
 String cono= (String)session.getValue("cono")
out.println("Value returned from session ="+cono);//results in a null
%>

Thanks in advance
Santosh

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
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".
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



Can't connect to oracle Db

2000-07-06 Thread Mark Jorritsma

Hi everyone,
I am having a problem connecting to an oracle Db.  I am getting the
following error message back.

java.sql.SQLException:
Refused:OR=(CODE=12500)(EMFI=4))(ERROR=(CODE=12547)(EMFI=
4))(ERROR=(CODE=12560)(EMFI=4))(ERROR=(CODE=517)(EMFI=4))(ERROR=(BUF=''
at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:230)
at
oracle.jdbc.driver.OracleConnection.(OracleConnection.java:110)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:148)
at java.sql.DriverManager.getConnection(Compiled Code)
at java.sql.DriverManager.getConnection(DriverManager.java:126)
at com.rcubed.test.JdbcTest.main(Compiled Code)


It is occuring on the following line:

Connection conn =

DriverManager.getConnection("jdbc:oracle:thin:@10.10.10.30:1521:orcl","scott
","tiger");

Does anyone know what the problem could be or where i can find some kind of
interpretation for the error codes in the message.  I am using version
7.3.4.02 drivers for NT and trying to connect to an oracle Db version
7.3.4.2.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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 editor

2000-07-06 Thread Rick Goeltz

Have a look at IBM's Websphere Studio (WS).  There is a free entry-level
version that works fine.  Drag and drop a bean.  Point and click to
establish properties to be displayed.  Dynamic tables and drop-down menus
are a snap.  You have a WYSIWYG HTML editor with symbols for the JSP.  WS
generates the JSP Java and you concentrate on your beans.

There was a lot of discussion earlier about why JSP is broken.  When the
developer uses a tool like WS, these arguments are false.  I don't write
HTML in my servlets and I don't write Java for JSP (WS does it for me).  My
relationship with my page designer is a good one; she works with my
WS-enhanced code with Dreamweaver without a problem.  (Currently, this is
my main problem with using Struts.)

WS is db-aware, but I don't use this feature.

WS is cosy with DB2 and IBM's Websphere server but I deliver to Tomcat and
JRun without a problem.

IMHO, working with WS is not always easy.  But overall, it is less pain
than the alternatives.

Other tools are emerging.  IBM announced a partnership with Macromedia
(Dreamweaver), but I don't know the implications of that.  Also, WS 3.5
will be released real soon now.


Rick

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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: Returning java.sql.ResultSet from an EJB

2000-07-06 Thread Kevin Henderson

CJ,

You can return a resultSet from an EJB if you implement the Serializable
interface in your implementation of the ResultSet.  However, I would not
suggest this as an effective solution.  Another design alternative, which is
one that I have implemented, is to return only value beans back to your
JSPs. A value bean is a java class that encapsulates all model data that you
would want to pass back to your JSP.  In your case, it would at least
contain data passed back from a query, but it is not limited to this. You
can access bean data from its getter methods, however since it is a value
bean you would want your bean to be immutable meaning no setters. This bean
could also contain another class that maps specifically to the table row
whose data you are trying to query, and then use an array or vector of those
classes as a set. It could also contain other data that is important to you
view(JSP).  In this way,  a JSP page knows about only one bean that is it's
model data for the view. Then you could use the useBean directives or
getters to get data from your bean. This follows along the lines of the MVC
design pattern.

Hope it helps.

Kevin E. Henderson
Architect - Web Development
eTour, Inc.
http://www.etour.com/  "Surf Without Searching"
404-881-8484 ext. 385



-Original Message-
From: Corey A. Johnson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 06, 2000 8:24 AM
To: [EMAIL PROTECTED]
Subject: Returning java.sql.ResultSet from an EJB


Morning!

Quick question... I am invoking a method in an EJB from a JSP...  the
method in the EJB performs a SQL query...  Is it possible to return the
java.sql.ResultSet object to my JSP?  So i can then loop through the
records in the JSP and build the results HTML table?  I tried this and i
keep getting an IDL error telling me that the return type
"java.sql.ResultSet" is not allow...

if i can't.. does anyone have any code examples or suggestions? Or am i
missing something?

i guess i could place the data from each field into an element of a
String array... and then place each String array which would
represent a row in the SQL ResultSet.. in a Vector... and then return
the Vector to the JSP and use an Enumeration to loop through the String
Arrays  does that make sense?  Or can it be done in a simpler
fashion?

Thanks in advance.

Cj
--
Corey A. Johnson
Creative Network Innovations, Inc.
1-800-264-5547 ** 1-407-259-1984

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
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".
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: Please conection between W98 and linux URGENT!!

2000-07-06 Thread Geert Van Damme

Yes, SAMBA.

but is this a JSP question? You better post this in some linux newsgroups.

Geert Van Damme

> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Wilson E. Lozano R. -
> Estudiante
> Sent: donderdag 6 juli 2000 7:36
> To: [EMAIL PROTECTED]
> Subject: Please conection between W98 and linux URGENT!!
>
>
> Hi guys,
>
> I am working with linux RH 6.1, apache 1.3.11, jdk 1.2 and gnujsp 1.0,
> and i develop on workstation with win98, i can't access the server (linux)
> throw ftp, ask: anybody know another way to connect the machines? thanks
> in advance.  URGENT PLEASE
>
> Wilson Lozano
> Bucaramanga-Colombia
>
> ==
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> 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".
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



Please conection between W98 and linux URGENT!!

2000-07-06 Thread Wilson E. Lozano R. - Estudiante

Hi guys,

I am working with linux RH 6.1, apache 1.3.11, jdk 1.2 and gnujsp 1.0,
and i develop on workstation with win98, i can't access the server (linux)
throw ftp, ask: anybody know another way to connect the machines? thanks
in advance.  URGENT PLEASE

Wilson Lozano
Bucaramanga-Colombia

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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 start point

2000-07-06 Thread mike dell

Hi all,
What is the best way to start learning JSP? Any online
reference or any book u suggest?
Thanks,


__
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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: Please conection between W98 and linux URGENT!!

2000-07-06 Thread Gary Hall

Hi Wilson

You can use samba. Check out www.samba.org for details. It lets you map your
Linux drive as a Windows drive.

Gary

- Original Message -
From: Wilson E. Lozano R. - Estudiante <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 06, 2000 6:36 AM
Subject: Please conection between W98 and linux URGENT!!


> Hi guys,
>
> I am working with linux RH 6.1, apache 1.3.11, jdk 1.2 and gnujsp 1.0,
> and i develop on workstation with win98, i can't access the server (linux)
> throw ftp, ask: anybody know another way to connect the machines? thanks
> in advance.  URGENT PLEASE
>
> Wilson Lozano
> Bucaramanga-Colombia
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> 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".
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 start point

2000-07-06 Thread Vasudha Deepak

These sites should be able to give you a good start in JSP's.

http://java.sun.com/products/jsp/technical.html
http://java.sun.com/products/jsp/faq.html#techfaq
http://java.sun.com/products/jsp/download.html.
http://www.jsptags.com
http://www.serverpages.com
http://www.jspin.com


Vasudha
- Original Message -
From: mike dell <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 06, 2000 9:57 AM
Subject: JSP start point


> Hi all,
> What is the best way to start learning JSP? Any online
> reference or any book u suggest?
> Thanks,
>
>
> __
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo! Messenger.
> http://im.yahoo.com/
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> 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".
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 start point

2000-07-06 Thread Nathan Revo

I would suggest to first learn a little about Object Oriented Programming
and Java.
But if your ready to jump in, here's two tutorials that helped me the most
with learning JSP.

1st - an online jsp introduction.  Uses streamed audio, and a GREAT starting
place.  this is a must.
http://www2.software.ibm.com/developer/education.nsf/java-onlinecourse-bytit
le/882707E838C672A185256770004BDE72?OpenDocument&dwzone=java

2nd - an ibm tutorial to database connections with jsp.
http://www2.software.ibm.com/developer/education.nsf/java-onlinecourse-bytit
le/9243E4DE5826DC1B862568C10061B5AF?OpenDocument&dwzone=java

And a few other helpful links...
http://java.sun.com/products/jsp/docs.html  -- sun's tutorial

http://www.ibm.com/developer/java/  --  IBM's JAVA site


Nathan Revo
ICON Health & Fitness Inc.
[EMAIL PROTECTED]



There might be others, but these helped me on my way.
-Original Message-
From: mike dell [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 06, 2000 9:58 AM
To: [EMAIL PROTECTED]
Subject: JSP start point


Hi all,
What is the best way to start learning JSP? Any online
reference or any book u suggest?
Thanks,

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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: Deploy EJB under JRun

2000-07-06 Thread Anand Alagappa

 I think you can use JRun to deploy EJB...by using
their professional and enterprise edition JRun Server
3.0. For more info


http://www.allaire.com/products/jrun/productinformation/jrunserver/index.cfm

Anand



--- vijayaraghavan kannan <[EMAIL PROTECTED]>
wrote:
> hi albert,
> no you cant deploy EJB in jrun since for
> deployment EJB Specified
> container is required, which jrun do not have ,ou
> have to go for application
> servers such as j2ee , weblogic.
>
>
> >From: Albert <[EMAIL PROTECTED]>
> >Reply-To: A mailing list about Java Server Pages
> specification and
> > reference <[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED]
> >Subject: Deploy EJB under JRun
> >Date: Tue, 4 Jul 2000 09:28:32 +0800
> >
> >Hi,
> >
> > Does anyone know how to deploy EJB under
> JRrun 3.0.  Thanx in
> >advance.
> >
> >Albert
> >
>
>===
> >To unsubscribe: mailto [EMAIL PROTECTED] with
> body: "signoff
> >JSP-INTEREST".
> >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".
> 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!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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 start point

2000-07-06 Thread Wilson E. Lozano R. - Estudiante

Hi mike,
Check http://www-4.ibm.com/software/developer/education/jsp

I hope , it help you

Wilson
On Thu, 6 Jul 2000, mike dell wrote:

> Hi all,
> What is the best way to start learning JSP? Any online
> reference or any book u suggest?
> Thanks,
>
>
> __
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo! Messenger.
> http://im.yahoo.com/
>
> ===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> 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".
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



Flow of control with RequestDispatcher.forward()

2000-07-06 Thread Williams, Stephen

I am calling RequestDispatcher.forward() from my servlets to pass control
along to another servlet and/or JSP page (Model 2 type stuff).  This has led
me to a question about the flow of control when using RequestDispatcher:

When RequestDispatcher.forward() is invoked, is it supposed to return
*before* the target resource executes?  Or, is forward() supposed to wait
until *after* the target resource has completed executing?  Or, could it
happen either way?  Is the appropriate behavior spelled out in the specs
somewhere?

Using JRun 2.3.3, I have noticed the following behavior with
RequestDispatcher.forward():

- If I forward() to a "normal" HttpServlet (i.e., NOT a JSP servlet), then
forward() waits until *after* the target servlet has executed before
returning.
- If I forward to a JSP servlet, then forward() returns immediately.  After
the original servlet completes all of its processing (backing out through
the stack of doPost() and service()), then the JSP servlet executes.

For my situation, I would like to have RequestDispatcher.forward() always
wait until *after* the target resource has executed before returning.  This
would give me the ability to execute some cleanup code after the target
resource has executed.  [Yes, I know that the original servlet is not
allowed to send any output either before or after invoking forward().  My
cleanup code has nothing to do with the servlet output.]

Any ideas?

--
Stephen A. Williams
HNC Telecommunications Solutions

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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



Tomcat and Apache Configuration

2000-07-06 Thread Laiwu Luo

I have set up Tomcat 3.1 to run with Apache 1.3.12 on NT box. But I run
into the certain problems when I run the demo servlet codes "snoop" and
"servletToJsp" in "examples/wen-inf/classes" directory. Since the
following servlet mappings have been added "web.xml":

  
  snoop
  /snoop
  

  
  servletToJsp
  /servletToJsp
  

I can successfully run these demo codes by simply typing:
"http://localhost:8080/examples/snoop" and
"http://localhost:8080/examples/servletToJsp". I can also successfully
run the codes by typing "http://localhost/examples/servlet/snoop" and
"http://localhost/examples/servlet/servletToJsp".

However I cann't run them successfully by typing
"http://localhost/examples/snoop"  and
"http://localhost/examples/servletToJsp". The message I got are like
"Not Found The requested URL /examples/snoop (or servletToJsp) was not
found on this server".

Can someone please let me know what is wrong in my configuration?

Thanks,

Laiwu Luo

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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



Extending JSP pages

2000-07-06 Thread Williams, Stephen

I'd like to have all of my JSP pages execute a certain chunk of Java code
before the page is displayed, and then execute another chunk of Java code
after the page is displayed.  I could use an "include" at the top and bottom
of each of my JSP pages, but this seems a little kludgy and error-prone.
Another way to do this might be to have all my JSPs extend a subclass of
HttpJspPage that I create.  However, I'm wary of doing this because Sun's
JSP documentation states that extending the JSP page "limits the JSP
container's ability to provide a specialized superclass that improves the
quality of the compiled file."

Does anyone have any experience with extending JSP pages through the use of
the "page extends" directive?  If so, what advice do you have for someone
thinking about doing it (e.g., gotchas, benefits)?

Alternatively, has anyone created a workaround for extending the JSP page
that accomplishes the same thing.

Thanks.

--
Stephen A. Williams
HNC Telecommunications Solutions

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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



Model 2: Duration of Parameters / Attributes in Request Object

2000-07-06 Thread Richard Cammarano

I'm currently using Model 2 architecture and pass the request object
from controller TO action TO jsp. If I have a parameter that was posted
through the controller servlet and I try to access that parameter (via
request.getParameter) in the jsp, I get null.

Why is this happening? I thought that if I maintained a reference to
that object I still have access to all the parameters and attributes?

Example(abbreviated code):

In HTML page:
  submit via post value for textbox "foo";

>From ControllerServlet to Action:

  doPost(request) {
action.perform(request);
  }

from Action to JSP:

  perform(request) {
requestDispatcher.forward(request);
  }

in JSP
  request.getParameter("foo");

  Value is null.





Reading through the archives, I'm still a bit confused about the
duration of the request object.



This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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 and Apache Configuration

2000-07-06 Thread Gocin.com

Port 8080 is tomcats internal webserver. Port 80 (the default port) is
probably apache... you need to tell apache when to use Tomcat (read tomcat's
user manuals, dev. guides, etc...)

Jason B.

-Original Message-
From: Laiwu Luo <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Thursday, July 06, 2000 11:32 AM
Subject: Tomcat and Apache Configuration


>I have set up Tomcat 3.1 to run with Apache 1.3.12 on NT box. But I run
>into the certain problems when I run the demo servlet codes "snoop" and
>"servletToJsp" in "examples/wen-inf/classes" directory. Since the
>following servlet mappings have been added "web.xml":
>
>  
>  snoop
>  /snoop
>  
>
>  
>  servletToJsp
>  /servletToJsp
>  
>
>I can successfully run these demo codes by simply typing:
>"http://localhost:8080/examples/snoop" and
>"http://localhost:8080/examples/servletToJsp". I can also successfully
>run the codes by typing "http://localhost/examples/servlet/snoop" and
>"http://localhost/examples/servlet/servletToJsp".
>
>However I cann't run them successfully by typing
>"http://localhost/examples/snoop"  and
>"http://localhost/examples/servletToJsp". The message I got are like
>"Not Found The requested URL /examples/snoop (or servletToJsp) was not
>found on this server".
>
>Can someone please let me know what is wrong in my configuration?
>
>Thanks,
>
>Laiwu Luo
>
>===
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
>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".
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: Model 2: Duration of Parameters / Attributes in Request Objec t

2000-07-06 Thread Kevin Henderson

Richard,

You need to set the atrribute to the request in your action class. This
enables you to reference it from the JSP.

Example:

from Action to JSP:

  perform(request) {
request.setAttribute("foo", fooInstance);
requestDispatcher.forward(request);
  }

Regards,

Kevin

-Original Message-
From: Richard Cammarano [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 06, 2000 12:47 PM
To: [EMAIL PROTECTED]
Subject: Model 2: Duration of Parameters / Attributes in Request Object


I'm currently using Model 2 architecture and pass the request object
from controller TO action TO jsp. If I have a parameter that was posted
through the controller servlet and I try to access that parameter (via
request.getParameter) in the jsp, I get null.

Why is this happening? I thought that if I maintained a reference to
that object I still have access to all the parameters and attributes?

Example(abbreviated code):

In HTML page:
  submit via post value for textbox "foo";

>From ControllerServlet to Action:

  doPost(request) {
action.perform(request);
  }

from Action to JSP:

  perform(request) {
requestDispatcher.forward(request);
  }

in JSP
  request.getParameter("foo");

  Value is null.





Reading through the archives, I'm still a bit confused about the
duration of the request object.



This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
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".
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



HttpSession

2000-07-06 Thread ramdurs kanakangi

Hi, I've a simple question.

Since a HttpSession is maintained between a
client IP & a server IP, how does it work in case
of the client being behind a firewall/proxy server?

Scenario: lets say we have 2 clients C1 & C2 whose
requests are routed throught their proxy server P to
an external webserver W.

In this scenario, does W have just one HttpSession
with P (for both C1 & C2)?

Or, does W use some other info (like cookies) to
maintain seperate HttpSessions for C1 & C2?

Thx, Ram.

__
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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: Model 2: Duration of Parameters / Attributes in Request Object

2000-07-06 Thread Richard Cammarano

OK - so setting a request attribute stays with the request object.
But why do I lose the PARAMETER (request.getParameter()) stored in the
request?
I still have a reference to the same request object, don't I?

-Original Message-
From: khenderson
Sent: Thursday, July 06, 2000 1:42 PM
To: khenderson; JSP-INTEREST
Subject: Re: Model 2: Duration of Parameters / Attributes in Request
Objec t


Richard,

You need to set the atrribute to the request in your action class. This
enables you to reference it from the JSP.

Example:

from Action to JSP:

  perform(request) {
request.setAttribute("foo", fooInstance);
requestDispatcher.forward(request);
  }

Regards,

Kevin

-Original Message-
From: Richard Cammarano [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 06, 2000 12:47 PM
To: [EMAIL PROTECTED]
Subject: Model 2: Duration of Parameters / Attributes in Request Object


I'm currently using Model 2 architecture and pass the request object
from controller TO action TO jsp. If I have a parameter that was posted
through the controller servlet and I try to access that parameter (via
request.getParameter) in the jsp, I get null.

Why is this happening? I thought that if I maintained a reference to
that object I still have access to all the parameters and attributes?

Example(abbreviated code):

In HTML page:
  submit via post value for textbox "foo";

>From ControllerServlet to Action:

  doPost(request) {
action.perform(request);
  }

from Action to JSP:

  perform(request) {
requestDispatcher.forward(request);
  }

in JSP
  request.getParameter("foo");

  Value is null.





Reading through the archives, I'm still a bit confused about the
duration of the request object.



This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
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".
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


This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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: HttpSession

2000-07-06 Thread Craig R. McClanahan

ramdurs kanakangi wrote:

> Hi, I've a simple question.
>
> Since a HttpSession is maintained between a
> client IP & a server IP, how does it work in case
> of the client being behind a firewall/proxy server?
>

Technically, it is not actually based on client IP and server IP.  That would fail
in your proxy case, but also in the case of a multi-user system with independent
client users running their own browsers.

>
> Scenario: lets say we have 2 clients C1 & C2 whose
> requests are routed throught their proxy server P to
> an external webserver W.
>
> In this scenario, does W have just one HttpSession
> with P (for both C1 & C2)?
>
> Or, does W use some other info (like cookies) to
> maintain seperate HttpSessions for C1 & C2?
>

How sessions are maintained is described in the Servlet API Specification,
available at .  Basically,
there are two choices:

* Use cookies (which means your proxy case will work
  as long as the proxy faithfully passes on the appropriate
  cookies in each direction)

* Use URL rewriting, which modifies the hyperlinks that
  refer to various pages in the application to include the
  session id.

>
> Thx, Ram.
>

Craig McClanahan

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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: Extending JSP pages

2000-07-06 Thread Jim Bailey

We use the extends directive in our current application but only because the
application was written long before JSP 1.0. We used a JSP implementation of
version 0.91 when there wasn't much information about good JSP design. So we
are living with this legacy in our current version. Our next version is a
complete rewrite and we don't use the extends tag for exactly the reasons
that you cite.

I suggest that you avoid the extends directive as well. The reason is that
when you use extends you are putting some severe restrictions on what kinds
of optimizations the JSP engine can perform under the hood. When you use
extends, you bypass whatever superclass the JSP container might have created
and have to use the more generic javax.servlet.http.HttpServlet base class
instead.

We now use a set of static includes that contain <%! .. %> declarations for
methods and data that we want to include on every page. This gives us
approximately the same functionality that we had with our extended JSP
servlets.

Since it is documented in the JSP 1.0 and 1.1 specification, I suspect that
the extends directive will continue to work in the future but I also suspect
that JSP engine authors won't expend too much effort to make JSPs that use
extends work efficiently. It is easy enough to avoid the whole issue with
any new development, which is good enough reason for me.


-Original Message-
From: Williams, Stephen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 06, 2000 1:07 PM

I'd like to have all of my JSP pages execute a certain chunk of Java code
before the page is displayed, and then execute another chunk of Java code
after the page is displayed.  I could use an "include" at the top and bottom
of each of my JSP pages, but this seems a little kludgy and error-prone.
Another way to do this might be to have all my JSPs extend a subclass of
HttpJspPage that I create.  However, I'm wary of doing this because Sun's
JSP documentation states that extending the JSP page "limits the JSP
container's ability to provide a specialized superclass that improves the
quality of the compiled file."

Does anyone have any experience with extending JSP pages through the use of
the "page extends" directive?  If so, what advice do you have for someone
thinking about doing it (e.g., gotchas, benefits)?

Alternatively, has anyone created a workaround for extending the JSP page
that accomplishes the same thing.

Thanks.

--
Stephen A. Williams
HNC Telecommunications Solutions

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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: HttpSession

2000-07-06 Thread Shrisha Radhakrishna

Sessions depend on a small cookie (sessionID) on the client's browser.  IP
address doesn't matter.

--Shrisha

- Original Message -
From: "ramdurs kanakangi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 06, 2000 11:08 AM
Subject: HttpSession


> Hi, I've a simple question.
>
> Since a HttpSession is maintained between a
> client IP & a server IP, how does it work in case
> of the client being behind a firewall/proxy server?
>
> Scenario: lets say we have 2 clients C1 & C2 whose
> requests are routed throught their proxy server P to
> an external webserver W.
>
> In this scenario, does W have just one HttpSession
> with P (for both C1 & C2)?
>
> Or, does W use some other info (like cookies) to
> maintain seperate HttpSessions for C1 & C2?
>
> Thx, Ram.
>
> __
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo! Messenger.
> http://im.yahoo.com/
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> 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".
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



HTTP 1.0/Websphere

2000-07-06 Thread Kommana, Sridhar

We are using IBM Websphere Application Server 3.0.2 alongwith NES. When we 
disable(uncheck) "USE HTTP1.1" in IE 4.0 and go through
our stuff, behaviour is erratic. When we post a form to invoke servlet(Servlet API 
2.1) or even invoke servlet directly, "CLASS NOT
FOUND" exception is thrown with no known pattern. I have been testing this since last 
2 days but no known pattern or problem has
been found. Same button may work perfectly once but throw this error next time.

As soon as we enable(check) "Use HTTP 1.1", the problem goes away.

Can anybody explain the behaviour and suggest remedy for it! Has this anything to do 
with NES/Websphere or with HTTP1.0!

Thanks in advance

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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 editor

2000-07-06 Thread Somsak AsSawakulpaibool

Have you ever try IBM WebSphere Studio. It's pretty good
A.Somsak

Terence Lui wrote:
>
> What is the best editor for doing JSP, HTML, Javascript developemnt?
>
> -TL
>
> ---
> FREE! The World's Best Email Address @email.com
> Reserve your name now at http://www.email.com
>
> ===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> 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".
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: Invoking non-console applications using Runtime.getRuntime().exec ().

2000-07-06 Thread Piotr Wierzbicki

Hi,
Simply put -- batch files are not standalone executables (like Notepad.) You have to 
send the file ("document") to its application (command interpreter), CMD.EXE (WinNT) 
or Command.com (Win9x). On unix you would use any from the number of shell 
interpreters (sh, ksh, etc). Just remember to add appropriate line command switch (/C) 
to terminate after script has finished. Check also quirks with environment passing 
(eg. PATH)

And BTW -- it's very much non-JSP question ;-/

Best regards,
Piotr

-Original Message-
From: A mailing list about Java Server Pages specification and reference
On Behalf Of Ritesh_Srivastava
Sent: Wednesday, July 05, 2000 11:21
To: [EMAIL PROTECTED]
Subject: [JSP-INTEREST] Invoking non-console applications using
Runtime.getRuntime().exec ().


Hi,
I am trying to start a standalone Java application from my servlet.
In my servlet, what exactly i am doing is as follows:
On doPost() i am writing:
Process p = Runtime.getRuntime().exec("Batch file");
This batch file is something like this:
java  MyApplication

The problem is, this Process cannot execute as it requires console for
processing.Though non-console appl. like notepad can run from the servlet
using exec, but console application are not executed.

I want a way out where i can execute the Batch file or the same command from
my HTML( and not command prompt).
Can anybody help me on this.
Regards,
Ritesh

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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".
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: Japanese Characters

2000-07-06 Thread space out
Hi Stephen,

What is the format of your Japanese characters?
I mean when you open the Japanese file with notepad,
can you read it or you just see a lot black squares...

Use the format like 人 for one Japanese character...

Out Space

---Stephen Toner <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I'm having a problem reading in Japanese characters.  I've tried:
> <%@ page contentType="text/html; charset=Shift_JIS" %> and
> 
> I wanted to simply echo the characters back to the screen.
> However the String read in was just junk.
> I was hoping to try and store them as unicode but can't seem to work
this.
> I would appreciate any pointers.
>
> Thanks in advance,
> Stephen
>
>

> Get Your Private, Free E-mail from MSN Hotmail at
http://www.hotmail.com
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> 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!?
FREE "@yahoo.co.jp" address --> http://mail.yahoo.co.jp

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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: Extending JSP pages

2000-07-06 Thread Hans Bergsten

"Williams, Stephen" wrote:
>
> I'd like to have all of my JSP pages execute a certain chunk of Java code
> before the page is displayed, and then execute another chunk of Java code
> after the page is displayed.  I could use an "include" at the top and bottom
> of each of my JSP pages, but this seems a little kludgy and error-prone.
> Another way to do this might be to have all my JSPs extend a subclass of
> HttpJspPage that I create.  However, I'm wary of doing this because Sun's
> JSP documentation states that extending the JSP page "limits the JSP
> container's ability to provide a specialized superclass that improves the
> quality of the compiled file."
>
> Does anyone have any experience with extending JSP pages through the use of
> the "page extends" directive?  If so, what advice do you have for someone
> thinking about doing it (e.g., gotchas, benefits)?
>
> Alternatively, has anyone created a workaround for extending the JSP page
> that accomplishes the same thing.

One way I can think of is to use a common "wrapper" JSP page that includes
the before and after stuff, plus the real JSP page, e.g.

  
  " flush="true" />
  

Or, maybe better, just let the "wrapper" JSP page contain the stuff
from "before.jsp" and "after.jsp" and only include the main page.

With something like this, all your JSP requests must use URIs like

  view.jsp?mainJSP=foo.jsp

where "view.jsp" is the wrapper page.

Hans
--
Hans Bergsten   [EMAIL PROTECTED]
Gefion Software http://www.gefionsoftware.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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: Please conection between W98 and linux URGENT!!

2000-07-06 Thread Jacky Cheung

Hi,

Have you installed FTP-Server in your Linux box? There should be a rpm for
"WU-Ftpd" in the RH installation CD-ROM.

Jacky

"Wilson E. Lozano R. - Estudiante" wrote:

> Hi guys,
>
> I am working with linux RH 6.1, apache 1.3.11, jdk 1.2 and gnujsp 1.0,
> and i develop on workstation with win98, i can't access the server (linux)
> throw ftp, ask: anybody know another way to connect the machines? thanks
> in advance.  URGENT PLEASE
>
> Wilson Lozano
> Bucaramanga-Colombia
>
> ===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> 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".
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



Problem in resizing and refreshing pages

2000-07-06 Thread Sneha Sharma

Sneha Sharma@CONTEXT
07/06/2000 04:48 PM

Hi!
Whenever a page has form data and we refresh it or resize it, it shows an
ugly error message
saying if we should retry or cancel.
Have u encountered such error?Whats the workaround?
Thanks,
Sneha

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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: Extending JSP pages

2000-07-06 Thread Jim Preston

Well, I'm curious as to why you think using an include to do what you want
is kludgy and error prone. I guess I could maybe understand why you'd think
it was a little kludgy if the code in question doesn't have anything to do
with what's on the JSP, but what's error prone about it?

In any case, why don't you just put your code in a method in a bean and then
call that method from the JSP? There's nothing that restricts beans to being
used only for property setting/getting; they're just classes, they can have
any arbitrary methods, and you can call those methods from your JSP just
like you can from "ordinary" Java. For example, at the top of your JSP, put
this:


<% behindTheScenes.doEntryStuff();%>

Or you don't even have to make it a bean, you could just do this (which is
actually slightly more efficient, since it doesn't have to go through the
bean instantiator):

<%BehindTheScenes behindTheScenes = new BehindTheScenes();
  behindTheScenes.doEntryStuff();
%>

And in either case you can do this at the bottom:

<% behindTheScenes.doEndStuff();%>

Never forget what the "J" stands for; you can put real Java in a JSP. It all
gets compiled into a method in a servlet where the HTML is just a bunch of
out.println's. Look at it that way, and some difficult questions become a
lot easier.

--Jim Preston

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Williams, Stephen
Sent: Thursday, July 06, 2000 10:07 AM
To: [EMAIL PROTECTED]
Subject: Extending JSP pages


I'd like to have all of my JSP pages execute a certain chunk of Java code
before the page is displayed, and then execute another chunk of Java code
after the page is displayed.  I could use an "include" at the top and bottom
of each of my JSP pages, but this seems a little kludgy and error-prone.
Another way to do this might be to have all my JSPs extend a subclass of
HttpJspPage that I create.  However, I'm wary of doing this because Sun's
JSP documentation states that extending the JSP page "limits the JSP
container's ability to provide a specialized superclass that improves the
quality of the compiled file."

Does anyone have any experience with extending JSP pages through the use of
the "page extends" directive?  If so, what advice do you have for someone
thinking about doing it (e.g., gotchas, benefits)?

Alternatively, has anyone created a workaround for extending the JSP page
that accomplishes the same thing.

Thanks.

--
Stephen A. Williams
HNC Telecommunications Solutions

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
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".
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: Extending JSP pages

2000-07-06 Thread Williams, Stephen

Hans Bergsten wrote:
> One way I can think of is to use a common "wrapper" JSP page
> that includes the before and after stuff, plus the real JSP
> page, e.g.
>
>   
>   " flush="true"
/>
>   

This seems like an excellent idea to me.  It would allow me to accomplish
what I want without having to change any of my existing JSPs.  Additionally,
it is much less error-prone than having to include files at the top and
bottom of every JSP.

However, can anyone think of any "gotchas" with using "jsp:include" on JSPs
that were not originally intended to be included by another JSP?  I know
that using RequestDispatcher.include() from a servlet restricts one from
setting response headers and the response code -- will this present any
issues with JSPs?

Thanks.

--
Stephen A. Williams
HNC Telecommunications Solutions

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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 editor

2000-07-06 Thread Jim Preston

JRun Studio is not linked or coupled to the JRun server in any way, as far
as I know, it's just an editor. "Deployment" of a JSP is about as simple as
it can get, no matter what the web server. Now, this may change when JSP
editors start getting WYSIWYG if they try to be smart and want access to the
beans and all. But right now, JRun Studio is just an independent   editor
with syntax coloring.

--Jim Preston


-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Geert Van Damme
Sent: Thursday, July 06, 2000 7:54 AM
To: [EMAIL PROTECTED]
Subject: Re: JSP editor


And how closely this is linked to the JRUN server?
I prefer a loose coupling here. I don't want to have my development
environment make
too many decisions about my deployment possibilities.
Of course, if you're using JRun anyway then YMMV,
but I thought independence is one of the most important features of Java.

Anyway, I'll take a look at JRun studio.

Geert Van Damme

> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Mark G. Franz
> Sent: donderdag 6 juli 2000 12:46
> To: [EMAIL PROTECTED]
> Subject: Re: JSP editor
>
>
> Allaire has anew product out called JRUN Suite, it is an editor that
> emulates HomeSite but was developed for JSP development.
>
> Mark
> -Original Message-
> From: Sundaram Ramasamy <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> Date: Thursday, July 06, 2000 9:35 AM
> Subject: Re: JSP editor

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
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".
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: Extending JSP pages

2000-07-06 Thread Williams, Stephen

Jim Preston wrote:
> Well, I'm curious as to why you think using an include to do
> what you want is kludgy and error prone. I guess I could
> maybe understand why you'd think it was a little kludgy if
> the code in question doesn't have anything to do with what's
> on the JSP, but what's error prone about it?

I'm not worried about the fact that the code doesn't have anything to do
with what's on the JSP.  I think it's kludgy and error-prone to have to
remember to put "" at the top and "" at the bottom of *every* JSP file I create.  I feel that that
it's kludgy because it clutters up every one of my JSP files.  It's
error-prone because it's easy to forget to put either the begin or end
include in one of the JSPs.

> In any case, why don't you just put your code in a method in
> a bean and then call that method from the JSP?
> ...
> Or you don't even have to make it a bean...

Whether I do , <%@ include%> or <% foo.bar() %>, I still have
to remember to do it at the top and bottom of every JSP file.  I'm trying to
avoid that if possible.

--
Stephen A. Williams
HNC Telecommunications Solutions

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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: Extending JSP pages

2000-07-06 Thread Scott Kumamoto

This brings up a question I've been trying to figure out... why does the
"jsp:useBean" exist at all?  (Versus just doing a "new myClass()"?)

Are there technical reasons for it?  The only thing I could think of was
that forcing the JSP writer to do the "new" was too "Java", and giving
then the "jsp:useBean" was more "HTML", thus aiding the role separation
of programmer and HTML (JSP) developer.

Thoughts?

Thanks,
Scott


Jim Preston wrote:
>
> Well, I'm curious as to why you think using an include to do what you want
> is kludgy and error prone. I guess I could maybe understand why you'd think
> it was a little kludgy if the code in question doesn't have anything to do
> with what's on the JSP, but what's error prone about it?
>
> In any case, why don't you just put your code in a method in a bean and then
> call that method from the JSP? There's nothing that restricts beans to being
> used only for property setting/getting; they're just classes, they can have
> any arbitrary methods, and you can call those methods from your JSP just
> like you can from "ordinary" Java. For example, at the top of your JSP, put
> this:
>
> 
> <% behindTheScenes.doEntryStuff();%>
>
> Or you don't even have to make it a bean, you could just do this (which is
> actually slightly more efficient, since it doesn't have to go through the
> bean instantiator):
>
> <%BehindTheScenes behindTheScenes = new BehindTheScenes();
>   behindTheScenes.doEntryStuff();
> %>
>
> And in either case you can do this at the bottom:
>
> <% behindTheScenes.doEndStuff();%>
>
> Never forget what the "J" stands for; you can put real Java in a JSP. It all
> gets compiled into a method in a servlet where the HTML is just a bunch of
> out.println's. Look at it that way, and some difficult questions become a
> lot easier.
>
> --Jim Preston
>
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Williams, Stephen
> Sent: Thursday, July 06, 2000 10:07 AM
> To: [EMAIL PROTECTED]
> Subject: Extending JSP pages
>
> I'd like to have all of my JSP pages execute a certain chunk of Java code
> before the page is displayed, and then execute another chunk of Java code
> after the page is displayed.  I could use an "include" at the top and bottom
> of each of my JSP pages, but this seems a little kludgy and error-prone.
> Another way to do this might be to have all my JSPs extend a subclass of
> HttpJspPage that I create.  However, I'm wary of doing this because Sun's
> JSP documentation states that extending the JSP page "limits the JSP
> container's ability to provide a specialized superclass that improves the
> quality of the compiled file."
>
> Does anyone have any experience with extending JSP pages through the use of
> the "page extends" directive?  If so, what advice do you have for someone
> thinking about doing it (e.g., gotchas, benefits)?
>
> Alternatively, has anyone created a workaround for extending the JSP page
> that accomplishes the same thing.
>
> Thanks.
>
> --
> Stephen A. Williams
> HNC Telecommunications Solutions
>
> ===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> 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".
> 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".
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: Extending JSP pages

2000-07-06 Thread Thomas Preston

If *every* jsp page needs to include same head and foot, you can consider
using "server side indudes" i think.


>From: "Williams, Stephen" <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: Extending JSP pages
>Date: Thu, 6 Jul 2000 17:46:04 -0700
>
>Jim Preston wrote:
> > Well, I'm curious as to why you think using an include to do
> > what you want is kludgy and error prone. I guess I could
> > maybe understand why you'd think it was a little kludgy if
> > the code in question doesn't have anything to do with what's
> > on the JSP, but what's error prone about it?
>
>I'm not worried about the fact that the code doesn't have anything to do
>with what's on the JSP.  I think it's kludgy and error-prone to have to
>remember to put "" at the top and "end.jsp />" at the bottom of *every* JSP file I create.  I feel that that
>it's kludgy because it clutters up every one of my JSP files.  It's
>error-prone because it's easy to forget to put either the begin or end
>include in one of the JSPs.
>
> > In any case, why don't you just put your code in a method in
> > a bean and then call that method from the JSP?
> > ...
> > Or you don't even have to make it a bean...
>
>Whether I do , <%@ include%> or <% foo.bar() %>, I still have
>to remember to do it at the top and bottom of every JSP file.  I'm trying
>to
>avoid that if possible.
>
>--
>Stephen A. Williams
>HNC Telecommunications Solutions
>
>===
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>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".
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: Extending JSP pages

2000-07-06 Thread Hans Bergsten

Scott Kumamoto wrote:
>
> This brings up a question I've been trying to figure out... why does the
> "jsp:useBean" exist at all?  (Versus just doing a "new myClass()"?)
>
> Are there technical reasons for it?  The only thing I could think of was
> that forcing the JSP writer to do the "new" was too "Java", and giving
> then the "jsp:useBean" was more "HTML", thus aiding the role separation
> of programmer and HTML (JSP) developer.

 does a bit more than "new myClass()". It first try to locate
an existing instance with the specified name. If it can't find one, it
creates a new instance and saves it in the specified scope. Sure, you can
do all this with a few lines of Java code in a scriptlet. But even small
amounts of code in a page can create syntax errors that are hard to catch,
because the scriptlet code is mixed with the code generated by the JSP
container. Another reason for the JSP action elements is that they are
a better fit for authoring tools.

Hans
--
Hans Bergsten   [EMAIL PROTECTED]
Gefion Software http://www.gefionsoftware.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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: Extending JSP pages

2000-07-06 Thread Hans Bergsten

"Williams, Stephen" wrote:
>
> Hans Bergsten wrote:
> > One way I can think of is to use a common "wrapper" JSP page
> > that includes the before and after stuff, plus the real JSP
> > page, e.g.
> >
> >   
> >   " flush="true"
> />
> >   
>
> This seems like an excellent idea to me.  It would allow me to accomplish
> what I want without having to change any of my existing JSPs.  Additionally,
> it is much less error-prone than having to include files at the top and
> bottom of every JSP.
>
> However, can anyone think of any "gotchas" with using "jsp:include" on JSPs
> that were not originally intended to be included by another JSP?  I know
> that using RequestDispatcher.include() from a servlet restricts one from
> setting response headers and the response code -- will this present any
> issues with JSPs?

Yes, using  restricts the included JSP in the same way as if
included by RequestDispatcher.include(). Depending on what the before and
after JSP pages do, you may also want to restrict the HTML the main JSP
produces. For instance if before.jsp produces an  element, you do
not want to do that in the main JSP page as well.

What Jim Preston suggested is also an alternative, maybe even a better
idea if you plan to just put Java methods in before and after: encapsulate
the code in JavaBeans, or custom actions, instead.

Hans
--
Hans Bergsten   [EMAIL PROTECTED]
Gefion Software http://www.gefionsoftware.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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: Returning java.sql.ResultSet from an EJB

2000-07-06 Thread Albert

Hi,

Can u send me same sample about this??  BTW, can I use the same method in
applet and how?  Thanx in advance.

Albert

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Kevin Henderson
Sent: Thursday, July 06, 2000 11:49 PM
To: [EMAIL PROTECTED]
Subject: Re: Returning java.sql.ResultSet from an EJB


CJ,

You can return a resultSet from an EJB if you implement the Serializable
interface in your implementation of the ResultSet.  However, I would not
suggest this as an effective solution.  Another design alternative, which is
one that I have implemented, is to return only value beans back to your
JSPs. A value bean is a java class that encapsulates all model data that you
would want to pass back to your JSP.  In your case, it would at least
contain data passed back from a query, but it is not limited to this. You
can access bean data from its getter methods, however since it is a value
bean you would want your bean to be immutable meaning no setters. This bean
could also contain another class that maps specifically to the table row
whose data you are trying to query, and then use an array or vector of those
classes as a set. It could also contain other data that is important to you
view(JSP).  In this way,  a JSP page knows about only one bean that is it's
model data for the view. Then you could use the useBean directives or
getters to get data from your bean. This follows along the lines of the MVC
design pattern.

Hope it helps.

Kevin E. Henderson
Architect - Web Development
eTour, Inc.
http://www.etour.com/  "Surf Without Searching"
404-881-8484 ext. 385



-Original Message-
From: Corey A. Johnson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 06, 2000 8:24 AM
To: [EMAIL PROTECTED]
Subject: Returning java.sql.ResultSet from an EJB


Morning!

Quick question... I am invoking a method in an EJB from a JSP...  the
method in the EJB performs a SQL query...  Is it possible to return the
java.sql.ResultSet object to my JSP?  So i can then loop through the
records in the JSP and build the results HTML table?  I tried this and i
keep getting an IDL error telling me that the return type
"java.sql.ResultSet" is not allow...

if i can't.. does anyone have any code examples or suggestions? Or am i
missing something?

i guess i could place the data from each field into an element of a
String array... and then place each String array which would
represent a row in the SQL ResultSet.. in a Vector... and then return
the Vector to the JSP and use an Enumeration to loop through the String
Arrays  does that make sense?  Or can it be done in a simpler
fashion?

Thanks in advance.

Cj
--
Corey A. Johnson
Creative Network Innovations, Inc.
1-800-264-5547 ** 1-407-259-1984

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
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".
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".
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



JavaTool

2000-07-06 Thread Thomas W. Hohler

Does anybody know IBM VisualAge 3 for Java?
How is it?
Are there better products for web applications out there?


Thomas

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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: HTTP 1.0/Websphere

2000-07-06 Thread vijayaraghavan kannan

hi sridhar,
   the problem you are facing if i understand is due to that the servlet
complete path may not be registered under the servlet engine also detail me
where you are keeping your servlet and if you using the studio tool to build
your servlet than .servlet file is needed to locate your servlet.otherwise
there should not be any problem accessing your servlet registered under web
application residing under servlet engine.
 regards, vijay


>From: "Kommana, Sridhar" <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: HTTP 1.0/Websphere
>Date: Thu, 6 Jul 2000 14:18:26 -0500
>
>We are using IBM Websphere Application Server 3.0.2 alongwith NES. When we
>disable(uncheck) "USE HTTP1.1" in IE 4.0 and go through
>our stuff, behaviour is erratic. When we post a form to invoke
>servlet(Servlet API 2.1) or even invoke servlet directly, "CLASS NOT
>FOUND" exception is thrown with no known pattern. I have been testing this
>since last 2 days but no known pattern or problem has
>been found. Same button may work perfectly once but throw this error next
>time.
>
>As soon as we enable(check) "Use HTTP 1.1", the problem goes away.
>
>Can anybody explain the behaviour and suggest remedy for it! Has this
>anything to do with NES/Websphere or with HTTP1.0!
>
>Thanks in advance
>
>===
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>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".
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 -> servlet -> JSP request scope object passing

2000-07-06 Thread David Wall

This is no doubt a common question, but if I have a JSP page, that does =
a FORM POST to a servlet, and that servlet's job is to do some parameter =
checking, invoke the correct operations on beans/EJBs, then redirect the =
user to the correct JSP page to display the results.

If there's an error, the servlet sends the request back to the calling =
page with an error set.  If all's okay, it generally takes the person to =
another JSP, though it may come back to the original JSP with a =
"success" message.

This JSP -> servlet -> JSP must a fairly common use.

I'm having trouble getting this to work using "request" scoped beans.  =
When the first JSP is invoked, the request-scoped beans are created =
until the page is returned.  Then when the user clicks on the submit =
button, the POST goes to my servlet.  My servlet can create the beans =
(such as an error response bean, and a page-specific bean that stores =
the user's input so they don't have to re-enter anything if there's an =
error), but if it puts them in the request object, a sendRedirect() will =
cause the beans to be lost (new request).  If I use the =
requestDispatcher.forward() call, the beans are remembered, but the base =
URL remains the servlet's URL, not the JSP page that is displayed.

Aside from using session beans (which easily breaks down if the user is =
actively moving about your site in two or more windows), how are people =
handling this?

Thanks,
David

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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 in Weblogic 5.1...

2000-07-06 Thread R.B. Gurung

Hi Gene ,

I did deploy the packaged Ejb called StateLessSessionBean from the examples
folder
I ran the the build.sh script which was packaged with weblogic5.1
I checked through console It shows Bean deployed status.one bean
successfully deployed.
I need to run the
java ejbc to execute the client but classpath set error is indicated.

I have included the weblogic classpath which include the all
d:\weblogic\myserver\classes all weblogicaux.jar, classes\boot etc
 Still cant fix the problem.

I have used the packaged EJB which included the .jar file
I checked the jar file content which had all .class files  and also the
stub/SKEL.
I wanna know how to generate my container classes to be jared and deployed.

much help needed.
Thanks/Regards

gurung



- Original Message -
From: Gene Chuang <[EMAIL PROTECTED]>
To: 'R.B. Gurung' <[EMAIL PROTECTED]>
Sent: Thursday, July 06, 2000 9:56 PM
Subject: RE: EJB in Weblogic 5.1...


> Hi,
>
> I'm confused... in your original post you said you were able to deploy
your
> bean jar on your server.  This means that you have already run
weblogic.ejbc
> and produced all the stub/container classes necessary for the bean to
> deploy!
>
> Now if you run your ejb client from the same VM on the same machine as the
> server, you will connect and find the right stub automatically.  If your
> client is on a different VM or a different machine, then you need to make
> sure the ejb jar file is in your CLASSPATH of the client's environment, as
> in:
>
> CLASSPATH=c:\yourdir\yourbean.jar
>
> Gene
>
> -Original Message-
> From: R.B. Gurung [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 06, 2000 2:17 AM
> To: Gene Chuang
> Cc: A mailing list about Java Server Pages specification and reference
> Subject: Re: EJB in Weblogic 5.1...
>
>
> Hi Gene Chuang,
>
> I have edited the scripts files all .sh(files) to point to
> My JAVA_HOME=d:\jdk1.2.2  but it shows
> JAVA_HOME=c:\jdk1.1.7  and error is echoed.
>
> I have seen the content of  the example beans ejb.jar files which contains
> the .classes and the stubs/Skel.
> But When I am making my .jar . How can i generate the container classes to
> put into .jar files.
> need help
>
> thanks/regards
> gurung
>
>
>
>
>
>
> - Original Message -
> From: Gene Chuang <[EMAIL PROTECTED]>
> To: 'R.B. Gurung ' <[EMAIL PROTECTED]>; 'A mailing list about
Java
> Server Pages specification and reference ' <[EMAIL PROTECTED]>
> Sent: Thursday, July 06, 2000 12:07 PM
> Subject: RE: EJB in Weblogic 5.1...
>
>
> > Hi,
> >
> > Your client environment needs to include the weblogic-generated client
> stubs
> > in the classpath.  The server already sees these classes because the ejb
> > jars are included in the weblogic.properties file from which wl server
> > generates its "internal" classpath.
> >
> > The simplist way expose the stubs to your client is to include the same
> ejb
> > jars in the client classpath.
> >
> > Gene Chuang
> > [EMAIL PROTECTED]
> >
> >
> > -Original Message-
> > From: A mailing list about Java Server Pages specification and
> > reference
> > To: [EMAIL PROTECTED]
> > Sent: 7/4/00 9:18 PM
> > Subject: EJB in  Weblogic 5.1...
> >
> > Hi,
> > I am using Weblogic 5.1.0 on Win NT
> > I am developed a session stateless Bean .
> > I registered  it . The server shows the messages deployed but when the
> > clientapplication invoked it
> > gives an error of class path not found.
> > i checked the classpath  setting  from the console too all are set.
> > weblogicaux.jar, classes, serverclasses, servletclasses etc.
> > Is there any problem in my descriptor file .
> > Where to put my classes.
> > Need help
> > Thanks/Regards
> >
> > Gurung
> >
> > 
> > ===
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > JSP-INTEREST".
> > 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".
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: Oracl jdbc oci driver

2000-07-06 Thread Sushma Kulkarni

If you have downloaded ORACLE documentation, you will find a README.txt file
in '$ORACLE_HOME/jdbc' directory. You should be able to download the documentation
from-http://technet.oracle.com
Meanwhile here are some of the hints from README.txt :-

 1. Import the necessary JDBC classes in your programs that use JDBC.
For example:

  import java.sql.*;
  import java.math.*;

 2. Register the Oracle driver before before calling other JDBC APIs.
(This is not needed if you are using the JDBC Server-side Internal
Driver because registration is done automatically in the server.)
To register the Oracle driver, make sure the following statement
is executed at least once in your Java session:

  DriverManager.registerDriver(
new oracle.jdbc.driver.OracleDriver());

 3. Open a connection to the database with the getConnection call.
Different connection URLs should be used for different JDBC
drivers.  The following examples demonstrate the different URLs.

For the JDBC OCI8 Driver:

  Connection conn = DriverManager.getConnection(
  "jdbc:oracle:oci8:@",
  "scott", "tiger");

  where  is either an entry in tnsnames.ora or a SQL*net
  name-value pair.

-Hope this helps!



Siddharth Damodar Rane wrote:

> hi,
>
>   Can any body tell me more about net8 configuration . I have installed
> oracle8i (net8) on  windows95. I am using Jdbc oci drivers. If i want to
> make a query to databse then what will be  the connection statement i have
> to pass.and how tsnnames will work in this context.
>
>   WHEN I USE JDBC THIN DRIVER QUERY WORKS.I think i am making mistakle in
> specifying TSNAMES.ORA
>   in the connect string.
>
>   Thanx in advance.
>   siddharth
>
> ===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> 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".
> 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".
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: Flow of control with RequestDispatcher.forward()

2000-07-06 Thread sun_king

try using RequestDispatcher.include() within the servlet. as you know forward
passes control onto the target.
however using "RequestDispatcher.include()" within the servlet may do what you want




"Williams, Stephen" wrote:

> I am calling RequestDispatcher.forward() from my servlets to pass control
> along to another servlet and/or JSP page (Model 2 type stuff).  This has led
> me to a question about the flow of control when using RequestDispatcher:
>
> When RequestDispatcher.forward() is invoked, is it supposed to return
> *before* the target resource executes?  Or, is forward() supposed to wait
> until *after* the target resource has completed executing?  Or, could it
> happen either way?  Is the appropriate behavior spelled out in the specs
> somewhere?
>
> Using JRun 2.3.3, I have noticed the following behavior with
> RequestDispatcher.forward():
>
> - If I forward() to a "normal" HttpServlet (i.e., NOT a JSP servlet), then
> forward() waits until *after* the target servlet has executed before
> returning.
> - If I forward to a JSP servlet, then forward() returns immediately.  After
> the original servlet completes all of its processing (backing out through
> the stack of doPost() and service()), then the JSP servlet executes.
>
> For my situation, I would like to have RequestDispatcher.forward() always
> wait until *after* the target resource has executed before returning.  This
> would give me the ability to execute some cleanup code after the target
> resource has executed.  [Yes, I know that the original servlet is not
> allowed to send any output either before or after invoking forward().  My
> cleanup code has nothing to do with the servlet output.]
>
> Any ideas?
>
> --
> Stephen A. Williams
> HNC Telecommunications Solutions
>
> ===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> 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".
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: Passing Session values between ASP and JSP

2000-07-06 Thread Krishnan

Hi,

I think, session value cannot be shared across website, b'cos, the server
creates a new session to the client or browser when the url requested is a
new web site. Since the jsp's are in one site and ASP's in another website,
they cannot share a common session id. Two different sessions will be
created for them, unless both the ASP and JSP are used in the same
website(webserver).

krish
- Original Message -
From: Cogley, Jonathan <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 06, 2000 8:29 PM
Subject: Re: Passing Session values between ASP and JSP


> Daryani,
>
> If you are just saving simple values in the session why not just use
> a temporary cookie? Save the values to the cookie from ASP and then
> read the values in from JSP. Your session id in ASP depends on the client
> having cookies enabled anyway ... so why not?
> If there are many values .. then use a cookie dictionary ...
>
> I think this is the simplest solution ...
>
> Cheers,
> Jonathan
>
>
> -Original Message-
> From: Daryani Santosh [mailto:[EMAIL PROTECTED]]
> Sent: 30 June, 2000 3:16 PM
> To: [EMAIL PROTECTED]
> Subject: Passing Session values between ASP and JSP
>
>
> Hi All,
>   I am working on JSPs that interact with another website , where
> the
> pages are ASPs , I need to get the session values set in a ASP into a JSP.
> Session variables work fine between ASP-ASP and JSP-JSP but inter ASP-JSP
> communication results in null session variables. I am not sure though ,
but
> I
> believe that there should'nt be any problem in doing so.
>  Can anyone throw some light on this. Your response is appreciated
>
> ASP code
> <%
> Session("cono")="7719"
> %>
>
> JSP code
> <%
>  String cono= (String)session.getValue("cono")
> out.println("Value returned from session ="+cono);//results in a null
> %>
>
> Thanks in advance
> Santosh
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> 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".
> 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".
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



Fw: EJB in Weblogic 5.1...

2000-07-06 Thread R.B. Gurung

 Hi Gene ,

 I did deploy the packaged Ejb called StateLessSessionBean from the examples
 folder
 I ran the the build.sh script which was packaged with weblogic5.1
 I checked through console It shows Bean deployed status.one bean
 successfully deployed.
 I need to run the
 java ejbc to execute the client but classpath set error is indicated.

 I have included the weblogic classpath which include the all
 d:\weblogic\myserver\classes all weblogicaux.jar, classes\boot etc
  Still cant fix the problem.

 I have used the packaged EJB which included the .jar file
 I checked the jar file content which had all .class files  and also the
 stub/SKEL.
 I wanna know how to generate my container classes to be jared and deployed.

 much help needed.
 Thanks/Regards

 gurung


>
> - Original Message -
> From: Gene Chuang <[EMAIL PROTECTED]>
> To: 'R.B. Gurung' <[EMAIL PROTECTED]>
> Sent: Thursday, July 06, 2000 9:56 PM
> Subject: RE: EJB in Weblogic 5.1...
>
>
> > Hi,
> >
> > I'm confused... in your original post you said you were able to deploy
> your
> > bean jar on your server.  This means that you have already run
> weblogic.ejbc
> > and produced all the stub/container classes necessary for the bean to
> > deploy!
> >
> > Now if you run your ejb client from the same VM on the same machine as
the
> > server, you will connect and find the right stub automatically.  If your
> > client is on a different VM or a different machine, then you need to
make
> > sure the ejb jar file is in your CLASSPATH of the client's environment,
as
> > in:
> >
> > CLASSPATH=c:\yourdir\yourbean.jar
> >
> > Gene
> >
> > -Original Message-
> > From: R.B. Gurung [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, July 06, 2000 2:17 AM
> > To: Gene Chuang
> > Cc: A mailing list about Java Server Pages specification and reference
> > Subject: Re: EJB in Weblogic 5.1...
> >
> >
> > Hi Gene Chuang,
> >
> > I have edited the scripts files all .sh(files) to point to
> > My JAVA_HOME=d:\jdk1.2.2  but it shows
> > JAVA_HOME=c:\jdk1.1.7  and error is echoed.
> >
> > I have seen the content of  the example beans ejb.jar files which
contains
> > the .classes and the stubs/Skel.
> > But When I am making my .jar . How can i generate the container classes
to
> > put into .jar files.
> > need help
> >
> > thanks/regards
> > gurung
> >
> >
> >
> >
> >
> >
> > - Original Message -
> > From: Gene Chuang <[EMAIL PROTECTED]>
> > To: 'R.B. Gurung ' <[EMAIL PROTECTED]>; 'A mailing list about
> Java
> > Server Pages specification and reference ' <[EMAIL PROTECTED]>
> > Sent: Thursday, July 06, 2000 12:07 PM
> > Subject: RE: EJB in Weblogic 5.1...
> >
> >
> > > Hi,
> > >
> > > Your client environment needs to include the weblogic-generated client
> > stubs
> > > in the classpath.  The server already sees these classes because the
ejb
> > > jars are included in the weblogic.properties file from which wl server
> > > generates its "internal" classpath.
> > >
> > > The simplist way expose the stubs to your client is to include the
same
> > ejb
> > > jars in the client classpath.
> > >
> > > Gene Chuang
> > > [EMAIL PROTECTED]
> > >
> > >
> > > -Original Message-
> > > From: A mailing list about Java Server Pages specification and
> > > reference
> > > To: [EMAIL PROTECTED]
> > > Sent: 7/4/00 9:18 PM
> > > Subject: EJB in  Weblogic 5.1...
> > >
> > > Hi,
> > > I am using Weblogic 5.1.0 on Win NT
> > > I am developed a session stateless Bean .
> > > I registered  it . The server shows the messages deployed but when the
> > > clientapplication invoked it
> > > gives an error of class path not found.
> > > i checked the classpath  setting  from the console too all are set.
> > > weblogicaux.jar, classes, serverclasses, servletclasses etc.
> > > Is there any problem in my descriptor file .
> > > Where to put my classes.
> > > Need help
> > > Thanks/Regards
> > >
> > > Gurung
> > >
> > >

> > > ===
> > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > > JSP-INTEREST".
> > > 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".
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



Test Message

2000-07-06 Thread Sanjay Gomes

Test

Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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 make stand alone application run on a browser using applet s?

2000-07-06 Thread Ritesh_Srivastava

Can anybody help me in this:
How to make stand alone application run on a browser using applets?

Regards,
Ritesh

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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



Mailing list for Java

2000-07-06 Thread Ritesh_Srivastava

Hi,
Can anybody know me some mailing list for Java.
Regards
Ritesh

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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: Regarding pageContext.getRequest()

2000-07-06 Thread Craig R. McClanahan

Pratik wrote:

> Hi all
> pageContext.getRequest() returns ServletRequest
> I want to get the requested url in my own tag.
> How can i convert ServletRequest to HttpServletRequest.
> Explisit casting (HttpServletRequest) pageContext.getRequest() gives me an
> error.
>

If the following statement gives you a ClassCastException:

HttpServletRequest request =
  (HttpServletRequest) pageContext.getRequest();

then either your servlet container is broken or for some reason it
thinks you are
not executing an HTTP based request.  What container are you trying to
run your JSP
pages in?

>
> Thanks
>
> Pratik
>

Craig McClanahan

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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: Problem in resizing and refreshing pages

2000-07-06 Thread Tamanna Kher

Hi!!!
this message comes only when ur page is accepting something from a fom or
earlier page. This page will be called only when u submit the prior page.
If it asks this question then simply click on retry then only ur page will
be refreshed if u press cancle i guess ur page will not be refreshed.




Sneha Sharma <[EMAIL PROTECTED]> on 07/07/2000 06:18:20 AM

Please respond to A mailing list about Java Server Pages specification and
  reference <[EMAIL PROTECTED]>

To:   [EMAIL PROTECTED]
cc:(bcc: Kher Tamanna-SWD-ITIL-UB/Itilmail)

Subject:  Problem in resizing and refreshing pages




Sneha Sharma@CONTEXT
07/06/2000 04:48 PM

Hi!
Whenever a page has form data and we refresh it or resize it, it shows an
ugly error message
saying if we should retry or cancel.
Have u encountered such error?Whats the workaround?
Thanks,
Sneha

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
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".
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



repeat tag query

2000-07-06 Thread Chris Powell

 Hi,

Can anyone point me to why this code does not work in my JSP page?
I am using Oracle OAS4.0.8.1

 

   
   

   
   


***

Thanks in advance

Chris

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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



login name

2000-07-06 Thread Lakosi Istvan

Hi,

I am new in JSP. I'm using Tomcat 3.1 on NT.
How can I get the user's login name and IP address ?

Thanks

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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



Still cannot solve database problem

2000-07-06 Thread rayteng

I have problem in query data in Ms Access database

I use preparestatement in making the query and use
setDate(1, datefrom) in the statement.

The thing is the result it return is false (I try the statement in query
utility, it return the correct result)

It think is the setDate problem, how should i set the date in the query
statement ? (Currently i'm using java.sql.Date to form the date).

thanks
ray

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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: SQL results into an Object

2000-07-06 Thread Mauro Gagni (EMS)

Visual Age EE - Data Access Builder but it is fat, about 10 classes for each
table are generated and most interlinked also not very flexible it only
generates once the code and if anything changes you have to save the changed
methods (from the originally gen calsses) or do it manually.

It fakes some flexibility inside the generator tool but as I said, it fakes
it!! you can add extra
methods to be generated but if the source calss changes you throw everything
away :(

still a possibility.

mauro

> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Rick Goeltz
> Sent: 05 July 2000 17:59
> To: [EMAIL PROTECTED]
> Subject: Re: SQL results into an Object
>
>
> Greetings:
>
> I want to find/develop tools that will help me:
>
>  Given a table, generate the code for the bean
>  Generate the JDBC code to select and insert
>
> Next, I intend to use the DB bean with Struts (jakarta.apache.org).
>
> I'm tired of coding this stuff by hand, plus I have some fairly
> large tables.
>
> I'm going to have a look at the Expresso Framework (www.javacorporate.com)
> to see what it can do.
> Suggestions wanted.
>
> Thanks.
>
>
> Rick
>
> ==
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> 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".
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 editor-WS 3.5 ?

2000-07-06 Thread M. Simms

WS 3.5 soon ?
They better, 3.0 was sooo bug.

It was so bad, they decided not to deploy 3.0 to Linux.
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Rick Goeltz
> Sent: Thursday, July 06, 2000 10:16 AM
> To: [EMAIL PROTECTED]
> Subject: Re: JSP editor
>
>
> Have a look at IBM's Websphere Studio (WS).  There is a free entry-level
> version that works fine.  Drag and drop a bean.  Point and click to
> establish properties to be displayed.  Dynamic tables and drop-down menus
> are a snap.  You have a WYSIWYG HTML editor with symbols for the JSP.  WS
> generates the JSP Java and you concentrate on your beans.
>
> There was a lot of discussion earlier about why JSP is broken.  When the
> developer uses a tool like WS, these arguments are false.  I don't write
> HTML in my servlets and I don't write Java for JSP (WS does it
> for me).  My
> relationship with my page designer is a good one; she works with my
> WS-enhanced code with Dreamweaver without a problem.  (Currently, this is
> my main problem with using Struts.)
>
> WS is db-aware, but I don't use this feature.
>
> WS is cosy with DB2 and IBM's Websphere server but I deliver to Tomcat and
> JRun without a problem.
>
> IMHO, working with WS is not always easy.  But overall, it is less pain
> than the alternatives.
>
> Other tools are emerging.  IBM announced a partnership with Macromedia
> (Dreamweaver), but I don't know the implications of that.  Also, WS 3.5
> will be released real soon now.
>
>
> Rick
>
> ==
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> 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".
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