No Subject

2000-09-18 Thread Dhananjay
There are many tools for JSP 1) Java web server (Sun microsystems) 2) Allaire Jrun (www.allaire.com) 3) Jakarta Tomcat (http://jakarta.apache.org/) visit the following sites most of them also provide the documentation for installation and configuration. Dhananjay [EMAIL PROTECTED]

Re: Session management

2000-09-18 Thread Mo Hengnan
change to % int i = 0; i++; out.println(i); % - Original Message - Hi all, With the following JSP: %! int i = 0 % %=i++% Each time I reload the JSP in my browser, I get the incremented value. But if someone else loads the same JSP, the counter starts at i+1, and not at 0. How

Session management

2000-09-18 Thread Enrique Pérez Soler
Hi all, With the following JSP: %! int i = 0 % %=i++% Each time I reload the JSP in my browser, I get the incremented value. But if someone else loads the same JSP, the counter starts at i+1, and not at 0. How can I separate both sessions? Thank you. -- -- "El bit es

Re: Session management

2000-09-18 Thread SHARAT BABU VENKATA VIJAYA KONDA
you need to use the following tag : % int i =0 % %=i++% Enrique Pérez Soler wrote: Hi all, With the following JSP: %! int i = 0 % %=i++% Each time I reload the JSP in my browser, I get the incremented value. But if someone else loads the same JSP, the counter starts at i+1, and not

Macromedia UltraDev

2000-09-18 Thread Matt Viljoen-Ciosici
Hi I'm considering buying Macromedia UltraDev for JSP development. What's the opinion of those who use it? How does it fare when used side by side with EJB development? At the moment it's still in version 1.0 - has anyone found any bugs or shortcomings? Any feedback would be very much

Re: I need some help with JSP reference

2000-09-18 Thread Stefan Bushev
yes, the objects are available in another % % when they are in the same file.. and if you tell the useBean element's scope to be 'session' you may use these objects in other jsp files too From: Kai Hackemesser [EMAIL PROTECTED] Reply-To: A mailing list about Java Server Pages specification and

How Servlet can hand-off to a JSP page

2000-09-18 Thread Alok Kumar
Hi All, I wanted to know how any Servlet can forwarded to a JSP page. I know one way getServletConfig().getServletContext().getRequestDispatcher("path of the jsp to be called").forward(request, response); Is there any other way we can pass forward a from Servlet to JSP. waiting for a earliest

Re: How to Identify whether a session has expired

2000-09-18 Thread Vikram Balaram
Hi Kumaran, Try opening the same page in two different windows or machines Regards, Vikram "Narayanaswamy, Kumaran (CTS)" wrote: Hi Is there any method to find whether a session has been expired? with regards, Kumaran Cognizant Technology

Re: How Servlet can hand-off to a JSP page

2000-09-18 Thread Rajesh Balu
Another way i can think of is: RequestDispatcher.include("path of jsp"); The diff between this and forward is that, in this case the jsp will return the control to the calling servlet, whereas in case of forward, jsp will send the response to the browser. - Original Message - From: Alok

Re: How Servlet can hand-off to a JSP page

2000-09-18 Thread Rajesh Balu
SORRY. Correction. RequestDespatcher.include(req,res) - Original Message - From: Alok Kumar [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 18, 2000 2:33 PM Subject: How Servlet can hand-off to a JSP page Hi All, I wanted to know how any Servlet can forwarded to a

Re: Button navigation in jsp.

2000-09-18 Thread Stefan Bushev
you have to use javascript for client side verifications .. so you have to put onClick="sure()" and in the javascript: if (confirm("blabla blah?")) { do.something } else { do.nothing } that is the easier way to do this.. if you redirect the user to another jsp you may get confused ... regards,

Re: dialg in jsp ?

2000-09-18 Thread Stefan Bushev
you may use javascript for doing that s.b. From: sufi malak [EMAIL PROTECTED] Reply-To: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: dialg in jsp ? Date: Thu, 14 Sep 2000 19:14:24 GMT Hi, I did dialogs in java awt and

Re: How to pass an array in JSP to an array in JavaScript

2000-09-18 Thread Stefan Bushev
try in javascript: jsArray[0] = "%=javaArray[0]%"; regards, stefan bushev From: TracyChoy [EMAIL PROTECTED] Reply-To: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: How to pass an array in JSP to an array in JavaScript

Re: How to Identify whether a session has expired

2000-09-18 Thread Kevin Jones
If you mean an HttpSession - Create an object that implements HttpSessionBindingListener, call session.setAttribute(myObj). The HttpSessionBindingListener will be called (valueUnbound(...) ) when the session expires, Kevin Jones DevelopMentor www.develop.com -Original Message- From:

Re: Code to be executed once

2000-09-18 Thread Kevin Jones
Servlets are share by ALL clients, so the first request in gets the if, every other request gets the else! The way around this is to use a session for each client, and store the flag in the session, Kevin Jones DevelopMentor www.develop.com -Original Message- From: A mailing list

Re: How to Identify whether a session has expired

2000-09-18 Thread Nitin Khattar
But these methods are called even when you Reload the browser (and the session has not expired) - Original Message - From: "Kevin Jones" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 18, 2000 4:59 PM Subject: Re: How to Identify whether a session has expired If you

Re: Stress Testing your JSP Site

2000-09-18 Thread Scott Evans
Check out this list: http://www.softwareqatest.com/qatweb1.html -Original Message- From: Bradley McLain [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 14, 2000 12:35 PM To: [EMAIL PROTECTED] Subject: Re: Stress Testing your JSP Site we've tested apache jmeter and also the

It is a pity, but I am still waiting for the response from the All good guys...

2000-09-18 Thread Gill
-Original Message- From: Gill [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 16, 2000 2:46 PM To: JSP-INTEREST Subject: Will any good guy help me. Importance: High Hi Fellows, I have downloaded and installed the Apache Software. I also copied Jakarta-Tomcat in the Apache

Re: How to Identify whether a session has expired

2000-09-18 Thread Manoj Patil
Hi kumaran, try setting a session variable and at the beggining of the page get that session variable. If that session variables value is null then consider that the session has expired. Bye Manoj - Original Message - From: "Vikram Balaram" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Database access in JSP...

2000-09-18 Thread Robuschi (Delfi)
Hello... I'm Roberto from Italy. I'm studying JSP and JavaBeans and I have some questions: 1) Can I access a database from a JSP page??? 2) Can a Javabean return a ResultSet so the JSP page can print alle the records in the Resultset??? 3) Can a Javabean (called by a JSP page) print some

