Re: What is Display environment variable to see applet on Unix te rminal

2002-11-14 Thread Snehal Pandya
It 's not working
-

The secret of getting ahead is getting started.
The secret of getting start is
breaking your complex overwhelming
tasks into small manageable tasks,
and then starting on the first one.

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



FW: Rejected posting to JSP-INTEREST@JAVA.SUN.COM

2002-11-14 Thread Vikramjit Singh
> -Original Message-
> From: Daniel [mailto:daniel@;MUSTANG-TECHNOLOGIES.COM]
> Sent: Wednesday, November 13, 2002 4:03 PM
> To: [EMAIL PROTECTED]
> Subject: Thread Doubt and Multi User Environment
>
>
> Hi,
>
> I have a JSP code like this and this is converted into a servlet. What
> happens when multiple user tries to access the code, I have
> written the
> jsp code down and the servlet equivalent is also given. Is it a bad to
> write the variables as private. What happens when multiple user try to
> access the same jsp page.
>
>
> Is it safe for multi user environment?

JSP/Servlet are multi threaded, so it is pretty much safe for multi-user
env. If you dont want multi threaded then you can implement the
SingleThreadModel, but that shall slow down your application.

>
> Is it really a bad code for multi user environment? Since the
> variables
> are declared private!

No, i dont think so. In fact you are in accordance with OOPS encapsulation.
Which says that the memeber variables should be private, and you can have
get and set methods for the variables.

>
>
Hope it helps.

> Regards,
> Daniel.E

Vikram.
>
Disclaimer: This e-mail message along with any attachments is intended only
for the addressee and may contain confidential and privileged information of
GTL Limited. 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: Thread Doubt and Multi User Environment

2002-11-14 Thread Vikramjit Singh
SORRY FOR THE EARLIER MAIL WITH DIFF. SUBJECT.

> -Original Message-
> From: Vikramjit Singh [mailto:vikramjits@;GTLLIMITED.COM]
> Sent: Thursday, November 14, 2002 3:13 PM
> To: [EMAIL PROTECTED]
> Subject: FW: Rejected posting to [EMAIL PROTECTED]
>
>
> > -Original Message-
> > From: Daniel [mailto:daniel@;MUSTANG-TECHNOLOGIES.COM]
> > Sent: Wednesday, November 13, 2002 4:03 PM
> > To: [EMAIL PROTECTED]
> > Subject: Thread Doubt and Multi User Environment
> >
> >
> > Hi,
> >
> > I have a JSP code like this and this is converted into a
> servlet. What
> > happens when multiple user tries to access the code, I have
> > written the
> > jsp code down and the servlet equivalent is also given. Is
> it a bad to
> > write the variables as private. What happens when multiple
> user try to
> > access the same jsp page.
> >
> >
> > Is it safe for multi user environment?
>
> JSP/Servlet are multi threaded, so it is pretty much safe for
> multi-user
> env. If you dont want multi threaded then you can implement the
> SingleThreadModel, but that shall slow down your application.
>
> >
> > Is it really a bad code for multi user environment? Since the
> > variables
> > are declared private!
>
> No, i dont think so. In fact you are in accordance with OOPS
> encapsulation.
> Which says that the memeber variables should be private, and
> you can have
> get and set methods for the variables.
>
> >
> >
> Hope it helps.
>
> > Regards,
> > Daniel.E
>
> Vikram.
> >
> Disclaimer: This e-mail message along with any attachments is
> intended only
> for the addressee and may contain confidential and privileged
> information of
> GTL Limited. 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
>
Disclaimer: This e-mail message along with any attachments is intended only
for the addressee and may contain confidential and privileged information of
GTL Limited. 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



Filters+Tomcat4.0.3

2002-11-14 Thread Jagan K Samuel
Hi

When i use filter tag in Tomcat 4.0.3 in the repective application's
web.xml
caching problem occurs. Anyone has an idea for a solution?

With Best Regards
Jagan K Samuel

