Re: Upload

2000-10-03 Thread Lynch Wu()

Hi Roger

Check "MultipartRequest" in
http://www.servlets.com/resources/com.oreilly.servlet/index.html


-Original Message-
From: Roger [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 03, 2000 AM 05:26
To: [EMAIL PROTECTED]
Subject: Upload


Hi everybody, how can I upload a file ( .jpg,.gif) using JSP in a HTML form?

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



Caching Problem in TomCat with Apache.....

2000-10-03 Thread satish mali

Dear Friends,


I am having a problem with Tomcat...

I have a Apache web server running on Windows NT. and I configured Tomcat for the JSP 
programing..

The version of Apache 3.1.6 and Tomcat 3.1

When i edit some jsp page on nt server. Chagnes gets reflected.

but

When edit some changes to same jsp page from client machine ( win 95 /98 ).  Then i 
wont be able
to get the changes reflected in brower.

I think this the problem regarding Caching.


Can anybody solve this problem..


Thankx in Advance


Satish.



__
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.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: Caching Problem in TomCat with Apache.....

2000-10-03 Thread Carlos Vasquez

Try deleting your page compiled directory for the
JSP's .  That should solve your problems.

-Carlos Vasquez
--- satish mali [EMAIL PROTECTED] wrote:
 Dear Friends,


 I am having a problem with Tomcat...

 I have a Apache web server running on Windows NT.
 and I configured Tomcat for the JSP programing..

 The version of Apache 3.1.6 and Tomcat 3.1

 When i edit some jsp page on nt server. Chagnes gets
 reflected.

 but

 When edit some changes to same jsp page from client
 machine ( win 95 /98 ).  Then i wont be able
 to get the changes reflected in brower.

 I think this the problem regarding Caching.


 Can anybody solve this problem..


 Thankx in Advance


 Satish.



 __
 Do You Yahoo!?
 Yahoo! Photos - 35mm Quality Prints, Now Get 15
 Free!
 http://photos.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


__
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.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 help me with this!

2000-10-03 Thread Veronique Dupierris

In your servlet :
 request.setAttribute("varName", varObj);
req.getRequestDispatcher(res.encodeURL("TestScope.jsp")).forward(req,res);

in TestScope.jsp

VarType varJsp = (VarType) requets.getAttribute("varName");

Hope this help
Regards
veronique

Lorena Carlo a crit :

 Hi everybody,

 Can somebody give me an example of declaring a variable in request scope
 (servlet) in order to see it then in a JSP page?.

 Thanks in advance

 Lorena Carlo

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



escape

2000-10-03 Thread sudha

hi all
 is there any function or method in jsp which removes the spaces from
the url
 like the escape method in javascript
if yes how to use it
sudha

===
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 do I show JDBC ResultSet contects as a HTML Table

2000-10-03 Thread Raja Nagendra Kumar

Hi!

Could anyone tell me how do I map the ResultSet Object to the HTML Table.
Currently I am trying to take each element of ResultSet and writing to a cell on
html table...  Is there any utils or tools which directly take ResultSet and
format it as HTML Table..

Does the freemarker Template API support ResultSet as the DataModel..  Even
after browing these doc's I could not figur it out..

Could any point me to some better way of doing this..

Regards,
Nagendra

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



sendRedirct/jsp:forward

2000-10-03 Thread James, Gareth

Sorry to ask such a basic question...

I can use sendRedirects and forwards to send a user to a page of my choice
(for example if their session becomes invalid, I can redirect to login.jsp).


Is there a way I can specify a target, as in the HTML link:

A HREF="/myURL.jsp" TARGET="_top"

but in a forward or sendRedirect:

if (iWantTo) {
response.sendRedirect("myURL.jsp, "_top");
}

or some similar technique?



Concise - understanding IT problems, delivering solutions, adding value to your 
business.

 http://www.concise.co.uk http://www.concisemobile.com

**
The information contained in this email is confidential and is intended
solely for the use of the named addressee. Access, copying or re-use
of the information in it by any other person is not authorised. The
internet is not a secure transmission medium and therefore the content
of this email may have been changed without the consent of the originator.

If you are not the intended recipient please telephone our
Helpdesk immediately on +44 (020) 7250 4363.

For all other enquiries please phone +44 (020) 7336 7729.
**

_
This message has been checked for all known viruses by UUNET delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.uk.uu.net/products/security/virus/

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

2000-10-03 Thread Alper ASLAN

bak uur karde bu sorunu jsp intereste atma olum ... Bu applet problemi bak
rezil etme bizi tm dnyaya ...

Alper Aslan
- Original Message -
From: Uur Karakaya [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 02, 2000 6:42 PM
Subject: off-topic


 Sorry,

 We have a problem,and it is important for us.

 We take this exception on Netscape Browser status Bar,

 Applet LoginApllet CAN't init: NEW

 and in Java consol we take these message. We can't understand the problem

 Can anybody help us?

 Thank you.

 Copyright (C) 1996-97 Symantec Corporation
 java.lang.NullPointerException

   at java.lang.StringBuffer.append(Compiled Code)

 * at netscape.applet.DerivedAppletFrame$LoadAppletEvent.dispatch(Compiled
 Code)

   at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled Code)


   at java.awt.EventDispatchThread.run(Compiled Code)

   at
 netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled
 Code)

 java.lang.NullPointerException

   at java.lang.StringBuffer.append(Compiled Code)

 * at netscape.applet.DerivedAppletFrame$LoadAppletEvent.dispatch(Compiled
 Code)

   at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled Code)


   at java.awt.EventDispatchThread.run(Compiled Code)

   at
 netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled
 Code)


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



regarding refreshing the page

2000-10-03 Thread Naik Ishwar

Hi ,
 I have jsp page, which displays the search results of
different products. And whenever i select any product,
it calls AddToCart.jsp passing the id of the product.
Then AddToCart.jsp adds the product to the shoping
cart.
Now there is a problem.
If i refresh(pressing the refresh button) the same
product is added again and diplayed. Is there any way
i can avoid this.
please do help me. This is very urgent

TIA
ishwar


__
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.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: Passing parameters to xsl from jsp

2000-10-03 Thread Priya Pinto

Thanks for the response!

I think I'll just parse the whole XML file and search for whatever is required!!

Priya

- Original Message --
Joshua Allen [EMAIL PROTECTED] wrote:
To:"'[EMAIL PROTECTED]'" [EMAIL PROTECTED],
   [EMAIL PROTECTED], [EMAIL PROTECTED]
From:Joshua Allen [EMAIL PROTECTED]
Date:Sat, 30 Sep 2000 16:15:49 -0700
Subject: RE: Passing parameters to xsl from jsp

I'm not an expert, but some things to consider:

* Are you sure you need XSLT for this?  It seems that you could just store
the DOM and call an XPath query against the DOM.  In that case you would
simply need to capture the query from the post in JSP and use that to
construct your XPath query.

* A DOM loaded into memory is very much like a hashtable or dictionary
object that you might use for similar purposes.  Keep in mind that a
hashtable, dictionary, or DOM (all of which would let you quickly look for a
particular piece of data very quickly) will all eat up a large chunk of RAM.
In fact, even if you were thinking of some way that XSLT can help you, most
XSLT processors (including Apache Xalan AFAIK) will load the full file in
memory when processing.  So I guess what I am saying is that if you are
going to have to represent the entire data structure in-memory anyway, you
should be careful that you are not using XML "just because".  Other
in-memory structures may be more efficient.

* If, however, you are more interested in using this as a database in the
more traditional sense, and do not wish to have the entire XML document
loaded into RAM constantly, you could think about another approach.  One
simple technique is to use some abstraction layer that maps between
relational and XML data.  Of course, you would need to run some relational
database software on your box, and if you are going the open-source route I
am not an expert on what mapping tools exist.  I bet there is something that
works well with postgres, and of course you could download DB2 or Oracle,
which both have XML adapters.

