Tomcat Log File customzation

2002-03-11 Thread sreehari sai

Hi all

Pl Give Suggestions

I am using a Log Servlet to Log the Requests of the Application

here i am using a custom format of the log file for my purpose

Now i want the same servlet to log all the requests of the Tomcat3.2 server

How can i use this servlet to log every request for the server

which files should be changed for this to effect on all requests

Dose any one try this ?





Thanks ina advance
Hari





-
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!

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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



dbtaglib compare to javabean

2002-03-11 Thread Soefara Redzuan

Is it possible to use the same form for creating a new document as well as
editing it ?  Here are my directories and JSPs

createDocument
  \ index.jsp
  \ submit.jsp
editDocument
  \ index.jsp
  \ submit.jsp

I would like createDocument\index.jsp and editDocument\index.jsp to include
the same form with  so that if there is a
change it will be easy to update the form.

How should I fill the field item values in the form.jsp from the database ?
I am using Jakarta project dbtaglib to get data from the database and fill
field values like this in form.jsp


  
select * from documents
  
  
Title = ">
Description = ">

  


But this does not work in createDocument\index.jsp because there is no
resultset.

Are javabeans better than dbtaglib for this ?  Can a javabean use a dbtaglib
database connection ?

Thank you, Soefara

_
Chat with friends online, try MSN Messenger: http://messenger.msn.com

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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



RE: Setting bean properties on a link with onclick

2002-03-11 Thread Lai, Kenny

you need to set a function. this has nothing to do with jsp. this is client
side javascript

function jsSubmit(someval) {
window.location.href="vendorparts.jsp?testQueryString=" + someval;
}
Janes Plumbing
Joes Plumbing