Disclaimer:
"The information in this e-mail is intended only for the person or
entity to which it is addressed and may contain confidential and/or
privileged material. It should not be used by anyone who is not the
original intended recipient. If you have erroneously received this
message, please delete it immediately and notify the sender. The
recipient acknowledges that IBS or IBS Group like any other large
global corporation, are unable to exercise total control or ensure or
guarantee the integrity of contents of the information contained in
individual e-mail transmissions and the recipient acknowledges that
any views expressed in this message may be those of the individual
sender and no binding nature of the message shall be implied or
assumed unless the sender does so expressly with due authority of IBS
Group. Before opening any attachments please check them for viruses
and defects."

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



HTML: Get Method: Query String Length Check

2002-11-14 Thread ARVIND S, Infosys
Hi all,

We are submitting a HTML form using GET method.

Before submitting we need to find out whether the query string in the URL
exceeds the maximum limit.

The query string also contains multi byte charachters (like
japanese,chinbese,korean... characters).

Any pointers on, How to do the same?

Regards,
Arvind

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



RV: jsp+servlet+bean

2002-11-14 Thread f
hi!
sorry, but my english isn't good. i'm from southamerica, and this is my
first message to the list. my question is: what's the difference between
a jsp page, a servlet and a bean are similar, or different???
thanks.

felipe silva
mail: [EMAIL PROTECTED]
site corporativo: http://www.fsm.cl 
site personal: http://www.fsm.cl/zoo/zoo.html
(09) 5114855

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



Special characters- how to handle them?

2002-11-14 Thread Anoop Kumar V
Hi,

We have an application made using jsp, servlets and beans. Recently we
noticed some text with special characters does not show up properly.
What we are doing is - populate a textbox with data that is served from
an oracle database. The data looks fine on a normal html page but we
noticed that the data has been corrupted in the textbox.

Here is some french characters that show up as '&'

est restraint aux societes d'assurance et aux intermediaires et en
acceptant ces termes et conditions, vous declarez que vous êtes ou
représentez une société d'assurance ou un
intermédiaire d'assurances dûment autorisé. Veuillez
noter que l'information que vous 

Can somebody please guide me how to solve this problem.
We use ATG Dynamo as application server with iPlanet as web server.

-Anoop

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



session object and secure server

2002-11-14 Thread Alireza Nahavandi
Hi everybody,

First of all thank you all for responding to my previous questions.

I have a problem for using SSL. There is a session object passing to a jsp
page in secure server. When coming back from
secure server I'll lose the content of the object. Does anybody know how to
keep the object's content ?

Thank you in advance

===
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: trivial error...tomcat 4.1.12...

2002-11-14 Thread Padhu Vinirs
I dont see this email posted. So trying again...


Padhu Vinirs wrote:



I was not getting this error before. It has started suddenly today.

An error occurred at line: 5 in the jsp file: /jsp/testBean.jsp

Generated servlet error:
   [javac] Compiling 1 source file

/home/pady/jakarta-tomcat-4.1.12/work/Standalone/localhost/jcwcd/jsp/testBean_jsp.java:7:
'.' expected
import TestBean;


I have the class "TestBean" in WEB-INF/classes. It does not have a
package. This was working fine till now.


Any ideas ?


-- padhu





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



trivial error...tomcat 4.1.12...

2002-11-14 Thread Padhu Vinirs
I was not getting this error before. It has started suddenly today.

An error occurred at line: 5 in the jsp file: /jsp/testBean.jsp

Generated servlet error:
   [javac] Compiling 1 source file

/home/pady/jakarta-tomcat-4.1.12/work/Standalone/localhost/jcwcd/jsp/testBean_jsp.java:7: '.' expected
import TestBean;


I have the class "TestBean" in WEB-INF/classes. It does not have a package. This was working fine till now.


Any ideas ?


-- padhu

===
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: trivial error...tomcat 4.1.12...

2002-11-14 Thread Karr, David
In short, don't use the default package.  Put all of your classes in
packages.