* Now if your query requirements are simple and not as rich as a full
relational database allows, and you *still* do not want to read the whole
file into memory, I can think of some options.  First, you could check the
SAX API.  I am pretty sure you get that with Xerces, and undoubtedly you can
get it *somewhere* free.  Otherwise, try grep :-)


 -Original Message-
 From: Priya Pinto [mailto:[EMAIL PROTECTED]]
 Sent: Friday, September 29, 2000 11:38 PM
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
 [EMAIL PROTECTED]
 Subject: Passing parameters to xsl from jsp


 I'm using an XML file as database and I need to be able to
 search for a particular text node in it based on the users
 search input.

 Ideas to proceed
 1) When the user enters the search phrase and clicks on
 search, call a jsp which takes the input and then calls the
 respective file with another xsl (how do I do this? do I
 parse the file and rewrite it with a diff xsl?)where the
 value is passed as a parameter and it displays only that set of nodes.

 2)When the user enters the search phrase and clicks on
 search, I use a jsp file to accept the  parameter and then
 call the xml file parse it and extract the nodes required and
 display it on the screen.

 Do tell me which is a better option and how to go about it?

 Or if there is any better way to go about this?

 I'm working on a Linux platform, with Apache, Tomcat, JSP, XML.

 Thanks

 Priya

 _
 Get Your Free Email At, http://www.rediffmail.com

 For fabulous shopping deals visit:
 http://www.rediff.co.in/shopping/index.html




  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

_
Get Your Free Email At, http://www.rediffmail.com

For fabulous shopping deals visit: http://www.rediff.co.in/shopping/index.html

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

2000-10-03 Thread Sven van 't Veer

Alper ASLAN wrote:

 bak uður kardeþ bu sorunu jsp intereste atma olum ... Bu applet problemi bak
 rezil etme bizi tüm dünyaya ...

I'd like some of that too ;-)
--
==
Sven E. van 't Veer
http://www.cachoeiro.net
Java Developer  [EMAIL PROTECTED]
==

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

2000-10-03 Thread Cogley, Jonathan

java.net.URLEncoder.encode(String s)


-Original Message-
From: sudha [mailto:[EMAIL PROTECTED]]
Sent: 03 October, 2000 6:45 AM
To: [EMAIL PROTECTED]
Subject: escape


hi all
 is there any function or method in jsp which removes the spaces from
the url
 like the escape method in javascript
if yes how to use it
sudha

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

2000-10-03 Thread Rathna

try URLEncoder.encode(url) , which encodes spaces 

hope this helps ..

regards,
rathna.



sudha wrote:

 hi all
  is there any function or method in jsp which removes the spaces from
 the url
  like the escape method in javascript
 if yes how to use it
 sudha

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

2000-10-03 Thread Marcelo Mathias Lima

I think I don't understand right ur question...

try URLEnconder.enconde("String")

- Original Message -
From: sudha [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 03, 2000 7:44 AM
Subject: escape


 hi all
  is there any function or method in jsp which removes the spaces from
 the url
  like the escape method in javascript
 if yes how to use it
 sudha


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



No Subject

2000-10-03 Thread Marcelo Mathias Lima

Hi all!

I need some help to get mail with javamail and use these information on a
class. If
somebody has any simple example to get pop mail please send me.

Thank all u,

Marcelo

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



Urgent..Servelet Aliases

2000-10-03 Thread Sukalyan Fouzdar

Hi All !!!

Please help me out.

How to create servelet aliases in iPalnet server?

Please help me out..its urgent

Regards
Sukalyan

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

2000-10-03 Thread Mohan_Adikesavalu

Hi,


 sqlStrSel = "INSERT INTO jk.Pas(User_Id,hpas,First_Name) values('"+
 struserid + "','" + Encrypt(strpassword) + "','"+ strusername +"')";


 out.println(sqlStrSel);

 INSERT INTO jk.Pas(User_Id,hpas,First_Name) values('M','\.-,+*)('','M')

 If password is "M"  , the encrypted value is \.-,+*)('


 Since encrypted value of "M" also contains ' (single quotes as shown
 above) , how to handle this ?

 In the above statement there is a mismatch of ' (quotes) if  the password
 was something else like A etc then the stmt. is fine since there isnt any
 mismatch in quotes..but only in this case of "M" being the password, the
 re is this discrepancy..

 lem me know of ur suggestions to solve this problem.

 regds.
Mohan.a

===
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: To: Sufi ASK ANYTHING Malak

2000-10-03 Thread sufi malak

I am so sorry, I did not mean to create a kind discussion, But I am still
considering myself newbie, it's not easy to learn everything at once, and I
am doing JSP, javascript, beans with JRUN, all of them are new for me, but
asking questions from everybody here in this list because I want to learn
and find solution to my problems, please if anybody fell that I am bothering
him or her reply and say it, and then I will quit posting in this list.
Thanks


From: Chandhan Rangarajan [EMAIL PROTECTED]
Reply-To: A mailing list about Java Server Pages specification and
 reference [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: To: Sufi "ASK ANYTHING" Malak
Date: Tue, 3 Oct 2000 09:30:49 +0900

"SUFI" you are a celebrity now..you are as famous as JSP!

  -Original Message-
From:   Manne Fagerlind [mailto:[EMAIL PROTECTED]]
Sent:   Monday, October 02, 2000 11:56 PM
To: [EMAIL PROTECTED]
Subject:Re: To: Sufi "ASK ANYTHING" Malak

Tom,

I don't think it's just the range of subjects that Sufi covers that gets on
people's nerves, but also the fact that he never seems to try to find the
answers to questions himself. I agree that he should at least read the FAQs
and a book about JSP first. And I, too, get irritated when the list is
flooded by mails that aren't about JSP at all; I don't want to miss
anything
really interesting. I think it's getting hard to see the trees for the
forest. :-)

Regards, Manne



-Original Message-
From: Tom Preston [mailto:[EMAIL PROTECTED]]
Sent: 02 October 2000 16:43
To: [EMAIL PROTECTED]
Subject: Re: To: Sufi "ASK ANYTHING" Malak


Guys,  get over yourselves.  Give Sufi a break.  If the only questions
asked in this
forum were JSP specification questions, the list be almost non-existent.

SQL, Java, Javascipt, HTML, and app servers are all part of practical
jsp programming.

 I ran a search on the mail I've received from this list, and to my
surprise
 found over 50 answers generated by your questions. Quite an achievement
in a
 period of just two months. The range of subjects is also quite
impressive,
 you seem to be interested in JSP, Java, Javascript , several servers,
HTML
 and SQL, to name a few. Sending us complete samples of your code is a
nice
 gesture, but unfortunately there always seems to be a problem with it.
 
 It would be nice if you would post your questions on these subjects to
 appropriate lists elsewhere. Reading some manuals could also help
before
 asking a question, see the list for some ideas.
 
 Thanks in advance for your cooperation.



--
Tom

  --
| Thomas Preston   |
| Vacation.com, Inc.   |
| Engineering Department   |
| 617.654.8432 |
| http://www.vacation.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

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

Share information about yourself, create your own public profile at
http://profiles.msn.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: How Do I display Java Gui Objects on a browser with JSP?

2000-10-03 Thread David Marshall

If you want output HTML from your server which includes a Java Applet, then
the logic to produce the HTML must be in your JSP. I agree with Jonathan,
you should use Sun's Java-Plugin for the browser-side VM. Note, that this
will have an inpact on the HTML that your JSP sends to the client.

I would be very careful with the use of Swing-UI unless you need that
functionality. With JDK 1.1 and 1.2, some of the Widgets in Swing can cause
hundreds of classes to be loaded into memory. The structure of the Swing
portable-look-and-feel manager will load classes for motif, metal as well as
windows look and feel. It is my understanding that this is unchanged in 1.3.
This is a performance hit in starting an applet. It also leads to a larger
memory footprint. I have gotten better performance and a lighter footprint
from 3rd party widgets.

I wish that Swing would only load the classes to support the native
platform, by default. Hopefully, this will change in a future release.

David Marshall

- Original Message -
From: "Cogley, Jonathan" [EMAIL PROTECTED]
Sent: Monday, October 02, 2000 6:22 AM
Subject: Re: How Do I display Java Gui Objects on a browser with JSP?


 Charbel,

 The only way to run Java code on the client browser is in the form of an
 applet.
 So you will need to create an applet and you will also need to ensure that
 the
 swing classes are installed on the client... You may want to look at
running
 the Sun VM or getting the user to download the JRE 1.3 from Sun which (I
 believe)
 includes the swing classes.
 http://java.sun.com/products/plugin/index.html

 You may also want to have a good read thru a JSP book to make sure you
 understand
 the difference between client (e.g. JavaScript) and server code.

 Regards,
 Jonathan


 -Original Message-
 From: charbel achkar [mailto:[EMAIL PROTECTED]]
 Sent: 30 September, 2000 8:10 AM
 To: [EMAIL PROTECTED]
 Subject: How Do I display Java Gui Objects on a browser with JSP?


 Hi everyone,

 New to this list. I am trying to incorporate javax.swing and awt gui
object
 with HTML fields in a JSP form. I am able to instantiate these objects but
 failed to show them on the browser frame. I tried to get contentpane for
the
 frame but I failed. does anyone know how to show these instantiated GUI
 objects in my browser?

 Many 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



__
Do You Yahoo!?
Talk to your friends online 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



Ynt: Re: off-topic

2000-10-03 Thread Superonline

uur karde kim ve niye bana bu mesaj yolladn.aklama bekliyorum.

bak uur karde bu sorunu jsp intereste atma olum ... Bu applet problemi bak
rezil etme bizi tm dnyaya ...

Alper Aslan
- Original Message -
From: Uur Karakaya [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 02, 2000 6:42 PM
Subject: off-topic


 Sorry,

 We have a problem,and it is important for us.

 We take this exception on Netscape Browser status Bar,

 Applet LoginApllet CAN't init: NEW

 and in Java consol we take these message. We can't understand the problem

 Can anybody help us?

 Thank you.

 Copyright (C) 1996-97 Symantec Corporation
 java.lang.NullPointerException

   at java.lang.StringBuffer.append(Compiled Code)

 * at netscape.applet.DerivedAppletFrame$LoadAppletEvent.dispatch(Compiled
 Code)

   at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled Code)


   at java.awt.EventDispatchThread.run(Compiled Code)

   at
 netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled
 Code)

 java.lang.NullPointerException

   at java.lang.StringBuffer.append(Compiled Code)

 * at netscape.applet.DerivedAppletFrame$LoadAppletEvent.dispatch(Compiled
 Code)

   at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled Code)


   at java.awt.EventDispatchThread.run(Compiled Code)

   at
 netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled
 Code)