-Original Message-
From: Rick Snide [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 09, 2002 12:14 PM
To: [EMAIL PROTECTED]
Subject: Setting bean properties on a link with onclick


I have a page "vendors.jsp" where (using a bean) I display a list of vendors
to choose from.  This list of vendors is a list of hyperlinks that the user
can click.  I want the user to click the link and then see the parts that
are associated with that vendor (vendorparts.jsp).  My thought was to use
the HREF=vendorparts.jsp and also use the onclick method to set the vendor
number selected in the bean for the vendorparts.jsp to know whose parts to
display. 
 
my list of links (created by my bean) has items like this for the user to
choose:
Janes
Plumbing
Joes
Plumbing
 
My problem is that I don't have a good way to set the bean value (setVendor)
before the page in the link is called.  I want to accomplish it with "xml
style" setting the bean properties rather than mixing in alot of "pure
java". 
 
1.  If  I try to use a "normal" java method, the submit_onclick method can
not be found.
2.  If I try to use a function instead, I apparently can not pass a value to
the function.
3.  I don't want to pass parms such as HREF=vendorparts.jsp?vendor=0001234
to prevent the user from looking at someone else's parts.
 
Is there a better way to do this?  
 
Thanks in advance - and sorry for being so wordy.
Nrzf%䭊lz䭻jⴭw(
%#ⴭ51$Ţb-晨bᡮ.&⽮+anrIH簠
LDDI0D䭓J^í½©,rR?â´­^ä­¶   jmä­¶j!䭊ڲo㲘
m䭚XmÍ«  o鮇nr?䭎}캪ia慮0z^í¤­í¢Š?楧㲗ڪ;)i摩0㌳8.(퍛ګu〵cm#'^&

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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: [Announce] Upcoming Java Seminars: Web Services SOAP and Ser vlets, JSP, EJB

2002-03-11 Thread Conyers, Dwayne

Wish I had the $$$ to attend these seminars.

Dwacon
www.dwacon.com

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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: Tomcat Log File customzation

2002-03-11 Thread Paul Balanoiu

I don't think you can use a servlet from an web application to control other web 
applications, nor should you. Anyway even if you could set it on
your Tomcat instalation, by changing some files, as you said, the web application 
would't work the same on another machine.
Java Servlet Specification Version 2.3 has a new feature: the filters. I think you can 
use those, they might fit your needs. But even those are
application specific (they are declared in the web application descriptor), so at 
least their description must be included in each application.
Tomcat 4.0 (and newer versions) are implementations of the 2.3 specifications. I 
suggest you use this if you need any kind of event listeners.
Good luck,
Paul

11.03.2002 11:11:54, sreehari sai <[EMAIL PROTECTED]> wrote:

>Hi all
>
>Pl Give Suggestions
>
>I am using a Log Servlet to Log the Requests of the Application
>
>here i am using a custom format of the log file for my purpose
>
>Now i want the same servlet to log all the requests of the Tomcat3.2 server
>
>How can i use this servlet to log every request for the server
>
>which files should be changed for this to effect on all requests
>
>Dose any one try this ?
>
>
>
>
>
>Thanks ina advance
>Hari
>
>
>
>
>
>-
>Do You Yahoo!?
>Try FREE Yahoo! Mail - the world's greatest free email!
>
>===
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
> http://archives.java.sun.com/jsp-interest.html
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.jsp
> http://www.jguru.com/faq/index.jsp
> http://www.jspinsider.com
>
>


Paul Balanoiu
Bucharest, Romania

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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



RE: Setting bean properties on a link with onclick

2002-03-11 Thread Lai, Kenny

actually, you can simulate a form post in javascript, if you dont want your
users to see the Query string. just pass the value into a hidden form field,
and have javascript assign it, then submit with the function.



Janes Plumbing
Joes Plumbing


function jsSubmit(someval) {
document.someForm.hiddenValue.value = someval;
document.someForm.submit();  
}

-Original Message-
From: Rick Snide [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 09, 2002 12:14 PM
To: [EMAIL PROTECTED]
Subject: Setting bean properties on a link with onclick


I have a page "vendors.jsp" where (using a bean) I display a list of vendors
to choose from.  This list of vendors is a list of hyperlinks that the user
can click.  I want the user to click the link and then see the parts that
are associated with that vendor (vendorparts.jsp).  My thought was to use
the HREF=vendorparts.jsp and also use the onclick method to set the vendor
number selected in the bean for the vendorparts.jsp to know whose parts to
display. 
 
my list of links (created by my bean) has items like this for the user to
choose:
Janes
Plumbing
Joes
Plumbing
 
My problem is that I don't have a good way to set the bean value (setVendor)
before the page in the link is called.  I want to accomplish it with "xml
style" setting the bean properties rather than mixing in alot of "pure
java". 
 
1.  If  I try to use a "normal" java method, the submit_onclick method can
not be found.
2.  If I try to use a function instead, I apparently can not pass a value to
the function.
3.  I don't want to pass parms such as HREF=vendorparts.jsp?vendor=0001234
to prevent the user from looking at someone else's parts.
 
Is there a better way to do this?  
 
Thanks in advance - and sorry for being so wordy.
Nrzf%䭊lz䭻jⴭw(
%#ⴭ51$Ţb-晨bᡮ.&⽮+anrIH簠
LDDI0D䭓J^í½©,rR?â´­^ä­¶   jmä­¶j!䭊ڲo㲘
m䭚XmÍ«  o鮇nr?䭎}캪ia慮0z^í¤­í¢Š?楧㲗ڪ;)i摩0㌳8.(퍛ګu〵cm#'^&

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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Jsp Parameters [Urgent!]

2002-03-11 Thread Nancy Crisóstomo

Hi everybody!
Please I need help,...

  This is not a Tomcat question, but I know here I can find some JSP
  experts:

  Could you tell me all the ways I could send (safe) parameters from a jsp
  to a jsp file? Please discard the url parameters and the Session object...

  I have a jsp (Valida.jsp) which opens a new navigator window (javascript), and that 
new navigator window contents another jsp
  (Portal.jsp).  I need to send some parameters from Valida.jsp to Portal.jsp. In fact 
the second Jsp is formed by frames and one of the
  frames has a jsp (Left.jsp) that needs those parameters...

  Could you please help me? Give some hints or examples...  I really need
  your help.. Or if you couldn't, please tell me where I can find that information

  Thank you very much..
  Nancy.

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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



java.lang.ExceptionInInitializerError when using "xerces.jar"

2002-03-11 Thread Elisabete Cerqueira

Hi,


  I am including xerces.jar in classpath and when a jsp page is loaded:


 - for the first time, the following error appears:   

 java.lang.ExceptionInInitializerError 
 - in the next times, another error is displayed, another error is displayed:
java.lang.NoClassDefFoundError:  

Does someone know this problem? 

Thank you in advance!
Elisabete.
 
 

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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: Jsp Parameters [Urgent!]

2002-03-11 Thread Peter Claesson (EUS)

If you don't want to use the session object, then you could use javascript on the 
client side.
The simpliest form is just to call a function residing in the left.jsp page. Name the 
window you
open and the frame you target and then later when you navigate to the frame (window), 
use the name.

You can make this "fancier" by creating a javascript message handler. The message 
handler
and message gateway are different javascript objects you create. The message gateway 
object
would reside in a page that doesn't get reloaded. Any other page that gets loaded can 
register
its onw message handler with the message gateway. Using the message gateway/handlers
abstracts the what you want to do to not knowing the implementation details of other 
frames.

I have successfully used this concept in one of out application.

Hope this helps.

/Peter



1. Set the data on the server before the jsp files are downloaded. You don't have to 
use the

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 11, 2002 7:30 AM
To: [EMAIL PROTECTED]
Subject: Jsp Parameters [Urgent!]


Hi everybody!
Please I need help,...

  This is not a Tomcat question, but I know here I can find some JSP
  experts:

  Could you tell me all the ways I could send (safe) parameters from a jsp
  to a jsp file? Please discard the url parameters and the Session object...

  I have a jsp (Valida.jsp) which opens a new navigator window (javascript), and that 
new navigator window contents another jsp
  (Portal.jsp).  I need to send some parameters from Valida.jsp to Portal.jsp. In fact 
the second Jsp is formed by frames and one of the
  frames has a jsp (Left.jsp) that needs those parameters...

  Could you please help me? Give some hints or examples...  I really need
  your help.. Or if you couldn't, please tell me where I can find that information

  Thank you very much..
  Nancy.

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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: Jsp Parameters [Urgent!]

2002-03-11 Thread Gary Noone

Nancy--

Rough code:

In Valida.jsp)

openWindow("Portal.jsp?" + paramA + "=" + valueA);


In Portal.jsp:

<% String value = request.getParameter("paramA"); %>


leftframe.location.href = "windowContent.jsp?param=<%= value %>


Apologies for small mistakes in the code -- but you should get the general
idea. Drop me a line if this does not help.

Gary


-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Nancy Crisóstomo
Sent: 11 March 2002 15:30
To: [EMAIL PROTECTED]
Subject: Jsp Parameters [Urgent!]


Hi everybody!
Please I need help,...

  This is not a Tomcat question, but I know here I can find some JSP
  experts:

  Could you tell me all the ways I could send (safe) parameters from a jsp
  to a jsp file? Please discard the url parameters and the Session object...

  I have a jsp (Valida.jsp) which opens a new navigator window (javascript),
and that new navigator window contents another jsp
  (Portal.jsp).  I need to send some parameters from Valida.jsp to
Portal.jsp. In fact the second Jsp is formed by frames and one of the
  frames has a jsp (Left.jsp) that needs those parameters...

  Could you please help me? Give some hints or examples...  I really need
  your help.. Or if you couldn't, please tell me where I can find that
information

  Thank you very much..
  Nancy.

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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: Jsp Parameters [Urgent!]

2002-03-11 Thread Nancy Crisostomo Martinez

Thank you very much for your answers!

But Gary : ,
 Do you mean the URL parameters is the only way to pass parameters from a jsp
(script code) to another jsp?
 This is because I need to pass the password and username as parameters... Is this
safe?
 I really want to find the safest way to pass them..


And Peter : ,
   I said I don't want to use the session object because I don't know if it is
safe. Do I have to use it?, is it safe?



Thank you again!




Gary Noone wrote:

> Nancy--
>
> Rough code:
>
> In Valida.jsp)
> 
> openWindow("Portal.jsp?" + paramA + "=" + valueA);
> 
>
> In Portal.jsp:
>
> <% String value = request.getParameter("paramA"); %>
>
> 
> leftframe.location.href = "windowContent.jsp?param=<%= value %>
> 
>
> Apologies for small mistakes in the code -- but you should get the general
> idea. Drop me a line if this does not help.
>
> Gary
>
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Nancy Crisóstomo
> Sent: 11 March 2002 15:30
> To: [EMAIL PROTECTED]
> Subject: Jsp Parameters [Urgent!]
>
> Hi everybody!
> Please I need help,...
>
>   This is not a Tomcat question, but I know here I can find some JSP
>   experts:
>
>   Could you tell me all the ways I could send (safe) parameters from a jsp
>   to a jsp file? Please discard the url parameters and the Session object...
>
>   I have a jsp (Valida.jsp) which opens a new navigator window (javascript),
> and that new navigator window contents another jsp
>   (Portal.jsp).  I need to send some parameters from Valida.jsp to
> Portal.jsp. In fact the second Jsp is formed by frames and one of the
>   frames has a jsp (Left.jsp) that needs those parameters...
>
>   Could you please help me? Give some hints or examples...  I really need
>   your help.. Or if you couldn't, please tell me where I can find that
> information
>
>   Thank you very much..
>   Nancy.
>
> ===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com
>
> ===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com

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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: Jsp Parameters [Urgent!]