> -Original Message-
> From: Padhu Vinirs [mailto:p.padhu@;VERIZON.NET]
> Sent: Thursday, November 14, 2002 7:22 AM
> To: [EMAIL PROTECTED]
> Subject: trivial error...tomcat 4.1.12...
> 
> 
> I was not getting this error before. It has started suddenly today.
> 
> An error occurred at line: 5 in the jsp file: /jsp/testBean.jsp
> 
> Generated servlet error:
> [javac] Compiling 1 source file
> 
> /home/pady/jakarta-tomcat-4.1.12/work/Standalone/localhost/jcw
> cd/jsp/testBean_jsp.java:7: '.' expected
> import TestBean;
> 
> 
> I have the class "TestBean" in WEB-INF/classes. It does not 
> have a package. This was working fine till now.
> 
> 
> Any ideas ?
> 
> 
> -- padhu
> 
> ==
> =
> 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: trivial error...tomcat 4.1.12...

2002-11-14 Thread Padhu Vinirs
Strangely, it works once I put in a package. Whatever

Thanks


-- padhu



Karr, David wrote:


In short, don't use the default package.  Put all of your classes in
packages.




-Original Message-
From: Padhu Vinirs [mailto:p.padhu@;VERIZON.NET]
Sent: Thursday, November 14, 2002 7:22 AM
To: [EMAIL PROTECTED]
Subject: trivial error...tomcat 4.1.12...


I was not getting this error before. It has started suddenly today.

An error occurred at line: 5 in the jsp file: /jsp/testBean.jsp

Generated servlet error:
   [javac] Compiling 1 source file

/home/pady/jakarta-tomcat-4.1.12/work/Standalone/localhost/jcw
cd/jsp/testBean_jsp.java:7: '.' expected
import TestBean;


I have the class "TestBean" in WEB-INF/classes. It does not
have a package. This was working fine till now.


Any ideas ?


-- padhu

==
=
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: session object and secure server

2002-11-14 Thread Augustin, Priscilla
In netscape, if you are not using the default port for http and https, when
it switches from http to https or  from https to http a new session object
will be created. This because the  session cookie includes the port no. too.
To avoid this, try setting the cookieDomain to the hostname. In weblogic
environment, it can be set in weblogic.xml config file



CookieDomain


myCookieDomain




Hope this helps,

-Priscilla

-Original Message-
From: Alireza Nahavandi [mailto:alireza@;TELEPAGES.CA]
Sent: Thursday, November 14, 2002 8:01 AM
To: [EMAIL PROTECTED]
Subject: session object and secure server


Hi everybody,

First of all thank you all for responding to my previous questions.

I have a problem for using SSL. There is a session object passing to a jsp
page in secure server. When coming back from
secure server I'll lose the content of the object. Does anybody know how to
keep the object's content ?

Thank you in advance

===
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: trivial error...tomcat 4.1.12...

2002-11-14 Thread Hans Bergsten
Padhu Vinirs wrote:

I was not getting this error before. It has started suddenly today.

An error occurred at line: 5 in the jsp file: /jsp/testBean.jsp

Generated servlet error:
   [javac] Compiling 1 source file

/home/pady/jakarta-tomcat-4.1.12/work/Standalone/localhost/jcwcd/jsp/testBean_jsp.java:7:
'.' expected
import TestBean;


I have the class "TestBean" in WEB-INF/classes. It does not have a
package. This was working fine till now.


Any ideas ?


You have upgraded to JDK 1.4. See here for details:

  

Hans
--
Hans Bergsten<[EMAIL PROTECTED]>
Gefion Software   
Author of O'Reilly's "JavaServer Pages", covering JSP 1.2 and JSTL 1.0
Details at

===
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: trivial error...tomcat 4.1.12...

2002-11-14 Thread Padhu Vinirs
Thanks. You are right. I moved to 1.4 last week. And I learnt about this
bug/enhancement  last month. Just didnt put the two together.

-- padhu



Hans Bergsten wrote:


Padhu Vinirs wrote:


I was not getting this error before. It has started suddenly today.

An error occurred at line: 5 in the jsp file: /jsp/testBean.jsp

Generated servlet error:
   [javac] Compiling 1 source file

/home/pady/jakarta-tomcat-4.1.12/work/Standalone/localhost/jcwcd/jsp/testBean_jsp.java:7:

'.' expected
import TestBean;


I have the class "TestBean" in WEB-INF/classes. It does not have a
package. This was working fine till now.


Any ideas ?



You have upgraded to JDK 1.4. See here for details:

  