===
 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: Ynt: Re: off-topic

2000-10-03 Thread Angus Mezick

Um, Alper, this is an english mail list.  If it was in whatever language
you posted here it, the title would be [JSP-INTERESTE]  not
[JSP-INTEREST].  (don't you hate it with two words are so close together.

In response to the question:  You might want to make sure that you are not
passing 'null' to the append call of a string buffer.
--Angus Mezick

Superonline wrote:

 uður kardeþ kim ve niye bana bu mesajý yolladýn.açýklama bekliyorum.

 bak uður kardeþ bu sorunu jsp intereste atma olum ... Bu applet problemi
 bak
 rezil etme bizi tüm dünyaya ...

 Alper Aslan
 - Original Message -
 From: Uður Karakaya [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, October 02, 2000 6:42 PM
 Subject: off-topic

  Sorry,
 
  We have a problem,and it is important for us.
 
  We take this exception on Netscape Browser status Bar,
 
  Applet LoginApllet CAN't init: NEW
 
  and in Java consol we take these message. We can't understand the problem
 
  Can anybody help us?
 
  Thank you.
 
  Copyright (C) 1996-97 Symantec Corporation
  java.lang.NullPointerException
 
at java.lang.StringBuffer.append(Compiled Code)
 
  * at netscape.applet.DerivedAppletFrame$LoadAppletEvent.dispatch(Compiled
  Code)
 
at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled Code)
 
 
at java.awt.EventDispatchThread.run(Compiled Code)
 
at
  netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled
  Code)
 
  java.lang.NullPointerException
 
at java.lang.StringBuffer.append(Compiled Code)
 
  * at netscape.applet.DerivedAppletFrame$LoadAppletEvent.dispatch(Compiled
  Code)
 
at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled Code)
 
 
at java.awt.EventDispatchThread.run(Compiled Code)
 
at
  netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled
  Code)
 
 


===
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: To: Sufi ASK ANYTHING Malak

2000-10-03 Thread Lesley Eadie

Hey sufi - lifes too short for everyone to stay cross - I think people
should just chill out a bit and stop getting so stroppy!
:-)
chin up peepz
dee_dee

- Original Message -
From: "sufi malak" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 03, 2000 2:28 PM
Subject: Re: To: Sufi "ASK ANYTHING" Malak


 I am so sorry, I did not mean to create a kind discussion, But I am still
 considering myself newbie, it's not easy to learn everything at once, and
I
 am doing JSP, javascript, beans with JRUN, all of them are new for me, but
 asking questions from everybody here in this list because I want to learn
 and find solution to my problems, please if anybody fell that I am
bothering
 him or her reply and say it, and then I will quit posting in this list.
 Thanks


 From: Chandhan Rangarajan [EMAIL PROTECTED]
 Reply-To: A mailing list about Java Server Pages specification and
  reference [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: To: Sufi "ASK ANYTHING" Malak
 Date: Tue, 3 Oct 2000 09:30:49 +0900
 
 "SUFI" you are a celebrity now..you are as famous as JSP!
 
   -Original Message-
 From:   Manne Fagerlind [mailto:[EMAIL PROTECTED]]
 Sent:   Monday, October 02, 2000 11:56 PM
 To: [EMAIL PROTECTED]
 Subject:Re: To: Sufi "ASK ANYTHING" Malak
 
 Tom,
 
 I don't think it's just the range of subjects that Sufi covers that gets
on
 people's nerves, but also the fact that he never seems to try to find the
 answers to questions himself. I agree that he should at least read the
FAQs
 and a book about JSP first. And I, too, get irritated when the list is
 flooded by mails that aren't about JSP at all; I don't want to miss
 anything
 really interesting. I think it's getting hard to see the trees for the
 forest. :-)
 
 Regards, Manne
 
 
 
 -Original Message-
 From: Tom Preston [mailto:[EMAIL PROTECTED]]
 Sent: 02 October 2000 16:43
 To: [EMAIL PROTECTED]
 Subject: Re: To: Sufi "ASK ANYTHING" Malak
 
 
 Guys,  get over yourselves.  Give Sufi a break.  If the only questions
 asked in this
 forum were JSP specification questions, the list be almost non-existent.
 
 SQL, Java, Javascipt, HTML, and app servers are all part of practical
 jsp programming.
 
  I ran a search on the mail I've received from this list, and to my
 surprise
  found over 50 answers generated by your questions. Quite an achievement
 in a
  period of just two months. The range of subjects is also quite
 impressive,
  you seem to be interested in JSP, Java, Javascript , several servers,
 HTML
  and SQL, to name a few. Sending us complete samples of your code is a
 nice
  gesture, but unfortunately there always seems to be a problem with it.
  
  It would be nice if you would post your questions on these subjects to
  appropriate lists elsewhere. Reading some manuals could also help
 before
  asking a question, see the list for some ideas.
  
  Thanks in advance for your cooperation.
 
 
 
 --
 Tom
 
   --
 | Thomas Preston   |
 | Vacation.com, Inc.   |
 | Engineering Department   |
 | 617.654.8432 |
 | http://www.vacation.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

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

 Share information about yourself, create your own public profile at
 http://profiles.msn.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
  

Re: regarding refreshing the page

2000-10-03 Thread Marcelo Mathias Lima

Well, well

I think u will get this only redirecting to other page (without the
parameters) after u add the products to cart.

I have a virtual store too and I simple ignore this