Re: Code to be executed once

2000-09-18 Thread Manoj Patil
Hi kumaran, the problem is u have declared the variable with the %! tag which becomes a class variable. And as the servlet is shared by multiple clients. the value will be set for the variable first time and the same value will be used there after . So to avoid this prob declare the variable

Urgent JSP, XML, XSL

2000-09-18 Thread Priya Pinto
Hi, I've been trying a absolutely simple program in jsp and it is just refusing to work out! I've got a jsp file which generates XML code and calls an xsl file to display the output and it is just not working!! Here's the JSP file ?xml version="1.0"? ?xml:stylesheet type="text/xsl"

Re: How to Identify whether a session has expired

2000-09-18 Thread Nitin Khattar
I meant when you click 'refresh' or 'reload' on the browser (and not reload the browser!) the object bound to a session are unbound and then rebound.So these methods are called whenever you click on 'refresh' or 'reload' buttons on the browser. Sorry for not being clear! - Original

Re: Session management

2000-09-18 Thread Kevin Jones
JSPs are servlets. Servlets are singeltons. The variable (i) that you define in one servlet is seen by ALL clients. If you want per client state you will need to store it in a session, Kevin Jones DevelopMentor www.develop.com -Original Message- From: A mailing list about Java Server

Re: How to Identify whether a session has expired

2000-09-18 Thread Scott Evans
It shouldn't work like that unless the browser is not participating in maintaining the session, i.e. it is set not to allow cookies. -Original Message- From: Nitin Khattar [mailto:[EMAIL PROTECTED]] Sent: Monday, September 18, 2000 2:55 PM To: [EMAIL PROTECTED] Subject: Re: How to

Re: Urgent JSP, XML, XSL

