Re: weblogic

2000-06-26 Thread David Gowe

An evaluation copy of BEA Weblogic server can be downloaded from
www.bea.com.  The current version is 5.1.0.  This supports most standards as
of today with respect to EJB, JDBC etc.

David Gowe
- Original Message -
From: R.B. Gurung [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 26, 1999 11:44 AM
Subject: weblogic


 Hi there Veena,

 Xong says its in TOMCAT_HOME/work in apache.
 Where Can get weblogic server free download can u help me with more info
 regarding weblogic configuration, requirements
 etc . etc so that i 2 can start using the same


 - Original Message -
 From: Veena [EMAIL PROTECTED]
 To: R.B. Gurung [EMAIL PROTECTED]
 Sent: Thursday, February 17, 2000 10:26 AM
 Subject: Re: Class/Jsp Location


 
  We r using weblogic server.
  For this we set a property in weblogic server asking it to generate java
  file in a specified directory...
 
  But in Tomcat-Apache ..i have no idea
 
  - Original Message -
  From: R.B. Gurung [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Cc: A mailing list about Java Server Pages specification and reference
  [EMAIL PROTECTED]
  Sent: Tuesday, May 11, 1999 10:07 AM
  Subject: Class/Jsp Location
 
 
   Hi ,
   Veena, Iam using Tomcat-Apache could you pls tell me where the JSP
  generated
   java/class files are located
   - Original Message -
   From: Veena [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Sent: Thursday, February 17, 2000 9:07 PM
   Subject: Re: Variable declaration
  
  
u can see this in java code generated for the JSP.
! Datatype variable % : a variable declared like this will be
   outside
the _jsp_service() method (Class level) whereas the
% Datatype variable % : a variable declared like this will be
  within
the _jsp_service() method (local)
   
- Original Message -
From: Thomas Preston [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 23, 2000 6:19 PM
Subject: Re: Variable declaration
   
   
 %! declares variable at class level while % declares variable at
   service
 method level.  Therefore, %! variables are shared by all clients
accessing
 page and need to be made thread safe ect, but % variables will
only
  be
 access in the scope of a single request.


 From: Ashish Bhatia [EMAIL PROTECTED]
 Reply-To: A mailing list about Java Server Pages specification
and
  reference [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Variable declaration
 Date: Fri, 23 Jun 2000 17:44:20 +0530
 
 Hi,
  What is the difference in declaring the variables as
 
  ! Datatype variable %
  Vs.
  % Datatype variable %
 
 as far as concurrent users are concerned. I mean if two users are
accessing
 the same JSP page and submitting the information at the same
time,
  will
the
 two have different instances of these variables, inspite of the
   requests
 being served by the same servlet formed after compiling the JSP
 page.
 Please help me in resolving this confusion.
 
 
 Thanks and Regards
 Ashish Bhatia
 NIIT LTD.
 8, Balaji Estate
 Sudarshan Munjal Marg,
 New Delhi - 110 058
 Tel: 6203447
 

   
  
 

===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
 JSP-INTEREST".
 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 Private, Free E-mail from MSN Hotmail at
  http://www.hotmail.com


   
  
 

===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
 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".
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 

Re: FW: Help for navigation with resultset!!

2000-06-24 Thread David Gowe

Hi Divya!
I think what you are trying to refer is the "Interface ResultSet" from the
"java.sql" package. Yeah, there are methods called next(), previous(),
relative(rows) etc., that can be used to move the pointer within the cursor.
You can refer to the JDK documentation for more info.

Hope this helps.

David Gowe

- Original Message -
From: Arnab Chatterjee [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, June 24, 2000 11:48 AM
Subject: FW: Help for navigation with resultset!!


 -Original Message-
 From: Divya Gupta [mailto:[EMAIL PROTECTED]]
 Sent: Saturday, June 24, 2000 11:55 AM
 To: arnab.chatterjee
 Subject: Help for navigation with resultset!!


 Hi All,
 I've a problem.I've a resultset with some rows.I want that whenever
 user clicks on buttons like next, previous,lsat and First then accordingly
 record should be displayed on the screen.
 Is there any method to do this in JSP.Does resultset has any methods like
 movenext...

 Thanks in advance,

 Divya


===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
 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".
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 precompile JSP pages?

2000-06-20 Thread David Gowe

Try this...

java weblogic.jspc %1.jsp

I use this in BEA's Weblogic

David Gowe
- Original Message -
From: Chris Lu [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 21, 2000 8:36 AM
Subject: How to precompile JSP pages?


 Hi,
 Does anybody know how to precompile the JSP pages?
 What is the easiest way to do that?

 Chris


===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
 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".
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: Calendar Server

2000-06-19 Thread David Gowe

you can try this site: http://coldjava.hypermart.net/

David Gowe
- Original Message -
From: Ritesh_Srivastava [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, June 17, 2000 12:35 PM
Subject: Re: Calendar Server


 where can i get this server.Is it a free download or a prototype version
is
 available.

  --
  From: Senthil Kumar[SMTP:[EMAIL PROTECTED]]
  Reply To: A mailing list about Java Server Pages specification and
  reference
  Sent: Thursday, June 15, 2000 6:05 AM
  To:   [EMAIL PROTECTED]
  Subject:  Re: Calendar Server
 
  Try Lotus Domino Server 5.0
 
  - Original Message -
  From: "Ritesh_Srivastava" [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Thursday, June 15, 2000 1:11 AM
  Subject: Re: Calendar Server
 
 
   For God's Sake--Please suggest?
  
Where can i find a good Calendar Server.Can
anybody suggest ?
   
How can I integrate the Calendar Server with my application.Please
  Help?
   
Regards,
Ritesh
   
   
  
  
 
==
  =
   To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
  JSP-INTEREST".
   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".
  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".
 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".
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: cookie

2000-06-01 Thread David Gowe

Whats more, check to see if your browser is receiving cookies.  This is a
configurable item in your browser and can be set to NO too.

David Gowe
Associate Consultant
HCL Infosystems Limited
- Original Message -
From: Sandeep Yarramreddy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 02, 2000 4:54 AM
Subject: Re: cookie


 Brad,

 Cookies are sent as part of the header. So if your
 cookie is being set after some output has been written
 then the cookie may not be sent. You probably want
 to do your cookie processing at the beginning of your page.
 Hope this helps.

 Thanks.
 Sandeep.

 Brad Miley wrote:
 
  I have a sign in form whose action is a jsp page named action.jsp
  In action.jsp I want to create a cookie, that stores the user's name and
  then have the user go to a page that says Welcome "so and so"
  The cookie is not being created though. Does anyone know what the
problem
  could be? Thank you
  in action.jsp:
 
  user.setLoggedIn( true );
  Cookie id = new Cookie("name", "test");
  id.setMaxAge( 7 * 24 * 60 * 60 );
  id.setVersion(0);
  id.setSecure( false );
  id.setComment( "This cookie is used to remember your name" );
  response.addCookie( id );
  %jsp:forward page= "welcomec.jsp"/%
 
  
  Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
 
 
===
  To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
  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".
 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".
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: SWING FWATURES IN JSP

2000-05-19 Thread David Gowe

Yes, you can achieve a tree structure (like the windows explorer tree) using
Java script in JSP.  Visit the site called www.aspfree.com.  It has a lot of
sample code for various types of menus. Look under the "JavaScript" tab of
the menu, which incedently is a Javascript menu.

CHECK IT OUT!!!

David Gowe

- Original Message -
From: Marco M [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, May 19, 2000 12:48 PM
Subject: Re: SWING FWATURES IN JSP


 Hi Richard,
 yeah...i forgot about it..
 so can u suggest me how to build a Tree in a JSP without using applet??
 thanx in advance  br
 marco

  -Original Message-
  From: EXT Russell, Richard (DEH) [mailto:[EMAIL PROTECTED]]
  Sent: 19. May 2000 9:53
  To: [EMAIL PROTECTED]
  Subject: Re: SWING FWATURES IN JSP
 
 
  not possible. Think about it. JSPs serve up HTML. Have you
  tried putting a
  JTree in a HTML page without an applet? Kinda hard, eh? JTree
  is a Java
  class that runs on the client and displays on the client's display.
  Therefore, it needs to run on the client's box, and the only
  two ways to do
  this are with an Applet or and Application... If you want to
  embed it into a
  web page, you need an Applet... This really should be quite
  obvious, once
  you know what JSPs are.
 
  rr
 
   -Original Message-
   From: Marco M [mailto:[EMAIL PROTECTED]]
   Sent: Friday, May 19, 2000 4:00 PM
   To: [EMAIL PROTECTED]
   Subject: Re: SWING FWATURES IN JSP
  
  
   Hi
   i am interested also
   but my specific need is to put a JTree into a JSP WITHOUT
   using an applet..
   is it possible??
   can someone give me some advices??
   thanx in advance and regards
   marco
  
-Original Message-
From: EXT arthur alexander [mailto:[EMAIL PROTECTED]]
Sent: 19. May 2000 7:43
To: [EMAIL PROTECTED]
Subject: Re: SWING FWATURES IN JSP
   
   
Please browse the SUN Java Swing site.
   
http://java.sun.com/products/jfc/index.html
  and
http://java.sun.com/products/jfc/tsc/index.html
   
There is a little thing called the Java Plug-In component.
If you wish to use JDK 1.2 or above in a browser
environment ( Navigator or IE ), the plug-in is what you need.
   
It comes in two flavors, one for IE, and one for Navigator.
   
Replaces the Browsers native JVM for the instance of the
running applet in the specific browser page loaded with a
reference to it and the main class to load.
   
More to learn, please follow the links . . .
   
   
-Original Message-
From: Biren [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Thursday, May 18, 2000 11:15 PM
Subject: SWING FWATURES IN JSP
   
   
Hi all,
Can I use Swing Features in JSP?.
If not How can I use JoptionPane of Swing in JSP.
My question is If I face any problems in validating data in
user defined
screen,How can i
show all errors in Message Box or like JoptionPane in the
user's screen.
Hope someone will answer my question.
Biren



Download NeoPlanet at http://www.neoplanet.com

=
==
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
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".
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".
   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".
  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:/

No Subject

2000-05-16 Thread David Gowe

if your are using weblogic, there is a concept of startup classes. Check
that out
- Original Message -
From: Watson, Dean [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 17, 2000 6:26 AM


 Is there an equivalent to ASP's global.asa file? We would like to
initialize
 the session with some attributes on start-up. Any ideas?


===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
 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".
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: Java Problem

2000-05-09 Thread David Gowe

I had the similar problem.  I was running Weblogic and each access to it
caused Dr. Watson to be executed and the server crashed.  On careful
examination, I found out that this was hapopening only on select machines
where java 1.2.2 (download) was installed.  I then uninstalled the same and
installed java 1.2 (download) and till date I have not received the Dr.
Watson error.

So Ritu, you problem could be the same.  Try using a different download of
java.  That could be the problem.

Hope this helps.   Contact if help needed.

David
- Original Message -
From: Ritu Kamboj [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 09, 2000 1:55 PM
Subject: Java Problem


 Hi...
 i am trying to run a jsp  application  on  Apache- Tomcat...Server..
 But the moment i accesss data  from database...
 It starts  giving  java.exe   Application Error.
 (Like  some problem in   referenced memoryMemory couldn't be read...)

 If anybody  have  any idea..Please let me know..
 Thanks in advance..
 Ritu


===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
 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".
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: Expire Page

2000-05-09 Thread David Gowe

Thanks Atif, but this did not work.
Any other ideas?
- Original Message -
From: Majeed, Atif [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, May 08, 2000 7:51 PM
Subject: Re: Expire Page


 You can use
 HttpServletResponse.setHeader("Pragma", "no-cache");
 or send an equivalent Meta tag
 META http-equiv="Pragma" content="no-cache"

 Atif

 -Original Message-
 From: David Gowe [mailto:[EMAIL PROTECTED]]
 Sent: Monday, May 08, 2000 1:08 AM
 To: [EMAIL PROTECTED]
 Subject: Expire Page


 Hello!

 I have the following requirement:

 When I use a JSP page and submit it to the the servlet, I want that page
to
 expire (viz.,. the user should not be able to press the back button on the
 browser and visit that page again).  Is it sufficient if we specified the
 "scope" in the usebean tag to "page". Will that only affect the scope of
the
 bean, or is there some additional tags to be used.

 Regards

 David Gowe


===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
 JSP-INTEREST".
 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".
 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".
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



Expire Page

2000-05-08 Thread David Gowe

Hello!

I have the following requirement:

When I use a JSP page and submit it to the the servlet, I want that page to
expire (viz.,. the user should not be able to press the back button on the
browser and visit that page again).  Is it sufficient if we specified the
"scope" in the usebean tag to "page". Will that only affect the scope of the
bean, or is there some additional tags to be used.

Regards

David Gowe

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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: Float problem in JSP

2000-04-11 Thread David Gowe

Hi Khoo!

If your trying to convert a 'String' value to 'float', then why not just use
the wrapper class.

For example:

StringstrNumber = "10.25";
float   floatNumber = 0.0;

floatNumber = Float.parseFloat(strNumber);

'floatNumber' would now contain the float value of 10.25. to which you can
do any arithmetic with.

Hope this helps you out.

Regards

David Gowe
- Original Message -
From: Khoo Swee Chin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 12, 2000 8:55 AM
Subject: Float problem in JSP


 Hi there,

 can somebody help me out with the float problem i'm having. I am new with
 JSP.
 i try to convert a string to a float to do a calculation in jsp, but the
 results turn out to be not what i expected, here are my code:
 
 % float SumTotalValue = 0 ;%

 repeat index = i
 %bnViewPOCHolder.getPO_No(i);%

% float TotalValue = new
 Float(bnViewPOCHolder.getNet_Total(i)).floatValue();%
  % SumTotalValue = SumTotalValue + TotalValue ;%
 /repeat
 %=a.format(SumTotalValue)%
 

 Sometimes i get a float number like 522.061 instead of 522.06 and
sometimes
 it's ok.
 What should i do? How can i set the decimal places to 2?


===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
 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".
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: param

2000-04-04 Thread David Gowe

Hi

Try binding the variable to a session using the code:

session.putValue("xyz", xyz);

This would then be available in the JSP.

David
- Original Message -
From: Hosseinzad, Fred [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 04, 2000 1:48 AM
Subject: Re: param


 I have a question

 how do I create a string parameter in Servlet and display it in the jsp
 page?


===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
 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".
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