- Original Message -
From: Naik Ishwar [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 03, 2000 7:28 AM
Subject: regarding refreshing the page


 Hi ,
  I have jsp page, which displays the search results of
 different products. And whenever i select any product,
 it calls AddToCart.jsp passing the id of the product.
 Then AddToCart.jsp adds the product to the shoping
 cart.
 Now there is a problem.
 If i refresh(pressing the refresh button) the same
 product is added again and diplayed. Is there any way
 i can avoid this.
 please do help me. This is very urgent

 TIA
 ishwar


 __
 Do You Yahoo!?
 Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
 http://photos.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: SQL Date Arithemtic

2000-10-03 Thread Dan Lopez

Right now I do something like this for an example:

%@ page import="java.util.*,
java.text.SimpleDateFormat"%

%
   SimpleDateFormat datef, timef;
   Date tim = new Date();

  Locale fi = new Locale( "fi", "FI" );
  datef = new SimpleDateFormat( "MM.dd.", fi
);
  timef = new SimpleDateFormat( "HH:mm:ss", fi);

int hours;
hours = tim.getHours();
int days;
days = tim.getDay();
%

The current date at the server is %= tim %.

hr

Display date only: %= datef.format(tim) %

hr

Display numeric value of the day of the week only
(i.e. Thursday = 4):  %= days %

hr

Display comparison of numeric conversion days of the
week:
  % if (days  1) { %
  brText is font
color="Orange"borange/b/font but could be row
color   % } %
  % if (days == 3) { %
  brText is font color="#0033ff"bblue/b/font

but could be row color, etc
  % } %
  % if (days  5) { %
  brText is font color="Red"bred/b/font but
could be row color
  % } %

hr

Display time only: %= timef.format(tim) %

And so forth...All works fine.  But I cant seem to be
able to compare values of that date and the date from
the database.

So how should I change my page objective (ie
java.util*) to be able to do date arithmetic?  My SQL
query gets a value like "Oct 1 2000 12:00AM" as a
smalldatetime.

I think the way I did it in JSP looks like "TUES OCT 2
2000 GMT 1200AM."

Suggestions?





--- Ajit Bhingarkar [EMAIL PROTECTED] wrote:
 1. First you have to create a proper util.Date
 object
 by parsing the date string selected in the table.
 You can use standard parsers. Refer to java.text.
 2. You then have to get the java.util.Calendar
 object for the
 Date so created. This class has many util methods to
 compare, add to, subtract from the your Date.
 You can also set individual attributes like day of
 the week,
 day of the month, month of the year etc.

 Hope this helps ..

 - Ajit

 Dan Lopez wrote:
 
  I am selecting smalldatetime field from a table in
 my
  db. I would like to know how to compare the date
  values in the query to certain criteria (eg 48
 hours
  ago, 10 days from now, etc...) that I specify in
 my
  JSP code and then display.  Please help
 
  __
  Do You Yahoo!?
  Yahoo! Photos - 35mm Quality Prints, Now Get 15
 Free!
  http://photos.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


__
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.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



Java Mail Urgent help...

2000-10-03 Thread Marcelo Mathias Lima

 Hi all!

 I need some help to get mail with javamail and use these information on a
 class. If
 somebody has any simple example to get pop mail please send me.

 Thank all u,

 Marcelo

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

2000-10-03 Thread sumit shah

hi,
   I am trying to use the following include action in my jsp page and it is
giving me a Generation exception saying

"Include: Invalid attribute, flush"

I am using the following
jsp:include page="http://localhost/Attributes/Features/"+%filename%
flush="true" /

filename is a jsp variable that i am appending to the file URL.

please help.
thanks
sumit
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.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: To: Sufi Malak - Advice............

2000-10-03 Thread Nasser Dassi

Hello Sufi, et al.,
  I did not mean to create such a huge interest in the discussion; but with
this response, I would like to pass on a few words of advice.
  From my experience, learning everything at once (more than 2 significant
topics/issues) is not good.  Relying on a single website or reference book,
and this list, is not good.  The more you try to learn (over 2 topics at
once) will only clog your brain, and you will not remember a thing; you will
become confused with numerous issues and solutions but forget the
specific problem (this happens especially after years of programming).
  My suggestion:  Invest in 1 or 2 SERIOUS strictly-JAVA, or strictly-BEANS,
or strictly-JavaScript/HTML, or strictly any particular topic.  Read this
book or two (not simultaneously, but one at a time), and complete the
examples.  Bookmark 3-4 reference sites online (jspinsider.com, jguru.com,
java.sun.com, etc...), and before you know it, you will have been more
productive than everybody out there "doing it all at the same time."  They
learn NOTHING FROM WHAT THE LEARN because the brain was not meant to learn A
MILLION THINGS @ ONCE, but A LOT OF ONE THING AT A TIME.

  Don't feel bad; keep the list alive.. but try not to sway off-topic.
I noticed others reacted with subject lines reading "Offtopic:  Whatever I
am doing"  I think this is a great mechanism for others to understand.

  (Anything offtopic would be no directed to JSP, Servlets, or server
configurations... and certain other, directly-related aspects.)

  As dee_dee said, chin up :o)

nasser
software/ecommerce/internet developer

- Original Message -
From: "sufi malak" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 03, 2000 9:28 AM
Subject: Re: To: Sufi "ASK ANYTHING" Malak


 I am so sorry, I did not mean to create a kind discussion, But I am still
 considering myself newbie, it's not easy to learn everything at once, and
I
 am doing JSP, javascript, beans with JRUN, all of them are new for me, but
 asking questions from everybody here in this list because I want to learn
 and find solution to my problems, please if anybody fell that I am
bothering
 him or her reply and say it, and then I will quit posting in this list.
 Thanks


 From: Chandhan Rangarajan [EMAIL PROTECTED]
 Reply-To: A mailing list about Java Server Pages specification and
  reference [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: To: Sufi "ASK ANYTHING" Malak
 Date: Tue, 3 Oct 2000 09:30:49 +0900
 
 "SUFI" you are a celebrity now..you are as famous as JSP!
 
   -Original Message-
 From:   Manne Fagerlind [mailto:[EMAIL PROTECTED]]
 Sent:   Monday, October 02, 2000 11:56 PM
 To: [EMAIL PROTECTED]
 Subject:Re: To: Sufi "ASK ANYTHING" Malak
 
 Tom,
 
 I don't think it's just the range of subjects that Sufi covers that gets
on
 people's nerves, but also the fact that he never seems to try to find the
 answers to questions himself. I agree that he should at least read the
FAQs
 and a book about JSP first. And I, too, get irritated when the list is
 flooded by mails that aren't about JSP at all; I don't want to miss
 anything
 really interesting. I think it's getting hard to see the trees for the
 forest. :-)
 
 Regards, Manne
 
 
 
 -Original Message-
 From: Tom Preston [mailto:[EMAIL PROTECTED]]
 Sent: 02 October 2000 16:43
 To: [EMAIL PROTECTED]
 Subject: Re: To: Sufi "ASK ANYTHING" Malak
 
 
 Guys,  get over yourselves.  Give Sufi a break.  If the only questions
 asked in this
 forum were JSP specification questions, the list be almost non-existent.
 
 SQL, Java, Javascipt, HTML, and app servers are all part of practical
 jsp programming.
 
  I ran a search on the mail I've received from this list, and to my
 surprise
  found over 50 answers generated by your questions. Quite an achievement
 in a
  period of just two months. The range of subjects is also quite
 impressive,
  you seem to be interested in JSP, Java, Javascript , several servers,
 HTML
  and SQL, to name a few. Sending us complete samples of your code is a
 nice
  gesture, but unfortunately there always seems to be a problem with it.
  
  It would be nice if you would post your questions on these subjects to
  appropriate lists elsewhere. Reading some manuals could also help
 before
  asking a question, see the list for some ideas.
  
  Thanks in advance for your cooperation.
 
 
 
 --
 Tom
 
   --
 | Thomas Preston   |
 | Vacation.com, Inc.   |
 | Engineering Department   |
 | 617.654.8432 |
 | http://www.vacation.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
   

Re: Urgent..Servelet Aliases

2000-10-03 Thread Kachana Ung

Go to Admin Console, and select the web server
instance you want to manage.  From the 'Servlets' tab,
click 'Configure Servlet Attributes'.  Supply the
information there.

A short cut would be to modify the
'servlet.properties' file.

Hope this helps,

Kachana
--- Sukalyan Fouzdar [EMAIL PROTECTED] wrote:
 Hi All !!!

 Please help me out.

 How to create servelet aliases in iPalnet server?

 Please help me out..its urgent

 Regards
 Sukalyan


===
 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!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.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



Page Loads Slower

2000-10-03 Thread giri punn

Hi,

I have a .jsp page.
It has a table with 20 rows, and each row having a column - "country-city".
This column is a dropdown box showing 250 country-city codes...
Each dropdown box gets data from a text file which has all the country-city
codes using jsp include.

My question is :

1) It is taking long time(approx.. 3-5 min) to load this page. Is there any
way i can make the page load faster?

2) As it is loading the country-city names 20 times, a large amount of data
is getting on to my page. Is there any way i can load the country-city codes
only once and use them every where?

thanks in advance,
reddy r.

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

Share information about yourself, create your own public profile at
http://profiles.msn.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:include...

2000-10-03 Thread Angus Mezick

