Re: Can somebody tell me if there is a way to automatically invalidate a session variable?

2001-05-07 Thread Sachin S. Khanna

session.removeAttribute("Name of  the session attribute");
It's a good practice to refer to the relevant java docs before posting a
query to the list.
Just an opinion :-).
Have a nice day.
With regards,
Sachin S. Khanna
http://www.emailanorder.com
- Original Message -
From: Lorena Carlo <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 07, 2001 11:00 PM
Subject: Can somebody tell me if there is a way to automatically invalidate
a session variable?


> Hello all,
>
> Can somebody tell me if there is a way to automatically invalidate a
session
> variable?, not the whole session, just a  variable, please answer me.
>
> Thanks in advance,
>
> Lorena Carlo
>
>
===
> 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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

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

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



Problem Session

2001-05-07 Thread Arun.N

Hi All,

Is there any way to track  the session if the client browser
doesn't support Cookies...
I used URL rewriting by i don't want my session id to be exposed...
Is there any way that i can store the session id as a header information and
get it back every time.. ?
The session id generated by tomcat(with apache) is very small
abt..10characters.. and i am getting
problem when implementing both url rewriting and Http session... the problem
is ...
when url is rewritten in a page .. its not considering it in the same
session the new page is having a diffrent session id... And the greatest bug
i saw is when in this is when cookies turned off it works fine if
cookies are ON then
there are two session for a client...
i mean the following code is giving me this output
---
All Your Cookies Contains...

<%

 Cookie c[]= request.getCookies();
 for(int i=0;i");
 }
%>
---
All Your Cookies Contains...
JSESSIONID 518xqr3oi1
JSESSIONID 9llkco3st1


there are two cookies with same name ? with diffrent value .. how is
this possible ...

Arun.N,
EximSoft Technologies,
Bangalore-78

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: how to load a fresh JSP page every time

2001-05-07 Thread Hamid

Hi,
response.setDateHeader("Expires",0);
response.setHeader("Pragma",no-cache);
if(response.getProtocol().equals("HTTP/1.1")){
response.setHeader("Cache-Control","no-cache");

}

Hamid Hsasan
Software Engineer

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Joe / NeoSoft
Sent: Monday, May 07, 2001 5:45 PM
To: [EMAIL PROTECTED]
Subject: how to load a fresh JSP page every time


Hi everybody,

We wanted to know how to load a fresh JSP page every time within the
browser.
Any reply regarding the above will be highly appreciated.

RAVI

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

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



java-XML -please help

2001-05-07 Thread hrishi m

  Hi ,

   Can anyone help me out in parsing an XML file using tinyXML DOM parser.
Please help.

Hrishi


Get free email and a permanent address at http://www.netaddress.com/?N=1

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



OAS

2001-05-07 Thread Manish Vohra

hi
anybody working on OAS server?
i just want to know whether it has  a console like weblogic or iis where i
can see my System.out.println lines.
thanx in advance
manish

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Sorting table columns

2001-05-07 Thread Shahaji Kadam.

Hi Sai,

if you don't want to use ORDER BY then you have to go for some other data
structure... like Hash Table, vector, or array.
But if you want to use SORTED recordset instead (without ORDER BY) then try
this -- take sorting column values (after the unsorted resultset is returned)
in Array and sort the array then according to sorted array "Build" the
recordset object again (same or new recordset)  use it.

I had done this in ASP using ADO . but not tried in JSP (or Java) ..
donno if it is possible here...if not then you have to go for array like
solution.

good luck.

Shahaji.Kadam

-Original Message-
From: Sairam.Kuppuswamy [SMTP:[EMAIL PROTECTED]]
Sent: May 07, 2001 10:56 PM
To: JSP-INTEREST
Cc: Sairam.Kuppuswamy
Subject: Re: Sorting table columns
Importance: High

I too am facing a similar problem, but the difference is I need to Sort the
column only with the fetched data set (The SQL Order By could not be used).
With this case I thought of
using an Hash Array for the fetched Data Set and then, on the User-Clicked
column (which would be a particular index of the Array), the Sort routine
should be working.

I am still working on it, but in vain.

If somebody has a better solution or the same solution, please extend your help
for this Sort functionality.

thanks in-advance.

Sai
mailto:[EMAIL PROTECTED]



