Re: OFFTOPIC "Standard SQL" -- WAS: "RE: jsp and NT"

2000-06-02 Thread Daniel Lopez

Hi,

AFAIK, you are right. There's not such a thing a a standard stored
procedure language. I wish there were! ;). From my point of view...

Advantages:
.- Faster than direct JDBC access. They execute on the server so if you
have to select lots for records, filter them, select some more... all
these records won't go through the network until you have the final
result.
.- Faster to develop, IMHO, than direct JDBC access. You usually have
IDEs to develop with these languages and the procedures are "compiled"
against the database schema so you get "column name doesn't exist"
errors at compile time. This saves lots of time in the testing phase and
it can be very very helpful during the maintenance phase as changes in
the schema are automatically detected.
.- They go along with your database so you don't get into versioning
problems between your schema and your business logic because they always
"travel" together.

Disadvantages:
.- You are almost completely tied to a vendor. I think there's a
standard way of calling stored procedures in JDBC (not sure because I
haven't tried with different languages) but if you go from one DB to
another, you would have, at least, to code again all your business logic
with the new language as they are usually DB specific.
.- Don't think they solve all your runtime problems. JDBC access to
stored procedures is not compiled so you can still have runtime problems
like "procedure not found" ...

So it pretty much depends on how tied you are/want to be to a DB vendor.
If you are already tied to one, as we are, then you might want to take
advantage of the goodies they provide you with. If you need to be
completely independent, then you'd better stayed away from them,
unfortunately.

Just my 2ec,
Dan
---
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer Center
Balearic Islands University
---




Jim Bailey wrote:
>
> Stored procedures are likely to be faster (I don't know since I've never
> actually used them)since they are native calls instead of SQL. From a
> compatibility point of view the problem is, from what I understand, that
> they are very much tied to a particular database implementation. There isn't
> a standard stored procedure syntax that everyone uses like SQL.
>
> I'm sorry I can't be more helpful on this but we've kind of reached the
> limit of my knowledge on this topic.
>
> -Original Message-
> From: ryoung [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 01, 2000 1:12 PM
> To: [EMAIL PROTECTED]
> Subject: Re: OFFTOPIC "Standard SQL" -- WAS: "RE: jsp and NT"
>
> 
> Third, don't use stored procedures. Only access the database
> through JDBC
> statements.
>
> since i've inherited a system where i may only be allowed access
> [SqlServer7] through stored procedures [negotiations still going on with the
> vendor/partner], is this a performance  observation, or an error
> observation??
>
> thanx,
> robert young
>

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

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



Find out which url has referenced the jsp??

2000-06-02 Thread Madhavi, Aaji (IE10)

Hi all,

I want to know if u can find out which url has called a jsp. ie I have two
pages which can reference to a jsp. In that jsp, I want to find out which of
the two pages has 'called' it. How can i do this??

Thanks,
Madhavi.

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.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 Ravi Sharma

Hi Pranav,

If you are doing it as you have written, then first Encode your URL using
URL.encode with your URL and then try it.

- Ravi Sharma
- Original Message -
From: pranav kumar <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 02, 2000 11:34 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



Urgent

2000-06-02 Thread Aggarwal, Pawan
Title:  Urgent





        
Hi All,


I am using thin JDBC to connect with Oracle 8I version 8.1.5.0.0
I am getting error "network adapter could not establish connection"


Here is the code..
Class.forName ("oracle.jdbc.driver.OracleDriver");


    String url = "jdbc:oracle:thin:@Serv:1521:ora1";


    Connection conn = DriverManager.getConnection(url,"user","password");


I have placed classes111.zip & nls_charset11.zip in classpath
And oracle home\oracle\jdbc\lib in path


Machine name is Serv
Ora1 is database
HostString is Oraspa



Please advice me as this is urgent/


Thanks.







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

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

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: JSP using tags

2000-06-02 Thread Mayuresh S Kadu

Please do try looking at the examples provided with JSWDK 1.0.1 or alternatively u 
could try looking up my website at http://javabeginners.8m.com in the resources 
section for a tutorial on JSP.

I will also soon be putting up a point by point comparison of JSP and ASP !

HTH

Mayuresh K
Pune, India


> I am using JSWDW-1.0.1 . Is it posible to use tags
> with this. Could you give me a very short example
> (like hello example) so that I can begin working.
> I have just started the JSP . Any help would be highly
> 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: Disable back button

2000-06-02 Thread Mayuresh S Kadu

yep ... they do. Atleast in Javascript.


document.history.go(-1);


> Presently Netscape and Microsoft DOMs do not offer the facility to access
> back button .It is expected to be implemented in future versions.
>

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.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: Find out which url has referenced the jsp??

2000-06-02 Thread Sharan, Abhishek
Title: RE: Find out which url has referenced the jsp??





hi madhvi
 as far as i can recollect there is some method in javascript window object by name of referrer()
which returns the url sring.maybe this be of some assitance to you.
Cheers
Abhishek Sharan
Associate
HCL Perot Systems
B-26, Sector 57, NOIDA
UP, India PIN 201 307
( 0118-4581236-41(extn.3224) (O)
( 0118-4578949 (R)
Fax 0118-4581235
E-Mail -    [EMAIL PROTECTED]



-Original Message-
From:   Madhavi, Aaji (IE10) [SMTP:[EMAIL PROTECTED]]
Sent:   Friday, June 02, 2000 12:58 PM
To: [EMAIL PROTECTED]
Subject:    Find out which url has referenced the jsp??


Hi all,


I want to know if u can find out which url has called a jsp. ie I have two
pages which can reference to a jsp. In that jsp, I want to find out which of
the two pages has 'called' it. How can i do this??


Thanks,
Madhavi.


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


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





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

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

Urgent

2000-06-02 Thread Aggarwal, Pawan
Title: Urgent





       
Hi All, 


I am using thin JDBC to connect with Oracle 8I version 8.1.5.0.0 the bean..
I am getting error "network adapter could not establish connection" 


Here is the code..
Class.forName ("oracle.jdbc.driver.OracleDriver"); 


    String url = "jdbc:oracle:thin:@Serv:1521:ora1"; 


    Connection conn = DriverManager.getConnection(url,"user","password"); 


I have placed classes111.zip & nls_charset11.zip in classpath
And oracle home\oracle\jdbc\lib in path 


Machine name is Serv
Ora1 is database
HostString is Oraspa 



Please advice me as this is urgent/ 


Thanks. 





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

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

Re: Urgent

2000-06-02 Thread Eugene Martin

Check TCPIP settings all round.
Are there any ports blocked on the server machine.

Can you connect via Oracle Net8 easy config utility.
If not what is the error.

Eugene Martin



-Original Message-
From: Aggarwal, Pawan [mailto:[EMAIL PROTECTED]]
Sent: 02 June 2000 08:52
To: [EMAIL PROTECTED]
Subject: Urgent







 Urgent



   
   
Hi All,


I am using thin JDBC to connect with Oracle
8I version 8.1.5.0.0
I am getting error "network adapter could
not establish connection"


Here is the code..
Class.forName
("oracle.jdbc.driver.OracleDriver");


    String url =
"jdbc:oracle:thin:@Serv:1521:ora1";


    Connection conn =
DriverManager.getConnection(url,"user","password");


I have placed classes111.zip &
nls_charset11.zip in classpath
And oracle home\oracle\jdbc\lib in
path


Machine name is Serv
Ora1 is database
HostString is Oraspa



Please advice me as this is urgent/


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: Find out which url has referenced the jsp??

2000-06-02 Thread Vivek Ojha

Hi Madhavi,

In the jsp page do this

  String str = request.getHeader("referer");

this gives u the url of the page which has called
(refered) this (jsp) page.

Vivek Ojha


--- "Madhavi, Aaji (IE10)"
<[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I want to know if u can find out which url has
> called a jsp. ie I have two
> pages which can reference to a jsp. In that jsp, I
> want to find out which of
> the two pages has 'called' it. How can i do this??
>
> Thanks,
> Madhavi.
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with
> body: "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.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 -- now, 100 FREE prints!
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: Find out which url has referenced the jsp??

2000-06-02 Thread John Mohamed kose

Hi,

<%=request.getHeader("Referer")%>

will give u the URL called.

Regards,
Kose.


"Madhavi, Aaji (IE10)" wrote:

> Hi all,
>
> I want to know if u can find out which url has called a jsp. ie I have two
> pages which can reference to a jsp. In that jsp, I want to find out which of
> the two pages has 'called' it. How can i do this??
>
> Thanks,
> Madhavi.
>
> ===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.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

2000-06-02 Thread Aggarwal, Pawan
Title: RE: Urgent






Easy config is easily connecting to the database...successfully..thru port 1521..


I installed Oracle 8I giving path like e:\oracle\ora81\jdbc\lib\classes111.zip


I have placed this whole thing in the class path
Should I declare ORACLE_HOME as some system variable
And then use ORACLE_HOME\jdbc\lib as classpath..


I tried connecting with scott / tiger thru easy config and it works.


-Original Message-
From:   Eugene Martin [SMTP:[EMAIL PROTECTED]]
Sent:   02 June 2000 14:07
To: [EMAIL PROTECTED]
Subject:    Re: Urgent


Check TCPIP settings all round.
Are there any ports blocked on the server machine.


Can you connect via Oracle Net8 easy config utility.
If not what is the error.


Eugene Martin








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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.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: Disable back button

2000-06-02 Thread Yuthasak Buasuwan

Hi all,
>As I recall this issue has been discussed several times on this forum, with
>general agreement that it's impossible. But you can trace this back in the
>archives.
>
  I am new here.
  yes, you can't disable Back button. but you can use javascript
in Form::unload() event to do forward to your present page...
  -> "history.forward();"

regards,
Yuthasak Buasuwan.

>Regards,
>Piotr
>
>-Original Message-
>From: A mailing list about Java Server Pages specification and reference
>[mailto:[EMAIL PROTECTED]]On Behalf Of Atul Purushan
>Sent: Thursday, June 01, 2000 4:32
>To: [EMAIL PROTECTED]
>Subject: Disable back button
>
>
>Hi all,
>is there any way of disabling the back button of the browser using any
>facility in javascript,jsp or servlets and thereby preventing the user from
>going back to the previous web page.
>thanx in advance.
>with regards,
>atul.
>
>===


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

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

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



Re: Urgent

2000-06-02 Thread Aggarwal, Pawan
Title: RE: Urgent





The exact error is 


  establish the connection

    at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:407)
    at oracle.jdbc.driver.OracleConnection.(OracleConnection.java:152)


    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
va:214)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:193)
    at java.sql.DriverManager.getConnection(DriverManager.java:457)
    at java.sql.DriverManager.getConnection(DriverManager.java:137)
    at Data1.main(Data1.java:17)


-Original Message-
From:   Aggarwal, Pawan [SMTP:[EMAIL PROTECTED]]
Sent:   02 June 2000 15:16
To: [EMAIL PROTECTED]
Subject:    Re: Urgent



Easy config is easily connecting to the database...successfully..thru port 1521.. 


I installed Oracle 8I giving path like e:\oracle\ora81\jdbc\lib\classes111.zip 


I have placed this whole thing in the class path
Should I declare ORACLE_HOME as some system variable
And then use ORACLE_HOME\jdbc\lib as classpath.. 


I tried connecting with scott / tiger thru easy config and it works. 


-Original Message-
From:   Eugene Martin [SMTP:[EMAIL PROTECTED]]
Sent:   02 June 2000 14:07
To: [EMAIL PROTECTED]
Subject:    Re: Urgent 


Check TCPIP settings all round.
Are there any ports blocked on the server machine. 


Can you connect via Oracle Net8 easy config utility.
If not what is the error. 


Eugene Martin 




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




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

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

Get userid from windows with JSP

2000-06-02 Thread "Muñoz Roca, Pedro (GEP)"

How can I get the userId of any person who is working with window and wants
to connect to my site. I'm using JSP and NES 4.1

Thank you 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



functions in jsp

2000-06-02 Thread Ritesh_Srivastava

How to use functions in jsp

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.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: Disable back button

2000-06-02 Thread alok

Hi Mayuresh,

But what was specifically asked was how to disable back button of the browser and
not how to return to the previous document using the history object.That feature is
not available you can check out the DOMs.

Alok.

Mayuresh S Kadu wrote:

> yep ... they do. Atleast in Javascript.
>
> 
> document.history.go(-1);
> 
>
> > Presently Netscape and Microsoft DOMs do not offer the facility to access
> > back button .It is expected to be implemented in future versions.
> >
>
> ===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.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



HTML/JSP/Servlet Deploy Location

2000-06-02 Thread Benny Mathew

Hi All
I am new to JSP and Servlet programming
I have downloaded the JavaServer Web Development Kit (JSWDK) 1.0.1
Can somebody tell me where I have to put my html, jsp and servlet files to
work, and what other environment variables do I have to set...

Please help me as I don't know anybody who is into this.
Regards
ßëññÿ Mâthëw

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

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



subscription request: jsp-interest

2000-06-02 Thread Suraj Gunjal


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



StackOverflowError

2000-06-02 Thread Liza J Alenchery

Hello people

I am using recusrion to fill up a combobox with strings in my JSP
program. It works fine when the number of strings is less, but throws
a StackOverflowError when the number of strings is 600 or more. I
found in the documentation that StackOverflowError means that "an
application recurses too deeply."  Does that mean I am going into a
infinite loop? If not, what can be done in the situation? Is a
re-design the only way out?

Thanks in advance
liza


__
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
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



No suitable driver

2000-06-02 Thread Albert Chow

Hi,

I have written a servlet which use JDBC Thin Driver to connect to Oracle8i
database, my web server is iPlanet 4.1 and OS is NT4.  But I can't run the
servlet in the browser, and the error message is "No suitable driver".  What
should I configure??  Please help!!

Albert

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

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



Re: No suitable driver

2000-06-02 Thread Matthews,Paul

Is the archive containing the JDBC driver in your classpath?

> -Original Message-
> From: Albert Chow [mailto:[EMAIL PROTECTED]]
> Sent: 02 June 2000 12:41
> To: [EMAIL PROTECTED]
> Subject: No suitable driver
>
>
> Hi,
>
> I have written a servlet which use JDBC Thin Driver
> to connect to Oracle8i
> database, my web server is iPlanet 4.1 and OS is NT4.  But I
> can't run the
> servlet in the browser, and the error message is "No suitable
> driver".  What
> should I configure??  Please help!!
>
> Albert
>
> ==
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body:
> "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.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: No suitable driver

2000-06-02 Thread Albert Chow

Yes, I can run a simple java program contain JDBC, but just can't run a
servlet in browser.

Albert

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Matthews,Paul
Sent: Friday, June 02, 2000 7:46 PM
To: [EMAIL PROTECTED]
Subject: Re: No suitable driver


Is the archive containing the JDBC driver in your classpath?

> -Original Message-
> From: Albert Chow [mailto:[EMAIL PROTECTED]]
> Sent: 02 June 2000 12:41
> To: [EMAIL PROTECTED]
> Subject: No suitable driver
>
>
> Hi,
>
> I have written a servlet which use JDBC Thin Driver
> to connect to Oracle8i
> database, my web server is iPlanet 4.1 and OS is NT4.  But I
> can't run the
> servlet in the browser, and the error message is "No suitable
> driver".  What
> should I configure??  Please help!!
>
> Albert
>
> ==
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body:
> "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.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



java.sql.sqlexception(Function sequence error)

2000-06-02 Thread Raveendra

hi all
In one of my servlet i am trying to get the records(more than 50) from
oracle8 through servlet
using with "sun.jdbc.odbc.JdbcOdbcDriver" whenever i am running that servlet
i am getting
error like
java.sql.SQLException: [Microsoft][ODBC Driver Manager] Function sequence
error

so.pls let me know how to over come that error...

Thanks in advance...


Raveendra

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.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: No suitable driver

2000-06-02 Thread Fard, Shahrokh

What do you mean by running the servlet in the browser? Humm!!

-Original Message-
From: Albert Chow [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 02, 2000 8:26 AM
To: [EMAIL PROTECTED]
Subject: Re: No suitable driver


Yes, I can run a simple java program contain JDBC, but just can't run a
servlet in browser.

Albert

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Matthews,Paul
Sent: Friday, June 02, 2000 7:46 PM
To: [EMAIL PROTECTED]
Subject: Re: No suitable driver


Is the archive containing the JDBC driver in your classpath?

> -Original Message-
> From: Albert Chow [mailto:[EMAIL PROTECTED]]
> Sent: 02 June 2000 12:41
> To: [EMAIL PROTECTED]
> Subject: No suitable driver
>
>
> Hi,
>
> I have written a servlet which use JDBC Thin Driver
> to connect to Oracle8i
> database, my web server is iPlanet 4.1 and OS is NT4.  But I
> can't run the
> servlet in the browser, and the error message is "No suitable
> driver".  What
> should I configure??  Please help!!
>
> Albert
>
> ==
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body:
> "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.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: Tags in jswdk-1.0.1

2000-06-02 Thread Uwe Hanisch

> I want to know whether jswdk-1.0.1 supports custom tags implementation.
> Tell me other jsp engines which support tags implementation.

jswdk-1.0.1 doesn't support this, because tag lib is supported
since JSP API 1.1.
jswdk-1.0.1 uses Servlet API 2.1 und JSP 1.0.1.

Try Tomcat ( since Servlet 2.2/JSP 1.1 Tomcat is the
reference implementation) ==> http://jakarta.apache.com

Uwe

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

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



Re: java.sql.sqlexception(Function sequence error)

2000-06-02 Thread Ritesh_Srivastava
resultset cannot contain more than a specific no. of records, though the
query may return more.In ur case, the max. size for the resultset may be 50.
I think u will have to get the records in sets of 50 recursively.


PS: the problem may also be of DAO version.pl. check that.The same occured
to me before also.
> --
> From: Raveendra[SMTP:[EMAIL PROTECTED]]
> Reply To: A mailing list about Java Server Pages specification and
> reference
> Sent:  2000 $BG/ (J 6 $B7n (J 2 $BF| (J  $B6bMKF| (J  $B8a8e (J 06:09
> To:   [EMAIL PROTECTED]
> Subject:  java.sql.sqlexception(Function sequence error)
>
> hi all
> In one of my servlet i am trying to get the records(more than 50)
> from
> oracle8 through servlet
> using with "sun.jdbc.odbc.JdbcOdbcDriver" whenever i am running that
> servlet
> i am getting
> error like
> java.sql.SQLException: [Microsoft][ODBC Driver Manager] Function sequence
> error
>
> so.pls let me know how to over come that error...
>
> Thanks in advance...
>
>
> Raveendra
>
> ==
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.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: StackOverflowError

2000-06-02 Thread Jim Bailey

You might have to bump up the size of your java stacks when you run
java.exe. The command line parameter to do this is:

-oss400k

The default is 400k as above.  To set it to 600k it would be:

-oss600k

The mechanism to actually set this parameter for the JVM when you launch
your app server is implementation dependent. For example to set this from
Resin using the srun program under NT you would install a service as
follows:

srun -J-oss600k -install

You'll have to check your install docs to find out how to do it with your
environment.

-Original Message-
From: Liza J Alenchery [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 02, 2000 7:13 AM
To: [EMAIL PROTECTED]
Subject: StackOverflowError


Hello people

I am using recusrion to fill up a combobox with strings in my JSP
program. It works fine when the number of strings is less, but throws
a StackOverflowError when the number of strings is 600 or more. I
found in the documentation that StackOverflowError means that "an
application recurses too deeply."  Does that mean I am going into a
infinite loop? If not, what can be done in the situation? Is a
re-design the only way out?

Thanks in advance
liza

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.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: trying to mimic example in chapter 8 of Fields&Kolb book

2000-06-02 Thread Tom Wilcoxen

You may need to change the import directives in the JSP pages to reference
the new beans. E.g.:
<%@ page import='com.taglib.wdjsp.arch.FetchDatasetServlet' %>

Or whatever the path is.

Tom

> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Norris, Michael
> Sent: Wednesday, May 31, 2000 5:46 PM
> To: [EMAIL PROTECTED]
> Subject: Re: trying to mimic example in chapter 8 of Fields&Kolb book
>
>
> Did you check the package directive at the top of the source?
>
> > --
> > From: John Cartwright[SMTP:[EMAIL PROTECTED]]
> > Reply To: A mailing list about Java Server Pages specification and
> > reference
> > Sent: Wednesday, May 31, 2000 2:54 PM
> > To:   [EMAIL PROTECTED]
> > Subject:  trying to mimic example in chapter 8 of Fields&Kolb book
> >
> > Hello,
> >
> > I am very much enjoying this book, but am now trying to very slightly
> > modify the employee example in chapter 8 for my own purposes.  Running
> > tomcat 3.1 installed the examples as "webdev".
> > /webdev/fundamentals/helloBean.jsp seems to work just fine.
> >
> > I duplicated the list.jsp and employee.jsp as listDataset.jsp and
> > dataset.jsp respectively, modifying them to reference my new beans.
> >
> > Similarly, I modified EmployeeBean.java and FetchDatasetServlet.java as
> > DatasetBean.java and FetchDatasetServlet.java in
> > webdev/WEB-INF/classes/com/taglib/wdjsp/arch.  They compile fine.
> >
> > However, when I try to access my jsp pages, it complains that the
> > DatasetBean class is not found.  Partial error message below.  Any
> > Suggestions would be greatly appreciated!
> >
> > Thanks!
> >
> > --john
> >
> >
> >
> >
> >
> > Internal Servlet Error:
> >
> > org.apache.jasper.JasperException: Unable to compile class for
> >
> JSP/usr/local/jakarta-tomcat/work/localhost_8080%2Fwebdev/_0002farch_0002f
> > listDataset_0002ejsplistDataset_jsp_0.java:64:
> > Class com.taglib.wdjsp.arch.DatasetBean not found.
> >
> >
> >
> >
> >
> ==
> > =
> > John Cartwright
> > Professional Research Assistant / Associate Scientist
> > CIRES, SEG/NGDC/NOAA
> > (303) 497-6284
> > [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
> >
>
> ==
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.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



JDk1.2.2 with Oracle

2000-06-02 Thread Aggarwal, Pawan
Title: JDk1.2.2 with Oracle






I have the Oracle 8I drivers classes111.zip
Now does this work with JDK12.2
Do I need to some other thin jdbc driver which is compatible,,


Cos when I run the program I am getting errors like 
The network adapter could not establish the connection...


If I use Net Easy config then I can connect to db from my m/c(Win 95)


Please advice
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: Custom Tags and Beans

2000-06-02 Thread Pete Walsh

Thanks, I used the findAttribute and it worked.

-Pete

On Thu, 01 Jun 2000, you wrote:
> Pete Walsh wrote:
>
> > Hi,
> >
> > I'm try to get a reference to one of my beans inside the code of a Jsp Tag I'm
> > making.  When I declare the bean's scope to be page, and use the following
> > statement in my Tag's doStartTag
> >
> > BeanName log = (BeanName)pageContext.getAttribute("BeanName");
> > (where BeanName is the name of the bean ;)
> >
> > everything is ok., but my bean is supposed to have a scope of application.  So
> > when I switch it to application, and use that line, log is null.  So how can I
> > get this object?  I guessed that maybe applicationContext.getAttribute would
> > work but it does not.  Thanks.
> >
>
> You've got a couple of choices:
>
> * Use the findAttribute() method instead of getAttribute(), which looks in
>   progressively larger scopes until it locates the bean.
>
> * Explicitly declare which scope you want with a second argument:
>
> BeanName log = (BeanName) pageContext.getAttribute("BeanName",
> PageContext.APPLICATION_SCOPE);
>
> See the Javadocs for PageContext for more information.
>
> >
> > Pete Walsh
> >
>
> Craig McClanahan
>
> ===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
--

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

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



IBM Websphere & VisualAge Java - Exception.

2000-06-02 Thread Rajendran, Rajarajan

Hi,

We get the following exception while running the JSP page given below. The
exception is thrown by the JSP page. The test environment is IBM websphere
and IBM VisualAge Java on Windows NT.

The exception is :

com.sun.jsp.compiler.ParseException:
f:\WebSphere\default_host\dot\projmgt\fiips\web\FIIPSExpressMap.jsp(12,1)
"Unterminated

The JSP page is called by a controllers servlet, which sets the attributes
in the bean GISBean.

The JSP code FIIPSExpressMap is as follows :



FIIPSExpressMap


FIIPSExpressMap
<%@ page isErrorPage="false" errorPage="/template/error.jsp" %>
<%@ page language="java"  %>
<%@ page import= "fiips.util.Debug" %>



 http://mad00ws1/scripts/esrimap.dll
name=fiipsExpressMap" />
 http://mad00ws1/fiips.presentation.FrontEnd/fiips.presentation.Expres
sController/
fiips.presentation.LocateGISRequestHandler"/>







We are not sure of the error "Unterminated. Almost all the values are in
double quotes.

Thank you and I will appreciate if you can throw light on this.

Regards

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



JDk1.2.2 with Oracle

2000-06-02 Thread Aggarwal, Pawan
Title: JDk1.2.2 with Oracle






I have the Oracle 8I(version 8.1.5.0.0) drivers classes111.zip
Now does this work with JDK12.2
Do I need to some other thin jdbc driver which is compatible,,


Cos when I run the program I am getting errors like 
The network adapter could not establish the connection...


If I use Net Easy config then I can connect to db from my m/c(Win 95)


Please advice
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: JDk1.2.2 with Oracle

2000-06-02 Thread Ron Chan

Hi,

there is something called the README file that comes
with your Oracle, please make the effort to read it:


Oracle JDBC Drivers release 8.1.6 README



What Is New In This Release?


The major new features added since the initial
distribution of 8i
(8.1.5) are listed in the following:

  - Support for JDBC 2.0 Core API including:
* Scrollable result set.
* Batch updates.
* Large objects and structured types.  (Support
for these data
  types are also available in 8.1.5).

  - Support for JDBC 2.0 Optional Package (used to be
called JDBC 2.0
Standard Extension API) including:
* Connection pooling.
* Distributed transaction.

  - Oracle JDBC connection caching.

  - Other new improvements:
* Vendor code for errors.
* Improved performance on JDBC Server-side
Internal Driver.

  - Basic zip files for debugging.

  - Support for JDK 1.2.x.  (In 8.1.6 SDK, only the
JDBC Thin Driver
supports JDK 1.2.x.  If you have JDBC programs
that were written
for previous releases of Oracle's drivers and you
would like to
run them with JDK 1.2.x, you may have to port your
programs.
Please see the "Support For JDK 1.2.x" section
below for details.)

  - Support for NLS in the Server-side Internal
Driver.  (Note ##)

  - Support for the Server-side Thin Driver for
middle-tier
applications.  (Note ##)

  - Discontinued support for JDK 1.0.2.  (Note ##)

  ## Note:  Also available in 8.1.6 SDK.


Driver Versions
---

These are the driver versions in the 8.1.6 release:

  - JDBC OCI Driver 8.1.6
Client-side JDBC for use on a machine where OCI
8.1.6 is installed.

  - JDBC Thin Driver 8.1.6
100% Java client-side JDBC for use in applets and
applications.

  - JDBC Thin Server-side Driver 8.1.6
JDBC for use by Java Stored Procedures or by Java
CORBA objects
running in Oracle 8.1.6.  This driver is typically
used in a middle
tier server.

  - JDBC Server-side Internal Driver 8.1.6
Server-side JDBC for use by Java Stored procedures
or by Java CORBA
objects running in Oracle 8.1.6.  This driver used
to be called the
"JDBC Kprb Driver".

For complete documentation, please refer to "JDBC
Developer's Guide
and Reference".


Contents Of This Release


The [ORACLE_HOME]/jdbc/lib directory contains:

  - classes111.zip
Classes for use with JDK 1.1.x.  It contains the
JDBC driver
classes except classes necessary for NLS support
in Object and
Collection types.

  - nls_charset11.zip
NLS classes for use with JDK 1.1.x.  It contains
classes necessary
for NLS support in Object and Collection types.

  - classes111_g.zip
Same as classes111.zip, except that classes were
compiled with
"javac -g".

  - classes12.zip
Classes for use with JDK 1.2.x.  It contains the
JDBC driver
classes except classes necessary for NLS support
in Object and
Collection types.

  - nls_charset12.zip
NLS classes for use with JDK 1.2.x.  It contains
classes necessary
for NLS support in Object and Collection types.

  - classes12_g.zip
Same as classes12.zip, except that classes were
compiled with
"javac -g".

  Note that the packaging of the JDBC classes to
support NLS was
  changed in 8i.  The classes pertaining to specific
character sets
  support in Object and Collection types have been
separated from the
  basic zip files.  These NLS classes are now packaged
into the
  extension zip files.  This allows the user to
include the NLS
  classes only if necessary.  Please refer to the "NLS
Extension Zip
  Files (for client-side only)" for further details.

[ORACLE_HOME]/lib directory contains libocijdbc8.so
and
libocijdbc8_g.so (on Solaris), which are the shared
libraries used by
the JDBC OCI driver.

[ORACLE_HOME]/jdbc/doc/javadoc.tar contains the JDBC
Javadoc.  This
release contains a beta release of the Javadoc files
for the public
API of the public classes of Oracle JDBC.

[ORACLE_HOME]/jdbc/demo/demo.tar contains sample JDBC
programs.
Demo programs written for JDK 1.1 must be modified to
run in JDK 1.2.
Please refer to the "Support For JDK 1.2" for porting
details.


NLS Extension Zip Files (for client-side only)
--

The JDBC Server-side Internal Driver provides complete
NLS support.
It does not require any NLS extension zip files,
nls_charset*.zip.
Discussions in this section do not apply to the JDBC
Server-side
Internal Driver.  You can skip this section if you
only use the
Server-side Internal Driver.

The basic zip files, classes111.zip and classes12.zip,
contain all the
necessary classes to provide complete NLS support for:

  - Oracle Character sets for
CHAR/VARCHAR/LONGVARCHAR/CLOB type data
that is not retrieved or inserted as a data member
of an Oracle 8
Object or Collection type.

  - NLS support for CHAR/VARCHAR data members of
Objects and
Collections for a f

Re: Docs explaining what happens under the hood?

2000-06-02 Thread Michael Prescott

Scalability is difficult to achieve

The latest versions of the servlet spec specify that, unless a servlet is
marked SingleThreadModel, the servlet container should create only one
instance of a servlet (or a JSP page once it's compiled as a servlet).

Many servlet containers do this now, although apparently some do create
multiple instance of threadable servlets (I don't know which).

This means that all code in your JSP pages and/or servlets should be
thread-safe.  Start with "Java Servlet Programming" (Hunter & Crawford,
O'Reilly).  For good, solid information on threads in Java, check out Java
Threads (Oaks & Wong, O'Reilly).

Another good resource for scalable programming is the "Java 2 Performance
and Idiom Guide" (Larman & Guthrie, Prentice Hall PTR).

Very few people can predict what will happen to a JSP site under load
without actually testing it.  Even one hidden bottleneck will foil your best
plans;  even after detailed code reviews, the only way to be sure is to load
test it to shake them out.

For application-server specific information, consult the vendor's
documentation, but I'd then chat with other folks online who have done it -
particularly for things beyond the specs like clustering.

Michael

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Alex Strasheim
Sent: Thursday, June 01, 2000 5:25 PM
To: [EMAIL PROTECTED]
Subject: Docs explaining what happens under the hood?


Here's a very vague question:  What core skills should people who want
to be able to architect scalable web apps using JSP have?

I'm fuzzy on how many instances of servlets there might be floating
around, how you cantrol or monitor that, how application servers
spread them around across several machines, etc.  I have no idea how
to predict what would happen to a JSP site under even a moderate load,
or how to describe what happens inside the JVM.

What you have to know about writing thread safe servlets to make your
JSP application safe and scalable?

Is this stuff I'll find in servlets books?  Websphere (or Resin) docs?
EJB books?

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.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: StackOverflowError

2000-06-02 Thread Eddie Sheffield

Well, it doesn't necessarily mean that you're in an infinite loop. As
another poster pointed out though it does mean you're running out of stack
space. Without going into the gory details every time you call a function a
bit of information is put on the stack, and when the function returns the
info is pulled back off. Recursion can be a bit touchy and it is very easy
to get into an infinite loop (or more precisely infinite recursion). And
since every iteration is a new function call, more info is pushed onto the
stack every call. Eventually all the space is used up.

But more to your problem, I would take a serious look at the design. Not so
much of the code that generates the strings as how much is being generated.
Do you really want to present a user with a combobox of 600 or more entries?
That doesn't sound very user-friendly. I've come across some pretty long
ones at times, and they are aggravating to navigate. Perhaps you should look
into reorganizing your pages in some way so that you won't have to generate
such a long list.

HTH!

Eddie

- Original Message -
From: Liza J Alenchery <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 02, 2000 7:12 AM
Subject: StackOverflowError


> Hello people
>
> I am using recusrion to fill up a combobox with strings in my JSP
> program. It works fine when the number of strings is less, but throws
> a StackOverflowError when the number of strings is 600 or more. I
> found in the documentation that StackOverflowError means that "an
> application recurses too deeply."  Does that mean I am going into a
> infinite loop? If not, what can be done in the situation? Is a
> re-design the only way out?
>
> Thanks in advance
> liza
>
>
> __
> Do You Yahoo!?
> Yahoo! Photos -- now, 100 FREE prints!
> 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: StackOverflowError

2000-06-02 Thread Ron Chan

Hi,

also reconsider using recursion for this purpose. All
recursions can be implemented in loops and not incur
the stack problem.

ron

--- Eddie Sheffield <[EMAIL PROTECTED]> wrote:
> Well, it doesn't necessarily mean that you're in an
> infinite loop. As
> another poster pointed out though it does mean
> you're running out of stack
> space. Without going into the gory details every
> time you call a function a
> bit of information is put on the stack, and when the
> function returns the
> info is pulled back off. Recursion can be a bit
> touchy and it is very easy
> to get into an infinite loop (or more precisely
> infinite recursion). And
> since every iteration is a new function call, more
> info is pushed onto the
> stack every call. Eventually all the space is used
> up.
>
> But more to your problem, I would take a serious
> look at the design. Not so
> much of the code that generates the strings as how
> much is being generated.
> Do you really want to present a user with a combobox
> of 600 or more entries?
> That doesn't sound very user-friendly. I've come
> across some pretty long
> ones at times, and they are aggravating to navigate.
> Perhaps you should look
> into reorganizing your pages in some way so that you
> won't have to generate
> such a long list.
>
> HTH!
>
> Eddie
>
> - Original Message -
> From: Liza J Alenchery <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, June 02, 2000 7:12 AM
> Subject: StackOverflowError
>
>
> > Hello people
> >
> > I am using recusrion to fill up a combobox with
> strings in my JSP
> > program. It works fine when the number of strings
> is less, but throws
> > a StackOverflowError when the number of strings is
> 600 or more. I
> > found in the documentation that StackOverflowError
> means that "an
> > application recurses too deeply."  Does that mean
> I am going into a
> > infinite loop? If not, what can be done in the
> situation? Is a
> > re-design the only way out?
> >
> > Thanks in advance
> > liza
> >
> >
> > __
> > Do You Yahoo!?
> > Yahoo! Photos -- now, 100 FREE prints!
> > 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 -- now, 100 FREE prints!
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



Mime Type Big problem!!! Please Help me!

2000-06-02 Thread Katiuscia Cerbioni

Hi all!

My big problem is this:
I have a servlet with two methods: the first builds an XML file and then
calls a JSP file and the second does some elaboration and then calls a
JSP file.

If I first call the first method and then the second I have this
situation: the first method is correctly executed while the second
returns this error:


"HTTP Error 405
405 Method Not Allowed

The method specified in the Request Line is not allowed for the resource
identified by the request. Please ensure that you have the proper MIME
type set up for the resource you are requesting.

Please contact the server's administrator if this problem persists."

How can I set the right MIME type for the first method and then for the
second?

Please help me. I'm a little desperate.

Thanks in advance.

Katiuscia.

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.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: IBM Websphere & VisualAge Java - Exception.

2000-06-02 Thread Kapoor Ajay

I could not figure out anything concrete. But following questions:
1 Is the version of the JSP 0.91 or 1.0 ?
2. Did you try to run the code through the JSP execution monitor ?
if you run the execution monitor the code piece which is not liked by the monitor 
shall be highlighted. Then you can be better equipped to deal with it or you can post 
that on this forum.

Ajay Kapoor
[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: Model 2 - POST from HTML form to Servlet

2000-06-02 Thread Richard . Cammarano

I can't post from an HTML form to my controller servlet. I get the
error "Not Found - The requested URL "/myApp/search.do" was not found
on this server.

I am using JRun2.3.3 and Apache Web Server (JSP1.0/Servlet2.1) and
created a suffix mapping of "*.do" for "myServlet" in JRun. I have no
problem forwarding to myServlet using . However, when I try posting to the servlet
using , I get an error. I
spent some time in the archives and found tons of info on forwarding in
Model 2, but nothing on this issue. This leads me to think I am missing
something simple. Has anyone encountered this?

I appreciate any input.
Rich



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

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

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

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



java.lang.NoSuchMethodError problem

2000-06-02 Thread Mauro Gagni (EMS)

Hi,
 I am using tomcat within Visual Age for Java to deploy my JSP+Beans pages.
Unfortunately this morning something started to go wrong and I haven't
managed to fix it.

The exception I get is simple, NoSuchMethodError but what method/object
cause the exception?
The exception happens at initialization time of my bean. I can debug up to
the moment I return from the bean constructor and then (I think) it throws
the exception.

I am a bit lost on this? can anyone help?

thanks, mauro

the exception -

java.lang.NoSuchMethodError
java.lang.Throwable()
java.lang.Error()
java.lang.LinkageError()
java.lang.IncompatibleClassChangeError()
java.lang.NoSuchMethodError()
void
_0002fproduct_0002fproductCreateImg_0002ejsp_0002fproduct_0002fproductCreate
Img_jsp_7._jspService(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)
void
_0002fproduct_0002fproductCreateImg_0002ejsp_0002fproduct_0002fproductCreate
Img_jsp_7._jspService(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)
void
org.apache.jasper.runtime.HttpJspBase.service(javax.servlet.http.HttpServlet
Request, javax.servlet.http.HttpServletResponse)
void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest,
javax.servlet.ServletResponse)
void
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(javax.servlet
.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, boolean)
void
org.apache.jasper.runtime.JspServlet.serviceJspFile(javax.servlet.http.HttpS
ervletRequest, javax.servlet.http.HttpServletResponse, java.lang.String,
java.lang.Throwable, boolean)
void
org.apache.jasper.runtime.JspServlet.service(javax.servlet.http.HttpServletR
equest, javax.servlet.http.HttpServletResponse)
void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest,
javax.servlet.ServletResponse)
void
org.apache.tomcat.core.ServletWrapper.handleRequest(org.apache.tomcat.core.R
equest, org.apache.tomcat.core.Response)
void
org.apache.tomcat.core.ContextManager.service(org.apache.tomcat.core.Request
, org.apache.tomcat.core.Response)
void
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(org.a
pache.tomcat.service.TcpConnection, java.lang.Object [])
void org.apache.tomcat.service.TcpConnectionThread.run()
void java.lang.Thread.run()

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

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



Re: Model 2 - POST from HTML form to Servlet

2000-06-02 Thread Craig R. McClanahan

[EMAIL PROTECTED] wrote:

> I can't post from an HTML form to my controller servlet. I get the
> error "Not Found - The requested URL "/myApp/search.do" was not found
> on this server.
>
> I am using JRun2.3.3 and Apache Web Server (JSP1.0/Servlet2.1) and
> created a suffix mapping of "*.do" for "myServlet" in JRun. I have no
> problem forwarding to myServlet using  page="/myApp/search.do" />. However, when I try posting to the servlet
> using , I get an error. I
> spent some time in the archives and found tons of info on forwarding in
> Model 2, but nothing on this issue. This leads me to think I am missing
> something simple. Has anyone encountered this?
>
>

In your HTML page, try using just "search.do" instead.  The browser will convert
this to the appropriate absolute URL when it is submitted.

> I appreciate any input.
> Rich

Craig McClanahan

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

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



Re: Model 2 - POST from HTML form to Servlet

2000-06-02 Thread Richard . Cammarano

Well, it was simple - I didn't restart apache after making the mapping
changes in JRun.
It is now working fine after restarting apache.

-Original Message-
From: Richard Cammarano
Sent: Friday, June 02, 2000 1:04 PM
To: Richard Cammarano; JSP-INTEREST
Subject: Re: Model 2 - POST from HTML form to Servlet


I can't post from an HTML form to my controller servlet. I get the
error "Not Found - The requested URL "/myApp/search.do" was not found
on this server.

I am using JRun2.3.3 and Apache Web Server (JSP1.0/Servlet2.1) and
created a suffix mapping of "*.do" for "myServlet" in JRun. I have no
problem forwarding to myServlet using . However, when I try posting to the servlet
using , I get an error. I
spent some time in the archives and found tons of info on forwarding in
Model 2, but nothing on this issue. This leads me to think I am missing
something simple. Has anyone encountered this?

I appreciate any input.
Rich



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

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


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

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


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

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

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

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



Re: JSP Tutorial

2000-06-02 Thread rohit

you may try
http://apl.jhu.edu/~hall/java/Servlet-Tutorial/Servlet-Tutorial-JSP.html#Sec
tion2
- Original Message -
From: Alarcon Fabio <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, May 28, 2000 10:43 PM
Subject: JSP Tutorial


Hi all !
I'm new in JSP. Does anybody konow a good tutorial of JSP?
Thanks in advance

Best regards
_

Fabio Alarcon Ortiz
Analista de Sistemas - Gerencia de Sistemas
Gerencia Central de Desarrollo e Informatica
EsSalud - Seguro Social de Salud
Lima, Peru
Telfs. : (51) (1) 265-6000, 265-7000 Anexos : 2356, 2357
Movil  : (51) (1) 855-1393
ICQ N° : 11002875

e-mail : [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

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.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 & debugger & parser

2000-06-02 Thread Juan Oropeza

http://technet.oracle.com/

- Original Message -
From: "Dheeraj Trikha" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 01, 2000 10:58 PM
Subject: Re: jsp & debugger & parser


> Hi Juan,
>   thanx for this support, but I am creating a application using Oracle
> JDeveloper 3.0. Beleive me its very difficult to find out the exact cause
of
> a simple error in this IDE. Can u give me some sites from where I can get
> help on this product
>
>
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Juan Oropeza
> Sent: Thursday, June 01, 2000 10:16 PM
> To: [EMAIL PROTECTED]
> Subject: Re: jsp & debugger & parser
>
>
> Hello,
>
> Take a look at JDeveloper 3.1 from Oracle. It supports debugging of
JSP
> pages. You can also use to remotely debug your JSP applications running on
> Apache/Jserv or Tomcat. It can be downloaded from the Oracle web site.
>
> Thanks
> Juan
>
> - Original Message -
> From: "Juan Patricio" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, June 01, 2000 8:20 AM
> Subject: jsp & debugger & parser
>
>
> > Hello,
> >
> > Is there some environment where I can program jsp pages and
debbuger...???
> > and not only the typical "Kawa" or "Homesite"..
> >
> > 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
> >
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.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



Where does System.out.println goes on Tomcat 3.1

2000-06-02 Thread Bhrugesh Shah

Hi,
Please let me know where does tomcat prints System.out statement...
Is there any stderr or stdout file under tomcat directory..
I am running my application with tomcat http server.
I can see stdout & stderr file in JRun.

Thanks

Bhrugesh

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.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 JSP/Servlet Package

2000-06-02 Thread Hines, Bill

There is a company called Page Digital that has something like this. It's
all open and very configurable and based on servlets/JSP. Shouldn't be too
hard to find them on the web.

Bill Hines

-Original Message-
From: Jon Baer [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 21, 2000 5:21 PM
To: [EMAIL PROTECTED]
Subject: Shopping Cart JSP/Servlet Package


Does anyone know of a high-class ecommerce based JSP/Servlet package that is
available to
plug-in to a website?

Thanks.

- Jon

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.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



Tag Descriptor & Constraints on JSP Engine

2000-06-02 Thread Arun Thomas

Hello Folks,

I'm trying to find out what kind of constrataints are placed on the JSP
Generating engine by the contents of the tag library descriptor.  I've
created a couple of custom tags classes with various properties.  Using the
tld, I've described only a subset of those properties (I don't actually want
to use all the properties in every case.)  Using Weblogic 5.1, I notice that
the Java file generator does catch if required properties (as described in
the tld) are missing from a tag, but it also appears to allow the the user
to set more properties than are actually described as attributes in the tld.
Is this supposed to happen, or is this a bug?

Thanks for any input!

-AMT


¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸
,ø¤

Arun Mammen Thomas
Email: [EMAIL PROTECTED]
Phone: (415) 547-7004

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.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: IBM Websphere & VisualAge Java - Exception.

2000-06-02 Thread Rajendran, Rajarajan

Hi Ajay,

Thank you for your interest in resolving my problem.

1. The version of JSP is 1.0
2. I did not try to run in JSP execution monitor. I am these running the
applications
   on the test server. So, probably I should be doing the remote debugging,
which I have
   never done before. But thank you for your suggestion. I have started
browsing IBM
   documents for remote debugger.

Regards

Raj
-Original Message-
From: Kapoor Ajay [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 02, 2000 11:02 AM
To: [EMAIL PROTECTED]
Subject: Re: IBM Websphere & VisualAge Java - Exception.


I could not figure out anything concrete. But following questions:
1 Is the version of the JSP 0.91 or 1.0 ?
2. Did you try to run the code through the JSP execution monitor ?
if you run the execution monitor the code piece which is not liked by the
monitor shall be highlighted. Then you can be better equipped to deal with
it or you can post that on this forum.

Ajay Kapoor
[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

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

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



Getting custom tags (mut) working from the Manning press book?

2000-06-02 Thread Robert Nicholson

Any get the forProperty and ifProperty tag examples working
with Tomcat?

I'm getting this error when I try the jsp's from the source deployed on
tomcat 3.1

org.apache.jasper.JasperException: Parse Error in the tag library descripto
ement "web-app" does not allow "servlet" here.
at org.apache.jasper.compiler.JspUtil.parseXMLDoc(JspUtil.java:156)

this is the contents of my web.xml


http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">

  Web Development with JSP

  
faqs
com.taglib.wdjsp.faqtool.FaqServlet
  
  
faqs
/faqs
  

  
faqtool
com.taglib.wdjsp.faqtool.FaqAdminServlet
  
  
faqtool
/faqtool
  

  
FormHandlerServlet

  com.taglib.wdjsp.commontasks.FormHandlerServlet

  

  
HelloWorldServlet

  com.taglib.wdjsp.arch.HelloWorldServlet

  

  
FetchEmployeeServlet

  com.taglib.wdjsp.arch.FetchEmployeeServlet

  

  
/mut
/WEB-INF/tlds/mut.tld
  


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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.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: Getting custom tags (mut) working from the Manning press book?

2000-06-02 Thread David Castro

--- Robert Nicholson <[EMAIL PROTECTED]> wrote:
> Any get the forProperty and ifProperty tag examples working
> with Tomcat?
>
> I'm getting this error when I try the jsp's from the source deployed on
> tomcat 3.1
>
> org.apache.jasper.JasperException: Parse Error in the tag library descripto
> ement "web-app" does not allow "servlet" here.
> at org.apache.jasper.compiler.JspUtil.parseXMLDoc(JspUtil.java:156)
>
> this is the contents of my web.xml

Can you post the contents of the TLD file? There is a problem with the code
that the Manning book has listed for TLD files. (I already submitted it to
their errata email address, so it'll be fixed in future releases of the book.)

Check the  tag in the TLD file, and make sure it reads:

  http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">

In the book, the last part of the tag read: '.../dtds/web-jsptaglib_1_1.dtd">'

-David Castro
 [EMAIL PROTECTED]


__
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
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



jakarta.apache.org today..

2000-06-02 Thread Robert Nicholson

Anybody having problems getting through to their server right now?

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.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: Getting custom tags (mut) working from the Manning press book?

2000-06-02 Thread Craig R. McClanahan

Robert Nicholson wrote:

> Any get the forProperty and ifProperty tag examples working
> with Tomcat?
>
> I'm getting this error when I try the jsp's from the source deployed on
> tomcat 3.1
>
> org.apache.jasper.JasperException: Parse Error in the tag library descripto
> ement "web-app" does not allow "servlet" here.
> at org.apache.jasper.compiler.JspUtil.parseXMLDoc(JspUtil.java:156)
>
> this is the contents of my web.xml
>

What's happening is that Jasper is trying to parse your web.xml file, and is
running into an error.  You have to define all your  entries before any
 entries, as well as follow all the other rules in the DTD.  You
have a servlet mapping out of order.

In Tomcat 3.1, the servlet container did not apply the validating parser when
reading the web.xml file, but it will in 3.2 and later versions.  That's why the
validation error didn't occur until you tried a JSP page with a custom tag library
(which necessitates reading web.xml to find the  descriptors).

Craig McClanahan

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

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



Re: Getting custom tags (mut) working from the Manning press book?

2000-06-02 Thread Robert Nicholson

I'm told there are differences b/w the .dtd's b/w now and when the tld's
were created.

Hopefully this is the problem. If it is. Why does the error
complain about the tags in the web.xml file?

> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Robert Nicholson
> Sent: Friday, June 02, 2000 2:39 PM
> To: [EMAIL PROTECTED]
> Subject: Getting custom tags (mut) working from the Manning press book?
>
>
> Any get the forProperty and ifProperty tag examples working
> with Tomcat?
>
> I'm getting this error when I try the jsp's from the source deployed on
> tomcat 3.1
>
> org.apache.jasper.JasperException: Parse Error in the tag library
> descripto
> ement "web-app" does not allow "servlet" here.
> at
> org.apache.jasper.compiler.JspUtil.parseXMLDoc(JspUtil.java:156)
>
> this is the contents of my web.xml
>
> 
>PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
>   "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">
> 
>   Web Development with JSP
>
>   
> faqs
> com.taglib.wdjsp.faqtool.FaqServlet
>   
>   
> faqs
> /faqs
>   
>
>   
> faqtool
>
> com.taglib.wdjsp.faqtool.FaqAdminServlet
>   
>   
> faqtool
> /faqtool
>   
>
>   
> FormHandlerServlet
> 
>   com.taglib.wdjsp.commontasks.FormHandlerServlet
> 
>   
>
>   
> HelloWorldServlet
> 
>   com.taglib.wdjsp.arch.HelloWorldServlet
> 
>   
>
>   
> FetchEmployeeServlet
> 
>   com.taglib.wdjsp.arch.FetchEmployeeServlet
> 
>   
>
>   
> /mut
> /WEB-INF/tlds/mut.tld
>   
> 
>
> ==
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.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: IBM Websphere & VisualAge Java - Exception.

2000-06-02 Thread Piotr Wierzbicki

Hi,
You write "...Almost all values are quoted." Shouldn't ALL values be quoted (XML 
syntax)?

Regards,
Piotr

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Rajendran, Rajarajan
Sent: Thursday, June 01, 2000 20:26
To: [EMAIL PROTECTED]
Subject: IBM Websphere & VisualAge Java - Exception.


Hi,

We get the following exception while running the JSP page given below. The
exception is thrown by the JSP page. The test environment is IBM websphere
and IBM VisualAge Java on Windows NT.

The exception is :

com.sun.jsp.compiler.ParseException:
f:\WebSphere\default_host\dot\projmgt\fiips\web\FIIPSExpressMap.jsp(12,1)
"Unterminated

The JSP page is called by a controllers servlet, which sets the attributes
in the bean GISBean.

The JSP code FIIPSExpressMap is as follows :



FIIPSExpressMap


FIIPSExpressMap
<%@ page isErrorPage="false" errorPage="/template/error.jsp" %>
<%@ page language="java"  %>
<%@ page import= "fiips.util.Debug" %>



 http://mad00ws1/scripts/esrimap.dll
name=fiipsExpressMap" />
 http://mad00ws1/fiips.presentation.FrontEnd/fiips.presentation.Expres
sController/
fiips.presentation.LocateGISRequestHandler"/>







We are not sure of the error "Unterminated. Almost all the values are in
double quotes.

Thank you and I will appreciate if you can throw light on this.

Regards

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



Re: Getting custom tags (mut) working from the Manning press book?

2000-06-02 Thread David Castro

I defer to McClanahan, who seems to be the resident expert on all matters JSP.
:-)

-David Castro
 [EMAIL PROTECTED]

--- Robert Nicholson <[EMAIL PROTECTED]> wrote:
> I'm told there are differences b/w the .dtd's b/w now and when the tld's
> were created.
>
> Hopefully this is the problem. If it is. Why does the error
> complain about the tags in the web.xml file?
>
> > -Original Message-
> > From: A mailing list about Java Server Pages specification and reference
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Robert Nicholson
> > Sent: Friday, June 02, 2000 2:39 PM
> > To: [EMAIL PROTECTED]
> > Subject: Getting custom tags (mut) working from the Manning press book?
> >
> >
> > Any get the forProperty and ifProperty tag examples working
> > with Tomcat?
> >
> > I'm getting this error when I try the jsp's from the source deployed on
> > tomcat 3.1
> >
> > org.apache.jasper.JasperException: Parse Error in the tag library
> > descripto
> > ement "web-app" does not allow "servlet" here.
> > at
> > org.apache.jasper.compiler.JspUtil.parseXMLDoc(JspUtil.java:156)
> >
> > this is the contents of my web.xml
> >
> > 
> >  >   PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
> >   "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">
> > 
> >   Web Development with JSP
> >
> >   
> > faqs
> > com.taglib.wdjsp.faqtool.FaqServlet
> >   
> >   
> > faqs
> > /faqs
> >   
> >
> >   
> > faqtool
> >
> > com.taglib.wdjsp.faqtool.FaqAdminServlet
> >   
> >   
> > faqtool
> > /faqtool
> >   
> >
> >   
> > FormHandlerServlet
> > 
> >   com.taglib.wdjsp.commontasks.FormHandlerServlet
> > 
> >   
> >
> >   
> > HelloWorldServlet
> > 
> >   com.taglib.wdjsp.arch.HelloWorldServlet
> > 
> >   
> >
> >   
> > FetchEmployeeServlet
> > 
> >   com.taglib.wdjsp.arch.FetchEmployeeServlet
> > 
> >   
> >
> >   
> > /mut
> > /WEB-INF/tlds/mut.tld
> >   
> > 
> >
> > ==
> > =
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > JSP-INTEREST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.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 -- now, 100 FREE prints!
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: Getting custom tags (mut) working from the Manning press book?

2000-06-02 Thread Robert Nicholson

Was this problem just with the ordering of the attribute attribute in the
tag entries? or something else. I just look over the .dtd (despite the URL
for the one provided in the .tld file being invalid according to sun) and
that's the only difference I could find. Anyway, I made the change and the
error still exists.

Here's the .tld I'm using.


http://java.sun.com/j2ee/dtds/web-jsptaglib_1_1.dtd">

1.0
1.1
mut

Utility tags for JSP.


debugBuffer
com.taglib.wdjsp.mut.DebugBufferTag
empty

Report the current status of output buffering.




debugCookies
com.taglib.wdjsp.mut.DebugCookiesTag
empty

List the cookies accessible from this page.

style



url
com.taglib.wdjsp.mut.UrlTag
tagdependent

Perform URL rewriting if required.




encodeHTML
com.taglib.wdjsp.mut.EncodeHtmlTag
tagdependent

Perform HTML encoding of enclosed text.




outline
com.taglib.wdjsp.mut.OutlineTag
JSP

Delimits a set of items comprising a nested outline.



item
com.taglib.wdjsp.mut.OutlineItemTag
JSP

Delineates an item, possibly including subitems,
within a nested outline.


text
true
true




ifProperty
com.taglib.wdjsp.mut.IfPropertyTag
JSP

Conditionally include or exclude page content
based on a bean property.

nametrue
propertytrue
action



forProperty
com.taglib.wdjsp.mut.ForPropertyTag
com.taglib.wdjsp.mut.ForPropertyTEI
JSP

Loop through an indexed property.

nametrue
propertytrue
idtrue
classtrue



> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of David Castro
> Sent: Friday, June 02, 2000 3:22 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Getting custom tags (mut) working from the Manning press
> book?
>
>
> --- Robert Nicholson <[EMAIL PROTECTED]> wrote:
> > Any get the forProperty and ifProperty tag examples working
> > with Tomcat?
> >
> > I'm getting this error when I try the jsp's from the source deployed on
> > tomcat 3.1
> >
> > org.apache.jasper.JasperException: Parse Error in the tag
> library descripto
> > ement "web-app" does not allow "servlet" here.
> > at
> org.apache.jasper.compiler.JspUtil.parseXMLDoc(JspUtil.java:156)
> >
> > this is the contents of my web.xml
>
> Can you post the contents of the TLD file? There is a problem
> with the code
> that the Manning book has listed for TLD files. (I already submitted it to
> their errata email address, so it'll be fixed in future releases
> of the book.)
>
> Check the  tag in the TLD file, and make sure it reads:
>
>PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
> "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
>
> In the book, the last part of the tag read:
> '.../dtds/web-jsptaglib_1_1.dtd">'
>
> -David Castro
>  [EMAIL PROTECTED]
>
>
> __
> Do You Yahoo!?
> Yahoo! Photos -- now, 100 FREE prints!
> 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: Getting custom tags (mut) working from the Manning press book?

2000-06-02 Thread Craig R. McClanahan

David Castro wrote:

> I defer to McClanahan, who seems to be the resident expert on all matters JSP.
> :-)
>

Well, maybe not quite *all* matters!

Do I blow my reputation when I admit that I made a very similar mistake when I was
first starting playing with custom tags, and got surprised the same way?  (Knowing
quite a bit about Tomcat internals helped me track down the cause, though.)

:-)

>
> -David Castro
>  [EMAIL PROTECTED]
>

Craig

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.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: Getting custom tags (mut) working from the Manning press book?

2000-06-02 Thread Robert Nicholson

Thank you Craig,

This and the corrected .tld file although I'm not sure if the validator
complains about the differences b/w the tld on this one since I fixed it
before thinking that was the problem. As reported by someone in the "author
online" section of the book's website.

It works fine now.

Q. Anybody got these examples running on Weblogic 5.1? I'll read the docs
later but I'll also try this later too. They support the 2.1 deployment
layout?

> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Craig R. McClanahan
> Sent: Friday, June 02, 2000 3:24 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Getting custom tags (mut) working from the Manning press
> book?
>
>
> Robert Nicholson wrote:
>
> > Any get the forProperty and ifProperty tag examples working
> > with Tomcat?
> >
> > I'm getting this error when I try the jsp's from the source deployed on
> > tomcat 3.1
> >
> > org.apache.jasper.JasperException: Parse Error in the tag
> library descripto
> > ement "web-app" does not allow "servlet" here.
> > at
> org.apache.jasper.compiler.JspUtil.parseXMLDoc(JspUtil.java:156)
> >
> > this is the contents of my web.xml
> >
>
> What's happening is that Jasper is trying to parse your web.xml
> file, and is
> running into an error.  You have to define all your 
> entries before any
>  entries, as well as follow all the other rules
> in the DTD.  You
> have a servlet mapping out of order.
>
> In Tomcat 3.1, the servlet container did not apply the validating
> parser when
> reading the web.xml file, but it will in 3.2 and later versions.
> That's why the
> validation error didn't occur until you tried a JSP page with a
> custom tag library
> (which necessitates reading web.xml to find the  descriptors).
>
> Craig McClanahan
>
> ==
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.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: Where does System.out.println goes on Tomcat 3.1

2000-06-02 Thread Scott Stirling

I believe it goes to /bin/logs.  Either tomcat.log or
servlet.log.  Tip: use the Servlet API log() methods instead of System.out.
Kinda weird for the log dir to be under the bin directory, but it is.

Scott Stirling

> -Original Message-
> [mailto:[EMAIL PROTECTED]]On Behalf Of Bhrugesh Shah
> Sent: Friday, June 02, 2000 1:57 PM
>
> Hi,
> Please let me know where does tomcat prints System.out statement...
> Is there any stderr or stdout file under tomcat directory..
> I am running my application with tomcat http server.
> I can see stdout & stderr file in JRun.

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

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



return the ASCII

2000-06-02 Thread Liart Junior

I need a method to return the ASCII value of the first character of string

Liart Junior

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.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: Where does System.out.println goes on Tomcat 3.1

2000-06-02 Thread Hans Bergsten

Scott Stirling wrote:
>
> I believe it goes to /bin/logs.  Either tomcat.log or
> servlet.log.  Tip: use the Servlet API log() methods instead of System.out.
> Kinda weird for the log dir to be under the bin directory, but it is.

The log dir is actually under /logs, but if you don't set
TOMCAT_HOME
and run the start script from bin, it sets TOMCAT_HOME to current directory (or
at least it did in some version, apparently the version you used ;-)

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

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

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



Re: use Bean to connect to DATABASE with JSP

2000-06-02 Thread rohit

Insufficient information. Kindly specify what database you are using and how
you are connecting to the database server. If possible, include your source
file with your post.
Regards,
Rohit.
- Original Message -
From: Nwalal Mi Nyom Martin <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 31, 2000 6:33 PM
Subject: use Bean to connect to DATABASE with JSP


> Hi,
> I have problem to connect to the database with jsp by using beans
> I have this error:
>
> java.sql.SQLException:Must be logged on to server
>  at oracle.jdbc.dbaccess.DBError.check_error(DBerror.java:448)
>
>  Can somebody tell me how to do
>
> Thanks for help
>
> Martin
>
>
>
> __
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo! Messenger.
> http://im.yahoo.com/
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

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

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