2002-03-11 Thread Peter Claesson (EUS)

Nancy,

Does the user enter the userid and password in the valida.jsp? If so,
then it is safe to use javascript to pass the information to another jsp page.
Both what Gar and I suggest would work. The ony other thing is how much
you want to shield jsp pages from functions in other jsp pages. This is where
a message system would come in to play. The other thing to consider is how
this information is sent to the server. In order to be safe here, you need to use SSL.
Otherwise, network monitors can easily pick out the data.

/Peter

-Original Message-
From: Nancy Crisostomo Martinez [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 11, 2002 8:30 AM
To: [EMAIL PROTECTED]
Subject: Re: Jsp Parameters [Urgent!]


Thank you very much for your answers!

But Gary : ,
 Do you mean the URL parameters is the only way to pass parameters from a jsp
(script code) to another jsp?
 This is because I need to pass the password and username as parameters... Is this
safe?
 I really want to find the safest way to pass them..


And Peter : ,
   I said I don't want to use the session object because I don't know if it is
safe. Do I have to use it?, is it safe?



Thank you again!




Gary Noone wrote:

> Nancy--
>
> Rough code:
>
> In Valida.jsp)
> 
> openWindow("Portal.jsp?" + paramA + "=" + valueA);
> 
>
> In Portal.jsp:
>
> <% String value = request.getParameter("paramA"); %>
>
> 
> leftframe.location.href = "windowContent.jsp?param=<%= value %>
> 
>
> Apologies for small mistakes in the code -- but you should get the general
> idea. Drop me a line if this does not help.
>
> Gary
>
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Nancy Crisóstomo
> Sent: 11 March 2002 15:30
> To: [EMAIL PROTECTED]
> Subject: Jsp Parameters [Urgent!]
>
> Hi everybody!
> Please I need help,...
>
>   This is not a Tomcat question, but I know here I can find some JSP
>   experts:
>
>   Could you tell me all the ways I could send (safe) parameters from a jsp
>   to a jsp file? Please discard the url parameters and the Session object...
>
>   I have a jsp (Valida.jsp) which opens a new navigator window (javascript),
> and that new navigator window contents another jsp
>   (Portal.jsp).  I need to send some parameters from Valida.jsp to
> Portal.jsp. In fact the second Jsp is formed by frames and one of the
>   frames has a jsp (Left.jsp) that needs those parameters...
>
>   Could you please help me? Give some hints or examples...  I really need
>   your help.. Or if you couldn't, please tell me where I can find that
> information
>
>   Thank you very much..
>   Nancy.
>
> ===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com
>
> ===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com

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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: Jsp Parameters [Urgent!]

2002-03-11 Thread Paul Balanoiu

In case you want to use the "JSP" solution, the answer is "use the session" :). You 
don't even need a browser that can handle cookies, you can use
the "jsessionid" parameter in the url.
I belive this is the safest way.
If the parameters should be managed from the JSP (you did not specify if the JSP 
should handle those parameters or the HTML, javascript or
whatever client code you may think of) then you have the following alternatives to 
session stored data: the context parameters, a database, a file.
If the parameters are for client side use only (i.e. the machine that loads the html 
generated by the JSP files), then I suggest to use cookies.
Paul

11.03.2002 17:30:11, Nancy Crisóstomo <[EMAIL PROTECTED]> wrote:

>Hi everybody!
>Please I need help,...
>
>  This is not a Tomcat question, but I know here I can find some JSP
>  experts:
>
>  Could you tell me all the ways I could send (safe) parameters from a jsp
>  to a jsp file? Please discard the url parameters and the Session object...
>
>  I have a jsp (Valida.jsp) which opens a new navigator window (javascript), and that 
>new navigator window contents another jsp
>  (Portal.jsp).  I need to send some parameters from Valida.jsp to Portal.jsp. In 
>fact the second Jsp is formed by frames and one of the
>  frames has a jsp (Left.jsp) that needs those parameters...
>
>  Could you please help me? Give some hints or examples...  I really need
>  your help.. Or if you couldn't, please tell me where I can find that information
>
>  Thank you very much..
>  Nancy.
>
>===
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
> http://archives.java.sun.com/jsp-interest.html
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.jsp
> http://www.jguru.com/faq/index.jsp
> http://www.jspinsider.com
>
>


Paul Balanoiu
Bucharest, Romania

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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: Jsp Parameters [Urgent!]

2002-03-11 Thread Paul Balanoiu

When you say "safe" you mean:
1. safe from the client that uses the pages, in order not to adjust his rights, for 
example? or
2. safe from the people that might try to steal confidential data from the users of 
your site?

1. In the first case the session is the safest way (because the data is managed on the 
server, no client can directly "touch" it).
2. Use SSL. It's unsafe even if you make your own socket connections. "They" :) still 
might get it.
Anyway, using the session you can choose to delete the data at any time (simply 
invalidating the session).
The session's purpose is the use in pages like you described.

Paul


11.03.2002 18:29:39, Nancy Crisostomo Martinez <[EMAIL PROTECTED]> wrote:

