Re: Servlet Problem

2001-06-06 Thread VENKATACHALAPATHY Duraiswamy

Below is the exception I am getting...

A recursive error was detected.
The server cannot use specified error page. Please check the application
error-path.
Original Error:
Error Message: Method /* is not defined in RFC 2068 and is not supported by
the Servlet API
Error Code: 501
Target Servlet: com.cbsi.ccms.prov.account.ActHis.ActHis
Error Stack:

Root Error-1: Method /* is not defined in RFC 2068 and is not supported by
the Servlet API
com.ibm.servlet.engine.webapp.WebAppErrorReport: Method /* is not defined in
RFC 2068 and is not supported by the Servlet API at
com.ibm.servlet.engine.webapp.WebAppDispatcherResponse.sendError(WebAppDispa
tcherContext.java:240) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:591) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:639) at
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager
.java:557) at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycl
eServlet.java:160) at
com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServle
t.java:287) at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycle
Servlet.java:105) at
com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:34
9) at
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletMan
ager.java:705) at
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManag
er.java:631) at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(W
ebApp.java:1129) at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebApp.java:1
001) at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebApp.java:96
0) at
com.ibm.servlet.engine.webapp.InvokerServlet.service(InvokerServlet.java:172
) at javax.servlet.http.HttpServlet.service(HttpServlet.java:639) at
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager
.java:557) at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycl
eServlet.java:160) at
com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServle
t.java:287) at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycle
Servlet.java:105) at
com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:34
9) at
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletMan
ager.java:705) at
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManag
er.java:631) at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(W
ebApp.java:1129) at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebApp.java:1
001) at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebApp.java:96
0) at
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebGroup.java:
681) at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedIn
vocation.java:67) at
com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(Cacheabl
eInvocationContext.java:106) at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequ
estProcessor.java:144) at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener
.java:300) at
com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQ
EventListenerImp.java:230) at
com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventL
istenerImp.java:104) at
com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQE
ventSource.java:202) at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRu
nnable.notifyService(SQWrapperEventSource.java:347) at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRu
nnable.run(SQWrapperEventSource.java:216) at
com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run
(Compiled Code) at java.lang.Thread.run(Thread.java:472)


Recursive Error:
Error Message: Method /* is not defined in RFC 2068 and is not supported by
the Servlet API
Error Code: 501
Target Servlet: File Serving Enabler
Error Stack:

Root Error-1: Method /* is not defined in RFC 2068 and is not supported by
the Servlet API
com.ibm.servlet.engine.webapp.WebAppErrorReport: Method /* is not defined in
RFC 2068 and is not supported by the Servlet API at
com.ibm.servlet.engine.webapp.WebAppDispatcherResponse.sendError(WebAppDispa
tcherContext.java:240) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:591) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:639) at
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager
.java:557) at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycl
eServlet.java:160) at
com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServle
t.java:287) at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycle
Servlet.java:105) at
com.ibm.servlet.engine.we

Whitespace removal in JSP

2001-06-06 Thread G Sivarajagopal

Hi,

Are there any known tools/filter options available to remove
unnecessary whitespace from a JSP page.
I need this to be done at compile time, ie while it is being converted
to a servlet.

I need this to take the load off the programmer and also reduce the size
of  html responses to client.

regards,
Sivarajagopal

==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 objects to tag-libs?

2001-06-06 Thread Dmitry Namiot

You can pass it as an expression:
<%=your_object%>

Or you may save object in the some scope (page,session etc.)
and pass a name for your object
--
Coldjava - server-side Java components
http://coldjava.hypermart.net
__
Get your own FREE, personal Netscape Webmail account today at 
http://webmail.netscape.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



Problem with HttpSession

2001-06-06 Thread Stefan Aigner

Hi all!

I have an application with a Controller Servlet which is invoked every time
a user request arrives to redirect to a specific JSP.

What I want to do is displaying a special information page, when the session
of a user expires.

Therefore I use the following code in the controller servlet:

HttpSession session = request.getSession(true);

System.out.println("FrontComponent - Session id: " + session.getId());

if (session.isNew()) {

  System.out.println("Session " + session.getId() + " is new.");
  System.out.println("Seconds until session times out: " +
session.getMaxInactiveInterval() + " s");

  session.setAttribute("sessionState", new JSPSessionState());
   }

The JSPSessionState object implements HttpSessionBindingListener and
provides the implementation of the following methods:

  public void valueBound(HttpSessionBindingEvent event) {
System.out.println("JSPSessionState - bound to session " +
event.getSession().getId());
  }

  public void valueUnbound(HttpSessionBindingEvent event) {
System.out.println("JSPSessionState - unbound from session " +
event.getSession().getId());
  }

I use Tomcat v3.3 as servlet engine and I have set the session timeout
interval to 1 minute.

What I do now is starting the application, and request a page. The servlet
tells me the id of my session and that it is a new one. So far, so good.
Then I wait longer than a minute. The session times out, I do another
request and now I have another session id, also a new one.

What I don't understand is:

The method valueBound() is called when I start a session but the method
valueUnbound() doesn't seem to be called when the session times out because
there'e nothing written to standard out.

What am I doing wrong?

Perhaps someone can help me here. Thanks in advance.

Stefan


Novedia AG, Stefan Aigner
Hardenbergstrasse 19, D-10623 Berlin, Germany
tel:+49.30.311889-0, fax:+49.30.311889-19
mailto:[EMAIL PROTECTED], http://novedia.de

===
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: Whitespace removal in JSP

2001-06-06 Thread Joseph Ottinger

It should be fairly trivial to write one, actually, and this is a good idea.
I may have a go at it sometime this morning; should be a fairly trivial
state machine.


>From: G Sivarajagopal <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
>reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Whitespace removal in JSP
>Date: Wed, 6 Jun 2001 13:04:39 +0530
>
>Hi,
>
>Are there any known tools/filter options available to remove
>unnecessary whitespace from a JSP page.
>I need this to be done at compile time, ie while it is being converted
>to a servlet.
>
>I need this to take the load off the programmer and also reduce the size
>of  html responses to client.
>
>regards,
>Sivarajagopal
>
>==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



unparseable date

2001-06-06 Thread erik morton

Hello to all.

Standard MVC design with JRun on NT.

We are using the following code to implement security -
//start
if(session.getAttribute("com.commertech.web.user") == null) {
 response.sendRedirect(request.getScheme() + "://"
   + request.getServerName()
   + ":" + request.getServerPort()
   + request.getContextPath()
  + "/login.jsp?log_err=1" );
}
//end
This results in the following error being thrown by the application
server -
//start
06/06 08:10:06 warning (file) Couldn't parse date header.
[java.lang.IllegalArgumentException: Unparseable date:
java.lang.IllegalArgumentException: Unparseable date: " "
 at allaire.jrun.ServletConnection.getDateHeader(ServletConnection.java,
Compiled Code)
 at java.lang.Exception.(Exception.java, Compiled Code)
 at java.lang.RuntimeException.(RuntimeException.java, Compiled
Code)
 at
java.lang.IllegalArgumentException.(IllegalArgumentException.java,
Compiled Code)
 at allaire.jrun.ServletConnection.getDateHeader(ServletConnection.java,
Compiled Code)
 at allaire.jrun.file.FileServlet.service(FileServlet.java, Compiled
Code)
 at allaire.jrun.servlet.JRunServletPool.service(JRunServletPool.java,
Compiled Code)
 at allaire.jrun.servlet.JRunSE.service(JRunSE.java, Compiled Code)
 at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java, Compiled Code)
 at
allaire.jrun.servlet.JRunRequestDispatcher.include(JRunRequestDispatcher.java,
Compiled Code)
 at allaire.jrun.jsp.JRunPageContext.include(JRunPageContext.java,
Compiled Code)
 at jrun__index2ejspa._jspService(jrun__index2ejspa.java:67)
//end

Sometimes I then get an Out-of-memory exception (though I have plenty
available)
//start
06/06 07:58:10 error (jcp) jcp-14 caught Throwable while swapping,
exiting [java.lang.OutOfMemoryError]
java.lang.OutOfMemoryError
 at allaire.jrun.jrpp.ProxyEndpoint.readFully(ProxyEndpoint.java,
Compiled Code)
 at allaire.jrun.jrpp.ProxyEndpoint.readString(ProxyEndpoint.java,
Compiled Code)
 at allaire.jrun.jrpp.ProxyEndpoint.readRequest(ProxyEndpoint.java,
Compiled Code)
 at allaire.jrun.jrpp.ProxyService.swapRunnable(ProxyService.java,
Compiled Code)
 at allaire.jrun.ThreadPool.swapRunnable(ThreadPool.java, Compiled Code)

 at allaire.jrun.WorkerThread.run(WorkerThread.java, Compiled Code)
//end

or this
//
06/06 08:10:06 error (jcp) jcp-15 caught Throwable while swapping,
exiting [java.lang.NullPointerException]
java.lang.NullPointerException
 at allaire.jrun.jrpp.ProxyEndpoint.parseHeaders(ProxyEndpoint.java,
Compiled Code)
 at allaire.jrun.jrpp.ProxyEndpoint.readRequest(ProxyEndpoint.java,
Compiled Code)
 at allaire.jrun.jrpp.ProxyService.swapRunnable(ProxyService.java,
Compiled Code)
 at allaire.jrun.ThreadPool.swapRunnable(ThreadPool.java, Compiled Code)

 at allaire.jrun.WorkerThread.run(WorkerThread.java, Compiled Code)
//

So it looks like the container cannot parse the date header. Why? I'm
not so sure.

Help is, as always, appreciated.

Erik

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



Whitespace removal in JSP

2001-06-06 Thread G Sivarajagopal

> Hi,
> 
> Are there any known tools/filter options available to remove
> unnecessary whitespace from a JSP page.
> I need this to be done at compile time, ie while it is being converted
> to a servlet.
> 
> I need this to take the load off the programmer and also reduce the
> size of  html responses to client.
> 
> regards,
> Sivarajagopal

==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: Urgent help needed

2001-06-06 Thread Karau, Joe

I'm not sure if it is the same problem but...

We use VA Java as a development IDE, and in the past we had a problem where
a class that we exported from VA Java could not be loaded by any other JVM.
After working with IBM we found that it is because VA Java had a bug and it
was exporting a java class with invalid byte codes.  The error we'd recieve
when trying to load this class was very similar to what you are getting.
I'd try writing a small test stub that uses the class loaded to load the
class, and test on a couple of different JVM's.  The class file that you
have may be corrupt.  If it fails to load in other JVM's as well, you'll
have to contact the authors of the class and see what can be done.

Hope this helps.

Joseph Karau
Kingland Systems
[EMAIL PROTECTED]
507-536-3629
AIM: jkara3629


-Original Message-
From: M Sankar [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 05, 2001 11:16 PM
To: [EMAIL PROTECTED]
Subject: Urgent help needed


Hi all,

I am using Netscape Iplanet Web Server and JSP.I am trying out a
cryptography module. Now my application is made and is working fine
using  Tomcat on a trial basis. But when I put these application on
iPlanet, JSP Compiler is throwing an Classformat error. It is showing
the message for a particular Java class which is used for cryptography.
The specific message is Illegal constant pool type.

Given below is the error message::

 failure ( 4941): Internal error: exception thrown from the servlet
service function (uri=/cryptix/intro.jsp): java.lang.ClassFormatError:
DES (Illegal constant pool type), Stack: java.lang.ClassFormatError: DES
(Illegal constant pool type)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass0(Compiled Code)
at java.lang.ClassLoader.defineClass(Compiled Code)
at java.security.SecureClassLoader.defineClass(Compiled Code)
at java.net.URLClassLoader.defineClass(Compiled Code)
at java.net.URLClassLoader.access$1(Compiled Code)
at java.net.URLClassLoader$1.run(Compiled Code)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivileged(Compiled Code)
at java.net.URLClassLoader.findClass(Compiled Code)
at java.lang.ClassLoader.loadClass(Compiled Code)
at sun.misc.Launcher$AppClassLoader.loadClass(Compiled Code)
at java.lang.ClassLoader.loadClass(Compiled Code)
at java.lang.ClassLoader.loadClassInternal(Compiled Code)
at Profile.(Profile.java:86)
at Profile.getInstance(Profile.java:65)
at Logintry.createRequest(Compiled Code)
at _jsps._cryptix._intro_jsp._jspService(_intro_jsp.java:91)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:826)
at
com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.jav
a:497)

Any help on this would be great.
Thanks
Sankar

===
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: Urgent help needed

2001-06-06 Thread Brad Cox

Try decompiling the .class with jad and compiling the result with javac.

PS: I use the ABA crypto library heavily with VAJ and have never once
experienced this. Besides, ABA comes with source.

At 7:47 AM -0500 06/06/2001, Karau, Joe wrote:
>I'm not sure if it is the same problem but...
>
>We use VA Java as a development IDE, and in the past we had a problem where
>a class that we exported from VA Java could not be loaded by any other JVM.
>After working with IBM we found that it is because VA Java had a bug and it
>was exporting a java class with invalid byte codes.  The error we'd recieve
>when trying to load this class was very similar to what you are getting.
>I'd try writing a small test stub that uses the class loaded to load the
>class, and test on a couple of different JVM's.  The class file that you
>have may be corrupt.  If it fails to load in other JVM's as well, you'll
>have to contact the authors of the class and see what can be done.
>
>Hope this helps.
>
>Joseph Karau
>Kingland Systems
>[EMAIL PROTECTED]
>507-536-3629
>AIM: jkara3629
>
>
>-Original Message-
>From: M Sankar [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, June 05, 2001 11:16 PM
>To: [EMAIL PROTECTED]
>Subject: Urgent help needed
>
>
> Hi all,
>
>I am using Netscape Iplanet Web Server and JSP.I am trying out a
>cryptography module. Now my application is made and is working fine
>using  Tomcat on a trial basis. But when I put these application on
>iPlanet, JSP Compiler is throwing an Classformat error. It is showing
>the message for a particular Java class which is used for cryptography.
>The specific message is Illegal constant pool type.
>
>Given below is the error message::
>
>  failure ( 4941): Internal error: exception thrown from the servlet
>service function (uri=/cryptix/intro.jsp): java.lang.ClassFormatError:
>DES (Illegal constant pool type), Stack: java.lang.ClassFormatError: DES
>(Illegal constant pool type)
> at java.lang.ClassLoader.defineClass0(Native Method)
> at java.lang.ClassLoader.defineClass0(Compiled Code)
> at java.lang.ClassLoader.defineClass(Compiled Code)
> at java.security.SecureClassLoader.defineClass(Compiled Code)
> at java.net.URLClassLoader.defineClass(Compiled Code)
> at java.net.URLClassLoader.access$1(Compiled Code)
> at java.net.URLClassLoader$1.run(Compiled Code)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.security.AccessController.doPrivileged(Compiled Code)
> at java.net.URLClassLoader.findClass(Compiled Code)
> at java.lang.ClassLoader.loadClass(Compiled Code)
> at sun.misc.Launcher$AppClassLoader.loadClass(Compiled Code)
> at java.lang.ClassLoader.loadClass(Compiled Code)
> at java.lang.ClassLoader.loadClassInternal(Compiled Code)
> at Profile.(Profile.java:86)
> at Profile.getInstance(Profile.java:65)
> at Logintry.createRequest(Compiled Code)
> at _jsps._cryptix._intro_jsp._jspService(_intro_jsp.java:91)
> at
>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:826)
> at
>com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.jav
>a:497)
>
>Any help on this would be great.
>Thanks
>Sankar
>
>===
>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


--
---
For industrial age goods there were checks and credit cards.
For everything else there is mybank.dom at http://virtualschool.edu/mybank
Brad Cox, PhD; [EMAIL PROTECTED] 703 361 4751

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

Please help with this servlet to excel code

2001-06-06 Thread Lorena Carlo

Hello all,

It's there somebody that has experience the following error, and has solved
it?

This lines of code I use to generate an excel sheet in a servlet:

response.setHeader("content-type","application/vnd.ms-excel");
response.setHeader("Content-Disposition","attachment; filename=\"" +
"file.xls" + "\";");

this last line, that helps me to save the excel file with extension xls,
after the user has downloaded the excel document, the page does not stop, it
seems it continues searches something else.

Please tell me how to stop it or if there something else I am missing.

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



Creating demo package and Invisible Jsp code to users

2001-06-06 Thread Ayhan Demirci

Hello All

I have a project that based on several JSPs and one Database Servlet 
On this project I want to prepare a demo package that will run on
installed machine for limited time.
 I have two question about it;

1- How can i prepare this demo which will expire in 30-days on installed
machine ?
I mean where have to i write and check expiration date on installed
machine?


2- How can the JSP source code be invisible to users that attempting
view source command in browser window by clicking right mouse button?
   I mean how can i restrict the source code visibility in JSP's
(HTML-JavaScript  ) when running on Browser Window?

Thanks a lot,
Ayhan


***

This e-mail and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you are not the intended recipient you are hereby notified that any
dissemination, forwarding, copying or use of any of the information is
prohibited.

The opinions expressed in this message belong to sender alone. There is no
implied endorsement by TURKCELL.

This e-mail has been scanned for all known computer viruses.

***

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



Image dimensions

2001-06-06 Thread Alireza Nahavandi

Hi All,
What is the simplest way to grab an image dimensions in java.

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



cannot create bean of class ...

2001-06-06 Thread Warty, Koustubh

 Hello,

  I am getting the error - cannot create bean of class wfdemo.Order. I have two other 
usebean statements after this that work. But an error is generated only for this 
usebean statement. Classpath is set properly but ..

 Please help.

 Thanks,
 - Koustubh





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



tracking email-off topic

2001-06-06 Thread Thakkar yahoo

hello friends,

I would like to send mails to some of the clients and would like to keep a
the track of this mail forwarded on the net.

that is i would like to know the email address of the person to whom this
mail is forwarded.

Is is possible to receive back a bcc of mail forwarded by my client without
he himself knowing about it.

Thanks in advance

Thakkar


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


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

 http://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



submit from more than a page ?

2001-06-06 Thread sufi malak

I have an application that has lot of fields, I want the user fill up the
fields in the first page and then click in the "NEXT" link and do the
samething until reaching the last page that has "SUBMIT"  button, how to
collect data in the action jsp file from all those pages ?

Thanks lot
_
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 objects to tag-libs?

2001-06-06 Thread sushma chakkirala

Please send me the responses you receive.

Thanks
sushma
--- "Duffey, Kevin" <[EMAIL PROTECTED]> wrote:
> Is it possible to pass in any Object other than a
> String to a taglib? I
> thought something like:
>
> 
>
> would be perfectly legal. As someone pointed out to
> me, the <%= %> returns a
> String type. Is there another way to pass in an
> object other than String?
> Seems odd to me since JSP turns into a servlet that
> it cant call a taglib
> (java code) with objects other than String.
>
> 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


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year!  http://personal.mail.yahoo.com/

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

 http://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: submit from more than a page ?

2001-06-06 Thread Shawn Zhu

easy, treat each next as a submit.
collect each page's infor and store them in a bean.
pass it down the pages and do a final process on the bean

> -Original Message-
> From: sufi malak [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 06, 2001 11:25 AM
> To: [EMAIL PROTECTED]
> Subject: submit from more than a page ?
>
>
> I have an application that has lot of fields, I want the user
> fill up the
> fields in the first page and then click in the "NEXT" link and do the
> samething until reaching the last page that has "SUBMIT"
> button, how to
> collect data in the action jsp file from all those pages ?
>
> Thanks lot
> _
> 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
>

===
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: submit from more than a page ?

2001-06-06 Thread Satyanarayan Divakar

Or you can even use Session to store the values..

-Original Message-
From: Shawn Zhu [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 06, 2001 2:21 PM
To: [EMAIL PROTECTED]
Subject: Re: submit from more than a page ?


easy, treat each next as a submit.
collect each page's infor and store them in a bean.
pass it down the pages and do a final process on the bean

> -Original Message-
> From: sufi malak [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 06, 2001 11:25 AM
> To: [EMAIL PROTECTED]
> Subject: submit from more than a page ?
>
>
> I have an application that has lot of fields, I want the user
> fill up the
> fields in the first page and then click in the "NEXT" link and do the
> samething until reaching the last page that has "SUBMIT"
> button, how to
> collect data in the action jsp file from all those pages ?
>
> Thanks lot
> _
> 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
>

===
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: tracking email-off topic

2001-06-06 Thread Shawn Zhu

I read there's a code snippet or macro you can embed in your
email message, and send back vital info to the sender.  I've
never seen it though.

> -Original Message-
> From: Thakkar yahoo [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 06, 2001 11:04 AM
> To: [EMAIL PROTECTED]
> Subject: tracking email-off topic
>
>
> hello friends,
>
> I would like to send mails to some of the clients and would
> like to keep a
> the track of this mail forwarded on the net.
>
> that is i would like to know the email address of the person
> to whom this
> mail is forwarded.
>
> Is is possible to receive back a bcc of mail forwarded by my
> client without
> he himself knowing about it.
>
> Thanks in advance
>
> Thakkar
>
>
> _
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> ==
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body:
> "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set
> JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://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: tracking email-off topic

2001-06-06 Thread Jann VanOver

Any kind of macro like that will be disabled by many virus-protection
systems.

I certainly hope that there is NOT any way to do what Thakkar asks because I
see that as an invasion of privacy.

If you have control of the mail server that is used, you could do it through
that, but to link into a client's mail service -- that's just scary.

-Original Message-
From: Shawn Zhu [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 06, 2001 12:23 PM
To: [EMAIL PROTECTED]
Subject: Re: tracking email-off topic


I read there's a code snippet or macro you can embed in your
email message, and send back vital info to the sender.  I've
never seen it though.

> -Original Message-
> From: Thakkar yahoo [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 06, 2001 11:04 AM
> To: [EMAIL PROTECTED]
> Subject: tracking email-off topic
>
>
> hello friends,
>
> I would like to send mails to some of the clients and would
> like to keep a
> the track of this mail forwarded on the net.
>
> that is i would like to know the email address of the person
> to whom this
> mail is forwarded.
>
> Is is possible to receive back a bcc of mail forwarded by my
> client without
> he himself knowing about it.
>
> Thanks in advance
>
> Thakkar
>
>
> _
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> ==
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body:
> "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set
> JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://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: submit from more than a page ?

2001-06-06 Thread Faxin Zhao

Or you can only use  in one frame of the frameset
to get the info, and submit them in the last html page.

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



Urgent...any help would be appreciated

2001-06-06 Thread Abhijeet Surve

guys...

the gui which we are using is made up of frames.there is a banner frame, a
navigation frame, a status frame and the main working area frame.

the problem i am trying to address is related to session timeouts.

consider the case that the user did not do any activity for a certain time
as a result of which he was logged out...now if he were to do anything,he
will be taken to the login page.

we have a LoginManager class which sees whether the user is logged in or not
and behave accordingly.

so coming back if the user is logged out and tries to do anything
he is taken to the login page.

***
however the login page occupies the same space as the main working area
frame while the other frames remain intact.
***

my question...how can we make the login page occupy the entire screen.

any kind of help would be appreciated
thanx
abhi

_
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: Urgent...any help would be appreciated

2001-06-06 Thread Moganna, Prasad

Code some javascript to reload the login page to the whole window when the
window
in which it is loaded contains frames.

- Prasad

> -Original Message-
> From: Abhijeet Surve [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, June 06, 2001 3:32 PM
> To:   [EMAIL PROTECTED]
> Subject:  Urgent...any help would be appreciated
>
> guys...
>
> the gui which we are using is made up of frames.there is a banner frame, a
> navigation frame, a status frame and the main working area frame.
>
> the problem i am trying to address is related to session timeouts.
>
> consider the case that the user did not do any activity for a certain time
> as a result of which he was logged out...now if he were to do anything,he
> will be taken to the login page.
>
> we have a LoginManager class which sees whether the user is logged in or
> not
> and behave accordingly.
>
> so coming back if the user is logged out and tries to do anything
> he is taken to the login page.
>
> ***
> however the login page occupies the same space as the main working area
> frame while the other frames remain intact.
> ***
>
> my question...how can we make the login page occupy the entire screen.
>
> any kind of help would be appreciated
> thanx
> abhi
>
> _
> 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

===
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: Urgent...any help would be appreciated

2001-06-06 Thread Roger Cuddy

Use some javascript in the login page to check for a frame and if so then
reload into the main window. something like ...


if (self.parent.frames.length != 0)
self.parent.location="myloginform.jsp";



-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Abhijeet Surve
Sent: Wednesday, June 06, 2001 4:32 PM
To: [EMAIL PROTECTED]
Subject: Urgent...any help would be appreciated


guys...

the gui which we are using is made up of frames.there is a banner frame, a
navigation frame, a status frame and the main working area frame.

the problem i am trying to address is related to session timeouts.

consider the case that the user did not do any activity for a certain time
as a result of which he was logged out...now if he were to do anything,he
will be taken to the login page.

we have a LoginManager class which sees whether the user is logged in or not
and behave accordingly.

so coming back if the user is logged out and tries to do anything
he is taken to the login page.

***
however the login page occupies the same space as the main working area
frame while the other frames remain intact.
***

my question...how can we make the login page occupy the entire screen.

any kind of help would be appreciated
thanx
abhi

_
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

===
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: Urgent...any help would be appreciated

2001-06-06 Thread Jann VanOver

I've got two answers to this and neither one is JSP.  Both require
Javascript, is that Okay?

1. Your login page could pop up in a separate window.  That's what M$oft's
Web interface to exchange does.  If the session times out, a new window pops
up for you to log back in, then you are returned to your original window and
the page refreshes.

2. Your login page can force itself out of the frame with Javascript.  See
http://developer.irt.org/script/206.htm for one way to do this.

-Original Message-
From: Abhijeet Surve [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 06, 2001 1:32 PM
To: [EMAIL PROTECTED]
Subject: Urgent...any help would be appreciated


guys...

the gui which we are using is made up of frames.there is a banner frame, a
navigation frame, a status frame and the main working area frame.

the problem i am trying to address is related to session timeouts.

consider the case that the user did not do any activity for a certain time
as a result of which he was logged out...now if he were to do anything,he
will be taken to the login page.

we have a LoginManager class which sees whether the user is logged in or not
and behave accordingly.

so coming back if the user is logged out and tries to do anything
he is taken to the login page.

***
however the login page occupies the same space as the main working area
frame while the other frames remain intact.
***

my question...how can we make the login page occupy the entire screen.

any kind of help would be appreciated
thanx
abhi

_
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

===
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: Write to CSV using JSP

2001-06-06 Thread piyush jain

i have done the same using a javabean.. the method code is as below.
***
public String prepareReport() throws Exception{
java.util.Date  date = new java.util.Date(System.currentTimeMillis());
String fileName = "file/TrdRep" + userid + (date.getMonth() + 1) + 
date.getDay() + date.getHours() + date.getMinutes() +".csv"; //for the path
Vector report = new Vector();
Vector settleResult = new Vector();
File file = new File("e:/netscape/server4/docs/trade/" + fileName);
FileWriter fWriter = new FileWriter(file);
fWriter.write("Trade Search Report \n \n ");
if (!((settle_type == null) || (settle_type.equals(""
{
settleResult=getSettleRetrieveResult(); // call the method which populates 
the records.
if (settleResult.size() > 0){
trd_time_from = (String)settleResult.elementAt(0);
trd_time_to = (String)settleResult.elementAt(1);
}
else{
fWriter.write("There is no settlement no in this type of settlement. "
+ "Search Result is for the default date.");
}
}
report=getRetrieveResult(); // call the method which populates the records.
if (report.size() > 0){
fWriter.write("The trade number mentioned here is a composite of the date 
of trade and the trade number assigned by the exchange. The last seven characters of 
the trade number denote the trade number assigned by NSE.");
fWriter.write("The Search Result for Client Id " + userid);
fWriter.write("\n TRADE,BUY/SELL,SCRIPT,SERIES,QTY,QTY 
RMNG,PRICE,TIME,CLIENT ID");
for (int i = 0; i < (report.size()/10); i++) {
fWriter.write("\n");
for (int j = 0; j < 10 ; j++){
if(j==4)
continue;
fWriter.write(report.elementAt(10*i + j)+ ",");
}
}
}
fWriter.flush();
file.deleteOnExit();
return fileName;
}
}

***

this method can be written in javabean and called in jsp.

thanks.

- Original Message --
"Blaney, Colin (CAP, CORP Contractor)" <[EMAIL PROTECTED]> wrote:
To:[EMAIL PROTECTED]
From:"Blaney, Colin (CAP, CORP Contractor)" <[EMAIL PROTECTED]>
Date:Tue, 5 Jun 2001 13:05:20 -0400
Subject:Write to CSV using JSP

I want to be able to write some web form values to a CSV (or txt) file.  I 
know ho to do this easily in ASP, anyone know the easiest way to do it in JSP?  Here 
is the ASP I
have used.

WRITE
<%
set FSO = Server.CreateObject("scripting.FileSystemObject")
set myFile = fso.CreateTextFile("C:\test.txt", true)
myFile.WriteLine("stuff")
myFile.WriteLine("more text here")
myFile.Close
%>

READ
<%
Const ForReading = 1, ForWriting = 2, ForAppending = 8
set fso = server.CreateObject("Scripting.FileSystemObject")

set f = fso.GetFile("C:\test.txt")
set ts = f.OpenAsTextStream(ForReading, -2)

TextStreamTest = ts.ReadLine

Do While not ts.AtEndOfStream
 myText = myText & ts.ReadLine & vbCrLf
 Response.Write myText
Loop
%>

Thanks,


---
Colin P. Blaney

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

_
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: tracking email-off topic

2001-06-06 Thread K.S.SREEDHAR KUMAR

though this is not a solution i'm providing this just for  info sake

the service which u r talking about can be availed thru' www.authentica.com
's services u can find a service(i don't remember the name) thru' which
u can install an inbuilt program in ur outlook xpress so that ur mails will
be tracked.


cheerio!

kasu

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 07, 2001 12:53 AM
To: [EMAIL PROTECTED]
Subject: Re: tracking email-off topic




I read there's a code snippet or macro you can embed in your
email message, and send back vital info to the sender.  I've
never seen it though.

> -Original Message-
> From: Thakkar yahoo [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 06, 2001 11:04 AM
> To: [EMAIL PROTECTED]
> Subject: tracking email-off topic
>
>
> hello friends,
>
> I would like to send mails to some of the clients and would
> like to keep a
> the track of this mail forwarded on the net.
>
> that is i would like to know the email address of the person
> to whom this
> mail is forwarded.
>
> Is is possible to receive back a bcc of mail forwarded by my
> client without
> he himself knowing about it.
>
> Thanks in advance
>
> Thakkar
>
>
> _
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> ==
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body:
> "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set
> JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://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 can I pass user defined class to another jsp page?

2001-06-06 Thread AYTUG AYDIN

Hi guys?
I have a simple question.

I can pass JMLSTRING and JMLNUMBER parameters from a JSP to another JSPs.
But I couldn' t pass a class defined by myself to another JSP?

Please, explain me, how I can manage this situation.

Example below.


 


"This bean can be passed, value can be used on another JSPs."


 


or



"our_user is my class, in both cases above, I coludn' t pass the fields of
the class to another JSP. All fields would be initialized on the next JSP.
I can' t get the values on the next JSP."

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: submit from more than a page ?

2001-06-06 Thread Daniel Bergenhus

Well i guess u could do alot of things.
Put all the values i SESSION,or save them in
a "textfile" or in a "database",
I would stuff them in a Vector and then put
the Vector  in SESSION, that way is would be
easy to change a value if so needed.

reg

Daniel



- Original Message - 
From: "sufi malak" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 06, 2001 8:25 PM
Subject: submit from more than a page ?


> I have an application that has lot of fields, I want the user fill up the
> fields in the first page and then click in the "NEXT" link and do the
> samething until reaching the last page that has "SUBMIT"  button, how to
> collect data in the action jsp file from all those pages ?
> 
> Thanks lot
> _
> 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
> 

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