Try %= filename %
Also, print out the JSP Syntax Card at http://java.sun.com/products/jsp/
It is VERY useful.
--Angus

sumit shah wrote:

 hi,
I am trying to use the following include action in my jsp page and it is
 giving me a Generation exception saying

 "Include: Invalid attribute, flush"

 I am using the following
 jsp:include page="http://localhost/Attributes/Features/"+%filename%
 flush="true" /

 filename is a jsp variable that i am appending to the file URL.

 please help.
 thanks
 sumit


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



Need some ideas on JSP, JavaBeans and JDBC

2000-10-03 Thread Ryan Richards

I have written a small app that uses the Factory pattern to
create object via a Factory class. I have a jsp that calls
this class to add a user or delete a user from an Oracle
database. My question is as follows:

Consider this scenario: I would like to list all users in
an HTML table, each user in it's own row. Hence I would
create a table in the JSP and somehow iterate thru the
ResultSet from the db to insert each username into the
table cell. My problem is that I am not sure what the best
approach to this would be while trying to keep the code in
the JSP at a minimum. I figured I could I return a result
set to the JSP and iterate thru it there but didnt think
this would be the best way.

Thanks for any ideas.

Ryan
___
Visit http://www.visto.com/info, your free web-based communications center.
Visto.com. Life on the Dot.

===
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 not recognizing changes to beans?

2000-10-03 Thread Spike, Stephanie

Hi everyone,
I am VERY new to this and I have a small annoyance.  Whenever I make changes
to my bean, I recompile it, however, when I refresh the browser, those
changes are not being reflected in my jsp.  It only works after I have shut
Tomcat down and started it back up.  This works, but it is getting old : 
I get error messages about there being no methods to get the new property
(even though I know I put it there!)  Sorry if this is a stupid
questionAny help sincerely appreciated!

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

2000-10-03 Thread Marcelo Mathias Lima

try this:

%
pageContext.include("http://localhost/Attributes/Features/"+filename);
%