>Thank you very much for your answers!
>
>But Gary : ,
> Do you mean the URL parameters is the only way to pass parameters from a jsp
>(script code) to another jsp?
> This is because I need to pass the password and username as parameters... Is this
>safe?
> I really want to find the safest way to pass them..
>
>
>And Peter : ,
>   I said I don't want to use the session object because I don't know if it is
>safe. Do I have to use it?, is it safe?
>
>
>
>Thank you again!
>
>
>
>
>Gary Noone wrote:
>
>> Nancy--
>>
>> Rough code:
>>
>> In Valida.jsp)
>> 
>> openWindow("Portal.jsp?" + paramA + "=" + valueA);
>> 
>>
>> In Portal.jsp:
>>
>> <% String value = request.getParameter("paramA"); %>
>>
>> 
>> leftframe.location.href = "windowContent.jsp?param=<%= value %>
>> 
>>
>> Apologies for small mistakes in the code -- but you should get the general
>> idea. Drop me a line if this does not help.
>>
>> Gary
>>
>> -Original Message-
>> From: A mailing list about Java Server Pages specification and reference
>> [mailto:[EMAIL PROTECTED]]On Behalf Of Nancy Crisóstomo
>> Sent: 11 March 2002 15:30
>> To: [EMAIL PROTECTED]
>> Subject: Jsp Parameters [Urgent!]
>>
>> Hi everybody!
>> Please I need help,...
>>
>>   This is not a Tomcat question, but I know here I can find some JSP
>>   experts:
>>
>>   Could you tell me all the ways I could send (safe) parameters from a jsp
>>   to a jsp file? Please discard the url parameters and the Session object...
>>
>>   I have a jsp (Valida.jsp) which opens a new navigator window (javascript),
>> and that new navigator window contents another jsp
>>   (Portal.jsp).  I need to send some parameters from Valida.jsp to
>> Portal.jsp. In fact the second Jsp is formed by frames and one of the
>>   frames has a jsp (Left.jsp) that needs those parameters...
>>
>>   Could you please help me? Give some hints or examples...  I really need
>>   your help.. Or if you couldn't, please tell me where I can find that
>> information
>>
>>   Thank you very much..
>>   Nancy.
>>
>> ===
>> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>> JSP-INTEREST".
>> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
>> DIGEST".
>> Some relevant FAQs on JSP/Servlets can be found at:
>>
>>  http://archives.java.sun.com/jsp-interest.html
>>  http://java.sun.com/products/jsp/faq.html
>>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>>  http://www.jguru.com/faq/index.jsp
>>  http://www.jspinsider.com
>>
>> ===
>> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
>> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
>> Some relevant FAQs on JSP/Servlets can be found at:
>>
>>  http://archives.java.sun.com/jsp-interest.html
>>  http://java.sun.com/products/jsp/faq.html
>>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>>  http://www.jguru.com/faq/index.jsp
>>  http://www.jspinsider.com
>
>===
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
> http://archives.java.sun.com/jsp-interest.html
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.jsp
> http://www.jguru.com/faq/index.jsp
> http://www.jspinsider.com
>
>


Paul Balanoiu
Bucharest, Romania

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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: Jsp Parameters [Urgent!]

2002-03-11 Thread Gary Noone

Nancy--

The only way to pass data from Javascript (to my knowledge) is through a URL
or post etc. Maybe variations exist such as using hidden fields on forms
etc -- however, these all revolve around opening a HTML/JSP page with query
/ post data.

If your data already exists in the Java world, then you can simply access
the session data as pointed out by Paul in  his previous post.

Gary


-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Paul Balanoiu
Sent: 11 March 2002 16:40
To: [EMAIL PROTECTED]
Subject: Re: Jsp Parameters [Urgent!]


When you say "safe" you mean:
1. safe from the client that uses the pages, in order not to adjust his
rights, for example? or
2. safe from the people that might try to steal confidential data from the
users of your site?

1. In the first case the session is the safest way (because the data is
managed on the server, no client can directly "touch" it).
2. Use SSL. It's unsafe even if you make your own socket connections. "They"
:) still might get it.
Anyway, using the session you can choose to delete the data at any time
(simply invalidating the session).
The session's purpose is the use in pages like you described.

Paul


11.03.2002 18:29:39, Nancy Crisostomo Martinez <[EMAIL PROTECTED]>
wrote:

>Thank you very much for your answers!
>
>But Gary : ,
> Do you mean the URL parameters is the only way to pass parameters from a
jsp
>(script code) to another jsp?
> This is because I need to pass the password and username as parameters...
Is this
>safe?
> I really want to find the safest way to pass them..
>
>
>And Peter : ,
>   I said I don't want to use the session object because I don't know if it
is
>safe. Do I have to use it?, is it safe?
>
>
>
>Thank you again!
>
>
>
>
>Gary Noone wrote:
>
>> Nancy--
>>
>> Rough code:
>>
>> In Valida.jsp)
>> 
>> openWindow("Portal.jsp?" + paramA + "=" + valueA);
>> 
>>
>> In Portal.jsp:
>>
>> <% String value = request.getParameter("paramA"); %>
>>
>> 
>> leftframe.location.href = "windowContent.jsp?param=<%=
value %>
>> 
>>
>> Apologies for small mistakes in the code -- but you should get the
general
>> idea. Drop me a line if this does not help.
>>
>> Gary
>>
>> -Original Message-
>> From: A mailing list about Java Server Pages specification and reference
>> [mailto:[EMAIL PROTECTED]]On Behalf Of Nancy Crisóstomo
>> Sent: 11 March 2002 15:30
>> To: [EMAIL PROTECTED]
>> Subject: Jsp Parameters [Urgent!]
>>
>> Hi everybody!
>> Please I need help,...
>>
>>   This is not a Tomcat question, but I know here I can find some JSP
>>   experts:
>>
>>   Could you tell me all the ways I could send (safe) parameters from a
jsp
>>   to a jsp file? Please discard the url parameters and the Session
object...
>>
>>   I have a jsp (Valida.jsp) which opens a new navigator window
(javascript),
>> and that new navigator window contents another jsp
>>   (Portal.jsp).  I need to send some parameters from Valida.jsp to
>> Portal.jsp. In fact the second Jsp is formed by frames and one of the
>>   frames has a jsp (Left.jsp) that needs those parameters...
>>
>>   Could you please help me? Give some hints or examples...  I really need
>>   your help.. Or if you couldn't, please tell me where I can find that
>> information
>>
>>   Thank you very much..
>>   Nancy.
>>
>>
===
>> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>> JSP-INTEREST".
>> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
>> DIGEST".
>> Some relevant FAQs on JSP/Servlets can be found at:
>>
>>  http://archives.java.sun.com/jsp-interest.html
>>  http://java.sun.com/products/jsp/faq.html
>>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>>  http://www.jguru.com/faq/index.jsp
>>  http://www.jspinsider.com
>>
>>
===
>> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
>> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
>> Some relevant FAQs on JSP/Servlets can be found at:
>>
>>  http://archives.java.sun.com/jsp-interest.html
>>  http://java.sun.com/products/jsp/faq.html
>>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>>  http://www.jguru.com/faq/index.jsp
>>  http://www.jspinsider.com
>
>===
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
> http://archives.java.sun.com/jsp-interest.html
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.jsp
> http://www.jguru.com/faq/index.jsp
> http://www.jspinsider.com
>
>