Hans
--
Hans Bergsten<[EMAIL PROTECTED]>
Gefion Software   
Author of O'Reilly's "JavaServer Pages", covering JSP 1.2 and JSTL 1.0
Details at

===

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: Special characters- how to handle them?

2002-11-14 Thread Augustin, Priscilla
try setting the charset to ISO-8859-1

Content-Type: text/html; charset=ISO-8859-1


-Priscilla


-Original Message-
From: Anoop Kumar V [mailto:akumar@;SAPIENT.COM]
Sent: Thursday, November 14, 2002 7:18 AM
To: [EMAIL PROTECTED]
Subject: Special characters- how to handle them?


Hi,

We have an application made using jsp, servlets and beans. Recently we
noticed some text with special characters does not show up properly.
What we are doing is - populate a textbox with data that is served from
an oracle database. The data looks fine on a normal html page but we
noticed that the data has been corrupted in the textbox.

Here is some french characters that show up as '&'

est restraint aux societes d'assurance et aux intermediaires et en
acceptant ces termes et conditions, vous declarez que vous êtes ou
représentez une société d'assurance ou un
intermédiaire d'assurances dûment autorisé. Veuillez
noter que l'information que vous

Can somebody please guide me how to solve this problem.
We use ATG Dynamo as application server with iPlanet as web server.

-Anoop

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



Apache Flaws

2002-11-14 Thread KEITH KOSMICKI
November 14, 2002 
Apache Flaws Being Exploited 
By Ryan Naraine 
The Apache HTTP Server Project has warned that several security holes in the Apache 
source are being actively exploited on the Internet, urging IT managers to urgently 
upgrade to version 1.3.27 or 2.0.43 or higher. 
It is the second warning from the open-source project, which is used by more than 60 
percent of Web servers on the Net. Because most of the vulnerable code is shared 
between the Apache and Apache-Perl packages, the flaws are shared as well, Apache 
warned. 
The latest warning, posted on the BugTraq mailing list, highlights a scoreboard memory 
segment overwriting vulnerability that could lead to denial-of-service (DoS) attacks. 
This vulnerability allows an attacker to execute code under the Apache UID to exploit 
the Apache shared memory scoreboard format and send a signal to any process as root or 
cause a local denial of service attack, Apache warned. 
Apache said the recent Linux/Apache/mod_ssl/OpenSSL slapper worm continues to exploit 
a problem in the OpenSSLsource code and not a problem specific to the Apache HTTP 
Server source code. Affected users are urged to upgrade the OpenSSL library and not 
the HTTP Server. 
"If you are running an SSL-enabled web server using OpenSSL, upgrade to at least 
version 0.9.6e of OpenSSL and recompile all applications that use OpenSSL," the 
organization said. 
Other vulnerabilities still being exploited on servers that haven't been upgraded 
include: 
· A cross site scripting bug in the default 404 page of any web server hosted on a 
domain that allows wildcard DNS lookups 
· Possible overflows in the utility ApacheBench (ab) which could be exploited by a 
malicious server 
· A race condition in the htpasswd and htdigest program enables a malicious local 
user to read or even modify the contents of a password file or easily create and 
overwrite files as the user running the htpasswd (or htdigest respectively) program 
· htpasswd and htdigest in Apache 2.0a9, 1.3.14, and others allows local users to 
overwrite arbitrary files via a symlink attack 
· Several buffer overflows in the ApacheBench (ab) utility that could be exploited 
by a remote server returning very long strings 



Keith E. Kosmicki
Applications Consultant
State of IL Human Services
STL Technology Partners

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



Can anyone help.......??

2002-11-14 Thread T.M
How to get started runing jsp pages?What server do I need and how to set it up




-
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site

===
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: Can anyone help.......??

2002-11-14 Thread Karr, David
The easiest choice is Apache Tomcat, which you can read about and
download at the following URL:
http://jakarta.apache.org/tomcat/index.html

You should install the latest released version of version 4.1.  There is
good documentation on installing it and running simple pages.  Past
that, you have a lot of reading to do.

> -Original Message-
> From: T.M [mailto:tm5004@;YAHOO.COM]
> 
> How to get started runing jsp pages?What server do I need and 
> how to set it up

