include file outside the web server

2002-07-10 Thread Josep R. Raurell

Hello.

I want store the user and the password, for access a database, in a
file. And for security reasons I want to put outside the web directories.

Its posible to do this with JSP ?.
(I try with include, but is relative to the page, and it seems is not
possible to do this).

Maybe there is a better form to avoid to put the user and the password
in the code ???.


Thanks.
Josep R. Raurell.

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



users with active sessions

2002-10-09 Thread Josep R. Raurell

Hello,

I have a variable sesion named "username".

I want know who is on my server reading these variables.

Is this possible ???

Thanks
Josep R. Raurell

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



graph library

2002-11-13 Thread Josep R. Raurell
Hello,

I am searching for a library to do "on the fly" graphs from a database,
I found some librarys, but I can get it works in tomcat.

Somebody is working with one library an can give me an example ??

Thanks.
Josep R. Raurell

===
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: graph library

2002-11-13 Thread Josep R. Raurell
Charts, like you can do with "excel" from a series of data.


En/na ROLDAN, Gabriel raul ha escrit:


do you mean some king of charts?

what kind of "graphics" do you want to obtain from a database? image fields
or
generate charts from database contents?



-Mensaje original-
De: Josep R. Raurell [mailto:josep@;AKO.ES]
Enviado el: miércoles, 13 de noviembre de 2002 12:11
Para: [EMAIL PROTECTED]
Asunto: graph library


Hello,

I am searching for a library to do "on the fly" graphs from a database,
I found some librarys, but I can get it works in tomcat.

Somebody is working with one library an can give me an example ??

Thanks.
Josep R. Raurell

===
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: How to export data to excel sheet from JSP

2002-11-27 Thread Josep R. Raurell
You must use csv format: a text file with values separated with ";" or tabs.



En/na Murali Mohan ha escrit:


Hi,

How to export data to excel sheet from JSP?

Any Idea???

Thanks,
Murali

===
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: Should I use standalone Tomcat or Tomcat with Apache

2002-11-27 Thread Josep R. Raurell
I think that 2 servers may be 2 problems about security, if you only
need one, better use only one.

Josep R. Raurell

===
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: Porting application from tomcat3.3.1 to 3.2.3

2002-11-29 Thread Josep R. Raurell
Hello,

I am not sure if is the same problem, but I must append this at the
beggining of the script catalina.sh to get tomcat working ok.
(in a SuSE 7.0 linux)

RC_LANG="es_ES"
export RC_LANG
LANG="es_ES"
export LANG


Josep R. Raurell


En/na Deepak ha escrit:


Hi all

I have a jsp application running on Tomcat 3.3.1 in one linux machine.
( Machine1)
This jsp app uses Internationalization to deal with the Japanese language.
The backend db used is mysql and I frequently insert, update and retireve
japanese data to/from the db.

Today I deployed the application in another linux machine running Tomcat
3.2.3 (which is actually my Client's server)( Machine2)

To my horror I discovered that all the japanese data stored in the db are now
displayed as ' ?' marks like this '??' !

The db is the same one in Machine1.
Only the app has been moved to Machine2

The problem is seen only with japanese data retrieved from the db.
The japanese words from the resourcebundle are displayed perfectly.

If I have not made myself clear please do tell me so.
Can somebody please explain whats going on here?
I am at my wits end.

Thank you
Deepak

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

2002-12-17 Thread Josep R. Raurell
You can put this in your code:

session.setMaxInactiveInterval(time); // time in seconds


Josep R. Raurell


En/na Kenny G. Dubuisson, Jr. ha escrit:


I have a site written in JSP that uses session info to validate user's
sessions.  I want to change the default timeout of the session from 60 mins
but I'm not sure what is controlling this or how/where to change it.  Here
is more info to help figure this out...if anyone has any ideas I would
greatly appreciate it.

My initial JSP page has a login which, when validated, sets a cookie that
stores the session ID.  Every page thereafter, upon initial load, checks the
current session ID against this cookie and if they don't match, the user is
directed to re-login.  My users want a longer timeout but I'm not sure where
to control this (maybe this question is for the Tomcat listI just don't
know).

Thanks,
Kenny

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

2002-12-17 Thread Josep R. Raurell




I only use a session variable,  Tomcat does the cookie work, and I only check
if the user variable exist in the session.

After the time of inactivity, Tomcat closes the session and the user must
revalidate.

I dont know if is the same that you do.



Josep


En/na Kenny G. Dubuisson, Jr. ha escrit:

  Will this keep it from generating a new session ID every 60 mins?  Thanks
for the quick response.
Kenny

- Original Message -
From: "Josep R. Raurell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 17, 2002 10:24 AM
Subject: Re: session timeout setting


  
  
You can put this in your code:

session.setMaxInactiveInterval(time); // time in seconds


Josep R. Raurell


En/na Kenny G. Dubuisson, Jr. ha escrit:



  I have a site written in JSP that uses session info to validate user's
sessions.  I want to change the default timeout of the session from 60
  

  
  mins
  
  

  but I'm not sure what is controlling this or how/where to change it.
  

  
  Here
  
  

  is more info to help figure this out...if anyone has any ideas I would
greatly appreciate it.

My initial JSP page has a login which, when validated, sets a cookie that
stores the session ID.  Every page thereafter, upon initial load, checks
  

  
  the
  
  

  current session ID against this cookie and if they don't match, the user
  

  
  is
  
  

  directed to re-login.  My users want a longer timeout but I'm not sure
  

  
  where
  
  

  to control this (maybe this question is for the Tomcat listI just
  

  
  don't
  
  

  know).

Thanks,
Kenny

  

===


  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: problem using chart component

2003-03-04 Thread Josep R. Raurell
The problem is that te virtual machine can't connect with the xserver
(for do some graphics work).
There are diferent sol.lucions. If you have jsdk1.4, you can put this in
your code (the first time, later d'ont work):
System.setProperty("java.awt.headless","true");

Other solucion is allow virtual machine connect with the xserver, you
must found the information about in internet.
Josep R. Raurell

En/na Amit Gautam ha escrit:

i m facing a problem while using a chart component in the Linux environment.
it says "error connecting to X11 server, problem in DISPLAY setting:locahost:0.0"
any ideas?

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

http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
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 archives, FAQs and Forums on JSPs can be found at:

http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
http://www.jspinsider.com