2000-09-18 Thread Scott Evans
Are you expecting the browser or the server to do the style sheet conversion? -Original Message- From: Priya Pinto [mailto:[EMAIL PROTECTED]] Sent: Monday, September 18, 2000 1:18 PM To: [EMAIL PROTECTED] Subject: Urgent JSP, XML, XSL Hi, I've been trying a absolutely simple program

A question about ResultSets

2000-09-18 Thread Kai Hackemesser
Hi! I have found that I can't ask the same Recordset field two times with getString() or equals. I get the SQL exception "no Data" on second try. Is this a rule or a mistake on my side? here is some code where it happens: try { String RSTB3000_Query = "SELECT ROUTING_AREA FROM

No Subject

2000-09-18 Thread Stefan Bushev
use javascript for client side validation s.b. From: Brian Slezak [EMAIL PROTECTED] Reply-To: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Sun, 17 Sep 2000 00:44:01 -0500 What is the appropriate way to validate a

Re: How to Identify whether a session has expired

2000-09-18 Thread Kevin Jones
But the session will expire when you reload the browser! HttpSession uses 'non-durable' cookies, i.e. they are in-memory only, if you shut down the browser then the cookie is unloaded, when you re-open the browser and go back to the site then the cookie has to be re-created by the server. If

Unsubscribe me pls

2000-09-18 Thread Mabrouk ZHILI
Kai Hackemesser wrote: Hi! I have found that I can't ask the same Recordset field two times with getString() or equals. I get the SQL exception "no Data" on second try. Is this a rule or a mistake on my side? here is some code where it happens: try { String RSTB3000_Query = "SELECT

Re: Stress Testing your JSP Site

2000-09-18 Thread Stefan Demetz
time out your session every few minutes or so if you have enough time go to your local tech college and get some students to do it for a few bucks, to stress and hack your app it's not formal, but very effective Here in uk some colleges/universities do this kind of thing the teacher gives this

Re: Encrypt and Decrypt Password

2000-09-18 Thread Stefan Bushev
hi raj.. you may do something like: form id="myForm" action="some.jsp" method=post input type=hidden name=password value=something /form a onClick="return myFunct()"blabla/a script language="JavaScript" function myFunct() { myForm.submit(); } /script i hope this will help you

JPS Model 2 and ResultSets

2000-09-18 Thread Lee Turner
Hi I was wondering how people are handling searches when using the jsp model 2 architecture ?? I am converting an all servlet based application to a jsp/servlet architecture using model 2. I have a jsp page which displays the search form. This allows them to enter their search criteria. When

Re: A question about ResultSets

2000-09-18 Thread Narayanaswamy, Kumaran (CTS)
Hi yeah you can acess the value only once thru getString so stor it in a variable and acess it wherever u want with regards, Kumaran Cognizant Technology Solutions India Ltd, 1st Floor ,T.S.140 No 2 9, C.P.T Road .Taramani Chennai - 600 113.

Re: Database access in JSP...

2000-09-18 Thread Sanjay Gomes
yes all three can be done , except for the last one , instead of printing values in the bean, get it to store them in an array and retrn the array to the JSP page then print the values in the JSP. THis will ensure the dynamicity of the bean It can then be adapted to other pages as well Regards

unsubscribe me

2000-09-18 Thread Mabrouk ZHILI
unsubscribe me pls Lee Turner wrote: Hi I was wondering how people are handling searches when using the jsp model 2 architecture ?? I am converting an all servlet based application to a jsp/servlet architecture using model 2. I have a jsp page which displays the search form. This

Re: JPS Model 2 and ResultSets