==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: Can anyone help.......??

2002-11-14 Thread T.M
Thanks David .
I will check it out.

--- "Karr, David" <[EMAIL PROTECTED]> wrote:
> The easiest choice is Apache Tomcat, which you can
> read about and
> download at the following URL:
> http://jakarta.apache.org/tomcat/index.html
>
> You should install the latest released version of
> version 4.1.  There is
> good documentation on installing it and running
> simple pages.  Past
> that, you have a lot of reading to do.
>
> > -Original Message-
> > From: T.M [mailto:tm5004@;YAHOO.COM]
> >
> > How to get started runing jsp pages?What server do
> I need and
> > how to set it up
>
>
==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!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.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



Data Source on Tomcat 4.1

2002-11-14 Thread Hakan BARISIK
With Tomcat 4.1 it is possible to define Datasource
for the specifiv application and reach that resource
using JNDI lookup function.

Do you know how connection requests are managed. Are
they queued ?  We have an application using limited
number of connections( only 3). Do you think it is
possible to use datasource definitions with

MaxWaitConnection property set to  5000 to demultiplex
database query request from JSPs. What would you
recommend us to use for demultiplexing the database
request through limited connections. We want to
implement a gateway but this will take time. Is there
any available functionality or component to implement
this ?

Thank you very much.


Hakan BARISIK

http://careers.yahoo.com.au - Yahoo! Careers
- 1,000's of jobs waiting online for you!

===
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: changing port 8080 to 80 on Linux.

2002-11-14 Thread [EMAIL PROTECTED]
put in a redirect all traffic from port 80 to 8080 by using ipchains or some
firewall software. Or you can install apache 1 or 2 and do a perminate
redirect that way to

Ryder Saint

Watanabe Giichi Seisakusho
Japan
- Original Message -
From: "Srinu.Reddy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 13, 2002 6:32 PM
Subject: Re: changing port 8080 to 80 on Linux.


> Hi Luis,
>
> Thanks for the response. All my pages are JSP pages. Can you pls eloborate
> little more on it. I mean what steps should I take. It will be a great
help
> to me.
> Thank You,
>
> Srinu
>
> -Original Message-
> From: Luis Cornide Arce [mailto:lcornide@;ALMABIOINFO.COM]
> Sent: Wednesday, November 13, 2002 3:07 PM
> To: [EMAIL PROTECTED]
> Subject: Re: changing port 8080 to 80 on Linux.
>
>
> Hi Srinu
>
> All the aplications that use any port from 1 to 1024 must have root
> permisions. The usual way to do what you want to do is to install apache
> and connect it with Tomcat, the apache will serve all the HTML files,
> images, (no serverside elements) and when he recieves a request of a JSP
> page or servlet it will pass that request to tomcat, so the average
> reponse time of your web aplication will be better.
>
> Luis
>
> Srinu.Reddy wrote:
>
> >Hi All,
> >
> > I am hosting my JSP's in Tomcat 4.0.1 on Linux. By default tomcat uses
> 8080
> >port but I want to change it to 80, so that I can give only the URL in
the
> >browser, instead of URL:8080, to connect to the WEB site.
> >I changed the port in the server.xml file but it doesn't seems to work in
> >Linux but it is working on Windows 2000.
> >
> >Can anyone give any Idea??
> >
> >Regards,
> >
> >Srinu...
> >
>
>===
> >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: changing port 8080 to 80 on Linux.

2002-11-14 Thread Srinu.Reddy
Hi Ryder,

Can U pls tell me how to redirect from apache to tomecat or what settings I
need to do. If you can send a link where i can that information. It will be
great help.

Thank You

Srinu...

-Original Message-
From: r-saint@watanbe [mailto:r-saint@;WATANABE-GIICHI.COM]
Sent: Friday, November 15, 2002 5:52 AM
To: [EMAIL PROTECTED]
Subject: Re: changing port 8080 to 80 on Linux.


put in a redirect all traffic from port 80 to 8080 by using ipchains or some
firewall software. Or you can install apache 1 or 2 and do a perminate
redirect that way to

Ryder Saint