-Original Message-
From: Paul Meshkovsky [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 07, 2001 1:16 PM
To: [EMAIL PROTECTED]
Subject: Re: Sorting table columns


It is probably resolved but I just want do add

  COLUMN NAME

you just have to add in your sql an order or group by clause where value of
filed will go

Paul.



> -Original Message-
> From: Zeltser, Mark [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, May 03, 2001 3:17 PM
> To:   [EMAIL PROTECTED]
> Subject:  Re: Sorting table columns
>
> One approach is to let database handle the sorting. You can pass a parameter
> (each column will represent different parameter) to store procedure which
> will return you new table sorted by specified column.
>
> Mark.
>
>
>
> > -Original Message-
> > From: Schulz Ryan C [SMTP:[EMAIL PROTECTED]]
> > Sent: Thursday, May 03, 2001 3:00 PM
> > To:   [EMAIL PROTECTED]
> > Subject:  Sorting table columns
> >
> > Has anyone had any experience using a servlet to sort table columns?  I'm
> > filling a table dynamically and I want to sort the results by columns with
> > the column headers being links that will sort the data in that particular
> > column.
> >
> > I would appreciate any feedback on this.
> >
> > ==
> > =
> > 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://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
> --
> This message is intended only for the personal and confidential use of the
> designated recipient(s) named above.  If you are not the intended recipient of
> this message you are hereby notified that any review, dissemination,
> distribution or copying of this message is strictly prohibited.  This
> communication is for information purposes only and should not be regarded as
> an offer to sell or as a solicitation of an offer to buy any financial
> product, an official confirmation of any transaction, or as an official
> statement of Lehman Brothers Inc.  Email transmission cannot be guaranteed to
> be secure or error-free.  Therefore, we do not represent that this information
> is complete or accurate and it should not be relied upon as such.  All
> information is subject to change without notice.
>
> ===
> 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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

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

Re: How can I expire a JSP FORM

2001-05-07 Thread Patrick Fong

I dont really follow the "token" concept. Can you illustrate your
explaination with some code?


Thanks in advance.
P.

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



jsp:getProperty, null and empty string

2001-05-07 Thread Dave Ford

Is there a way to tweak jsp:getProperty so that it returns %nbsp; if the
property is null or empty string?

Dave Ford

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: How can I expire a JSP FORM

2001-05-07 Thread Robert Nicholson

The way to handle this is that you have to generate a token and stick it
into the session when you generate the form. At the same time this token is
present in the form as a hidden field. Upon submission and successful
processing you remove the token from the session. When you check the token
that comes across in the form has to be the same as the one in the session
to be considered a "first submission" anything else is considered a
duplicate and therefore invalid submission.

What other ways are used to handle this scenario?

> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Lenin Lopez
> Sent: Monday, May 07, 2001 5:34 PM
> To: [EMAIL PROTECTED]
> Subject: How can I expire a JSP FORM
>
>
> Hi ALL,
>
> Basic question,
> How can I expire a file (JSP)   that has a form  so the user does not have
> the oprions to click the back button and resubmit the form
> thanks
>
> ==
> =
> 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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

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

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



How can I expire a JSP FORM

2001-05-07 Thread Lenin Lopez

Hi ALL,

Basic question,
How can I expire a file (JSP)   that has a form  so the user does not have
the oprions to click the back button and resubmit the form
thanks

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Database locked?

2001-05-07 Thread Shawn Zhu

haha...it's only confusing when you describe it.

put it in simple words (I think what's you've been trying to describe):
1. your app is the only app
that's accessing the DB;
2. you are trying to do read/write to the DB
3. you get table is locked error.

Solution:
someone has suggested,
1. close your DB connection after trieving the records.
2. reopen your db connection to update a record


> -Original Message-
> From: Ruaidhrí Fernandes [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 07, 2001 5:04 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Database locked?
>
>
> Hi again,
> It's a standalone application. Im writing a e-commerce
> web site for my final year project. I have tomcat
> running on my machine.It is the only application open.
> Do u know what i mean?
> Basically, one page pulls columns from a table and
> puts this information in forms so the user can edit
> the information on the web page. When the user hits
> the update button, the Update.jsp page is invoked and
> this pages tries updating the table with the values in
> the forms. But i keep getting that error message
> saying the data base is locked by the user who pulled
> the values from the table in the first page. Get me?
> Confusing stuff, i know.
> Let me know if you know anymore on this, and thanks
> for helping.
> Cheers
> Rui
>
> --- Shawn Zhu <[EMAIL PROTECTED]> wrote:
> > close your admin application that's using your
> > Access
> > database on machine 'RUI'.
> >
> > > -Original Message-
> > > From: Justin Owens [mailto:[EMAIL PROTECTED]]
> > > Sent: Monday, May 07, 2001 9:05 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: Database locked?
> > >
> > >
> > > You are running into a deadlock.  You are try to
> > access
> > > records/tables that
> > > are locked by the database.  There are a couple of
> > ways to
> > > remedy this.  The
> > > first one is to close your first connection and
> > recordset.  By closing
> > > these, it should free up resources.  I am not sure
> > of the
> > > syntax or if you
> > > can do this in java/jsp as I have just started
> > learning (my
> > > experience comes
> > > from ASP programming), it sounds like a readonly
> > lock on the database.
> > > There should be richer lock types than this.
> > >
> > > Justin
> > >
> > > -Original Message-
> > > From: A mailing list about Java Server Pages
> > specification
> > > and reference
> > > [mailto:[EMAIL PROTECTED]]On Behalf Of
> > Ruaidhrm Fernandes
> > > Sent: Monday, May 07, 2001 10:33 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Database locked?
> > >
> > >
> > > Hi all,
> > > I'm getting an error saying :
> > > java.sql.SQLException: [Microsoft][ODBC Microsoft
> > > Access 97 Driver] Couldn't update; currently
> > locked by
> > > user 'admin' on machine 'RUI'.
> > >
> > > What my program does is,I have a JSP page that
> > opens a
> > > connection with the database and retrieves fields
> > from
> > > a products table in my database and stores them in
> > > forms. This allows users to edit/delete/add
> > entries to
> > > the database. When the user clicks the submit
> > button
> > > it should invoke the Updatetable.jsp page.
> > > The Updatetable.jsp page creates another
> > connection
> > > and either updates/deletes/adds entries to the
> > same
> > > products table depending on what the users choice
> > was.
> > > When I click the submit button, i get the error at
> > the
> > > top of this e-mail.
> > > Does anyone know why this is happening?
> > > Thanks Rui
> > >
> > > =
> > > "If a rabbit's foot is so lucky,. what
> > happened to the rabbit?"
> > >
> > > __
> > > Do You Yahoo!?
> > > Yahoo! Auctions - buy the things you want at great
> > prices
> > > http://auctions.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://java.sun.com/products/jsp/faq.html
> > >  http://www.esperanto.org.nz/jsp/jspfaq.html
> > >
> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > >
> >
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> > >
> > >
> >
> ==
> > > =
> > > To unsubscribe: mailto [EMAIL PROTECTED] with
> > body:
> > > "signoff JSP-INTEREST".
> > > For digest: mailto [EMAIL PROTECTED] with
> > body: "set
> > > JSP-INTEREST DIGEST".
> > > Some relevant FAQs on JSP/Servlets can be found
> > at:
> > >
> > >  http://java.sun.com/products/jsp/faq.html
> > >  http://www.esperanto.org.nz/jsp/jspfaq.html
> > >
> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > >
> >
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> > >
> >
> >
> ===

Re: Database locked?

2001-05-07 Thread Ruaidhrí Fernandes

Hi again,
It's a standalone application. Im writing a e-commerce
web site for my final year project. I have tomcat
running on my machine.It is the only application open.
Do u know what i mean?
Basically, one page pulls columns from a table and
puts this information in forms so the user can edit
the information on the web page. When the user hits
the update button, the Update.jsp page is invoked and
this pages tries updating the table with the values in
the forms. But i keep getting that error message
saying the data base is locked by the user who pulled
the values from the table in the first page. Get me?
Confusing stuff, i know.
Let me know if you know anymore on this, and thanks
for helping.
Cheers
Rui

--- Shawn Zhu <[EMAIL PROTECTED]> wrote:
> close your admin application that's using your
> Access
> database on machine 'RUI'.
>
> > -Original Message-
> > From: Justin Owens [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, May 07, 2001 9:05 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Database locked?
> >
> >
> > You are running into a deadlock.  You are try to
> access
> > records/tables that
> > are locked by the database.  There are a couple of
> ways to
> > remedy this.  The
> > first one is to close your first connection and
> recordset.  By closing
> > these, it should free up resources.  I am not sure
> of the
> > syntax or if you
> > can do this in java/jsp as I have just started
> learning (my
> > experience comes
> > from ASP programming), it sounds like a readonly
> lock on the database.
> > There should be richer lock types than this.
> >
> > Justin
> >
> > -Original Message-
> > From: A mailing list about Java Server Pages
> specification
> > and reference
> > [mailto:[EMAIL PROTECTED]]On Behalf Of
> Ruaidhrm Fernandes
> > Sent: Monday, May 07, 2001 10:33 PM
> > To: [EMAIL PROTECTED]
> > Subject: Database locked?
> >
> >
> > Hi all,
> > I'm getting an error saying :
> > java.sql.SQLException: [Microsoft][ODBC Microsoft
> > Access 97 Driver] Couldn't update; currently
> locked by
> > user 'admin' on machine 'RUI'.
> >
> > What my program does is,I have a JSP page that
> opens a
> > connection with the database and retrieves fields
> from
> > a products table in my database and stores them in
> > forms. This allows users to edit/delete/add
> entries to
> > the database. When the user clicks the submit
> button
> > it should invoke the Updatetable.jsp page.
> > The Updatetable.jsp page creates another
> connection
> > and either updates/deletes/adds entries to the
> same
> > products table depending on what the users choice
> was.
> > When I click the submit button, i get the error at
> the
> > top of this e-mail.
> > Does anyone know why this is happening?
> > Thanks Rui
> >
> > =
> > "If a rabbit's foot is so lucky,. what
> happened to the rabbit?"
> >
> > __
> > Do You Yahoo!?
> > Yahoo! Auctions - buy the things you want at great
> prices
> > http://auctions.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://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >
>
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
> >
>
==
> > =
> > To unsubscribe: mailto [EMAIL PROTECTED] with
> body:
> > "signoff JSP-INTEREST".
> > For digest: mailto [EMAIL PROTECTED] with
> body: "set
> > JSP-INTEREST DIGEST".
> > Some relevant FAQs on JSP/Servlets can be found
> at:
> >
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >
>
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with
> body: "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body:
> "set JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


=
"If a rabbit's foot is so lucky,. what happened to the rabbit?"

__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EM

Re: Database locked?

2001-05-07 Thread Shawn Zhu

close your admin application that's using your Access
database on machine 'RUI'.

> -Original Message-
> From: Justin Owens [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 07, 2001 9:05 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Database locked?
>
>
> You are running into a deadlock.  You are try to access
> records/tables that
> are locked by the database.  There are a couple of ways to
> remedy this.  The
> first one is to close your first connection and recordset.  By closing
> these, it should free up resources.  I am not sure of the
> syntax or if you
> can do this in java/jsp as I have just started learning (my
> experience comes
> from ASP programming), it sounds like a readonly lock on the database.
> There should be richer lock types than this.
>
> Justin
>
> -Original Message-
> From: A mailing list about Java Server Pages specification
> and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Ruaidhrm Fernandes
> Sent: Monday, May 07, 2001 10:33 PM
> To: [EMAIL PROTECTED]
> Subject: Database locked?
>
>
> Hi all,
> I'm getting an error saying :
> java.sql.SQLException: [Microsoft][ODBC Microsoft
> Access 97 Driver] Couldn't update; currently locked by
> user 'admin' on machine 'RUI'.
>
> What my program does is,I have a JSP page that opens a
> connection with the database and retrieves fields from
> a products table in my database and stores them in
> forms. This allows users to edit/delete/add entries to
> the database. When the user clicks the submit button
> it should invoke the Updatetable.jsp page.
> The Updatetable.jsp page creates another connection
> and either updates/deletes/adds entries to the same
> products table depending on what the users choice was.
> When I click the submit button, i get the error at the
> top of this e-mail.
> Does anyone know why this is happening?
> Thanks Rui
>
> =
> "If a rabbit's foot is so lucky,. what happened to the rabbit?"
>
> __
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
> ==
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body:
> "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set
> JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

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

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



Re: Database locked?

2001-05-07 Thread Justin Owens

You are running into a deadlock.  You are try to access records/tables that
are locked by the database.  There are a couple of ways to remedy this.  The
first one is to close your first connection and recordset.  By closing
these, it should free up resources.  I am not sure of the syntax or if you
can do this in java/jsp as I have just started learning (my experience comes
from ASP programming), it sounds like a readonly lock on the database.
There should be richer lock types than this.

Justin

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Ruaidhrm Fernandes
Sent: Monday, May 07, 2001 10:33 PM
To: [EMAIL PROTECTED]
Subject: Database locked?


Hi all,
I'm getting an error saying :
java.sql.SQLException: [Microsoft][ODBC Microsoft
Access 97 Driver] Couldn't update; currently locked by
user 'admin' on machine 'RUI'.

What my program does is,I have a JSP page that opens a
connection with the database and retrieves fields from
a products table in my database and stores them in
forms. This allows users to edit/delete/add entries to
the database. When the user clicks the submit button
it should invoke the Updatetable.jsp page.
The Updatetable.jsp page creates another connection
and either updates/deletes/adds entries to the same
products table depending on what the users choice was.
When I click the submit button, i get the error at the
top of this e-mail.
Does anyone know why this is happening?
Thanks Rui

=
"If a rabbit's foot is so lucky,. what happened to the rabbit?"

__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

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



Database locked?

2001-05-07 Thread Ruaidhrí Fernandes

Hi all,
I'm getting an error saying :
java.sql.SQLException: [Microsoft][ODBC Microsoft
Access 97 Driver] Couldn't update; currently locked by
user 'admin' on machine 'RUI'.

What my program does is,I have a JSP page that opens a
connection with the database and retrieves fields from
a products table in my database and stores them in
forms. This allows users to edit/delete/add entries to
the database. When the user clicks the submit button
it should invoke the Updatetable.jsp page.
The Updatetable.jsp page creates another connection
and either updates/deletes/adds entries to the same
products table depending on what the users choice was.
When I click the submit button, i get the error at the
top of this e-mail.
Does anyone know why this is happening?
Thanks Rui

=
"If a rabbit's foot is so lucky,. what happened to the rabbit?"

__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



No Subject

2001-05-07 Thread Paul Meshkovsky

I hope your problem is solved but just incase yor best bet is to reinstall JSDK
x.x

Pasha


> -Original Message-
> From: Igor Zerbesi DIGEST [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, April 23, 2001 3:44 AM
> To:   [EMAIL PROTECTED]
> Subject:
>
> No before i have installed some trials Java IDE'S it was running good.It's
> true.
> Maybe the problem is whitin the CLASSPATH? What the right CLASSPATTH? Where
> it have to point?
> Why command line javac return me back that messages? Why it say that
> doesn't find java.dll and J2rt when exists?
> What's the registry-keys configuration?
>
> Thanks a lot...
> Ciao
>
> ===
> 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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

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



Is there a timer that i can use in a servlet

2001-05-07 Thread Lorena Carlo

Hello all,

Thanks to the people that helped me with the session variable expiration.
What I want to do now, is to expire just a session variable after certain
time automatically.

Thanks 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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



AW: mySQL with JSP

2001-05-07 Thread Michael Jäger

I'm not quite sure about JRun but I suppose it should be the same as with
Tomcat, because it is layed down in the Servlet specifications: If you need
database access only in your web-application, then just put the jar file in
the /WEB-INF/lib-directory of your web-application.
If this directory does not exist yet, simply create it.

So your directory structure should be similar to this:
jrun_path/webapps/your_webapp/WEB-INF/lib/*.jar (with your JSP in the
your_webapp directory).

When starting JRun, all jar files in this lib directory should automatically
be included in your classpath. However, I think this does not work with
Tomcat under Win98 and I do not know if it works with JRun/Win98.

Alternatively, you can just add the path to your jar file to the classpath
set in your autoexec.bat. If the there is no classpath set in your
autoexec.bat, simply add a line like:
set CLASSPATH=.;C:\path_to_the_jar_file
to the autoexec.bat file (and do not forget to restart your computer aver
having done so).

Good luck

Michael

-Ursprüngliche Nachricht-
Von: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]Im Auftrag von Supreme Being
Gesendet: Montag, 7. Mai 2001 06:53
An: [EMAIL PROTECTED]
Betreff: Re: AW: mySQL with JSP


>Simply include the jar file in your classpath and access your
>MySQL-databases through the classes of the JDBC-API.

thanks a lot. but can you tell me where exactly (as in, which folder?) do i
have to place my .jar file? i'm using the JRun server. where should i keep
the .jar file so that it's usable when include it in the classpath.

cheers,
T. Edison jr.




Are you a Hoboe?  Hobnob at http://www.hoboe.com
Click here -> http://www.hoboe.com Global Mail Access

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

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



Re: AW: get the calling URL

2001-05-07 Thread M. Simms

request.getHeader("referer");

NOTE THE SPELLING ABOVE IS CORRECT SYNTAX-WISE;
otherwise it is misspelled.

> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Joseph Ottinger
> Sent: Monday, May 07, 2001 6:53 AM
> To: [EMAIL PROTECTED]
> Subject: Re: AW: get the calling URL
>
>
> Yes, it's the referrer. However, I don't remember the exact name that the
> container uses for it; the environment variable for CGI is something like
> HTTP_REFERER or HTPP_REFERRER, and if memory serves, something's
> wonky about
> the name used. Rather than hand out faulty information based on an
> assumption, I figured I'd tell him to look it up in the headers himself,
> which will guarantee that he gets the right information with a minimum of
> work on my part, which is only as it should be. :)
>
>
> >From: Mayuresh Kadu <[EMAIL PROTECTED]>
> >Reply-To: A mailing list about Java Server Pages specification and
> > reference <[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED]
> >Subject: Re: AW: get the calling URL
> >Date: Sun, 6 May 2001 09:33:49 +0530
> >
> >I believe its called the REFERRER :)
> >
> >Mayuresh
> >
> >-Original Message-
> >From: A mailing list about Java Server Pages specification and reference
> >[mailto:[EMAIL PROTECTED]]On Behalf Of Joseph Ottinger
> >Sent: Saturday, May 05, 2001 01:52
> >To: [EMAIL PROTECTED]
> >Subject: Re: AW: get the calling URL
> >
> >
> >He was asking for the referring page, as I understand it, not
> the client IP
> >address, which is what RemoteAddr will be. There's a header attached to
> >such
> >things; I forget the exact syntax, but running through a snoop
> servlet and
> >dumping out header names and values will make it quite clear. It also
> >doesn't involve any parameter manipulation or anything like that.
> >
> >
> > >From: Ingo Oppelt <[EMAIL PROTECTED]>
> > >Reply-To: A mailing list about Java Server Pages specification and
> > > reference <[EMAIL PROTECTED]>
> > >To: [EMAIL PROTECTED]
> > >Subject: AW: get the calling URL
> > >Date: Fri, 4 May 2001 21:45:04 +0200
> > >
> > >hi charles,
> > >
> > >for your own pages, it's not that difficult to track down the 'calling
> > >page'.
> > >you simply have to attach the name of the calling page at the
> end of your
> > >link, for example
> > >
> > >[page1.jsp]
> > >
> > >
> > >and then read it from the request object like you did before
> > >
> > >[page2.jsp]
> > >request.getParameter("callingpage");
> > >
> > >there might be more sophisticated ways doing that but i am
> positive that
> > >this works.
> > >
> > >
> > >ohh, charles wait. there is a better way. i have just checked the
> >javadocs.
> > >try this:
> > >
> > >String callingpage = new Sting();
> > >callingpage = request.getRemoteAddr();
> > >
> > >the method should return the IP adress of the client as a string.
> > >
> > >good luck,
> > >
> > >iNGo.
> > >
> > >
> > >
> > >-Ursprüngliche Nachricht-
> > >Von: A mailing list about Java Server Pages specification and reference
> > >[mailto:[EMAIL PROTECTED]]Im Auftrag von Charles Luo
> > >Gesendet: Freitag, 4. Mai 2001 17:34
> > >An: [EMAIL PROTECTED]
> > >Betreff: get the calling URL
> > >
> > >
> > >hi, all,
> > >
> > >I am wondering how I can get the calling URL.
> > >
> > >Let's say, I got two pages:  /test1/foo/page1.jsp. In the page1.jsp,I
> >have
> > >a
> > >link to /test2/foo/page2.jsp. Now when I run page2, I want to get the
> >value
> > >of URL for page2.jsp, i.e. /test1/foo/page1.jsp .
> > >
> > >I've tried to use hidden field and then to use
> > >request.getParameter("hiddenfieldname");
> > >
> > >Out of luck, I couldn't get the value.
> > >
> > >BTW, I am using WEbLogic Commerce Server 3.2
> > >
> > >Any suggestions would be appreciated.
> > >
> > >cheers
> > >~~
> > >Charles Luo
> > >
> >
> >=
> ==
> > >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://java.sun.com/products/jsp/faq.html
> > >  http://www.esperanto.org.nz/jsp/jspfaq.html
> > >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> > >
> >
> >=
> ==
> > >To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > >JSP-INTEREST".
> > >For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> > >DIGEST".
> > >Some relevant FAQs on JSP/Servlets can be found at:
> > >
> > >  http://java.sun.com/products/jsp/faq.html
> > >  http://www.esperanto.org.nz/jsp/jspfaq.html
> > >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
> >__

Re: Can somebody tell me if there is a way to automatically invalidate a session variable?

2001-05-07 Thread Morton David

I do:
session.setAttribute("theAttributeName",null)

David

A mailing list about Java Server Pages specification and  reference 
<[EMAIL PROTECTED]> wrote:
> Hello all,

Can somebody tell me if there is a way to automatically invalidate a session
variable?, not the whole session, just a  variable, please answer me.

Thanks in advance,

Lorena Carlo

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

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



Re: Which Server to Use-URGENT

2001-05-07 Thread WANGYU/WANG, YUE (ISDC-ISD-OOCL/SNT)

I used Jserv, JRun and Resin with Apache before, would recommend Resin --
it's flexible, easy to configure, and it's FREE :) But it doesn't have as
friendly a user interface as what JRun has...

Good luck.

-Yue

-Original Message-
From: Erwin Kodiat [mailto:[EMAIL PROTECTED]]
Sent: Sunday, May 06, 2001 10:21 PM
To: [EMAIL PROTECTED]
Subject: Re: Which Server to Use-URGENT


Answering your question number 3:

Blazix (http://www.blazix.com)
Resin (http://www.caucho.com)
ServletExec (http://www.newatlanta.com)

Erwin Kodiat
Mitrais Software Development Center
Bali, Indonesia
Tel: +62 361 755025
Fax: +62 361 755024
http://www.mitrais.com

This transmission is for the intended addressee only and is confidential
information.  If you have received this transmission in error, please delete
it and notify the sender.  The contents of this E-mail are the opinion of
the writer only and are not endorsed by MROnly.com Pte Ltd unless expressly
stated otherwise.


-Original Message-
From: kalyannasundaram subramanian
[mailto:[EMAIL PROTECTED]]
Sent: Monday, May 07, 2001 13:07
To: [EMAIL PROTECTED]
Subject: Which Server to Use-URGENT


Hi All,
Thanks for the answers to my earlier queries.

I have three queries.

1.I tried using Apache Web Server to run my JSP
application.The server did not recognize JSP tags. Is
this a problem with the Apache Web Server.

2.As a solution to this I thought of using Apache Web
Server for webservices alone(I was informed that it
was robust only in this area)and Tomcat server for JSP
services. I installed both in an NT machine.This seems
to work fine. Is this a workable solution in a real
time system.

3.Any other suggestion of using any other software is
also welcome.My only constraint is that the software I
use must be free or at least cheap ($100-200) since
that is the way the client wants it.

Thanks in advance,
Kalyan.



Do You Yahoo!?
For regular News updates go to http://in.news.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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

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

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

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



how to load a fresh JSP page every time

2001-05-07 Thread Joe / NeoSoft

Hi everybody,

We wanted to know how to load a fresh JSP page every time within the
browser.
Any reply regarding the above will be highly appreciated.

RAVI

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Can somebody tell me if there is a way to automatically invalidate a session variable?

2001-05-07 Thread Ross Lambert

Hi Lorena,

> Can somebody tell me if there is a way to
> automatically invalidate a session
> variable?, not the whole session, just a
> variable, please answer me.

I think you're looking for the removeAttribute method of the session object:

session.removeAttribute("attributeName");

removeValue also works, but is deprecated. If the object referenced does not
exists, the method does nothing.

== Ross ==

Ross W. Lambert, CTO
WebWolves, LLC
voice: (509) 886-2049
e-mail: [EMAIL PROTECTED] 
web: www.webwolves.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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Looking for jsp host

2001-05-07 Thread King Maurice

I am looking for a jsp host to utilize the following

Jsp-servlets
javamail
sql7

also I want a good host without problems of connecting, trying to ftp, etc


- Original Message -
From: "King Maurice" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 03, 2001 11:57 AM
Subject: URL Encoding


> Can someone point out to me some real world examples of using url encoding
>
> I have a non-submit button where it passes some values
> The values are string being passed
>
> Ex:::mywebsite.com?index.jsp?valuestring=<%= stringvalue %>
>
> then when I process the string in another page
>
> Ex:::String valuestring = request.getParameter("valuestring");
>
> I get these %20, which should be +
>
> I need to encode these before submiting
>
> Does anyone have a code sample(s)
>
> I would appreiciate it
>
> Thanks~
>
>
> - Original Message -
> From: "Chitra Muthukrishnan" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, May 03, 2001 10:25 AM
> Subject: Re: DATE FORMAT
>
>
> > Hi there
> >
> > You can use
> > 1) "to_date()" method  to convert str to oracle date
> > 2) "to_char()" method to convert oracle date to string
> >
> > Examples :
> >
> > 1. to_date('01-MAY-2001 12:00:00','dd-MONTH- hh:mi:ss')
> > 2. to_char('oracledate','any format')
> >
> > You can insert/update the date field (Oracle) in any format and retrieve
> > date field in any format
> >
> >
> >
> > M.Chitra
> > www.3rdagenda.com
> >
> >
> > - Original Message -
> > From: [Lelievre Frederic] <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, May 03, 2001 7:24 PM
> > Subject: DATE FORMAT
> >
> >
> > Hi all,
> > I would like to change a String (String str = "01-MAY-2001 12:00:00";)
to
> a
> > Oracle Date ?
> > And I would like to change a Oracle Date to a String.
> > How can I do this ?
> >
> > Give the code please .
> > Thank for your help.
> >
> >
> > > Frédéric LELIEVRE
> > > TTE -  (BA / F04 C024)
> > >
> > > *   +352-44992--2485
> > > * [EMAIL PROTECTED]
> > >
> >
> >
> > Visit us at http://www.clearstream.com
> > Check out current job vacancies at
> > http://www.clearstream.com/public/english/e_vacs.htm
> >
> > IMPORTANT MESSAGE
> >
> > Internet communications are not secure and therefore Clearstream
> > International does not
> > accept legal responsibility for the contents of this message.
> >
> > The information contained in this e-mail is confidential and may be
> legally
> > privileged. It is
> > intended solely for the addressee. If you are not the intended
recipient,
> > any disclosure,
> > copying, distribution or any action taken or omitted to be taken in
> reliance
> > on it, is
> > prohibited and may be unlawful. Any views expressed in this e-mail are
> those
> > of the
> > individual sender, except where the sender specifically states them to
be
> > the views of
> > Clearstream International or of any of its affiliates or subsidiaries.
> >
> > END OF DISCLAIMER
> >
> >
>
===
> > 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://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
> >
>
===
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

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

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



Re: Sorting table columns

2001-05-07 Thread Schulz Ryan C

Thanks for the info, but unfortunately I am unable to access the servlets
that perform the SQL.  The application framework we are working with is done
through an ADK (Application Development Kit).  It has certain methods and
types we can use and access, we use this kit to tweak and customize for our
own needs, but much of the code that contains the sql is proprietary and
can't be accessed.  Therefore, I'm looking for a way to do a sort without
accessing or using SQL.

-Original Message-
From: Paul Meshkovsky [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 07, 2001 12:16 PM
To: [EMAIL PROTECTED]
Subject: Re: Sorting table columns


It is probably resolved but I just want do add

  COLUMN NAME

you just have to add in your sql an order or group by clause where value of
filed will go

Paul.



> -Original Message-
> From: Zeltser, Mark [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, May 03, 2001 3:17 PM
> To:   [EMAIL PROTECTED]
> Subject:  Re: Sorting table columns
>
> One approach is to let database handle the sorting. You can pass a
parameter
> (each column will represent different parameter) to store procedure which
> will return you new table sorted by specified column.
>
> Mark.
>
>
>
> > -Original Message-
> > From: Schulz Ryan C [SMTP:[EMAIL PROTECTED]]
> > Sent: Thursday, May 03, 2001 3:00 PM
> > To:   [EMAIL PROTECTED]
> > Subject:  Sorting table columns
> >
> > Has anyone had any experience using a servlet to sort table columns?
I'm
> > filling a table dynamically and I want to sort the results by columns
with
> > the column headers being links that will sort the data in that
particular
> > column.
> >
> > I would appreciate any feedback on this.
> >
> >
==
> > =
> > 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://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
>

--
> This message is intended only for the personal and confidential use of the
> designated recipient(s) named above.  If you are not the intended
recipient of
> this message you are hereby notified that any review, dissemination,
> distribution or copying of this message is strictly prohibited.  This
> communication is for information purposes only and should not be regarded
as
> an offer to sell or as a solicitation of an offer to buy any financial
> product, an official confirmation of any transaction, or as an official
> statement of Lehman Brothers Inc.  Email transmission cannot be guaranteed
to
> be secure or error-free.  Therefore, we do not represent that this
information
> is complete or accurate and it should not be relied upon as such.  All
> information is subject to change without notice.
>
>
===
> 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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

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

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

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



Can somebody tell me if there is a way to automatically invalidate a session variable?

2001-05-07 Thread Lorena Carlo

Hello all,

Can somebody tell me if there is a way to automatically invalidate a session
variable?, not the whole session, just a  variable, please answer me.

Thanks in advance,

Lorena Carlo

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Sorting table columns

2001-05-07 Thread Kuppuswamy, Sairam (SUPP)

I too am facing a similar problem, but the difference is I need to Sort the column 
only with the fetched data set (The SQL Order By could not be used). With this case I 
thought of
using an Hash Array for the fetched Data Set and then, on the User-Clicked column 
(which would be a particular index of the Array), the Sort routine should be working.

I am still working on it, but in vain.

If somebody has a better solution or the same solution, please extend your help for 
this Sort functionality.

thanks in-advance.

Sai
mailto:[EMAIL PROTECTED]



-Original Message-
From: Paul Meshkovsky [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 07, 2001 1:16 PM
To: [EMAIL PROTECTED]
Subject: Re: Sorting table columns


It is probably resolved but I just want do add

  COLUMN NAME

you just have to add in your sql an order or group by clause where value of
filed will go

Paul.



> -Original Message-
> From: Zeltser, Mark [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, May 03, 2001 3:17 PM
> To:   [EMAIL PROTECTED]
> Subject:  Re: Sorting table columns
>
> One approach is to let database handle the sorting. You can pass a parameter
> (each column will represent different parameter) to store procedure which
> will return you new table sorted by specified column.
>
> Mark.
>
>
>
> > -Original Message-
> > From: Schulz Ryan C [SMTP:[EMAIL PROTECTED]]
> > Sent: Thursday, May 03, 2001 3:00 PM
> > To:   [EMAIL PROTECTED]
> > Subject:  Sorting table columns
> >
> > Has anyone had any experience using a servlet to sort table columns?  I'm
> > filling a table dynamically and I want to sort the results by columns with
> > the column headers being links that will sort the data in that particular
> > column.
> >
> > I would appreciate any feedback on this.
> >
> > ==
> > =
> > 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://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
> --
> This message is intended only for the personal and confidential use of the
> designated recipient(s) named above.  If you are not the intended recipient of
> this message you are hereby notified that any review, dissemination,
> distribution or copying of this message is strictly prohibited.  This
> communication is for information purposes only and should not be regarded as
> an offer to sell or as a solicitation of an offer to buy any financial
> product, an official confirmation of any transaction, or as an official
> statement of Lehman Brothers Inc.  Email transmission cannot be guaranteed to
> be secure or error-free.  Therefore, we do not represent that this information
> is complete or accurate and it should not be relied upon as such.  All
> information is subject to change without notice.
>
> ===
> 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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

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

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

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



Re: Sorting table columns

2001-05-07 Thread Paul Meshkovsky

It is probably resolved but I just want do add

  COLUMN NAME

you just have to add in your sql an order or group by clause where value of
filed will go

Paul.



> -Original Message-
> From: Zeltser, Mark [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, May 03, 2001 3:17 PM
> To:   [EMAIL PROTECTED]
> Subject:  Re: Sorting table columns
>
> One approach is to let database handle the sorting. You can pass a parameter
> (each column will represent different parameter) to store procedure which
> will return you new table sorted by specified column.
>
> Mark.
>
>
>
> > -Original Message-
> > From: Schulz Ryan C [SMTP:[EMAIL PROTECTED]]
> > Sent: Thursday, May 03, 2001 3:00 PM
> > To:   [EMAIL PROTECTED]
> > Subject:  Sorting table columns
> >
> > Has anyone had any experience using a servlet to sort table columns?  I'm
> > filling a table dynamically and I want to sort the results by columns with
> > the column headers being links that will sort the data in that particular
> > column.
> >
> > I would appreciate any feedback on this.
> >
> > ==
> > =
> > 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://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
> --
> This message is intended only for the personal and confidential use of the
> designated recipient(s) named above.  If you are not the intended recipient of
> this message you are hereby notified that any review, dissemination,
> distribution or copying of this message is strictly prohibited.  This
> communication is for information purposes only and should not be regarded as
> an offer to sell or as a solicitation of an offer to buy any financial
> product, an official confirmation of any transaction, or as an official
> statement of Lehman Brothers Inc.  Email transmission cannot be guaranteed to
> be secure or error-free.  Therefore, we do not represent that this information
> is complete or accurate and it should not be relied upon as such.  All
> information is subject to change without notice.
>
> ===
> 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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

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



ASCII to char

2001-05-07 Thread Alireza Nahavandi

Hi all,
How can I get a java char from an ascii code?
thank 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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: tomcat log file ?

2001-05-07 Thread Ivo Simicevic

On Mon, May 07, 2001 at 01:22:02PM -, sufi malak wrote:
> Hi, I was looking for tomcat log file in :
> tomcat\logs\
> But I found only two files there :
> jasper.log
> servlet.log
>
> Please where is tomcat.log ?

Have you enabled it in tomcat/conf/server.xml ???

Regards,

Ivo.

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: working with JSP on JRun 3.0

2001-05-07 Thread Jann VanOver

For JRUN specific questions, you should contact the JRUN-Talk list.  I don't
run JRun right now so I can't check on this.  server.xml IS part of the j2EE
standard.

-Original Message-
From: Supreme Being [mailto:[EMAIL PROTECTED]]
Sent: Saturday, May 05, 2001 12:15 PM
To: [EMAIL PROTECTED]
Subject: Re: working with JSP on JRun 3.0


Hey, i am not able to find any server.xml file on my system!! I'm using a
win98 machine and running the Jrun 3.0 development server for working with
my JSP. u said to make changes in server.xml, but there is no sever.xml!
where can i find it? do i have to create it?

regards,
T. Edison jr.

>Date: Fri, 4 May 2001 11:24:04 -0700
>From: Jann VanOver <[EMAIL PROTECTED]>
>SUBJECTTo: [EMAIL PROTECTED]
>
>Question 1: You SHOULD be able to add a new context in your server.xml file
>like this:
>
>reloadable="true" >
>
>or like this:
>
>reloadable="true" >
>
>
>Question 2: you should check out the JRUN-talk list for good answers on
this
>product.  You can sign up from http://houseoffusion.com -- look for the
>"mailing list" link on the left.
>
>
>-Original Message-
>From: Supreme Being [mailto:[EMAIL PROTECTED]]
>Sent: Friday, May 04, 2001 10:07 AM
>To: [EMAIL PROTECTED]
>Subject: working with JSP on JRun 3.0
>
>
>i'm using a windows98 machine with PWS 4.0 installed. I installed and
>configured JRun 3.0 development studio for doing my JSP work. there's a few
>things, can't i have my JSP files running in my own folder in the JRun
>server, like http://localhost:8100/myfolder/index.jsp  or something like
>that. otherwise it's a massive path and not much clarity & diversity there
>between the work u're doing.
>
>secondly, JRun starts automatically at my computers startup, but i don't
>want that it's slows up the system and i don't even want JRun runnning
>all the time. how can i change this setting?
>
>
>
>Are you a Hoboe?  Hobnob at http://www.hoboe.com
>Click here -> http://www.hoboe.com Global Mail Access
>
>
>- - - - - - - - - - - - - - - - - - - - - - - - - - advertisement - - - - -
>-
>Limited Time Offer:  FREE Products! Pay only shipping and handling.
>Get FREE Software, CDR's, Cellular Accessories, Videos, DVD's, Music,
>Injet Refills and much more.
>Only when you click here now - - >
http://www.free-irewards.com/cgi-bin/bmb2
>
>===
>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://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>===
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Are you a Hoboe?  Hobnob at http://www.hoboe.com
Click here -> http://www.hoboe.com Global Mail Access

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

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



Re: PROBLEM-Changes in included pages not updating?

2001-05-07 Thread Celeste Haseltine

Rui,

Your pages are being "cached" by your JSP server.  It's good practice to
"always" stop and start your JSP server whenever you have made changes to
your JSP to make sure that the JSP pages are "recompiled".

Celeste

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Ruaidhrm Fernandes
Sent: Saturday, May 05, 2001 2:13 PM
To: [EMAIL PROTECTED]
Subject: PROBLEM-Changes in included pages not updating?


Hi all,
I'm new to JSP so this might be an easily answered
question.(hope so :)
I have a main JSP page called index.jsp and it
contains links to other JSP pages, it also includes a
banner.jsp.
My problem is, that when i make a change in one/some
of the linked files or banner files and save it and i
reload the index.jsp in the browser, the changes are
not updated. I found out that if i change something in
the index file on purpose and then reload it, then the
changes are updated. This is the same for all my
files.
Is there an easier way instead of making dummy changes
and saving?
Thanks in advance
Rui


=
"If a rabbit's foot is so lucky,. what happened to the rabbit?"

__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

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



Re: tomcat log file ?

2001-05-07 Thread Joseph Ottinger

Hmm, no chance you could ask the tomcat lists about this, or check the docs,
or even "search your own file system," is there?

It's hard to believe that a self-starter of this quality manages to have the
initiative to even send email.


>From: sufi malak <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: tomcat log file ?
>Date: Mon, 7 May 2001 13:22:02 -
>
>Hi, I was looking for tomcat log file in :
>tomcat\logs\
>But I found only two files there :
>jasper.log
>servlet.log
>
>Please where is tomcat.log ?
>Thanks
>
>_
>Get your FREE download of MSN Explorer at http://explorer.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://java.sun.com/products/jsp/faq.html
>http://www.esperanto.org.nz/jsp/jspfaq.html
>http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

_
Get your FREE download of MSN Explorer at http://explorer.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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



tomcat log file ?

2001-05-07 Thread sufi malak

Hi, I was looking for tomcat log file in :
tomcat\logs\
But I found only two files there :
jasper.log
servlet.log

Please where is tomcat.log ?
Thanks

_
Get your FREE download of MSN Explorer at http://explorer.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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: PLEASE, PLEASE HELP!!!!!!!!

2001-05-07 Thread Chuck Boyce

Hi Mark,

Thank you *VERY* much for your reply!  It's very encouraging to know that
people are reading what you post on a mailing list.

As an update, this morning we tested the process by using ColdFusion
through an ODBC dsn to call the master proc --  both the more complex proc,
which runs a backup first; and the debug proc, which does not -- ran correctly.

I'm thinking this problem with invoking the proc from the JSP has got to be
somehow JDBC-related?

~Chuck

At 03:41 AM 5/7/01 +, you wrote:
>On Sun, 6 May 2001 22:59:00 -0400, you wrote:
>
> >My team are building a web app with JSP's and SQL Server.  We are on a
> >tight time frame.  One of our developers has about 6 mos. of JSP
> >experience and is quite good for that amount of time.  The other
> >developer has been using JSP's for less than 5 weeks, but is a good CF
> >programmer.  I'm working the MS SQL Server 7 back end.
> >
> >So far, the JSP guys have gotten by quite nicely with the Jakarta JDBC
> >tag library to call stored procs and use the procs returns.
> >
> >BUT, I have built this fairly large set of stored procs that are called
> >by a single stored proc. The first proc called bt the master proc does a
> >
> >backup of a user
> >provided database name, then the master proc proceeds to invoke other
> >procs that each do certain stuff (truncate tables, insert records into
> >tables, update tables -- until finally, if there is an error with the
> >backup proc, the master proc will call a proc to do a restore.
>
>It's hard to tell - are you trying to get a remote user to run procs
>on the server?
>
>Is it possible that once the first sub-proc finishes, it returns a
>code to the JSP, which then completes processing, thus terminating any
>forked processes such as the main?
>
>Mark
>
>___
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Which Server to Use-URGENT

2001-05-07 Thread Arnab Nandi

Hi,
Apache is a static content server - so dynamic content has to be served
by servers such as Tomcat, Weblogic, etc. Your second solution is what
we also use in our project. The only catch is performance is a problem
with Tomcat so Weblogic is  a better solution - only that Weblogic does
not come for free as does Tomcat - but you can get a evaluation copy at
there website.
Regards,
Arnab

-Original Message-
From: kalyannasundaram subramanian
[mailto:[EMAIL PROTECTED]]
Sent: Monday, May 07, 2001 10:37 AM
To: [EMAIL PROTECTED]
Subject: Which Server to Use-URGENT


Hi All,
Thanks for the answers to my earlier queries.

I have three queries.

1.I tried using Apache Web Server to run my JSP
application.The server did not recognize JSP tags. Is
this a problem with the Apache Web Server.

2.As a solution to this I thought of using Apache Web
Server for webservices alone(I was informed that it
was robust only in this area)and Tomcat server for JSP
services. I installed both in an NT machine.This seems
to work fine. Is this a workable solution in a real
time system.

3.Any other suggestion of using any other software is
also welcome.My only constraint is that the software I
use must be free or at least cheap ($100-200) since
that is the way the client wants it.

Thanks in advance,
Kalyan.



Do You Yahoo!?
For regular News updates go to http://in.news.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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

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



problem with IE

2001-05-07 Thread piyush jain

Dear Friends,

I have a problem that i am using hashmap to manage users and their sessions. on some 
PC's the application is not running on the IE while it running on netscape. this 
problem is not very prevalent but it is avoiding many people to use the application on 
IE. my application is in jsp and beans using iplanet web server.
i am expecting your help in the same.

regards,
piyush.


_
Chat with your friends as soon as they come online. Get Rediff Bol at
http://bol.rediff.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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: C'ant refresh page

2001-05-07 Thread Joseph Ottinger

This is caused by re-queueing information using POST. It's pretty normal,
there's nothing you can really do outside of changing to GET (and boy howdy,
will that make your users feel good - to see their usernames/passwords on
the URL!)

The *right* thing to do, however, is change what you're doing, to use the
server authentication instead of hand-rolled application authentication.


>From: Ruaidhrí Fernandes <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: C'ant refresh page
>Date: Sat, 5 May 2001 17:13:11 -0700
>
>Hi all,
>Anyone know how to fix this problem please?
>
>I have a login page which asks the user to enter
>his/her username and password in forms. The submit
>button takes them to a verification page which checks
>their username and password against a database and
>they either will be greeted or told to try logging in
>again depending if the username and password match an
>entry in the database.
>When i click the refresh/reload button on the browser
>when the verification page is opened, I get a popup
>message saying :
>"The page cannot be refreshed without sending the
>information. Click retry to try to send the
>information again or click cancel to return to the
>page you were trying to view"
>Why is this and how do I solve this problem or is
>there any need?
>thanks in advance
>Rui
>
>=
>"If a rabbit's foot is so lucky,. what happened to the rabbit?"
>
>__
>Do You Yahoo!?
>Yahoo! Auctions - buy the things you want at great prices
>http://auctions.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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

_
Get your FREE download of MSN Explorer at http://explorer.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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: AW: get the calling URL

2001-05-07 Thread Joseph Ottinger

Yes, it's the referrer. However, I don't remember the exact name that the
container uses for it; the environment variable for CGI is something like
HTTP_REFERER or HTPP_REFERRER, and if memory serves, something's wonky about
the name used. Rather than hand out faulty information based on an
assumption, I figured I'd tell him to look it up in the headers himself,
which will guarantee that he gets the right information with a minimum of
work on my part, which is only as it should be. :)


>From: Mayuresh Kadu <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: AW: get the calling URL
>Date: Sun, 6 May 2001 09:33:49 +0530
>
>I believe its called the REFERRER :)
>
>Mayuresh
>
>-Original Message-
>From: A mailing list about Java Server Pages specification and reference
>[mailto:[EMAIL PROTECTED]]On Behalf Of Joseph Ottinger
>Sent: Saturday, May 05, 2001 01:52
>To: [EMAIL PROTECTED]
>Subject: Re: AW: get the calling URL
>
>
>He was asking for the referring page, as I understand it, not the client IP
>address, which is what RemoteAddr will be. There's a header attached to
>such
>things; I forget the exact syntax, but running through a snoop servlet and
>dumping out header names and values will make it quite clear. It also
>doesn't involve any parameter manipulation or anything like that.
>
>
> >From: Ingo Oppelt <[EMAIL PROTECTED]>
> >Reply-To: A mailing list about Java Server Pages specification and
> > reference <[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED]
> >Subject: AW: get the calling URL
> >Date: Fri, 4 May 2001 21:45:04 +0200
> >
> >hi charles,
> >
> >for your own pages, it's not that difficult to track down the 'calling
> >page'.
> >you simply have to attach the name of the calling page at the end of your
> >link, for example
> >
> >[page1.jsp]
> >
> >
> >and then read it from the request object like you did before
> >
> >[page2.jsp]
> >request.getParameter("callingpage");
> >
> >there might be more sophisticated ways doing that but i am positive that
> >this works.
> >
> >
> >ohh, charles wait. there is a better way. i have just checked the
>javadocs.
> >try this:
> >
> >String callingpage = new Sting();
> >callingpage = request.getRemoteAddr();
> >
> >the method should return the IP adress of the client as a string.
> >
> >good luck,
> >
> >iNGo.
> >
> >
> >
> >-Ursprüngliche Nachricht-
> >Von: A mailing list about Java Server Pages specification and reference
> >[mailto:[EMAIL PROTECTED]]Im Auftrag von Charles Luo
> >Gesendet: Freitag, 4. Mai 2001 17:34
> >An: [EMAIL PROTECTED]
> >Betreff: get the calling URL
> >
> >
> >hi, all,
> >
> >I am wondering how I can get the calling URL.
> >
> >Let's say, I got two pages:  /test1/foo/page1.jsp. In the page1.jsp,I
>have
> >a
> >link to /test2/foo/page2.jsp. Now when I run page2, I want to get the
>value
> >of URL for page2.jsp, i.e. /test1/foo/page1.jsp .
> >
> >I've tried to use hidden field and then to use
> >request.getParameter("hiddenfieldname");
> >
> >Out of luck, I couldn't get the value.
> >
> >BTW, I am using WEbLogic Commerce Server 3.2
> >
> >Any suggestions would be appreciated.
> >
> >cheers
> >~~
> >Charles Luo
> >
> >===
> >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://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
> >===
> >To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> >JSP-INTEREST".
> >For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> >DIGEST".
> >Some relevant FAQs on JSP/Servlets can be found at:
> >
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>_
>Get your FREE download of MSN Explorer at http://explorer.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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>=

Re: Passing a string from a JSP to a Java class and back.

2001-05-07 Thread Joseph Ottinger

Yes, you can, but this only creates an applet reference on the client side;
the JSP only sends the HTML to instantiate the applet, but doesn't use the
applet itself.


>From: "WANGYU/WANG, YUE (ISDC-ISD-OOCL/SNT)" <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: Passing a string from a JSP to a Java class and back.
>Date: Sat, 5 May 2001 09:15:50 +0800
>
>I think you can use :
>
>codeBase="classFileDirectoryName" name="xxx" height="xxx" width="xxx"...>
>
>-Yue
>
>-Original Message-
>In HTML we can call up an java applet, is it possible to do that in JSP?
>
>===
>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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

_
Get your FREE download of MSN Explorer at http://explorer.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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Problem in getting the protocol

2001-05-07 Thread Joseph Ottinger

Depends on the servlet container, really, and the interaction between the
container and the webserver. When you use Apache (one of my... erm...
favorite products), what may be happening is that mod_jk or mod_jserv is
stripping out the actual protocol for the servlet container, changing it to
HTTP for internal communication only, then rerouting it to HTTPS on the
opposite end.

As far as a solution... I don't have one for you, outside of "Don't use
Apache." Others may have better (i.e., different) answers; my suggestion is
to use Orion instead, and if you can't deal with working with a great app
server, try resin or something like that. :)


>From: Rathna <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Problem in getting the protocol
>Date: Sat, 5 May 2001 11:27:22 +0530
>
>Hi all,
>
>sorry for the off topic question but i am sure some body can thru'
>light on this.
>
>our application has  HTTPS setup on apache 1.3 webserver.we are facing
>problem on geting the protocol value.when we issue request.getScheme()
>command it always returns HTTP instead of HTTPS.How do i get the
>protocol
>value? FYI,we need a protocol value to use for response.sendRedirect().
>
>Thanks in advance .
>
>
>--
>Cheers,
> rathna
>
>===
>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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

_
Get your FREE download of MSN Explorer at http://explorer.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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: simple interface error

2001-05-07 Thread Joseph Ottinger

Also, you said: "So what do I have to change?" in a previous email.

Honestly, at this point you need to re-evaluate your JAVA, and not worry
about your JSP. You need to re-read the tutorial, or at least figure out
that the tutorial teaches Java for a reason.

You need to change the interface to an interface - if that's what you want -
or to an actual abstract class - if that's what you want. I can't make your
design decisions for you; neither can anyone else. It sounds like you want
an abstract class. Go write one.


>From: drew w <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: simple interface error
>Date: Fri, 4 May 2001 21:10:20 -
>
>I would call this method to print out an error that would be assigned to a
>session when something is wrong.
>
>
>thanks,
>andrew
>
>
>>From: Joseph Ottinger <[EMAIL PROTECTED]>
>>Reply-To: A mailing list about Java Server Pages specification and
>> reference <[EMAIL PROTECTED]>
>>To: [EMAIL PROTECTED]
>>Subject: Re: simple interface error
>>Date: Fri, 4 May 2001 15:26:28 -0500
>>
>>In Java, interfaces have *only* method signatures. What you're trying to
>>do
>>looks like an abstract class, although an abstract class of this type has
>>limited usefulness.
>>
>>What you probably REALLY want to do (note the "probably" -- what you
>>REALLY
>>want to do is REALLY up to you and you only, REALLY) is define a parent
>>class, containing a set of common methods, marked as abstract. Then all
>>classes that need those methods would extend that class, and you'd have
>>your
>>printError() method automatically.
>>
>>Incidentally, printError() is probably done a lot better by libraries such
>>as log4j ( http://jakarta.apache.org/log4j/ ) and other similar creations.
>>
>>I'm still trying to find the relevance to JSP in your post, and I imagine
>>I'll fail now, tomorrow, and the day aft... oh, heck, I'll just go ahead
>>and
>>give up with that now.
>>
>>
>>>From: drew w <[EMAIL PROTECTED]>
>>>Reply-To: A mailing list about Java Server Pages specification and
>>> reference <[EMAIL PROTECTED]>
>>>To: [EMAIL PROTECTED]
>>>Subject: simple interface error
>>>Date: Fri, 4 May 2001 20:02:40 -
>>>
>>>I am creating a simple interface called common:
>>>public interface Common{
>>>public String printError(String msg){
>>>String errmsg;
>>>errmsg = ("Sorry "+getName()+",
>>>"+msg);
>>>}
>>>}
>>>when I compile I get this message:
>>>Abstract and native methods cannot have a body: String printError(String
>>>msg)
>>>public String printError(String msg)
>>>^
>>>_
>>>Get your FREE download of MSN Explorer at http://explorer.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://java.sun.com/products/jsp/faq.html
>>>http://www.esperanto.org.nz/jsp/jspfaq.html
>>>http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>>>http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>>
>>_
>>Get your FREE download of MSN Explorer at http://explorer.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://java.sun.com/products/jsp/faq.html
>>http://www.esperanto.org.nz/jsp/jspfaq.html
>>http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>>http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>_
>Get your FREE download of MSN Explorer at http://explorer.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://java.sun.com/products/jsp/faq.html
>http://www.esperanto.org.nz/jsp/jspfaq.html
>http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

_
Get your FREE download of MSN Explorer at http://explorer.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://java.sun.com/products/jsp/fa

Re: Passing a string from a JSP to a Java class and back.

2001-05-07 Thread Joseph Ottinger

No, JSP can't call an applet. JSP is server-side; applets are client-side.
There's nothing preventing you from putting the applet's classes in the
JSP's classpath, and creating classes that the applet might use, however...


>From: "Nguyen, Thang P" <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: Passing a string from a JSP to a Java class and back.
>Date: Fri, 4 May 2001 17:44:57 -0700
>
>Hi,
>
>In HTML we can call up an java applet, is it possible to do that in JSP?
>
>Can someone pls point me to an example that similar to a stock chart
>(Streamer from Datek)?  such as:
>
> (1)  using applets to display the stock symbols
>
> (2)  using servlets/jsp to handle the requests/response (using web
>server, tomcat)
>
> (3)  jbdc to access the database (informix, oracle, SQL, access,
>etc) where it stores information about stocks.
>
>
>Thanks,
>
>-TN
>
>===
>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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

_
Get your FREE download of MSN Explorer at http://explorer.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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



When server shuts down

2001-05-07 Thread Merrill George

Hi all,
 My problem is this. when a session is established i read some
values from the database and update it.
When the session is also closed  , i update a table in the database.
But when the server shuts down abnormally
for eg when power goes off i need to update the table.
i am using tomcat as jsp and servlet engine.
i thought that when the server is closed the valueUnbound event is
also fired in the garbage collection
for all sessions. It is in this event that i update the database.
 any solutions ??
Merrill

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: PROBLEM-Changes in included pages not updating?

2001-05-07 Thread Sachin S. Khanna

Nice Suggestion.
But do understand the effects of replacing a compile time include with a
runtime include.
It might be a little helpful during your production phase but would surely
add a burden of runtime evaluation when you deploy your web application,
specially if your web app doesnot require the use of run time evaluation.
Have a nice day.
With regards,
Sachin S. Khanna
http://www.emailanorder.com
- Original Message -
From: Ashish Shrestha <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 07, 2001 7:13 AM
Subject: Re: PROBLEM-Changes in included pages not updating?


> Hi!
>
> I believe you used the include directive to include a file.
> <%@ include ... %> includes the file and then compiles it
> into servlet. So if you want the changes in the included
> file to be reflected you need to change the date of the main
> file using utilities like touch or making dummy changes as
> you mentioned.
>
> If don't want to do this and want you changes to reflect
> immediately, use
> 
>
> Ashish
> --
> a s h i s h @ j d g n p . o r g
> Get Headlines 0.5.2 for free at
> http://headlines.sourceforge.net/
>
>
===
> 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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

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

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



Re: JSP Working with C++

2001-05-07 Thread EJB ForAll

Hi Dear,

Use java native interfaces or java connector api



--- Tom Troonbeeckx <[EMAIL PROTECTED]> wrote:
> Does anybody have an idea how the java-classes from
> JSP can be linked with
> C++ classes?
>
> Thx 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://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: JSP Working with C++

2001-05-07 Thread Tom Troonbeeckx

Does anybody have an idea how the java-classes from JSP can be linked with
C++ classes?

Thx 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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



How may i make Reports on Web by JSP or Servlet !

2001-05-07 Thread Huynh Tin

Hi All !
Please help me ... i don't know how to make reports on web uses Java
Technics such as JSP , servlet .
Or are there any tools to do this . Or any liblary what i can use it to
program to make these reports !
Thank you !
Regards !

Tin Huynh

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



JSP Working with C++

2001-05-07 Thread Tom Troonbeeckx

Does anybody have an idea how the java-classes from JSP can be linked with
C++ classes.

===
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets