Re: JSP - Java Mail - NAS - Initialization Parameters

2000-08-02 Thread Fernando Ribeiro

Hi All,

I wrote a JSP which will send a mail using Java Mail API. I tested this JSP
on Weblogic 5.1.

My doubts are
1. Can I configure Netscape Enterprise Server 4.0 / iPlanet Web Server 4.0
so that I can make the same JSP working??
Probably yes. Just check how the Weblogic features and services your JSP
uses work in iPlanet to face no surprise after the migration. You should
face no problems.

2. I am hardcoding the SMTP host IP address in the JSP now. Is there a way
in which, we can read this from initiailization parameters, in Netscape
Enterprise Server 4.0 / iPlanet Web Server 4.0
Use a .properties file or something like that and you will not care about it
anymore. ATG Dynamo uses .properties files to store every kind of
initialization parameters and iPlanet shall work the same way. Take a look.

fribeiro

===
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: JavaOne presentations from the Java Platform Group...

2000-06-16 Thread Fernando Ribeiro

It was a great conference. Amazing sessions and astounding BOFs.

fribeiro

- Original Message -
From: "Jari Worsley" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 16, 2000 12:13 PM
Subject: Re: JavaOne presentations from the Java Platform Group...


 see below
 Eduardo Pelegri--Llopart wrote:
 
  Well, we are back from JavaOne.  Congratulations to everybody on a
  very well done job.  Servlets and JSP were everywhere.  It was very
  nice to be around the floor and see these technologies in real
  products; not just in products whose goal was to support the

 Well, for my 2 cents worth, and to add to the body of JSP based sites
 out there, have a look at www.ecrowd.net which went live recently.
 (using Model 2, Linux and Resin). And no this isn't intended as
 marketing related spam, just from one Java bigot to a host of others ;)

 I almost feel that I should include a link in the credits to some of the
 very helpful contributors to this list. You know who you are, Craig,
 Danny, Hans and a host of others. Thanks for the insight and sharing.
 Shame i couldn't get to JavaOne :(.

 thanks

 Jari

 --
 Jari Worsley
 Senior Programmer
 Hyperlink plc


===
 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/HTML to Word/Excel

2000-06-15 Thread Fernando Ribeiro

If you want to create a true Word or Excel file you will need to use a
Java-COM bridge.

fribeiro

- Original Message -
From: "LEBARON Christian FTRD/DMI/SOP" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 15, 2000 4:30 AM
Subject: Re: JSP/HTML to Word/Excel


You can set the content-type to the appropriate mime type as said below, but
try to send the data in plain HTML, Word or Excel also understand this
format.

Best regards


-Message d'origine-
De : Visweshwar Ghanakota [mailto:[EMAIL PROTECTED]]
Envoyé : jeudi 15 juin 2000 06:02
À : [EMAIL PROTECTED]
Objet : Re: JSP/HTML to Word/Excel


set the content type to appropriate mime type(for ex.
application/vnd.ms-excel for excel,application/msword for word) and then
send the data in a format understandable by that application(for ex. csv for
excel) then browser will automatically start the application for you.

vishu

 Any input will be great.
 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

===
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/HTML to Word/Excel

2000-06-15 Thread Fernando Ribeiro

Take a look at www.linar.com. They have a reasonable Java-COM bridge that
seems quite fine.

fribeiro