Watanabe Giichi Seisakusho
Japan
- Original Message -
From: "Srinu.Reddy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 13, 2002 6:32 PM
Subject: Re: changing port 8080 to 80 on Linux.


> Hi Luis,
>
> Thanks for the response. All my pages are JSP pages. Can you pls eloborate
> little more on it. I mean what steps should I take. It will be a great
help
> to me.
> Thank You,
>
> Srinu
>
> -Original Message-
> From: Luis Cornide Arce [mailto:lcornide@;ALMABIOINFO.COM]
> Sent: Wednesday, November 13, 2002 3:07 PM
> To: [EMAIL PROTECTED]
> Subject: Re: changing port 8080 to 80 on Linux.
>
>
> Hi Srinu
>
> All the aplications that use any port from 1 to 1024 must have root
> permisions. The usual way to do what you want to do is to install apache
> and connect it with Tomcat, the apache will serve all the HTML files,
> images, (no serverside elements) and when he recieves a request of a JSP
> page or servlet it will pass that request to tomcat, so the average
> reponse time of your web aplication will be better.
>
> Luis
>
> Srinu.Reddy wrote:
>
> >Hi All,
> >
> > I am hosting my JSP's in Tomcat 4.0.1 on Linux. By default tomcat uses
> 8080
> >port but I want to change it to 80, so that I can give only the URL in
the
> >browser, instead of URL:8080, to connect to the WEB site.
> >I changed the port in the server.xml file but it doesn't seems to work in
> >Linux but it is working on Windows 2000.
> >
> >Can anyone give any Idea??
> >
> >Regards,
> >
> >Srinu...
> >
>
>===
> >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

===
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 sendRedirect textarea problem

2002-11-14 Thread Polgár István
Hi everybody,

I have a problem with using response.sendRedirect JSP command.
I have written an jsp application. The main jsp page ( sz.jsp ) contains
two select elements, a text element, a TEXTAREA element and a Submit button.
The submit button starts the next java script code:

 form.action="sz_i.jsp";
 form.submit();

The sz_i.jsp program inserts records into an oracle database, and at the end of the 
process
the program is finished with the following command: response.sendRedirect(...)

I created a javabean to read the request parameters of sz_i.jsp page.

import java.util.Enumeration;
import javax.servlet.http.*;

public class PostParamBean {
  String hova = null;
  Enumeration kulcsok;
  HttpServletRequest objektumom;

  public void setHova(String hova) {
   this.hova = hova;
  }

  public void setObjektumom(HttpServletRequest objektumom) {
   this.objektumom = objektumom;
  }

  public HttpServletRequest getObjektumom() {
   return objektumom;
  }

  public String getHova() {
   kulcsok = objektumom.getParameterNames();
   String param = hova;
   int elso = 0;

   while(kulcsok.hasMoreElements())
   {
  String kulcs = (String) kulcsok.nextElement();
  String ertek = objektumom.getParameterValues(kulcs)[0];
  if ( elso > 0 )
  {
 param = param + "&";
  }
  elso++;
  param = param + kulcs + "=" + ertek ;
   }
   return param;
  }
}

I called the bean from my application:





.
.
.
response.sendRedirect(postom.getHova());

My problem is the following:

- When I entered one row to the TEXTAREA field then my routine worked and
  performs the page again - so every process O.K.

  http://10.1.16.75:8180/hello2/sz.jsp?tbeall=first111%20first2&tfelhaz=710&tcege
  =78&tsapazon=sap&tkulso=1&tutana=&tmuvelet=0

- When I entered two or more rows to the TEXTAREA field then the sz.jsp page aborted.
  The string were cut by %0D%0A characters.  Is my javabean wrong ?

  http://10.1.16.75:8180/hello2/sz.jsp?tbeall=textaream

I looked at the header of sz_i.jsp program when the main program (sz.jsp) started the
sz_i.jsp program:

http://10.1.16.75:8180/hello2/sz_i.jsp?tmuvelet=0&tcege=78&tfelhaz=710&tkulso=1&t
sapazon=asdfadf&tbeall=first%0D%0Asecond&tutana=
The %0D%0A characters still right here.

Is there problem in my javabean ?

Thank you in advance

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