2000-09-18 Thread Scott Evans
I have been creating a collection of the specific objects that the user is searching for, for example, books, although I fear that it is creating too much object churn. -Original Message- From: Lee Turner [mailto:[EMAIL PROTECTED]] Sent: Monday, September 18, 2000 3:34 PM To: [EMAIL

Re: somewhat off topic: forcing a servlet to run according to aschedule

2000-09-18 Thread Jacek Laskowski
JavierG wrote: Hi out there! I’m trying to force a servlet to run according to a certain schedule, but the specification seems to leave servlet lifetime entirely in the Servlet Engine hands (maybe I’m not reading where I should). It’s there a way to do this? The only thing you can do in

Re: Stress Testing your JSP Site

2000-09-18 Thread Bolt, Dave
One approach to stress testing if you have a Model 2 (action classes and request dispatcher) site is to take advantage of the architecture of the app for testing purposes. For example, if you have a front component servlet that takes an HTTP request and turns it into an Action object for

Re: JPS Model 2 and ResultSets

2000-09-18 Thread Kevin Jones
The problem I am having is that the ResultSet is not serializable and therefore I get an error This shouldn't matter. You are passing the ResultSet by reference, not copying it to a stream (which would serialize it). Are you closing the Statement in the servlet before the JSP is getting the

Re: How to Identify whether a session has expired

2000-09-18 Thread Kevin Jones
This SHOULDN'T happen - which browser/servlet container are you using, Kevin Jones DevelopMentor www.develop.com -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Nitin Khattar Sent: 18 September 2000

Re: It is a pity,but I am still waiting for the response from the All good guys...

2000-09-18 Thread Veronique Dupierris
Hello, The answer you already had from Mauro Quartini didn't satisfy you ? First of all, you should have a look at the Tomcat documentation and specifically the tomcat-apache howto which help you run tomcat with an Apache Server.

Re: A question about ResultSets

2000-09-18 Thread Kevin Jones
ResultSets should be used left-to-right, top-to-bottom. There is no guarantee that once a row/column has bee readm that it can be re-read. Also there is no guarantee that columns can be read out of order (i.e. rs.getString(2); rs.getString(1); will probably fail). From the help '. For maximum

Re: How to Identify whether a session has expired

2000-09-18 Thread Nitin Khattar
Actually you have to excuse me for not trying this out myself. I read in Jason Hunter's book in the Session Tracking chapter which mentions that this happens. In fact it has an example which illustrates this. - Original Message - From: "Kevin Jones" [EMAIL PROTECTED] To: [EMAIL

RV: Access MySQL databases

2000-09-18 Thread Luis Lorente
Hello What is the best way to access a MySQL database from a JSP page? I don't find "offcial" JDBC drivers for MySQL. Thank you in advanced Luis Lorente Anglatècnic Barcelona, Spain === To unsubscribe: mailto [EMAIL

Re: RV: Access MySQL databases

2000-09-18 Thread Veronique Dupierris
Hi, I have dowloaded some from MySql Site (www.mysql.com) to access DBs under Nt an,d it works well ! If you want me to send you the jar file ... tell me ! Regards Veronique Luis Lorente a écrit : Hello What is the best way to access a MySQL database from a JSP page? I don't find

Re: unsubscribe me

2000-09-18 Thread Robert Bivins[SWIT CONTRACTOR]
Mabrouk, There are three copies of the instructions on how to unsubscribe at the bottom of this e-mail. Plus, every post you've received has included a copy of the same instructions, to wit: Send and e-mail to mailto:[EMAIL PROTECTED]. In the body of the e-mail put: signoff jsp-interest The

Re: Urgent JSP, XML, XSL

2000-09-18 Thread Madigan, Brian
Check out the taglibs project http://jakarta.apache.org/taglibs and check out the XSL tag library. Take a look at the xsl:apply and xsl:include tags. They will allow you to perform dynamic XSLT transformations. -Original Message- From: Priya Pinto [mailto:[EMAIL PROTECTED]] Sent: Monday,

Re: Encrypt and Decrypt Password

2000-09-18 Thread Raj S
Hi, Thanks for this.But actually I have to transfer it through an a href link.Because I have a table displaying vlues from LDAP, and next to each record I have a text written as "Del". By clicking on it,the user can delete that record. But the value will be visible in the a href link which

How to access to TAGattributes inside JSPs

2000-09-18 Thread leonardo
I use an iterating tag such this one csajsp:ShowCategories forma='righe' name='io' cycles='5' bgColor='yellow' align='middle' width='250' border='1' None /csajsp:ShowCategories this print out NONE NONE NONE NONE NONE % Enumeration at = session.getAttributeNames();

Re: Sendmail - speed

2000-09-18 Thread Rogério Saran
You should have 2 main concerns: how fast can you submit mail to the mail server; how fast can the mail server deliver it. I did a mail system performance evaluation and found the PostFIX and QMail far faster than sendmail. In those tests we used a controlled mailing list with several

Re: How to Identify whether a session has expired

2000-09-18 Thread Kevin Jones
Don't believe everything you read ;-) Kevin Jones DevelopMentor www.develop.com -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Nitin Khattar Sent: 18 September 2000 16:21 To: [EMAIL PROTECTED]

Re: How to Identify whether a session has expired

2000-09-18 Thread Nitin Khattar
Actually you have to excuse me for not trying this out myself. I read in Jason Hunter's book in the Session Tracking chapter which mentions that this happens. In fact it has an example which illustrates this. - Original Message - From: "Kevin Jones" [EMAIL PROTECTED] To: [EMAIL

Re: JSP tags web.xml file

2000-09-18 Thread Sajeev Anand
The following is my web.xml file: ?xml version="1.0" encoding="Cp1252"? !DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN' 'http://java.sun.com/j2ee/dtds/web-app_2.2.dtd' web-app display-nameWeb App/display-name descriptionno description/description servlet

Re: JSP tags

2000-09-18 Thread Sajeev Anand
Hi Sanjay Unfortunately, I don't remember the exact URL, but it is on Caucho's(who make Resin) site. You can try searching using these. Also, there is a tutorial on www.orionserver/taglibtut. Please let me know if you can get the example to work. Sajeev -Original Message- From: A

Re: Encrypt and Decrypt Password

2000-09-18 Thread Artem Babenko
I realy don`t understand why you have to send password to a client. 1. Store your password in the session object. 2. If you want avoid cookies. Create array of random generated key (numbers) and login for each pasword. Store it in application object. Login with a key

ServletRequest.getRequestDispatcher()

2000-09-18 Thread Sushil Singh
Hi, I am unable to compile my servlet which is using ServletRequest.getRequestDispatcher(), its giving error that no such method. I am having JVM 1.1.7 If I use ServletContext.getRequestDispatcher(), its compiling and executing but I can not use this methid as I have to specify the full url in

Re: ServletRequest.getRequestDispatcher()

2000-09-18 Thread Hans Bergsten
Sushil Singh wrote: Hi, I am unable to compile my servlet which is using ServletRequest.getRequestDispatcher(), its giving error that no such method. I am having JVM 1.1.7 If I use ServletContext.getRequestDispatcher(), its compiling and executing but I can not use this methid as I have to

Re: ServletRequest.getRequestDispatcher()

2000-09-18 Thread Artem Babenko
It is not possible. You have to use response.sendRedirect Or you have to download the page from other server by (new URL("othersite")).getInputStream() -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of

JSP:BEAN Examples

2000-09-18 Thread Sushil Singh
Hi, I have never used any beans in JSP, if anybody can provide me a simple JSP which uses a BEAN (Database bean etc), in order to understand the concept/advantages. it will be highly appreciated. Thanks. Sushil === To

JSP's, JavaBeans, and JDBC

2000-09-18 Thread Ryan Richards
Well I appreciate the replies tp my earlier post but it looks like my design is going to change. Here is the history so you will understand my question: Goal: A web system to retireve/store object in a database. First Solution: I created static HTML pages and passed parameters to a dozen

Re: JSP:BEAN Examples

2000-09-18 Thread Daryani Santosh
Here's an example jsp followed by the bean . You may have to make some changes to run in your environment , also need to put the bean in the appropriate folder. hope this gives you some direction Santosh JSP %@page import="hello.*;" errorPage="DisplayError.jsp"% jsp:useBean id="DbBean"

Quick bean question.

2000-09-18 Thread Brian Slezak
When a JSP page updates a bean from a form, and a form field is blank, does it just skip calling the setXxxx method, or does it call the setXxxx method and pass a String with a value of ""? Thanks, Brian === To

Re: javascript, how to close a dialog ?

2000-09-18 Thread Stuck, Jeff
Please remove me from this list. -Original Message- From: sufi malak [mailto:[EMAIL PROTECTED]] Sent: Monday, September 18, 2000 2:51 PM To: [EMAIL PROTECTED] Subject: javascript, how to close a dialog ? I have this dialog : html head titleUntitled Document/title meta

Re: javascript, how to close a dialog ?

2000-09-18 Thread Stuck, Jeff
Please remove me from this list. -Original Message- From: Michael Quale [mailto:[EMAIL PROTECTED]] Sent: Monday, September 18, 2000 3:07 PM To: [EMAIL PROTECTED] Subject: Re: javascript, how to close a dialog ? Try OnClick event! -Original Message- From: A mailing list about

Re: javascript, how to close a dialog ?

2000-09-18 Thread Michael Quale
Try OnClick event! -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of sufi malak Sent: Monday, September 18, 2000 2:51 PM To: [EMAIL PROTECTED] Subject: javascript, how to close a dialog ? I have this

Re: Quick bean question.

2000-09-18 Thread Hans Bergsten
Brian Slezak wrote: When a JSP page updates a bean from a form, and a form field is blank, does it just skip calling the setXxxx method, or does it call the setXxxx method and pass a String with a value of ""? It doesn't call the setXxxx method at all if the parameter value is an empty

Re: Quick bean question.

2000-09-18 Thread Stuck, Jeff
Please remove me from this list. -Original Message- From: Brian Slezak [mailto:[EMAIL PROTECTED]] Sent: Monday, September 18, 2000 3:13 PM To: [EMAIL PROTECTED] Subject: Quick bean question. When a JSP page updates a bean from a form, and a form field is blank, does it just skip

Re: javascript, how to close a dialog ?

2000-09-18 Thread sufi malak
Hi, could you please show me where to put OnClick event, I will appreciate if someone give me a small example of a form. Thanks From: Michael Quale [EMAIL PROTECTED] Reply-To: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Re: Quick bean question.

2000-09-18 Thread Brian Slezak
Cool. Thanks Hans! Brian It doesn't call the setXxxx method at all if the parameter value is an empty string ("blank"). This is the defined behavior per the spec. Hans -- Hans Bergsten [EMAIL PROTECTED] Gefion Software http://www.gefionsoftware.com

Re: Quick bean question.

2000-09-18 Thread Patrick Lin
It will skip calling the setXxxx method. However, I am not sure if it depends on the engine implementation. I am using WebLogic... -Patrick -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Brian

Re: javascript, how to close a dialog ?

2000-09-18 Thread Matthew Denison
You have got to be kidding! 1. This is not the one-stop-shop for your answers. 2. Class is not in session on this list. 3. This is a JSP list. 4. JavaScript is so heavily documented on the Internet you can find info about it anywhere. 5. Go R-E-A-D!! To All: Don't support lazy programmers. Let

javascript, how to close a dialog ?

2000-09-18 Thread sufi malak
I have this dialog : html head titleUntitled Document/title meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" SCRIPT language="JavaScript" function testReload() { window.opener.parent.left.location.href = "select.jsp"; } /SCRIPT /head body bgcolor="#FF" form

Re: javascript, how to close a dialog ?

2000-09-18 Thread Michael Quale
Try this: function Close_onclick() { window.close() } input type="submit" name="Submit3" value="Okey" language=javascript onClick="return Close_onclick()" Hope this helps, Michael Quale PCC Solutions Developer -Original Message- From: A mailing list about Java Server Pages

session scope

2000-09-18 Thread Deborah D O'Connor
Greetings. I sometimes see a cast error message while in the midst of tweaking one of my jsp pages. I will edit my scope in the jsp page to change it from "session" to be "request" and the pages work again, although the variable scope is a mess of course. Having my administrator restart our

Re: Encrypt and Decrypt Password

2000-09-18 Thread Raj S
I am using JNDI, to access LDAP server to delete ,modify and add attributes ,I have to provide the username and password in the context. This is the reason I have to forward the password and username from one JSP to another. From: Artem Babenko [EMAIL PROTECTED] Reply-To: A mailing list about

Where in the application should I manually set the session timeout

2000-09-18 Thread Jyoti Bongarala
My application's first servlet creates a session to be used by other jsp pages and servlets of the app. My question is - where should I set the session timeout - right after I create the session OR .. Please let me know.. thanks, Jyoti __ Do

Re: Quick bean question.

2000-09-18 Thread Brian Slezak
When a JSP page updates a bean from a form, and a form field is blank, does it just skip calling the setXxxx method, or does it call the setXxxx method and pass a String with a value of ""? It doesn't call the setXxxx method at all if the parameter value is an empty string ("blank").

Re: Model 2 Servlet Design

2000-09-18 Thread Craig R. McClanahan
"Hines, Bill" wrote: WebSphere is still only at Servlet 2.1 and JSP 1.0. Can I still use Struts, and if so what important functionality will I be missing? The MVC framework part of Struts will work fine under Websphere. However, because it only supports JSP 1.0 you will not be able to use

IMAP Server

2000-09-18 Thread PW
Hi, Try mailandnews.com -- they provide free IMAP mail account. Best regards, Piotr -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Saravanan Sent: Wednesday, September 13, 2000 22:44 To: [EMAIL

Re: XML/XSL transformation in the server also JSPs and custom tags

2000-09-18 Thread Craig R. McClanahan
Tomasz Ratajczak wrote: Hans, Craig, Thank you for responding. Jakarta Taglibs xsl:apply and xsl:include tags is exactly what we needed. One remark about the xsl:include tag. A penalty that we incur for using it is that we loose attributes at the request scope, since it opens a new URL

Re: Where in the application should I manually set the session ti meout

2000-09-18 Thread Kevin Duffey
If your doing a servlet 2.2 web-app in a J2EE Servlet 2.2 engine, put it in web.xml of the web-app. Its a standard J2EE (Servlet 2.2) tag in the web.xml file. I think it is session-config time-out="xxx" / where xxx is the number of minutes. I can't remeber for sure. -Original Message-

Re: Quick bean question.

2000-09-18 Thread Hans Bergsten
Brian Slezak wrote: When a JSP page updates a bean from a form, and a form field is blank, does it just skip calling the setXxxx method, or does it call the setXxxx method and pass a String with a value of ""? It doesn't call the setXxxx method at all if the parameter value is

Re: Quick bean question.

2000-09-18 Thread Brian Slezak
Okay, let's set stage here to make sure we talk about the same thing. What I responded to earlier was what the JSP spec says about calling bean access methods automatically when jsp:setProperty name="foo" property="*" is used. This is what I referred to, from section 2.13.2.1: If you set

Displaying rows from a Scrollable ResultSet

2000-09-18 Thread Chia Ti Loon TELCO NCS
Hi, I am very new to JSP and JDBC, and I faced the following programming problem : How do I access the rows returned in a scrollable resultset and display it on a html page (one that is embedded in a .jsp file). The html page should have controls or buttons that can allow the

Re: Quick bean question.

2000-09-18 Thread Hans Bergsten
Brian Slezak wrote: Okay, let's set stage here to make sure we talk about the same thing. What I responded to earlier was what the JSP spec says about calling bean access methods automatically when jsp:setProperty name="foo" property="*" is used. This is what I referred to, from section

Re: Database access in JSP...

2000-09-18 Thread Sampa Das
hello, U can access database from a jsp page. And a JavaBean can return a result set which can be iterated and used to print the values obtained in the result set. bye sampa "Robuschi (Delfi)" wrote: Hello... I'm Roberto from Italy. I'm studying JSP and JavaBeans and I have some questions:

Re: Displaying rows from a Scrollable ResultSet

2000-09-18 Thread Robert Nicholson
The short answer to this is that you use a scrollable result set you figure out based on the page number which record number you are after (page - 1) * rowsperpage and then read rowsperpage or end of resultset from there after using result.absolute to position at the row number. You just have to

No Subject

2000-09-18 Thread Sampat Palani
hi i am useing apache webserver with tomcat servlets have stopped regestering my old servlets including one i made are workin but when i place my new servlets in the same dir they dont work herte is my context tag in the 'server.xml' Context path="/myProject" docBase="webapps/myProject"

servlets stopped responding

2000-09-18 Thread Sampat Palani
hi i am useing apache webserver with tomcat servlets have stopped regestering my old servlets including one i made are workin but when i place my new servlets in the same dir they dont work herte is my context tag in the 'server.xml' Context path="/myProject" docBase="webapps/myProject"