- Original Message -
From: "Mark Torr" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 15, 2000 8:06 AM
Subject: Re: JSP/HTML to Word/Excel


 any examples?

 -Original Message-----
 From: Fernando Ribeiro [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 15, 2000 12:51
 To: [EMAIL PROTECTED]
 Subject: Re: JSP/HTML to Word/Excel


 If you want to create a true Word or Excel file you will need to use a
 Java-COM bridge.

 fribeiro


===
 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: Query String problem with Netscape

2000-06-02 Thread Fernando Ribeiro

Try http://localhost/t.jsp?name=pranav%20kumar

The value should always be URLEncoded.

fribeiro

- Original Message -
From: "pranav kumar" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 02, 2000 3:04 AM
Subject: Query String problem with Netscape


 Hi EveryOne,
  I am facing very strange problem. When i passing a
 query string like
   http://localhost/t.jsp?name="pranav kumar" between two jsp pages using
IE5
 then it works fine but using NetScape 4.7 it shows me error  Bad Request
 (400).
   Please help to sort out this problem.
   Thanks in advance.
 With Regards,
 Pranav


===
 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: Creation of MS Word Object.

2000-06-01 Thread Fernando Ribeiro

JIntegra is really great.

fribeiro

- Original Message -
From: "Khem Chand Sachdeva" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 01, 2000 4:02 AM
Subject: Re: Creation of MS Word Object.


 u can try jintegra from www.linar.com
 it is an excellent com2java bridge
 u can workaround with any word, excel file using this
 hope this helps u
 khem,

 Tarun Dewan wrote:

  Hi Thor,
 
  Actually, I have to open a specific word document and perform mail merge
  with some record from the Oracle database and create a new document and
send
  it to a particular mail id.
 
  This cannot be performed until and unless I create an object of MS Word
in
  JAVA. If there is some other way then pls. inform me.
 
  Thanks,
 
  Tarun Dewan.
 
  -Original Message-
  From: A mailing list about Java Server Pages specification and reference
  [mailto:[EMAIL PROTECTED]]On Behalf Of Thor Heinrichs-Wolpert
  Sent: Thursday, June 01, 2000 10:12 AM
  To: [EMAIL PROTECTED]
  Subject: Re: Creation of MS Word Object.
 
  You might find it easier to create an rtf stream and set the mime type
to
  that for ms word.
 
  Thor HW
  - Original Message -
  From: "Tarun Dewan" [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Wednesday, May 31, 2000 9:24 PM
  Subject: Creation of MS Word Object.
 
   Hi All,
  
   Can anybody explain me the procedure of creating MS Word object in
JAVA.
  
   Thanks in advance.
  
   Bye,
  
   Tarun Dewan.
  
  
 
===
   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


===
 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: Problem accessing a java file from a jsp file.

2000-05-31 Thread Fernando Ribeiro

I could not understand your question, I think. But maybe you should check
the location of the Java file which contains the MsgBox class. You should
then try to invoke it not as a bean to check if it is working.

fribeiro

- Original Message -
From: "ganesh" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 31, 2000 6:30 AM
Subject: Problem accessing a java file from a jsp file.


 Hi there..

 My requirement is to capture some information from a page
 and validate it.
 The flow is that I call the .jsp file in the browser and
 this has to call
 the .java file to validate.Then pass control to another
 .java file which
 will write the contents as a .html file into a file system.

 My .jsp file looks like this...
 -
 html
 headtitleCode Details/title
 /head
 body bgcolor="#ff" background="background.gif"

 %@ include file="code_detail.html" %

 %@ page language="java" %
 jsp:useBean id="msg" scope="application" class="MsgBox" /

 %
 if (request.getParameter("version") == null)
 {
 msg.setMessage("This field cannot be blank.");
 msg.showMessage();
 }
 %
 /body
 /html

 The .java file has the class MsgBox() and methods like
 setMessage(),
 showMessage() which you can see from the code itself. I have
 a problem in
 accessing the .java File(which is a bean as i have
 understood) from the
 .jsp file. The browser throws up HTTP 500 - Internal server
 error.
 How do I solve this ?

 Thanx
 Ganesh.


===
 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-05-31 Thread Fernando Ribeiro

I think Sun itself features a mailing-list about JDBC.

fribeiro

- Original Message -
From: "Tarun Dewan" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 31, 2000 1:12 AM


 Hi,

 Is there is any mailing list for JDBC? PLs. inform.

 Thanks,

 Tarun Dewan.


===
 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: How to call a servlet in an htm page ?

2000-05-31 Thread Fernando Ribeiro

Oops.. lets pretend this question has never been made.

ITIL prefers we do that way :-)

fribeiro

- Original Message -
From: "Puri Aman" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 31, 2000 4:28 AM
Subject: Re: How to call a servlet in an htm page ?


 hello
 what is your role at ITIL and what are you requiring?
 Aman

  -Original Message-
  From: Rajdeep Tyagi [SMTP:[EMAIL PROTECTED]]
  Sent: Wednesday, May 31, 2000 11:51 AM
  To:   [EMAIL PROTECTED]
  Subject:  Re: How to call a servlet in an htm page ?
 
  Very strange.
  Pl let me know which book/manual/specs u r following now a days.
 
  Raj
 
 
==
  =
  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: How to Generate Reports in JSP?.Help needed

2000-05-31 Thread Fernando Ribeiro

Is not a report generator implemented as a bean enough for you?

fribeiro

- Original Message -
From: "Biren Patnaik" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 31, 2000 7:04 AM
Subject: Re: How to Generate Reports in JSP?.Help needed


 Hi Dennis,
 Thanx for ur reply.Do u have any solution of generating reports.I m
 developing an intranet based application in java/jsp .I want to generate
 20 to 30 reports.I don't get any idea of how to generate reports in JSP.I
 m using Oracle 8.0.3 as backend.I want to generate reports on-line, means
 in the browser.Some suggested to go for Oracle web-programming and some
 suggested for Crystal reports and some for Brio.Brio is very expensive.If
 I choose Crystal reports ,it is again a MS Product.Can't I develop it
 solely on jsp/servlet or using any inexpensive tools needed for generating
 reports.Please help
 Looking forward to geeting reply from u at the earliest.
 Biren

 On Wed, 31 May 2000, Dennis Huang wrote:

  Free? No! Brio ask us for $US75,000!
  But I should say Brio is very good. Go to www.brio.com to have a look.
 
  Dennis
 
  -Original Message-
  From: Biren Patnaik [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, 31 May 2000 17:15
  To: [EMAIL PROTECTED]
  Subject: Re: How to Generate Reports in JSP?.Help needed
 
 
  Hi Pradeep,
  Thanx for ur answer.I don't have enough idea about BRIO.Can u please
tell
  me any sites of BRIO.Is it freely available on the net.Please give me
some
  hints about this.Is it a tool for JSP OR Java for report
generation.Please
  help.Awaiting ur reply.
  Thanx in advance
 
  On Tue, 30 May 2000, Pradeep Kumar wrote:
 
   Also, check BRIO...its a pretty good tool for generating web reports
  
   -Pradeep
  
   -Original Message-
   From: Hines, Bill [mailto:[EMAIL PROTECTED]]
   Sent: Tuesday, May 30, 2000 5:55 PM
   To: [EMAIL PROTECTED]
   Subject: Re: How to Generate Reports in JSP?.Help needed
  
  
   Crystal Reports, which has always been the to reporting tool, also has
web
   tools. But what we do is to just generate a static HTML page and
invite
  our
   users to use the 'Print' button of the browser.  Bill Hines
  
   -Original Message-
   From: Biren Patnaik [mailto:[EMAIL PROTECTED]]
   Sent: Tuesday, May 30, 2000 3:44 AM
   To: [EMAIL PROTECTED]
   Subject: Re: How to Generate Reports in JSP?.Help needed
  
  
   Hi verret,
   Thanks for ur quick answer.Can u please tell me any web-sites which
will
   have a clear understanding about the report server.Any books also?.
  
   On Mon, 29 May 2000, Serge Verret wrote:
  
I think the use of report server from Oracle would be the answer ,
it can generate html or pdf
   
   
- Original Message -
From: Biren Patnaik [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, May 29, 2000 3:50 AM
Subject: How to Generate Reports in JSP?.Help needed
   
   
 Hi,
 Can anyone suggest me How to generate reports in JSP or using
latest
   Java
 Technology .Here My back-end is Oracle 8.0.3.
 Looking forward to geeting reply from tje JSP community sites.
 Thanks in advance
 Biren


   
  
 
===
 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
  
  
 
===
   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-Servler Question 2

2000-05-31 Thread Fernando Ribeiro

You have another alternative if this include thing does not work. You can
read yourself the servlet output and print it.

Putting this functionality into a bean would be a good idea but it is not
required at all.

fribeiro

- Original Message -
From: "Vinay K.V. Menon" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 30, 2000 1:50 AM
Subject: JSP-Servler Question 2


 Hi All,
 I did get a few answers to a question I had posted about embedding
 servlet output in a JSP page. I guess I need to restate the requirement!
 I am developing a few servlets that would generate HTML code
snippets -
 might not be complete HTML pages. The output of these servlets should
merge
 with whatever HTML the JSP pages would produce. For instance if the JSP
page
 had only the HTML and the HEAD tags and the servlets produce the BODY tag
 and  its contents, the 2 need to be merged and displayed.
 I tried stuff like
 jsp:include page="/servlet/HelloWorldServlet" flush="true"/

 This compiles fine but does not produce the desired results! I
would
 really appreciate if it is feasible to do thie WITHOUT resorting to using
 beans.

 Vinay


===
 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: How to call a servlet in an htm page ?

2000-05-31 Thread Fernando Ribeiro

Sorry but I was thinking a ITIL employee had asked about calling a servlet
in a HTML page. It would be really funny but did not happen.

fribeiro

- Original Message -
From: "Ritesh Sinha" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 31, 2000 10:05 AM
Subject: Re: How to call a servlet in an htm page ?


 CAlling a servlet in HTML page??? I guess ssi is for that? or is ITIL
doing
 it the wrong way? ;-)
 Ritesh





 Fernando Ribeiro [EMAIL PROTECTED] on 05/31/2000 05:24:05 PM

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

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

 Subject:  Re: How to call a servlet in an htm page ?




 Oops.. lets pretend this question has never been made.

 ITIL prefers we do that way :-)

 fribeiro

 - Original Message -
 From: "Puri Aman" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, May 31, 2000 4:28 AM
 Subject: Re: How to call a servlet in an htm page ?


  hello
  what is your role at ITIL and what are you requiring?
  Aman
 
   -Original Message-
   From: Rajdeep Tyagi [SMTP:[EMAIL PROTECTED]]
   Sent: Wednesday, May 31, 2000 11:51 AM
   To:   [EMAIL PROTECTED]
   Subject:  Re: How to call a servlet in an htm page ?
  
   Very strange.
   Pl let me know which book/manual/specs u r following now a days.
  
   Raj
  
  
 ==
   =
   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


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

2000-05-31 Thread Fernando Ribeiro

They are different products. You can run both in the development stage.

Tomcat is also adequate for small low-traffic websites based on servlets and
JSP not only in the development stage.

fribeiro

- Original Message -
From: "Ritesh Sinha" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 31, 2000 11:53 AM
Subject: Re: Accessing server


 Hi anthony,
 JSWDK doesn't need TOMCAT.
 ritesh






 "Gomez, Anthony" [EMAIL PROTECTED] on 05/31/2000 07:17:51 PM

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

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

 Subject:  Accessing server




 Hi Everybody,

 I' am new to jsp and java. I've downloaded the jdk-1.2.2 and the
 jswdk-1.0.1
 to try to run some of the examples. My question is, do I have to download
 Tomcat before I can try any of the examples.


 Any help would be greatly appreciated

 Thank you
 Anthony.


===
 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: PL/SQL Stored Procedure that returns a reference to a cursor

2000-05-31 Thread Fernando Ribeiro

All you need to know is to do so:

Resultset resultSet = callableStatement.executeQuery( );

Remember to first create the CallableStatement class instance and pass the
proper argument to the prepareCall method.

fribeiro

- Original Message -
From: "LITT Vincent (Neuilly Gestion)" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 31, 2000 11:32 AM
Subject: PL/SQL Stored Procedure that returns a reference to a cursor


 Hi everybody,
 Could anyone tell me how to call a PL/SQL Stored Procedure that
returns
 a reference to a cursor using JDBC ... and how to use this cursor
 afterwards.

 Thanks in advance,

 Vincent


===
 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: Urgent : how to replace multiple occurances of a character in a string

2000-05-31 Thread Fernando Ribeiro

Use a regular expression package like the good one available from GNU
(www.cacas.org/~wes), OROMatch or Stevesoft`s com.stevesoft.pat.

fribeiro

- Original Message -
From: "srinivasa rao yeramati" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 01, 2000 1:03 AM
Subject: Urgent : how to replace multiple occurances of a character in a
string


 Hi

 I have to replace the occurance of single quote ' with two single quotes
''
 in multipe places with in the same string .
 How can i replace multiple ocurances. is replace method has any parameters
 to take care.

 Help is highly appreciated

 srini yeramati


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


===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
 Some relevant FAQs on JSP/Servlets can be found at:

  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: File download problem with JSP

2000-05-30 Thread Fernando Ribeiro

 I have also tried changing the getDoc to return an array of bytes and
 trying to morph that back into a valid file but I failed.
You should do that. A .doc file cannot be represented by arrays of
characters
since they are binary data.

 Here's the code.  I've tried multiple permutations of commenting out
 and/or changing the first two lines.

 %
 response.setHeader("Content-Disposition", "inline;
 filename=word.doc");
 response.setHeader( "Content-type", "binary/octect-stream");
 String myWordDoc = junk.getDoc();
 out.print ( myWordDoc );
 %
You are using the binary/octet-stream MIME type because you want the browser
to download the file, I hope so. I dont know your implementation of this
getDoc method
but I am sure using a String-typed reference to store its return value is
not appropriate.

Try working with simple byte arrays and then optimize your implementation to
take
advantage of the java.io package.

Hope it helps.

Fernando Ribeiro
Project Engineer
Organic, Inc

 Eric Butler
 (VP Product Development  Founder)
 MDinTouch, Inc.
 786.268.1161
 http://www.mdintouch.com
 [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: JSPs and XML.

2000-05-30 Thread Fernando Ribeiro

You can send HTML and WML to the browser after processing the JSP tags in
JSP documents. WML seems to be a common MIME type and it will be understood
by the browser in your cell phone.

fribeiro

- Original Message -
From: "Marco M" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 30, 2000 11:47 AM
Subject: Re: JSPs and XML.


 Hi Joseph,
 is not possible to write some jsptags for transforming JSP written
 in XML into HTML or WML or  other??
 if yes, how?
 thanx in advance for your reply
 regards
 marco

  -Original Message-
  From: EXT Joseph B. Ottinger [mailto:[EMAIL PROTECTED]]
  Sent: 18. May 2000 11:58
  To: [EMAIL PROTECTED]
  Subject: Re: JSPs and XML.
 
 
  On Thu, 18 May 2000, Shawn McKisson wrote:
 
  Coimments are interspersed.
 
   The problem with using JSP for generating XML is that the
  JSP wants to
   assume that it is sitting at the  top level of your
  application, i.e. it
   wants to send the response back to the client.
 
  It does? Funny, I use JSP to generate XML all the time, and it goes
  through XSL on the server...
 
   From what I understand, your current architecture looks like this
  
   [db] - [pl/sql] ---XML--- [XSL engine] --HTML via
  HTTP--- [client]
  
   If we try to introduce JSP into this scenario we get
  
   [db] - [pl/sql] ---data--- [JSP] ---XML via HTTP-- [client]
  
   There is no room after the JSP layer to perform the XSL
  transformation
   JSP does not allow for post processing of it's output in
  order to perform
   the rendering. I believe this is because JSP is meant to be
  used in as
   presentation generation language, not as a data mapping
  language. Sure, you
   could chain this to another servlet which contained your
  rendering code, but
   it is much cleaner to just have something like
  
   [db] - [pl/sql] ---data--- [XML data mapping code]
  ---XML-- [XSL
   engine] --XML/PDF/etc. via HTTP-- [client]
  
   It is the requirement that JSP respond to the client that limits its
   usefulness in this context.
 
  Um, maybe you should switch to a better app server, one that allows
  chaining based on mime types. As stated, I use a design something like
  this:
 
  [db] --data-- [beans] -- jsp --XML+XSL-- HTML
 
  The XSL can be active content itself, so the HTML is variable (I just
  haven't used it for anything else.
 
  BTW, example content can be found at
  http://www.orionsupport.com/ - don't
  let the file extensions fool you, it's all JSP, XML, XSL.
 
   --shawn
  
   - Original Message -
   From: Daniel Lopez [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Sent: Thursday, May 18, 2000 1:32 AM
   Subject: Re: JSPs and XML.
  
  
Hi Shawn,
   
We are doing something very similar, and we might as well
  use JSP later
down the road so I'll get you my own reasoning.
Why? Because that way you have the data generated by your action
completely independent of the way you present the data.
  So independent
that you don't have to use Java to format this data or
  even produce it.
For example, right now we skipped the JSP part because we
  are generating
the XML directly from PL/SQL but if we have to add some
  operations that
will be done better in Java (handling files...) we just
  need to produce
XML from Java and use the same XSLT sheets as the PL/SQL
  operations. Our
grahical designer won't even know if we are performing
  the logic in
PL/SQL or Java. And you might ask then why use JSP
  instead of generating
XML directly from servlets. Well, for the same reason we
  generate HTML
through JSP instead of generating it directly from
  servlets, to make the
result independent of the classes that implement it,
  easier to produce
without getting into the code...
Another reason why one would want to generate XML from
  JSP would be to
be able to forward this result to diferent XSLT and
  produce WML, HTML,
... using the same functionality but with diferent XSLT.
I understand that one might think, why add such an
  overhead... Again,
JSPs are supposed not to be such an overhead because they
  are compiled
into servlets the first time you access them (you might
  even precompile
them sometimes) so they are more like a different way of
  specifying your
output.
   
So, IMHO, if you are just producing HTML, you are just
  performing your
operations in Java and you don't have a designer that can
  play XSLT,
then there's no need to go for XML. But if you want to
  produce different
ouput formats reusing the same functionality, you need to
  seamlesly
integrate different sources of the information into your
  HTML layer or
you have a designer that can play XSLT then you can get
  some advantages
by using XML and you might want to produce it from Java
  through JSP.
   
Just my 2ec
Dan
---
Daniel Lopez Janariz ([EMAIL 

Re: JSPs and XML.

2000-05-30 Thread Fernando Ribeiro

Anyway they will be read on the server not in the client layer. As soon as
the JSP file can be transformed to HTML and WML, your application will be
fine.

fribeiro

- Original Message -
From: "Marco M" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 30, 2000 12:49 PM
Subject: Re: JSPs and XML.


 Hi Fernando,
 yeah but i am planning to write the JSPs in XML..
 thanx
 regards
 marco

  -Original Message-
  From: EXT Fernando Ribeiro [mailto:[EMAIL PROTECTED]]
  Sent: 30. May 2000 18:21
  To: [EMAIL PROTECTED]
  Subject: Re: JSPs and XML.
 
 
  You can send HTML and WML to the browser after processing the
  JSP tags in
  JSP documents. WML seems to be a common MIME type and it will
  be understood
  by the browser in your cell phone.
 
  fribeiro
 
  - Original Message -
  From: "Marco M" [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Tuesday, May 30, 2000 11:47 AM
  Subject: Re: JSPs and XML.
 
 
   Hi Joseph,
   is not possible to write some jsptags for
  transforming JSP written
   in XML into HTML or WML or  other??
   if yes, how?
   thanx in advance for your reply
   regards
   marco
  
-Original Message-
From: EXT Joseph B. Ottinger [mailto:[EMAIL PROTECTED]]
Sent: 18. May 2000 11:58
To: [EMAIL PROTECTED]
Subject: Re: JSPs and XML.
   
   
On Thu, 18 May 2000, Shawn McKisson wrote:
   
Coimments are interspersed.
   
 The problem with using JSP for generating XML is that the
JSP wants to
 assume that it is sitting at the  top level of your
application, i.e. it
 wants to send the response back to the client.
   
It does? Funny, I use JSP to generate XML all the time,
  and it goes
through XSL on the server...
   
 From what I understand, your current architecture
  looks like this

 [db] - [pl/sql] ---XML--- [XSL engine] --HTML via
HTTP--- [client]

 If we try to introduce JSP into this scenario we get

 [db] - [pl/sql] ---data--- [JSP] ---XML via
  HTTP-- [client]

 There is no room after the JSP layer to perform the XSL
transformation
 JSP does not allow for post processing of it's output in
order to perform
 the rendering. I believe this is because JSP is meant to be
used in as
 presentation generation language, not as a data mapping
language. Sure, you
 could chain this to another servlet which contained your
rendering code, but
 it is much cleaner to just have something like

 [db] - [pl/sql] ---data--- [XML data mapping code]
---XML-- [XSL
 engine] --XML/PDF/etc. via HTTP-- [client]

 It is the requirement that JSP respond to the client
  that limits its
 usefulness in this context.
   
Um, maybe you should switch to a better app server, one
  that allows
chaining based on mime types. As stated, I use a design
  something like
this:
   
[db] --data-- [beans] -- jsp --XML+XSL-- HTML
   
The XSL can be active content itself, so the HTML is
  variable (I just
haven't used it for anything else.
   
BTW, example content can be found at
http://www.orionsupport.com/ - don't
let the file extensions fool you, it's all JSP, XML, XSL.
   
 --shawn

 - Original Message -
 From: Daniel Lopez [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, May 18, 2000 1:32 AM
 Subject: Re: JSPs and XML.


  Hi Shawn,
 
  We are doing something very similar, and we might as well
use JSP later
  down the road so I'll get you my own reasoning.
  Why? Because that way you have the data generated by
  your action
  completely independent of the way you present the data.
So independent
  that you don't have to use Java to format this data or
even produce it.
  For example, right now we skipped the JSP part because we
are generating
  the XML directly from PL/SQL but if we have to add some
operations that
  will be done better in Java (handling files...) we just
need to produce
  XML from Java and use the same XSLT sheets as the PL/SQL
operations. Our
  grahical designer won't even know if we are performing
the logic in
  PL/SQL or Java. And you might ask then why use JSP
instead of generating
  XML directly from servlets. Well, for the same reason we
generate HTML
  through JSP instead of generating it directly from
servlets, to make the
  result independent of the classes that implement it,
easier to produce
  without getting into the code...
  Another reason why one would want to generate XML from
JSP would be to
  be able to forward this result to diferent XSLT and
produce WML, HTML,
  ... using the same functionality but with diferent XSLT.
  I understand that one might think, why add such an
overhead... Again,
   

Re: Add string to array

2000-05-30 Thread Fernando Ribeiro

 How can I create an array of strings and assign a new string to the
 array in a loop?

 String[] sArray ;
 for (int i = 0; i  10;i++) {
sArray[i] = "apple" ;

 }

 The code fragment above does not work. But this is what I need to do.
 Add strings to a string array at runtime.

 thanks in advance
 liza

Liza,

Here is the code you need.

String[ ] sArray = new String[10];
for (int a = 0; a  10; a++) {
sArray[a] = new String("apple");
}

This code will run without any problem.

fribeiro

===
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: High points about Jason Hunters Servlet book?

2000-05-26 Thread Fernando Ribeiro

None, from my point-of-view.

Take a look at the JavaSoft documentation and books from Sun Press.

fribeiro
- Original Message -
From: "Robert Nicholson" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, May 26, 2000 5:43 PM
Subject: High points about Jason Hunters Servlet book?


 Can somebody tell me what is consider the high point of Jasons book?


===
 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: Versions of JSP

2000-05-24 Thread Fernando Ribeiro

I am not sure there is such a application yet.

fribeiro

- Original Message -
From: "Marcelo Mayworm" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 24, 2000 11:25 AM
Subject: Versions of JSP


Does Anybody know a software that manage versions of JSP files?

[]'s
Marcelo de Mattos Mayworm
BL Informatica
Tel.: 0xx21 220-3642  0xx24 9901-2929
[EMAIL PROTECTED]
[EMAIL PROTECTED]

Conhecendo-se a quietude, pode-se possuir a estabilidade.
Conhecendo a estabilidade, pode-se encontrar a serenidade.
Conhecendo a serenidade, pode-se encontrar a paz.
Possuindo a paz, então pode-se pensar.
E podendo pensar, pode-se agir.
Mêncio (Filósofo chinês)
http://www.compuland.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



Re: jswdk1_0_1 performance

2000-05-24 Thread Fernando Ribeiro

JSWDK is not a good idea to serve content outside the development
environment. It is a reference implementation.

fribeiro

- Original Message -
From: "Michaelm" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 24, 2000 10:04 AM
Subject: jswdk1_0_1 performance


 Hi

 After checking the archives I am still left with a small question. I am
 developing a pilot site and want to know how Sun's jswdk1_0_1 server
stands
 up to +- 100 000 hits a day. I have worked with JRun as well and if this
is
 a better alternative I will use it. 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


===
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: Query about JAVA SERVER SIDE pgmming book

2000-05-22 Thread Fernando Ribeiro

I would recommend Java Enterprise in a Nutshell, from OReilly. It covers
the whole J2EE especification and contains lots of reference information.

Fernando Ribeiro
Organic inteligencia interativa
[EMAIL PROTECTED]

On Mon, 22 May 2000, LEBARON Christian FTRD/DMI/SOP wrote:

 Java Servlet Programming of
 Jason Hunter and William Crawford
 O'Reilly
 ISBN : 1-56592-391-X


 -Message d'origine-
 De : Sujoy Kumar Bose [mailto:[EMAIL PROTECTED]]
 Envoyé : lundi 22 mai 2000 14:18
 À : [EMAIL PROTECTED]
 Objet : Query about JAVA SERVER SIDE pgmming book
 Importance : Haute


 Hi,


 Can anyone tell me about a good JAVA SERVER SIDE  programming book?

 URGENT

 Regards,

 Sujoy

 ===
 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: Newline problem in JavaScript

2000-04-06 Thread Fernando Ribeiro

Newlines in a textarea form element are represented by +AFw-r+AFw-n.

fribeiro

- Original Message -
From: +ACI-Venkata Krishna MV+ACI- +ADw-venkatmv+AEA-geodc.patni.com+AD4-
To: +ADw-JSP-INTEREST+AEA-JAVA.SUN.COM+AD4-
Sent: Thursday, April 06, 2000 4:44 AM
Subject: Newline problem in JavaScript


+AD4- Hi+ACE-
+AD4-
+AD4- I have jsp file using javascript for validation.
+AD4-
+AD4- I am trying to read value of form element textarea file and strip out the
+AD4- newlines present.
+AD4- But I can't read the newline character. I have tried with both +AFw-r and +AFw-n.
+AD4-
+AD4- Please help. TIA.
+AD4-
+AD4- Regards,
+AD4- Krishna MVV
+AD4-
+AD4-
+AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9-
+AD4- To unsubscribe: mailto listserv+AEA-java.sun.com with body: +ACI-signoff
JSP-INTEREST+ACI-.
+AD4- Some relevant FAQs on JSP/Servlets can be found at:
+AD4-
+AD4-  http://java.sun.com/products/jsp/faq.html
+AD4-  http://www.esperanto.org.nz/jsp/jspfaq.html
+AD4-  http://www.jguru.com/jguru/faq/faqpage.jsp?name+AD0-JSP
+AD4-  http://www.jguru.com/jguru/faq/faqpage.jsp?name+AD0-Servlets
+AD4-

===
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: JServ problem?

2000-03-08 Thread Fernando Ribeiro

Take a look at some CGI documentation and check if you are not exceeding
any limitation on GET or POST requests.

fribeiro

Richard Yee wrote:

 I am using Apache 1.3 and JServ 1-1 on Solaris.  When POSTing 50-60 input
 fields (text edit, check boxes, and selects) some of the last input fields
 are not getting to the servlet even though all have data in them or are
 checked.   The number of fields that get omitted, varies depending on how
 much data is in the text edit boxes.  The same behavior results regardless
 of the browser (Netscape 4.7 or IE 5).  Has anyone else experienced this
 type of problem or know anything about this behavior?
 Thanks for your help in advance.

 Richard

 p.s.  I checked the Apache bug list and couldn't find this problem listed.

 
 
 Richard Yee
 DMC1 Corporation
 305 W. Evelyn Ave.
 Mtn. View, CA. 94041
 650-963-3116
 [EMAIL PROTECTED]
 
 

 ===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
 FAQs on JSP can be found at:
  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.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: Browser detection in JSP ??

2000-03-08 Thread Fernando Ribeiro

You can reach a lot of functionality - maybe BrowserHawk4J is not
required - just reading the HTTP_USER_AGENT header.

fribeiro

Richard Litofsky wrote:

 Yes.  cyScape makes a product called BrowserHawk4J which provides exactly
 the same functionality found in ASP for browser detection.  The main
 difference however is that BH4J is actually a much better implementation of
 ASP's browser detection, providing far better accuracy and performance,
 with over 50 properties of information on each browser's capabilities.

 More information at:
   http://www.cyscape.com/products/bh4j

 Free evaluation at:
   http://www.cyscape.com/products/bhawk/download.asp

 Javadocs:
   http://www.cyscape.com/com/cyscape/browserhawk/browserhawk.html

 HTH,

 Richard

 
  I wondered if JSP has support for browser detection in the same way as ASP
  has ??
 
 

 ===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
 FAQs on JSP can be found at:
  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.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



design

2000-03-01 Thread Fernando Ribeiro

I am now designing a method which takes a java.io.JspWriter or a
java.io.BufferedWriter as a parameter. The method then writes to the
parameter.

public void test(JspWriter _out);

These classes have a common superclass, java.io.Writer but, unhappily,
that object does not feature the useful newLine( ) method. That means I
cant take a Writer as a parameter.

Please let me know how I can do that.

fribeiro

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



Re: jsp tools [some new ones]

2000-02-16 Thread Fernando Ribeiro

It will take some time till we get something like Microsoft Visual
Interdev, a full-feature IDE for ASP, but do not forget: text editors
have been our best friends for years :-)

See ya

fribeiro

Scott Stirling wrote:

 Just learned this today--I've been using my own vim syntax file for JSPs for
 a while now, but I was editing a JSP on a machine today that I knew didn't
 have my syntax file, but I noticed the JSP file extension was recognized by
 vim and the syntax was highlighted.  I looked at the syntax files and sure
 enough, VIM 5.6 has a JSP syntax file.  I like mine better, but, hey . .

 Another tool that has a JSP "mode" is Forte from Sun/Netbeans.  I was
 exploring that on Linux today.  The Community edition has a JSP template.  I
 didn't get far with it though, as the JVM segfaulted and died right after I
 selected the JSP template.  So it goes with Java GUIs . . .

 Scott Stirling
 West Newton, MA

 - Original Message -
 From: "Fernando Ribeiro" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, February 15, 2000 12:44 PM
 Subject: Re: jsp tools

  Take a look at the TextPad text editor. Just download the JSP syntax
  dictionary and you are ready to go.
 
  The best tool Ive ever used. If you want a IDE, Im not sure we have the
  right product for now. I use VJ++ sometimes to compose but thats all.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



Re: jsp tools

2000-02-16 Thread Fernando Ribeiro

You will find two different syntax dictionaries in
http://www.textpad.com/add-ons/syntax.html. I like the second one ("JSP
(2)"). It features all the HTML tags, for example, just out of the box.

Textpad syntax dictionaries are simple text files. You can edit it and
add your own statements and classes. They will be, then, highlighted.

fribeiro

Felip Miralles wrote:

 Where is the JSP syntax dictionary to download?
 felip

 Fernando Ribeiro wrote:

  Take a look at the TextPad text editor. Just download the JSP syntax
  dictionary and you are ready to go.
 
  The best tool Ive ever used. If you want a IDE, Im not sure we have the
  right product for now. I use VJ++ sometimes to compose but thats all.
 
  fribeiro
 
  Lee Elenbaas wrote:
  
   http://www.allaire.com/
  
   -Original Message-
   From: A mailing list about Java Server Pages specification and reference
   [mailto:[EMAIL PROTECTED]]On Behalf Of Chad Pitt
   Sent: Monday, February 14, 2000 8:19 PM
   To: [EMAIL PROTECTED]
   Subject: jsp tools
  
   Dear All,
  
   Can anyone tell me where i can download tool or
   editor of JSP? doesn't matter free or trial version.
   Please help, i really need it desperately.
  
   thank you
   Chad
   
   Do You Yahoo!?
   Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
   or your free @yahoo.ie address at http://mail.yahoo.ie
  
   ===
   To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
   JSP-INTEREST".
   FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
  
   ===
   To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
   FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
 
  ===
  To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
  FAQs on JSP can be found at:
   http://java.sun.com/products/jsp/faq.html
   http://www.esperanto.org.nz/jsp/jspfaq.html

 ===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
 FAQs on JSP can be found at:
  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



Re: Parameters to a servlet, How?

2000-02-16 Thread Fernando Ribeiro

It really depends on what you want to do.

Most times you write some web form and pass that information to the
servlet. When the parameters are configuration or installation-specific
then .properties file are used.

What do you want to do? Please send a full list of the features you need
to implement and one or two replies will be enough.

fribeiro

Eric Dunstan wrote:

 How do I send parameters to a servlet.
 I have considered reading files inside the method
 public void init(ServletConfig config) throws ServletException{
super(config);
//read file...
 }
 but I wonder if there is a better solution.
 Thanks a lot, Eric
 __
 Get Your Private, Free Email at http://www.hotmail.com

 ===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
 FAQs on JSP can be found at:
  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



Re: Error while running JSP which calls a bean

2000-02-16 Thread Fernando Ribeiro

You should take a look at the values of your environment variables and
JRun-specific configuration. It seems like a regular CLASSPATH problem.

Please let me know if that works.

fribeiro

Ram Anantha wrote:

 Hi,

 The configuration I am running under is (JRUN pro 2.3.3) + (Apache 1.3.11)
 on Windows NT.

 I have a jsp file (called junk2.jsp) which calls a bean as follows:

 jsp:useBean id="test" class="SimpleBean" /
 jsp:setProperty name="test"
  property="message"
  value="Hello World" /

 When I run this using: http://localhost/junk2.jsp, I get the following
 error:

 500 Internal Server Error
 com.livesoftware.jsp.JSPServlet:

 javax.servlet.ServletException:
 Found 1 semantic error compiling
 "C:/JRun/jsm-default/services/jse/servlets/jsp/junk2.java":

 36. SimpleBean test = (SimpleBean) JSPRuntime.instantiateBean("test",
 "SimpleBean", "page",     __test_was_created, 
pageContext,
 request, session, application);

 *** Error: Type jsp/SimpleBean was not found

 -

 What am I doing wrong? I put the SimpleBean.class file in the same directory
 where junk2.java (servlet corresponding to junk2.jsp) was created.
 I also tried putting the SimpleBean.class file by creating another directory
 called jsp
 under: C:/JRun/jsm-default/services/jse/servlets/jsp directory.

 In both cases I get similar errors...

 Any suggestions ??? Please help !!!

 ===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
 FAQs on JSP can be found at:
  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



Re: SQL Server driver

2000-02-16 Thread Fernando Ribeiro

I am quite sure connection pooling has been already implemented as part
of the JDBC API. That a look at the documentation or a reference book,
just like Java Enterprise in a Nutshell, from OReilly.

fribeiro

alex amies wrote:

 Try the Free tds type 4 driver:

 http://www.freetds.org/

 Alex Amies

 -Original Message-
 From:   Felip Miralles [SMTP:[EMAIL PROTECTED]]
 Sent:   Tuesday, February 15, 2000 9:20 AM
 To: [EMAIL PROTECTED]
 Subject:Re: SQL Server driver

 Well, not wanting to use the jdbc-odbc bridge, I'm also interested on that.
 Moreover, anybody knows what's the status of JDBC 2, which was supposed to
 implement connection pooling?

 Daniel Ronnqvist wrote:

  Hello,
  I am in desperate need of a JDBC driver for SQL server 6.5
 
   Please help me!
   Daniel Ronnqvist
 
  ===
  To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
  FAQs on JSP can be found at:
   http://java.sun.com/products/jsp/faq.html
   http://www.esperanto.org.nz/jsp/jspfaq.html

 ===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
 FAQs on JSP can be found at:
  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html

 ===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
 FAQs on JSP can be found at:
  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



Re: Error 500?

2000-02-16 Thread Fernando Ribeiro

That is a problem with your environment variables - CLASSPATH, JAVA_HOME
or something.

Do not get surprised it is still serving static content since only the
jsp files are processed.

Take a look at it and let me know.

fribeiro

Corbin Hoenes wrote:

 Error: 500

 sun/tools/javac/Main

 I get the following error when trying to load a jsp page (example pages
 that come with the Win98 wsdk)

 the server works and serves up html pages but I get that error when
 trying jsp pages what is up?

 ===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
 FAQs on JSP can be found at:
  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



Re: Detect the encryption level supported by the browser

2000-02-16 Thread Fernando Ribeiro

Two or three days ago I have faced the same problem. We should take a
look at the HTTPS protocol reference and check it it does not expose
that information as a environment variable, just like HTTP_REMOTE_USER.

Who keeps the HTTPS protocol?

Let me know if you find something. Post it to the list since its
valuable information.

fribeiro

Connie Chan wrote:

 Hi,

 Does anyone know how to detect the encryption level supported by the
 running browser in JSP?  Thanks.

 Thanks,
 Connie

 ===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
 FAQs on JSP can be found at:
  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



Re: SQL Server driver

2000-02-15 Thread Fernando Ribeiro

Use that JDBC-ODBC bridge thing? Take a look at the documentation.

fribeiro

Daniel Rönnqvist wrote:

 Hello,
 I am in desperate need of a JDBC driver for SQL server 6.5

  Please help me!
  Daniel Ronnqvist

 ===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
 FAQs on JSP can be found at:
  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



Re: Session variables

2000-02-15 Thread Fernando Ribeiro

session.put("key", "value")

Play around with that and find out what you will be able to do with what
you can store there in these key-value pairs.

fribeiro

Ian Stacey wrote:

 Hi all,

 How do I create a session variable like those used in ASP?

 Ian

 ---
 Ian Stacey
 Multimedia Author
 3T Productions Ltd
 http://www.3t.co.uk/
 ---

 ===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
 FAQs on JSP can be found at:
  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



Re: How to view compiled JSP .java source?

2000-02-15 Thread Fernando Ribeiro

JSWDK provides that property. Just look for any properties files or
other with the same purpose.

fribeiro

Jon Wilmoth wrote:

 I assume that all servlet/jsp containers have an option to keep the
 generated source files.  There is a property with weblogic
 "keepgenerated=true" that accomplishes this.  You should look for such a
 property in your server configuration.  Otherwise the container will delete
 the source after compiling by default.

 - Original Message -
 From: "Chris Tuck" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Sunday, February 13, 2000 8:48 PM
 Subject: How to view compiled JSP .java source?

  I'm wondering how best to do this for the purpose of debugging. I know
 that
  it can be done, based on some of the discussions I read on this list, but
  despite a bit of a hunt around today, on this list and on the web, I still
  can't figure it out.
 
  If anyone has a solution that doesn't involve aquiring a commercial
  development tool I would much appreciate it. Currently I'm using Netscape
  Enterprise Server 4.0 running on Solaris to execute my JSP efforts.
 
  Chris Tuck
 
 
 ===
  To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
 JSP-INTEREST".
  FAQs on JSP can be found at:
   http://java.sun.com/products/jsp/faq.html
   http://www.esperanto.org.nz/jsp/jspfaq.html
 

 ===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
 FAQs on JSP can be found at:
  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



Re: jsp tools

2000-02-15 Thread Fernando Ribeiro

Take a look at the TextPad text editor. Just download the JSP syntax
dictionary and you are ready to go.

The best tool Ive ever used. If you want a IDE, Im not sure we have the
right product for now. I use VJ++ sometimes to compose but thats all.

fribeiro

Lee Elenbaas wrote:

 http://www.allaire.com/

 -Original Message-
 From: A mailing list about Java Server Pages specification and reference
 [mailto:[EMAIL PROTECTED]]On Behalf Of Chad Pitt
 Sent: Monday, February 14, 2000 8:19 PM
 To: [EMAIL PROTECTED]
 Subject: jsp tools

 Dear All,

 Can anyone tell me where i can download tool or
 editor of JSP? doesn't matter free or trial version.
 Please help, i really need it desperately.

 thank you
 Chad
 
 Do You Yahoo!?
 Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
 or your free @yahoo.ie address at http://mail.yahoo.ie

 ===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
 JSP-INTEREST".
 FAQs on JSP can be found at:
  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html

 ===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
 FAQs on JSP can be found at:
  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



Re: Help! Does anyone work with JSP in Linux server??(Apache)

2000-02-15 Thread Fernando Ribeiro

I think Tomcat should be your first choice if you are starting on JSP
now.

fribeiro

Scott Stirling wrote:

 To name a few:

 JRun 2.3 http://www.allaire.com
 JRun 3.0 beta http://beta.allaire.com/jrun30
 Tomcat http://www.javasoft.com/products/jsp/tomcat/
 Resin http://www.caucho.com
 GNUJSP http://www.klomp.org/gnujsp/

 Scott Stirling
 West Newton, MA

 - Original Message -
 From: "Henrique Tatsuyuki Soejima" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, February 15, 2000 6:55 AM
 Subject: Help! Does anyone work with JSP in Linux server??(Apache)

 Hi, everybody!!

 I'm looking for some way for using JSP in Linux.
 If someone work so or could help me somehow, I would be very very
 very grateful!!
 (Sorry for mistakes with my English - I'm Brazilian...:-)

 I'm working with Red Hat Linux distribution, ok?

 Thanks all !!!

 Henrique T. Soejima

 ===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
 FAQs on JSP can be found at:
  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



Re: JSWDK DOESN'T START

2000-02-14 Thread Fernando Ribeiro

Take a look at your CLASSPATH information. Thats is the problem.

fribeiro

Ritesh Sinha wrote:

 HI All,
 I am facing this peculiar problem. After Installing JSWDK on one of the
 machines I am not able to browse the URL http://localhost:8080/  to see the
 default readme.
 It shpows following error:
 

 Error: 500
 Internal Servlet Error:

 java.lang.NoSuchMethodError: javax.servlet.ServletContext: method
 getResource(Ljava/lang/String;)Ljava/net/URL; not found
  at com.sun.web.core.DefaultServlet.doGet(DefaultServlet.java:54)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:499)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
  at
 com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:155)
  at com.sun.web.core.Context.handleRequest(Context.java:414)
  at
 com.sun.web.server.ConnectionHandler.run(ConnectionHandler.java:139)
 --

 I am a newcomer to JAVA as well as JSP and JSWDK. So may be I am doing
 something silly .
 Please help,
 Thanks for your time,
 Ritesh

 ===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
 FAQs on JSP can be found at:
  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html