- Original Message -
From: sumit shah [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 03, 2000 12:08 PM
Subject: include


 hi,
   I am trying to use the following include action in my jsp page and it is
 giving me a
 Generation exception saying"Include: Invalid attribute, flush"
 I am using the following
 jsp:include page= flush="true" /filename is a jsp variable that i am
appending to the file
 URL.

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

 Share information about yourself, create your own public profile at
 http://profiles.msn.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: Upload

2000-10-03 Thread Marcelo Mathias Lima

Hi...

I'm from Brazil too
I have a good example for Upload, but I can't send e-mail with attachments
here.
Please send me ur e-mail that I'll send it to u... OK?

see u,

Marcelo Mathias Lima
(Veja um exemplo desses uploads no site q eu trabalho:
http://www.villadocirillo.com.br/comunidades/)


- Original Message -
From: Roger [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 02, 2000 5:27 PM
Subject: Upload


 Hi everybody,
  How can I upload a picture using JSP, insuide a simple  html form?

 Thanks

 Roger G Urdangarin
  POA- BRASIL


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



Resin classpath issues

2000-10-03 Thread Murphy, Chris (OTS-EDH)

I am almost convinced that Resin (1.2b) is a much more robust jsp container
than Tomcat.  However, I am having trouble installing my web-app.  I
modified resin.conf like this: (I also tried different variations with '/' 
without the '/')

web-app id='salestracker'
 servlet-mapping url-pattern='/servlet/*' servlet-name='invoker'/
 classpath id='WEB-INF/classes'/
 cache-mapping url-pattern='/' expires='2s'/
 error-log id='log/error.log'/
/web-app

'salestracker' is in the default doc directory and it has its own
WEB-INF/classes subdirectories.

Here's the problem: My app isn't picking up my beans/servlets which probably
means there is some problem with the classpath.  As you see, I set the app
up according to the faq's.

Has anyone been able to create a new web-app under Resin? (not just copying
your classes into the default WEB-INF/classes directory.)

Chris Murphy

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



Custom Tag inside an attribute

2000-10-03 Thread Surabhi Jagat

Does anybody know the way to define a custom tag inside an attribute of
tag.I mean to say
cz:GetValueForId id="cz:GetSubmitParam name='city'/"/
I tried this didn't work.
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: select..where like=?

2000-10-03 Thread Murphy, Chris (OTS-EDH)

Since you are using MS, you have to change the % to *.  Not very standard,
sadly.

-Chris Murphy
[EMAIL PROTECTED]

-Original Message-
From: sufi malak [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 30, 2000 10:21 PM
To: [EMAIL PROTECTED]
Subject: select..where like=?


I am calling a bean in all my jsp files, now when I want to do search, I
called a fuction in the bean using a query :
String search ="select * from MP5_CONCEPT_DEPENDENCIES where description
like=?";
getSearchStmt =  myConn.prepareStatement(search);
getSearchStmt.setString(1,"%" + searchstring + "%");

when compiling to test the search function I got this error :
Exception in thread "main" ConceptBeanException: [Microsoft][ODBC Microsoft
Acce
ss Driver] Syntax error (missing operator) in query expression 'description
like
=?'.
at ConceptDBean.searchConceptDBeans(ConceptDBean.java, Compiled
Code)
at ConceptDBean.main(ConceptDBean.java, Compiled Code)
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.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: Shopping Cart

2000-10-03 Thread Murphy, Chris (OTS-EDH)

I have one that I wrote.  I'm still working on a name change, but give this
a go:

http://www.techrev.net/salestracker/salestracker_catalog.jsp?store_id=1rese
t=true

Go ahead and put some fake info for credit card because it isn't setup to do
a live credit card autho just yet.  Do put in a valid email address under
customer information, though so you get a copy of the invoice it creates.

I could use some constructive criticism here. Thanks.

-Chris Murphy
[EMAIL PROTECTED]

-Original Message-
From: Marcel van Kooy [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 02, 2000 2:00 AM
To: [EMAIL PROTECTED]
Subject: Shopping Cart


 Hi all,

 I'm looking for a Shopping Cart system, written in Java and JSP.
 Does anyone has an example or knows where I can find this? In the most
 JSP sites I couldn't find it.

 Thanx already!

 Regards,
 Marcel van Kooy


===
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: regarding refreshing the page

2000-10-03 Thread Kachana Ung

Check "Web Development with Java Server Pages" by
Duane K. Fields and Mark A. Kolb.  There's a section
on transaction integrity on page 269 (chapter 9).
Source code:
www.manning.com/fields
www.taglib.com

Good luck,

Kachana



--- Marcelo Mathias Lima [EMAIL PROTECTED] wrote:
 Well, well

 I think u will get this only redirecting to other
 page (without the
 parameters) after u add the products to cart.

 I have a virtual store too and I simple ignore
 this


 - Original Message -
 From: Naik Ishwar [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, October 03, 2000 7:28 AM
 Subject: regarding refreshing the page


  Hi ,
   I have jsp page, which displays the search
 results of
  different products. And whenever i select any
 product,
  it calls AddToCart.jsp passing the id of the
 product.
  Then AddToCart.jsp adds the product to the shoping
  cart.
  Now there is a problem.
  If i refresh(pressing the refresh button) the same
  product is added again and diplayed. Is there any
 way
  i can avoid this.
  please do help me. This is very urgent
 
  TIA
  ishwar
 
 
  __
  Do You Yahoo!?
  Yahoo! Photos - 35mm Quality Prints, Now Get 15
 Free!
  http://photos.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


__
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.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



jsp - bean in weblogic

2000-10-03 Thread Lakshmi Perumal

hi all
   when i try to run jsp which is using a bean,with weblogic server,i am
getting compilation error saying that bean class not found.i placed bean class
file at classes folder of weblogic root directiory.can any one suggest on
this

thanx in advance
rang



Get free email and a permanent address at http://www.netaddress.com/?N=1

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

2000-10-03 Thread Michael Prescott

I've had a problem with some request dispatcher implementations not passing
parameters properly to the underlying page.  You may find it necessary to do
it with attributes instead set by param tags inside the jsp:include tags.

Michael

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Alejandro López
Sent: Tuesday, October 03, 2000 1:04 PM
To: [EMAIL PROTECTED]
Subject: jsp:include...


I have a similar problem. I want to insert a result (table) from a servlet
into
my jsp. I have tried:

jsp:include page="/servlet/publicTecno?dato=Eventondatos=5" flush="true"
/
and
%pageContext.include("http://localhost:8080/servlet/publicTecno?dato=Evento
ndatos=5");%

I just got my jsp whitout data. I am not using beans, just a servlet and a
jsp
file. Thanks a lot.
Alex

===
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 - bean in weblogic

2000-10-03 Thread James Lee

If you are using WLS 5.1, put the bean classes into the serverclasses folder
under myserver with your package folders.

Hope this helps.

James

- Original Message -
From: Lakshmi Perumal [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 03, 2000 2:38 PM
Subject: jsp - bean in weblogic


 hi all
when i try to run jsp which is using a bean,with weblogic server,i am
 getting compilation error saying that bean class not found.i placed bean
class
 file at classes folder of weblogic root directiory.can any one suggest on
 this

 thanx in advance
 rang


 
 Get free email and a permanent address at http://www.netaddress.com/?N=1


===
 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: Generating simple graphs at real time

2000-10-03 Thread Jeff Kauffman

Also take a look at PopChart at from Corda at www.corda.com.  It is a
Java-based package for creating interactive charts on the server side and
serving them to the client in either Flash or gif (others too maybe) format.
We're using the Flash charts and are very impressed with the quality of the
display.  You can see a screen shot at:

http://www.holistix.net/products/monitoring/culprit_exposed.html

-Jeff


 -Original Message-
 From: Atchutarao Killamsetty [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 20, 2000 6:26 AM
 To: [EMAIL PROTECTED]
 Subject: Generating simple graphs at real time


 Hi,

 I am looking for a way to generate simple graphs (Bar, Pie)
 on real time
 from the options selected on one JSP and display it on the
 next JSP when the
 user presses the submit button.

 The data is realtime and hence I can not generate them during
 overnight
 batch or something like that.

 Your help or pointers is very much appreciated.

 Thanks  Regards,
 Atchutarao Killamsetty,
 http://atchutworld.tripod.com/myjava.html


===
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 - bean in weblogic

2000-10-03 Thread Daryani Santosh

You probably need to put your bean into a package and then include the package
folder in your weblogic beans folder and add it to your classpath.

HTH
Santosh






Lakshmi Perumal [EMAIL PROTECTED] on 10/03/2000 02:38:27 PM

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

To:   [EMAIL PROTECTED]
cc:(bcc: Santosh Daryani/IT/Aon Consulting)

Subject:  jsp - bean in weblogic



hi all
   when i try to run jsp which is using a bean,with weblogic server,i am
getting compilation error saying that bean class not found.i placed bean class
file at classes folder of weblogic root directiory.can any one suggest on
this

thanx in advance
rang



Get free email and a permanent address at http://www.netaddress.com/?N=1

===
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 - bean in weblogic

2000-10-03 Thread sara

Put the bean class under a package and then try again.
Saravanan
[EMAIL PROTECTED]

Web Administrator
www.fgshotcourse.com
www.deltaacom.com
www.fgsinfo.com
www.quickcheckmail.com

Servlet PRogrammer
http://www.trichypulz.com  -


- Original Message -
From: Lakshmi Perumal [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 03, 2000 11:38 AM
Subject: jsp - bean in weblogic


 hi all
when i try to run jsp which is using a bean,with weblogic server,i am
 getting compilation error saying that bean class not found.i placed bean
class
 file at classes folder of weblogic root directiory.can any one suggest on
 this

 thanx in advance
 rang


 
 Get free email and a permanent address at http://www.netaddress.com/?N=1


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

2000-10-03 Thread Marcelo Mathias Lima

this is not to cause problems.
try write this address in the browser and see if this has any result

- Original Message -
From: Alejandro López [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 03, 2000 2:48 PM
Subject: jsp:include


 I have a similar problem. I want to insert a result (table) from a
servlet into
 my jsp. I have tried:

 jsp:include page="/servlet/publicTecno?dato=Eventondatos=5" flush="true"
/

 and


%pageContext.include("http://localhost/servlet/publicTecno?dato=Eventondat
os=5");%

 I just got my jsp whitout data. I am not using beans, just a servlet and a
jsp
 file. Thanks a lot.
 Alex


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



U can get the upload servlet....

2000-10-03 Thread Marcelo Mathias Lima

Hi all,

If u want to get the upload servlet please get them in
ftp://200.246.28.98/pub/upload
There u will find a jsp that is only a HTML form, the servet (.java) and the
library that I'm using..

Have Fun...

P.S. This server will be down in 36 hours.
P.S.2: If somebody has any pop mail client (source). Please, please, please
Send it to me!

Regards,


Marcelo Mathias Lima
[EMAIL PROTECTED]
Villa do Cirillo - A Sua Casa na Internet
http://www.villadocirillo.com.br

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



Passing parameters into an applet

2000-10-03 Thread Christopher Irvine

 I have a JSP page that loads applet.

 Which has a large number of parameters, with one of them needing to be
 entered in manually and not by default.

 This parameter is an ID that people will enter in.

 eg.

 APPLET blah blah blah..

 PARAM NAME=anID VALUE=""

 /APPLET

 Above is an example of what it currently accepts

 I wish to have the param name something like the following

 PARAM NAME=anID VALUE=---aValue passed from somewhere-

 my thoughts on the matter was to

 prompt the user to enter in a value and capture that in a variable
 eg.
   var aString = prompt("What is the ID")

 and then use 'aString' in the paramater, but this did not seem to work.

 even when i changed the parameter to JavaScript having the line something
 like

 document.write("PARAM NAME=id VALUE=" + aString + "")

 the parameter was passed as a blank string.

 Please help

 Cheers

 Chris Irvine

===
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: To: Sufi ASK ANYTHING Malak

2000-10-03 Thread Chandhan Rangarajan

Sufi

Take it easy man!
Keep posting questions on JSP...

 -Original Message-
From:   sufi malak [mailto:[EMAIL PROTECTED]]
Sent:   Tuesday, October 03, 2000 10:29 PM
To: [EMAIL PROTECTED]
Subject:Re: To: Sufi "ASK ANYTHING" Malak

I am so sorry, I did not mean to create a kind discussion, But I am still
considering myself newbie, it's not easy to learn everything at once, and I
am doing JSP, javascript, beans with JRUN, all of them are new for me, but
asking questions from everybody here in this list because I want to learn
and find solution to my problems, please if anybody fell that I am bothering
him or her reply and say it, and then I will quit posting in this list.
Thanks


From: Chandhan Rangarajan [EMAIL PROTECTED]
Reply-To: A mailing list about Java Server Pages specification and
 reference [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: To: Sufi "ASK ANYTHING" Malak
Date: Tue, 3 Oct 2000 09:30:49 +0900

"SUFI" you are a celebrity now..you are as famous as JSP!

  -Original Message-
From:   Manne Fagerlind [mailto:[EMAIL PROTECTED]]
Sent:   Monday, October 02, 2000 11:56 PM
To: [EMAIL PROTECTED]
Subject:Re: To: Sufi "ASK ANYTHING" Malak

Tom,

I don't think it's just the range of subjects that Sufi covers that gets on
people's nerves, but also the fact that he never seems to try to find the
answers to questions himself. I agree that he should at least read the FAQs
and a book about JSP first. And I, too, get irritated when the list is
flooded by mails that aren't about JSP at all; I don't want to miss
anything
really interesting. I think it's getting hard to see the trees for the
forest. :-)

Regards, Manne



-Original Message-
From: Tom Preston [mailto:[EMAIL PROTECTED]]
Sent: 02 October 2000 16:43
To: [EMAIL PROTECTED]
Subject: Re: To: Sufi "ASK ANYTHING" Malak


Guys,  get over yourselves.  Give Sufi a break.  If the only questions
asked in this
forum were JSP specification questions, the list be almost non-existent.

SQL, Java, Javascipt, HTML, and app servers are all part of practical
jsp programming.

 I ran a search on the mail I've received from this list, and to my
surprise
 found over 50 answers generated by your questions. Quite an achievement
in a
 period of just two months. The range of subjects is also quite
impressive,
 you seem to be interested in JSP, Java, Javascript , several servers,
HTML
 and SQL, to name a few. Sending us complete samples of your code is a
nice
 gesture, but unfortunately there always seems to be a problem with it.
 
 It would be nice if you would post your questions on these subjects to
 appropriate lists elsewhere. Reading some manuals could also help
before
 asking a question, see the list for some ideas.
 
 Thanks in advance for your cooperation.



--
Tom

  --
| Thomas Preston   |
| Vacation.com, Inc.   |
| Engineering Department   |
| 617.654.8432 |
| http://www.vacation.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

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

Share information about yourself, create your own public profile at
http://profiles.msn.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:include...

2000-10-03 Thread Jimmy Oh

it works for me by using this:

%@ file include="relative/path/to/file" %

HTH
Jim

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Alejandro Lopez
Sent: Wednesday, October 04, 2000 1:04 AM
To: [EMAIL PROTECTED]
Subject: jsp:include...


I have a similar problem. I want to insert a result (table) from a servlet
into
my jsp. I have tried:

jsp:include page="/servlet/publicTecno?dato=Eventondatos=5" flush="true"
/
and
%pageContext.include("http://localhost:8080/servlet/publicTecno?dato=Evento
ndatos=5");%

I just got my jsp whitout data. I am not using beans, just a servlet and a
jsp
file. Thanks a lot.
Alex

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



DATASOURCE of Oracle in a server of Websphere

2000-10-03 Thread Triana Mendoza Federico

Desire to use the DATASOURCE of Oracle in a server of  Websphere
with the following JSP code:

%@page import="java.io.*"%
%@page import="java.sql.*"%
%@page import="javax.sql.*"%
%@page import="java.util.*"%
%@page import="javax.naming.*"%
%@page import="javax.servlet.*"%
%@page import="com.ibm.db2.jdbc.app.stdext.javax.sql.DataSource"%
%@page import="com.ibm.ejs.dbm.jdbcext.*"%

%
String query = "select sysdate from dual";
String URL   = "jdbc/TEST";

try
{ Hashtable params = new Hashtable();
  params.put("java.naming.factory.initial",
"com.ibm.ejs.ns.jndi.CNInitialContextFactory");
  Context ctx = new InitialContext(params);
  com.ibm.db2.jdbc.app.stdext.javax.sql.DataSource ds =
(com.ibm.db2.jdbc.app.stdext.javax.sql.DataSource)ctx.lookup(URL);
  java.sql.Connection connection =
ds.getConnection("usertest","passtest");

} catch(Exception e){
out.println(e);
}
%

but it marks an error to me when executing :

  java.sql.Connection connection =
ds.getConnection("usertest","passtest");

obvious this defined " TEST " in the server. Some idea of why ??

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: U can get the upload servlet....

2000-10-03 Thread Guilherme Zambon

Favor não foder o servidor.

Obrigado

- Original Message -
From: Marcelo Mathias Lima [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 03, 2000 5:20 PM
Subject: U can get the upload servlet


 Hi all,

 If u want to get the upload servlet please get them in
 ftp://200.246.28.98/pub/upload
 There u will find a jsp that is only a HTML form, the servet (.java) and
the
 library that I'm using..

 Have Fun...

 P.S. This server will be down in 36 hours.
 P.S.2: If somebody has any pop mail client (source). Please, please,
please
 Send it to me!

 Regards,

 
 Marcelo Mathias Lima
 [EMAIL PROTECTED]
 Villa do Cirillo - A Sua Casa na Internet
 http://www.villadocirillo.com.br


===
 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:forward with array parameter

2000-10-03 Thread viliandy leonardo

Hi all,

I am a newbie to JSP so pls bear with me.

How do I pass an array variable to another .jsp page using the forward
action?

I look at some samples from the book, they all only have samples for passing
non array parameter like:

jsp:forward page"page2.jsp"
 jsp: param name="Test"
  value="2"/
/jsp:forward

Is it possible to pass array variables with the forward action? If so, what
is the syntax? If not, how would you normally pass array variables from one
page to another?

Thanks a lot




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

Share information about yourself, create your own public profile at
http://profiles.msn.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: To: Sufi ASK ANYTHING Malak

2000-10-03 Thread Craig R. McClanahan

sufi malak wrote:

 I am so sorry, I did not mean to create a kind discussion, But I am still
 considering myself newbie, it's not easy to learn everything at once, and I
 am doing JSP, javascript, beans with JRUN, all of them are new for me, but
 asking questions from everybody here in this list because I want to learn
 and find solution to my problems, please if anybody fell that I am bothering
 him or her reply and say it, and then I will quit posting in this list.
 Thanks


Posting JSP related questions to this list is absolutely not a problem.  Please
continue to do so.

Posting questions about *anything* else is outside the boundaries of the list
policy, which you received when you subscribed.  These policies are also posted
weekly for everyone to be reminded.

That's the "legalist" response.  Now let me give you the personal response to the
issue of off-topic questions (similar to a comment I had to make last week about
this on SERVLET-INTEREST).

As people who recognize my name will tell you :-)I am one of the people that knows
quite a bit about JSP pages and servlets.  I like to answer questions about them --
and over the last couple of years I've answered hundreds or thousands of such
questions.

But I absolutely refuse to answer off topic questions (even when I know the
answers, which is often the case).  Why?  Because politeness and respect are a two
way street, and people who ask (and answer) these questions are being impolite to
those of us who are *only* interested in talking about JSP pages here.

I was out of town from Sunday afternoon through this morning.  During that time, my
mailbox accumulated well over 100 messages on JSP-INTEREST.  A quick scan of the
subject lines shows me that a depressingly large percentage of them (maybe over
half) are off topic.  How likely do you think I am to even bother scanning these
messages so I can find JSP related questions to answer?

You're right ... not very likely.  I don't like my time being wasted (there's never
enough time to get done what I have to do -- let alone what I want to do, like
helping people understand JSP).  And ignoring this list is not what I want, and I'm
sure it's not what you want.

If you want the people who like to answer these questions to stick around, you need
to respect *our* time.  The best way to do that is to find other places to ask
questions about JDBC drivers, date formatting, JavaScript, parsing comma delimited
strings, and all that kind of stuff.  The Internet is full of resources for this.
Search engines can help you find them.

But if you have a JSP related question (even partly), this is the right place to
ask.  All I ask is, please don't chase me away.

Craig McClanahan


See you at ApacheCon Europe http://www.apachecon.com!
Session VS01 (23-Oct 13h00-17h00):  Sun Technical Briefing
Session T06  (24-Oct 14h00-15h00):  Migrating Apache JServ
Applications to Tomcat

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

2000-10-03 Thread Suresh kumar K Badiga

sorry for the trouble..

-Suresh

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



signoff JSP-INTEREST

2000-10-03 Thread Eunyee Chi

signoff JSP-INTEREST

- Original Message -
From: "Eunyee Chi" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 04, 2000 2:07 PM
Subject: signoff SERVLET-INTEREST


 "signoff SERVLET-INTEREST".
 - Original Message -
 From: "Eunyee Chi" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, October 04, 2000 1:40 PM
 Subject: sign-off


 From [EMAIL PROTECTED]  Wed Oct  4 14:02:02 2000
 Return-Path: [EMAIL PROTECTED]
 Received: from relay.lg.co.kr (localhost [127.0.0.1]) by lgeds.lg.co.kr 
(8.8.8/8.8.8) with ESMTP id OAA05739 for [EMAIL PROTECTED]; Wed, 4 Oct 2000 
14:02:01 +0900 (KST)
 Received: from mail2.java.sun.com (mail2.javasoft.com [204.160.241.38])
 by relay.lg.co.kr (8.8.8+Sun/8.8.8) with ESMTP id NAA27559
 for [EMAIL PROTECTED]; Wed, 4 Oct 2000 13:58:56 +0900 (KST)
 Received: from mail (mail.javasoft.com [204.160.241.28])
 by mail2.java.sun.com (8.10.0.Beta13+Sun/8.10.0.Beta13) with ESMTP id e944ptc29207;
 Tue, 3 Oct 2000 21:52:00 -0700 (PDT)
 Received: from JAVA.SUN.COM by JAVA.SUN.COM (LISTSERV-TCP/IP release 1.8d) with
   spool id 1496932 for [EMAIL PROTECTED]; Tue, 3 Oct 2000
   21:53:01 -0700
 Received: from lgeds.lg.co.kr ([165.244.227.21]) by mail.java.sun.com
   (8.10.0.Beta13+Sun/8.10.2) with ESMTP id e944gxN24110 for
   [EMAIL PROTECTED]; Tue, 3 Oct 2000 21:42:59 -0700 (PDT)
 Received: from stmjee (localhost [127.0.0.1]) by lgeds.lg.co.kr (8.8.8/88.8)
   with SMTP id NAA29227 for [EMAIL PROTECTED]; Wed, 4 Oct
   2000 13:44:07 +0900 (KST)
 MIME-Version: 1.0
 Content-Type: text/plain; charset="ks_c_5601-1987"
 X-Priority: 3
 X-MSMail-Priority: Normal
 X-Mailer: Microsoft Outlook Express 5.00.2919.6600
 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
 Content-Transfer-Encoding: 8bit
 X-MIME-Autoconverted: from base64 to 8bit by mail.java.sun.com id e944h0N24117
 Message-ID:  01a901c02dbd$389f3280$[EMAIL PROTECTED]
 Date: Wed, 4 Oct 2000 13:40:27 +0900
 Reply-To: "A mailing list for discussion about Sun Microsystem's Java 
Servlet API Technology." [EMAIL PROTECTED]
 Sender: "A mailing list for discussion about Sun Microsystem's Java 
Servlet API Technology." [EMAIL PROTECTED]
 From: Eunyee Chi [EMAIL PROTECTED]
 Subject:  sign-off
 To: [EMAIL PROTECTED]

 Best Regards, [EMAIL PROTECTED]

 ___
 To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
 of the message "signoff SERVLET-INTEREST".

 Archives: http://archives.java.sun.com/archives/servlet-interest.html
 Resources: http://java.sun.com/products/servlet/external-resources.html
 LISTSERV Help: http://www.lsoft.com/manuals/user/user.html



===
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: DATASOURCE of Oracle in a server of Websphere

2000-10-03 Thread Neelesh

Hi,
If u are using websphare 3.0, First u will have to
configure the datasource for the oracle db using the
adminclient. Then use the following code to get the
connection. This code is for servlet, U can extend it
for JSP.

import java.util.Hashtable;
import javax.naming.Context;
import javax.naming.InitialContext;
import java.io.*;
import java.sql.*;
import javax.servlet.*;
import javax.servlet.http.*;

public class servletname extends HttpServlet
{

private Context v3Ctx;
private DataSource v3DS;
private Connection con;

public void init(ServletConfig servletconfig) throws
ServletException
{
super.init(servletconfig);
try
{
Hashtable hashtable = new Hashtable();
hashtable.put("java.naming.factory.initial",
"com.ibm.ejs.ns.jndi.CNInitialContextFactory");
v3Ctx = new InitialContext(hashtable);
v3DS =
(DataSource)v3Ctx.lookup("datasource name");
con = v3DS.getConnection("username",
"password");

}
catch(Exception _ex)
{

}
}

}




*
--- Triana Mendoza Federico [EMAIL PROTECTED] wrote:
 Desire to use the DATASOURCE of Oracle in a
 server of  Websphere
 with the following JSP code:

 %@page import="java.io.*"%
 %@page import="java.sql.*"%
 %@page import="javax.sql.*"%
 %@page import="java.util.*"%
 %@page import="javax.naming.*"%
 %@page import="javax.servlet.*"%
 %@page

import="com.ibm.db2.jdbc.app.stdext.javax.sql.DataSource"%
 %@page import="com.ibm.ejs.dbm.jdbcext.*"%

 %
 String query = "select sysdate from
 dual";
 String URL   = "jdbc/TEST";

 try
 { Hashtable params = new
 Hashtable();

 params.put("java.naming.factory.initial",
 "com.ibm.ejs.ns.jndi.CNInitialContextFactory");
   Context ctx = new
 InitialContext(params);

 com.ibm.db2.jdbc.app.stdext.javax.sql.DataSource ds
 =

(com.ibm.db2.jdbc.app.stdext.javax.sql.DataSource)ctx.lookup(URL);
   java.sql.Connection connection =
 ds.getConnection("usertest","passtest");

 } catch(Exception e){
 out.println(e);
 }
 %

 but it marks an error to me when executing :

   java.sql.Connection connection =
 ds.getConnection("usertest","passtest");

 obvious this defined " TEST " in the server.
 Some idea of why ??

 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


=
My home page http://www.geocities.com/siliconvalley/grid/

__
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.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



include

2000-10-03 Thread sumit shah

hi,
  I am trying to use the following include action in my jsp page and it is
giving me a
Generation exception saying"Include: Invalid attribute, flush"
I am using the following
jsp:include page="http://localhost/Attributes/Features/"+%filename%
flush="true" /filename is a jsp variable that i am appending to the file
URL.

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

Share information about yourself, create your own public profile at
http://profiles.msn.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: include

2000-10-03 Thread Alejandro López



I have a similar problem. I want to insert a result (table>) from
a servlet into
my jsp. I have tried:
jsp:include page="/servlet/publicTecno?dato=Eventondatos=5"
flush="true" />
and
%pageContext.include("http://myserver:8080/servlet/publicTecno?dato=Eventondatos=5");%>
I just got my jsp whitout data. I am not using beans, just a servlet
and a jsp
file. Thanks a lot.
Alex


Marcelo Mathias Lima wrote:
try this:
%
pageContext.include("http://localhost/Attributes/Features/"+filename);
%>
- Original Message -
From: sumit shah [EMAIL PROTECTED]>
To: [EMAIL PROTECTED]>
Sent: Tuesday, October 03, 2000 12:08 PM
Subject: include
> hi,
> I am trying to use the following include action in my
jsp page and it is
> giving me a
> Generation exception saying"Include: Invalid attribute, flush"
> I am using the following
> jsp:include page=> flush="true" />filename is a jsp variable
that i am
appending to the file
> URL.
>
> thanks
> sumit.
> _
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> Share information about yourself, create your own public profile
at
> http://profiles.msn.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: Need some ideas on JSP, JavaBeans and JDBC

2000-10-03 Thread Ron Chan

Hi,

I use a bean that returns a DefaultTableModel that
holds the data from iterating through the result set.

ron

--- Ryan Richards [EMAIL PROTECTED] wrote:
 I have written a small app that uses the Factory
 pattern to
 create object via a Factory class. I have a jsp that
 calls
 this class to add a user or delete a user from an
 Oracle
 database. My question is as follows:

 Consider this scenario: I would like to list all
 users in
 an HTML table, each user in it's own row. Hence I
 would
 create a table in the JSP and somehow iterate thru
 the
 ResultSet from the db to insert each username into
 the
 table cell. My problem is that I am not sure what
 the best
 approach to this would be while trying to keep the
 code in
 the JSP at a minimum. I figured I could I return a
 result
 set to the JSP and iterate thru it there but didnt
 think
 this would be the best way.

 Thanks for any ideas.

 Ryan

___
 Visit http://www.visto.com/info, your free web-based
 communications center.
 Visto.com. Life on the Dot.


===
 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!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.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: Need some ideas on JSP, JavaBeans and JDBC

2000-10-03 Thread Martin Cooper

Two things to look at:

1) The SQL custom taglib example from the JSP 1.1 spec (section A.2).
2) The custom taglib that comes with the Jakarta Struts
(http://jakarta.apache.org/struts) framework (look at the iterate tag).

Hope this helps.

--
Martin Cooper
Tumbleweed Communications

At 08:56 AM 10/3/00 -0700, Ryan Richards wrote:
I have written a small app that uses the Factory pattern to
create object via a Factory class. I have a jsp that calls
this class to add a user or delete a user from an Oracle
database. My question is as follows:

Consider this scenario: I would like to list all users in
an HTML table, each user in it's own row. Hence I would
create a table in the JSP and somehow iterate thru the
ResultSet from the db to insert each username into the
table cell. My problem is that I am not sure what the best
approach to this would be while trying to keep the code in
the JSP at a minimum. I figured I could I return a result
set to the JSP and iterate thru it there but didnt think
this would be the best way.

Thanks for any ideas.

Ryan
___
Visit http://www.visto.com/info, your free web-based communications center.
Visto.com. Life on the Dot.

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

2000-10-03 Thread Alejandro López

I have a similar problem. I want to insert a result (table) from a servlet into
my jsp. I have tried:

jsp:include page="/servlet/publicTecno?dato=Eventondatos=5" flush="true" /

and

%pageContext.include("http://localhost/servlet/publicTecno?dato=Eventondatos=5");%

I just got my jsp whitout data. I am not using beans, just a servlet and a jsp
file. Thanks a lot.
Alex

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