---

Re: where can i find a free ide

2002-03-11 Thread Bruce Geerdes

Sven Hohage wrote:

> Isn't forte the follow-up of netbeans after sun has taken over??

Forte (http://www.sun.com/forte/ffj) is Sun's version of NetBeans, but NetBeans is
still alive and well as its own open source product.

Bruce



> - Original Message -
> From: "dave" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, March 07, 2002 3:02 PM
> Subject: Re: where can i find a free ide
>
> > An excellent one is NetBean, open-source, working on Windows, Linux,
> > MacOsX, Solaris.
> > A bit heavy (huge memory consumption) but stable, efficient.
> > http://www.netbeans.org/
> >
> >
> >
> >
> > Thursday, March 07, 2002, 8:38:17 AM, tu écrivais:
> >
> > simon> where can i find a free java ide.. something like kawa.
> >
> > simon>

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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Visual page layout and custom JSP tags with height and width

2002-03-11 Thread Steve Bang

One of the stated goals for JSP custom tags is to make it easy for web page
designers to work on JSP pages without having to know Java.  Yet, it seems
that current visual page editors do not support any way to visually
represent custom tags that represent GUI components.  Thus, if you add a
custom tag like this:

   

to a JSP page, when viewed in design mode nothing appears on the page in the
visual editor.  This makes it difficult for a web page designer to visually
layout a page without resorting to placing a  tag (which can then have
background colors or borders) around a custom tag for a GUI component with
height and width attributes.

Are any of you encountering this issue?  If so, how are you dealing with it?
How do you think this issue should be handled by an IDE?  Do you know of any
that do?

Thanks,
Steve

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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Error Response Page

2002-03-11 Thread Donald J. Zijm

Hi All,

I am trying to get an error response page to work without much luck.

Here is what I have:

My index.jsp page has the following line of code

<%@ page errorPage="error.jsp" %>

when an error occurs I want my "error.jsp" page to load and display the
error.

My "error.jsp" page looks like this:



Error



<%@page isErrorPage="true" %>
<%@page session="false" %>
Sorry!
  The following Error Occurred:
<%= exception.getmessage() %>
 



Problem is I can't get this page to load when I create an error in my
index.jsp page.

Any Ideas?

Thanks in advance.

Don




Luminous Solutions LLC

Donald J. Zijm
[EMAIL PROTECTED]
www.luminoussolutions.com
PO Box 595
Totowa, NJ
07511-0595 USA

Phone: 201-678-1965
Mobile: 201-390-5585

Associate Member of the FileMaker Solutions Alliance


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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: Visual page layout and custom JSP tags with height and width

2002-03-11 Thread Maurice Munoz

Why would you want designer to work on jsp page to begin with?
Shouldn' they be designing?


- Original Message -
From: "Steve Bang" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 11, 2002 3:47 PM
Subject: Visual page layout and custom JSP tags with height and width


> One of the stated goals for JSP custom tags is to make it easy for web
page
> designers to work on JSP pages without having to know Java.  Yet, it seems
> that current visual page editors do not support any way to visually
> represent custom tags that represent GUI components.  Thus, if you add a
> custom tag like this:
>
>
>
> to a JSP page, when viewed in design mode nothing appears on the page in
the
> visual editor.  This makes it difficult for a web page designer to
visually
> layout a page without resorting to placing a  tag (which can then
have
> background colors or borders) around a custom tag for a GUI component with
> height and width attributes.
>
> Are any of you encountering this issue?  If so, how are you dealing with
it?
> How do you think this issue should be handled by an IDE?  Do you know of
any
> that do?
>
> Thanks,
> Steve
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com

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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: Error Response Page

2002-03-11 Thread Chris Pratt

Make sure your error.jsp page includes the proper JSP header:

<%@ page isErrorPage="true"%>

(*Chris*)

- Original Message -
From: "Donald J. Zijm" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 11, 2002 3:36 PM
Subject: [JSP-INTEREST] Error Response Page


> Hi All,
>
> I am trying to get an error response page to work without much luck.
>
> Here is what I have:
>
> My index.jsp page has the following line of code
>
> <%@ page errorPage="error.jsp" %>
>
> when an error occurs I want my "error.jsp" page to load and display the
> error.
>
> My "error.jsp" page looks like this:
>
> 
> 
> Error
> 
>
> 
> <%@page isErrorPage="true" %>
> <%@page session="false" %>
> Sorry!
>   The following Error Occurred:
> <%= exception.getmessage() %>
>  
> 
> 
>
> Problem is I can't get this page to load when I create an error in my
> index.jsp page.
>
> Any Ideas?
>
> Thanks in advance.
>
> Don
>
>
>
> 
> Luminous Solutions LLC
>
> Donald J. Zijm
> [EMAIL PROTECTED]
> www.luminoussolutions.com
> PO Box 595
> Totowa, NJ
> 07511-0595 USA
>
> Phone: 201-678-1965
> Mobile: 201-390-5585
>
> Associate Member of the FileMaker Solutions Alliance
> 
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: Visual page layout and custom JSP tags with height and width

2002-03-11 Thread Chris Pratt

Designing Web Content is exactly what they should be doing.  And since a JSP
is just glorified web content, that should be their job.  But when you throw
in managing Java Beans and Java scriplets, its usually beyond most web
designers.  That's where Custom TagLib's come in.  It makes the capabilities
of JSP available to any web designer.  You simply give them a small document
that tells them the extra tags that are available and what attributes they
understand and the web designer can go to town making the web site look
professional without breaking the scriplets.  The only drawback is that the
page design tools haven't caught up with the JSP TagLib technology.

(*Chris*)

- Original Message -
From: "Maurice Munoz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 11, 2002 12:49 PM
Subject: Re: [JSP-INTEREST] Visual page layout and custom JSP tags with
height and width


> Why would you want designer to work on jsp page to begin with?
> Shouldn' they be designing?
>
>
> - Original Message -
> From: "Steve Bang" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, March 11, 2002 3:47 PM
> Subject: Visual page layout and custom JSP tags with height and width
>
>
> > One of the stated goals for JSP custom tags is to make it easy for web
> page
> > designers to work on JSP pages without having to know Java.  Yet, it
seems
> > that current visual page editors do not support any way to visually
> > represent custom tags that represent GUI components.  Thus, if you add a
> > custom tag like this:
> >
> >
> >
> > to a JSP page, when viewed in design mode nothing appears on the page in
> the
> > visual editor.  This makes it difficult for a web page designer to
> visually
> > layout a page without resorting to placing a  tag (which can then
> have
> > background colors or borders) around a custom tag for a GUI component
with
> > height and width attributes.
> >
> > Are any of you encountering this issue?  If so, how are you dealing with
> it?
> > How do you think this issue should be handled by an IDE?  Do you know of
> any
> > that do?
> >
> > Thanks,
> > Steve
> >
> >
>
===
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
> >  http://archives.java.sun.com/jsp-interest.html
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.jsp
> >  http://www.jguru.com/faq/index.jsp
> >  http://www.jspinsider.com
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: Error Response Page

2002-03-11 Thread Donald J. Zijm

Chris,

<%@ page isErrorPage="true"%>

is in the error.jsp page so I so I don't think this is the answer to the
problem

Thanks for your response

Don




-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Chris Pratt
Sent: Monday, March 11, 2002 12:53 PM
To: [EMAIL PROTECTED]
Subject: Re: Error Response Page


Make sure your error.jsp page includes the proper JSP header:

<%@ page isErrorPage="true"%>

(*Chris*)

- Original Message -
From: "Donald J. Zijm" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 11, 2002 3:36 PM
Subject: [JSP-INTEREST] Error Response Page


> Hi All,
>
> I am trying to get an error response page to work without much luck.
>
> Here is what I have:
>
> My index.jsp page has the following line of code
>
> <%@ page errorPage="error.jsp" %>
>
> when an error occurs I want my "error.jsp" page to load and display the
> error.
>
> My "error.jsp" page looks like this:
>
> 
> 
> Error
> 
>
> 
> <%@page isErrorPage="true" %>
> <%@page session="false" %>
> Sorry!
>   The following Error Occurred:
> <%= exception.getmessage() %>
>  
> 
> 
>
> Problem is I can't get this page to load when I create an error in my
> index.jsp page.
>
> Any Ideas?
>
> Thanks in advance.
>
> Don
>
>
>
> 
> Luminous Solutions LLC
>
> Donald J. Zijm
> [EMAIL PROTECTED]
> www.luminoussolutions.com
> PO Box 595
> Totowa, NJ
> 07511-0595 USA
>
> Phone: 201-678-1965
> Mobile: 201-390-5585
>
> Associate Member of the FileMaker Solutions Alliance
> 
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: Visual page layout and custom JSP tags with height and width

2002-03-11 Thread LaPlante, Bryan

That is an age old dilemma. The solution that we have come up with takes
advantage of the wizard markup language and visual tool markup language
offered in Cold Fusion Studio or (HomeSite). It is still not drag-n-drop but
you can educate the designer as to how you want a particular component used
and or just create a wizard that walks them through the process. If you want
to use a free tool for creating the tag editors for Studio or HomeSite feel
free to use this one.

http://www.netwebapps.com/mytags/main.cfm

Bryan LaPlante

-Original Message-
From: Maurice Munoz [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 11, 2002 2:50 PM
To: [EMAIL PROTECTED]
Subject: Re: Visual page layout and custom JSP tags with height and
width


Why would you want designer to work on jsp page to begin with?
Shouldn' they be designing?


- Original Message -
From: "Steve Bang" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 11, 2002 3:47 PM
Subject: Visual page layout and custom JSP tags with height and width


> One of the stated goals for JSP custom tags is to make it easy for web
page
> designers to work on JSP pages without having to know Java.  Yet, it seems
> that current visual page editors do not support any way to visually
> represent custom tags that represent GUI components.  Thus, if you add a
> custom tag like this:
>
>
>
> to a JSP page, when viewed in design mode nothing appears on the page in
the
> visual editor.  This makes it difficult for a web page designer to
visually
> layout a page without resorting to placing a  tag (which can then
have
> background colors or borders) around a custom tag for a GUI component with
> height and width attributes.
>
> Are any of you encountering this issue?  If so, how are you dealing with
it?
> How do you think this issue should be handled by an IDE?  Do you know of
any
> that do?
>
> Thanks,
> Steve
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com

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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: Visual page layout and custom JSP tags with height and width

2002-03-11 Thread Haseltine, Celeste

Although Web designers should theoretically be able to use JSP tags just as
they do HTML tags, I have not found this to be the case in reality.  For one
thing, you need a servlet server to "view" the resulting HTML code that is
generated when the JSP is compiled.  We use JRUN Studio to do this in our
shop, but it requires a developer to install and configure JRUN studio, and
set up the necessary "development mappings", so that a JSP page can be
"viewed/compiled" to HTML format.  Added to that, the design view that JRUN
Studio contains will throw up and error message if a designer tries to view
any page that includes JSP tags, basically stating that the view contains
dynamic tags that cannot be saved/viewed using the designer pane, which
makes the designer pane worthless for JSP development.  Added to the
confusion, when an  HTML designer inadvertently uses a JSP tag incorrectly,
(an example being nested JSP tags), the resulting servlet compilier error
message(s) completely confuse any designer.  Designer are use to viewing
what they are working on, and the fact that they cannot view a JSP document
that contains JSP tags as they do an HTML document tends to frustrate them.
Bottom line, we have not been able to successfully implement this type of
"development business model" in our shop.

I know that many high level managers would like to believe that a lower paid
designer can use JSP tags just like HTML tags, freeing up the higher paid
development staff to do just development.  But we have never been able to
successfully implement that type of business model.  Basically, we let the
designers mock up the HTML pages, formatting the pages, working up the
layout of the page/site and placing images where they belong using "dummy"
info when necessary, or sometimes hard coded data within the HTML form.
Then the development team takes those HTML files, and converts them to JSP
pages using JSP tags to populate the HTML forms.  In fact, we have found
this to be a good entry level developer type of position, vs using people
who have no development experience, only HTML/graphic arts experience.  And
it sure reduces the frustration level of the staff.

If anyone else has been able to successfully implement this business model
without frustrating both your design and development staff, I'd be
interested in knowing how you did so, and what development tools you are
using.

Celeste

-Original Message-
From: Chris Pratt [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 11, 2002 2:57 PM
To: [EMAIL PROTECTED]
Subject: Re: Visual page layout and custom JSP tags with height and
width


Designing Web Content is exactly what they should be doing.  And since a JSP
is just glorified web content, that should be their job.  But when you throw
in managing Java Beans and Java scriplets, its usually beyond most web
designers.  That's where Custom TagLib's come in.  It makes the capabilities
of JSP available to any web designer.  You simply give them a small document
that tells them the extra tags that are available and what attributes they
understand and the web designer can go to town making the web site look
professional without breaking the scriplets.  The only drawback is that the
page design tools haven't caught up with the JSP TagLib technology.

(*Chris*)

- Original Message -
From: "Maurice Munoz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 11, 2002 12:49 PM
Subject: Re: [JSP-INTEREST] Visual page layout and custom JSP tags with
height and width


> Why would you want designer to work on jsp page to begin with?
> Shouldn' they be designing?
>
>
> - Original Message -
> From: "Steve Bang" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, March 11, 2002 3:47 PM
> Subject: Visual page layout and custom JSP tags with height and width
>
>
> > One of the stated goals for JSP custom tags is to make it easy for web
> page
> > designers to work on JSP pages without having to know Java.  Yet, it
seems
> > that current visual page editors do not support any way to visually
> > represent custom tags that represent GUI components.  Thus, if you add a
> > custom tag like this:
> >
> >
> >
> > to a JSP page, when viewed in design mode nothing appears on the page in
> the
> > visual editor.  This makes it difficult for a web page designer to
> visually
> > layout a page without resorting to placing a  tag (which can then
> have
> > background colors or borders) around a custom tag for a GUI component
with
> > height and width attributes.
> >
> > Are any of you encountering this issue?  If so, how are you dealing with
> it?
> > How do you think this issue should be handled by an IDE?  Do you know of
> any
> > that do?
> >
> > Thanks,
> > Steve
> >
> >
>
===
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGES

Re: Error Response Page

2002-03-11 Thread Means, Garann R.

Don,

If you don't have it there already, maybe you need to add the error page
information to your web.xml file. This diagram (section 4) has a nice visual
representation of the dtd:
http://www.javaranch.com/carl/scwcd/servlet2.3dd.jsp

I can't get Sun's descriptor to load, but I believe it's
http://java.sun.com/dtd/web-app_2_3.dtd.

Hope that helps,
g.

-Original Message-
From: Donald J. Zijm [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 11, 2002 4:10 PM
To: [EMAIL PROTECTED]
Subject: Re: Error Response Page


Chris,

<%@ page isErrorPage="true"%>

is in the error.jsp page so I so I don't think this is the answer to the
problem

Thanks for your response

Don




-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Chris Pratt
Sent: Monday, March 11, 2002 12:53 PM
To: [EMAIL PROTECTED]
Subject: Re: Error Response Page


Make sure your error.jsp page includes the proper JSP header:

<%@ page isErrorPage="true"%>

(*Chris*)

- Original Message -
From: "Donald J. Zijm" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 11, 2002 3:36 PM
Subject: [JSP-INTEREST] Error Response Page


> Hi All,
>
> I am trying to get an error response page to work without much luck.
>
> Here is what I have:
>
> My index.jsp page has the following line of code
>
> <%@ page errorPage="error.jsp" %>
>
> when an error occurs I want my "error.jsp" page to load and display the
> error.
>
> My "error.jsp" page looks like this:
>
> 
> 
> Error
> 
>
> 
> <%@page isErrorPage="true" %>
> <%@page session="false" %>
> Sorry!
>   The following Error Occurred:
> <%= exception.getmessage() %>
>  
> 
> 
>
> Problem is I can't get this page to load when I create an error in my
> index.jsp page.
>
> Any Ideas?
>
> Thanks in advance.
>
> Don
>
>
>
> 
> Luminous Solutions LLC
>
> Donald J. Zijm
> [EMAIL PROTECTED]
> www.luminoussolutions.com
> PO Box 595
> Totowa, NJ
> 07511-0595 USA
>
> Phone: 201-678-1965
> Mobile: 201-390-5585
>
> Associate Member of the FileMaker Solutions Alliance
> 
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: Visual page layout and custom JSP tags with height and width

2002-03-11 Thread Maurice Munoz

I have seen this type of model which work well also

Designer = responsible with the visual attractiveness of site [graphic,
photos, etc]
Sitebuilder = responsible with the gui implementation [browser compatability
from 3.0 user to 6.0], taking the design and breaking them into html pages
making sure that the html doesn't break the design, adding some interactive
features, like javascript etc and making sure those are compatable etc.
Developer = responsible with creating the functionality of the site etc and
importing their code into the deisgn which was stress test for compatability

But then you have some issues of new browsers coming out with disabling
javascript and certain flash object tags and active x scrpting, depending on
your companies policy with using these some have found these to be weakness
for security concerns.

Since most web pages now are becoming heavily involved on the server side
and you tend to give the developer more responsibility, esp on the backend
doing validation of the frontend.


- Original Message -
From: "Haseltine, Celeste" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 11, 2002 4:47 PM
Subject: Re: Visual page layout and custom JSP tags with height and width


> Although Web designers should theoretically be able to use JSP tags just
as
> they do HTML tags, I have not found this to be the case in reality.  For
one
> thing, you need a servlet server to "view" the resulting HTML code that is
> generated when the JSP is compiled.  We use JRUN Studio to do this in our
> shop, but it requires a developer to install and configure JRUN studio,
and
> set up the necessary "development mappings", so that a JSP page can be
> "viewed/compiled" to HTML format.  Added to that, the design view that
JRUN
> Studio contains will throw up and error message if a designer tries to
view
> any page that includes JSP tags, basically stating that the view contains
> dynamic tags that cannot be saved/viewed using the designer pane, which
> makes the designer pane worthless for JSP development.  Added to the
> confusion, when an  HTML designer inadvertently uses a JSP tag
incorrectly,
> (an example being nested JSP tags), the resulting servlet compilier error
> message(s) completely confuse any designer.  Designer are use to viewing
> what they are working on, and the fact that they cannot view a JSP
document
> that contains JSP tags as they do an HTML document tends to frustrate
them.
> Bottom line, we have not been able to successfully implement this type of
> "development business model" in our shop.
>
> I know that many high level managers would like to believe that a lower
paid
> designer can use JSP tags just like HTML tags, freeing up the higher paid
> development staff to do just development.  But we have never been able to
> successfully implement that type of business model.  Basically, we let the
> designers mock up the HTML pages, formatting the pages, working up the
> layout of the page/site and placing images where they belong using "dummy"
> info when necessary, or sometimes hard coded data within the HTML form.
> Then the development team takes those HTML files, and converts them to JSP
> pages using JSP tags to populate the HTML forms.  In fact, we have found
> this to be a good entry level developer type of position, vs using people
> who have no development experience, only HTML/graphic arts experience.
And
> it sure reduces the frustration level of the staff.
>
> If anyone else has been able to successfully implement this business model
> without frustrating both your design and development staff, I'd be
> interested in knowing how you did so, and what development tools you are
> using.
>
> Celeste
>
> -Original Message-
> From: Chris Pratt [mailto:[EMAIL PROTECTED]]
> Sent: Monday, March 11, 2002 2:57 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Visual page layout and custom JSP tags with height and
> width
>
>
> Designing Web Content is exactly what they should be doing.  And since a
JSP
> is just glorified web content, that should be their job.  But when you
throw
> in managing Java Beans and Java scriplets, its usually beyond most web
> designers.  That's where Custom TagLib's come in.  It makes the
capabilities
> of JSP available to any web designer.  You simply give them a small
document
> that tells them the extra tags that are available and what attributes they
> understand and the web designer can go to town making the web site look
> professional without breaking the scriplets.  The only drawback is that
the
> page design tools haven't caught up with the JSP TagLib technology.
>
> (*Chris*)
>
> - Original Message -
> From: "Maurice Munoz" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, March 11, 2002 12:49 PM
> Subject: Re: [JSP-INTEREST] Visual page layout and custom JSP tags with
> height and width
>
>
> > Why would you want designer to work on jsp page to begin with?
> > Shouldn' they be designing?
> >
> >
> >

Re: Jsp Parameters [Urgent!]

2002-03-11 Thread Richie Bab A. Boyboy

use window.opener -this is the parent window

Nancy Crisóstomo wrote:

>
>
>To:   [EMAIL PROTECTED]
>cc:
>Subject:  Jsp Parameters [Urgent!]
>
>
>Hi everybody!
>Please I need help,...
>
>  This is not a Tomcat question, but I know here I can find some JSP
>  experts:
>
>  Could you tell me all the ways I could send (safe) parameters from a jsp
>  to a jsp file? Please discard the url parameters and the Session
>object...
>
>  I have a jsp (Valida.jsp) which opens a new navigator window
>(javascript), and that new navigator window contents another jsp
>  (Portal.jsp).  I need to send some parameters from Valida.jsp to
>Portal.jsp. In fact the second Jsp is formed by frames and one of the
>  frames has a jsp (Left.jsp) that needs those parameters...
>
>  Could you please help me? Give some hints or examples...  I really need
>  your help.. Or if you couldn't, please tell me where I can find that
>information
>
>  Thank you very much..
>  Nancy.
>
>===
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
>DIGEST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
> http://archives.java.sun.com/jsp-interest.html
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.jsp
> http://www.jguru.com/faq/index.jsp
> http://www.jspinsider.com
>
>

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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



SMTP in Websphere 4.0

2002-03-11 Thread It, Cockpit (CAP, Contractor)

Hi Friends,
I need to send mail from my jsp page. I have code to send mail. But my need
is, is there a default SMTP server available in Websphere Application Server
4.0. The admin server has provision to create the mail session. Is that
enough for me to send mail or Should I have to have a separate SMTP server
to send mails..?


Please reply...

Regards
Yogaraj


"THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE
ADDRESSEE and may contain confidential and privileged information.
If the reader of this message is not the intended recipient,
you are notified that any dissemination, distribution or copy of this
communication is strictly Prohibited.
If you have received this message by error, please notify us
immediately, return the original mail to the sender and delete the
message from your system."

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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: SMTP in Websphere 4.0

2002-03-11 Thread Maurice Munoz

I do know if there is a default smtp server with websphere, but if it a
application server , most likely it does not have it

You can either download an smtp server via the net and as long you configure
it correctly your smtp should work.

Your setting on your smtp should match what your code has to access it
for example
props.put("mail.smtp.host", "mail.yourwebsite.com");


- Original Message -
From: "It, Cockpit (CAP, Contractor)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 12, 2002 12:14 AM
Subject: SMTP in Websphere 4.0


> Hi Friends,
> I need to send mail from my jsp page. I have code to send mail. But my
need
> is, is there a default SMTP server available in Websphere Application
Server
> 4.0. The admin server has provision to create the mail session. Is that
> enough for me to send mail or Should I have to have a separate SMTP server
> to send mails..?
>
>
> Please reply...
>
> Regards
> Yogaraj
>
>
> "THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE
> ADDRESSEE and may contain confidential and privileged information.
> If the reader of this message is not the intended recipient,
> you are notified that any dissemination, distribution or copy of this
> communication is strictly Prohibited.
> If you have received this message by error, please notify us
> immediately, return the original mail to the sender and delete the
> message from your system."
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com

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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



exception from database

2002-03-11 Thread Maurice Munoz

Does anyone know where I can find a list of possible error this exception can list.

catch (Exception e)
{
  e.printStackTrace ();
}

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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com