Re: JDBC for Microsoft SQL Server

2000-07-27 Thread Tamanna Kher
or tds driver or weblogic driver pvmurthy <[EMAIL PROTECTED]> on 07/27/2000 04:02:35 PM Please respond to A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc:(bcc: Kher Tamanna-SWD-ITIL-UB/Itilmail) Subject: Re: JDBC f

Re: This is very ***important*** for me ..please help.

2000-07-25 Thread Tamanna Kher
u r declaring ur connection object inside a function which will not be accessible from any other function. So declare these out side the function along with ur other variables hope this will solve ur problem. Pradeep Roy <[EMAIL PROTECTED]> on 07/25/2000 02:05:02 PM Please respond to A mailin

Re: Newby question - Instantiating bean again

2000-07-19 Thread Tamanna Kher
u can write an initvariables function for the bean variables which will reinitialize the bean variables (whenever called) whenever u want the variables to be iniialized. Awad Katherin <[EMAIL PROTECTED]> on 07/19/2000 01:32:21 PM Please respond to A mailing list about Java Server Pages specif

Re: problems using session

2000-07-16 Thread Tamanna Kher
Hi! instead of storing bean as a session object store a variable in the session to null or anyother value if th user is logged in. Instead of having the scope of the bean as page change the scope to session. This will solve ur problem. And whenever u want to check check for the exsistece of th

Re: how to detect a browser closing

2000-07-13 Thread Tamanna Kher
if u r using javascript then make sure to use the magic word document before the form name.This might solve ur problem. regards, tamanna Ionel Condor <[EMAIL PROTECTED]> on 07/13/2000 06:37:56 PM Please respond to A mailing list about Java Server Pages specification and reference <[EMA

Re: How to access database from JSP?

2000-07-11 Thread Tamanna Kher
simple using a class or a bean. Diwakar Killamsetty <[EMAIL PROTECTED]> on 07/11/2000 04:00:01 PM Please respond to A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc:(bcc: Kher Tamanna-SWD-ITIL-UB/Itilmail) Subject:

Re: passing value

2000-07-07 Thread Tamanna Kher
ll value. the login page is JSP page, is it the problem of this? How to do now? Louis - Original Message - From: "Tamanna Kher" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 07, 2000 11:28 AM Subject: Re: passing value > the easiest way out is

Re: passing value

2000-07-07 Thread Tamanna Kher
the easiest way out is that once ur login page is submitted all the values wil be passed in the disclaimer page which then will call the servlets. o on disclaimer page u can store the values in the hidden variables. and when u submit this page too then ur values will automatically be submitted to

Re: Problem in resizing and refreshing pages

2000-07-06 Thread Tamanna Kher
Hi!!! this message comes only when ur page is accepting something from a fom or earlier page. This page will be called only when u submit the prior page. If it asks this question then simply click on retry then only ur page will be refreshed if u press cancle i guess ur page will not be refreshed.

Re: Returning java.sql.ResultSet from an EJB

2000-07-06 Thread Tamanna Kher
Hi! There is a very simple solution to this. Have one function for executing the query and gettin the result in the resultset.Then have another function to fetch the result one by one and putiing thm in the elements or variables of the bean and in the jsp page run a while loop this this (2nd

Re: Still cannot solve database problem

2000-07-06 Thread Tamanna Kher
Use TimeStamp this might solve ur problem. rayteng <[EMAIL PROTECTED]> on 07/06/2000 03:25:06 PM Please respond to A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc:(bcc: Kher Tamanna-SWD-ITIL-UB/Itilmail) Subject: S

Re: why bean can't have a constructor

2000-07-04 Thread Tamanna Kher
the select statement ill b like this SELECT * FROM emp WHERE name like '%a%' instead of SELECT * FROM emp WHERE name like " %a%"; Single quotes. Khem Chand Sachdeva <[EMAIL PROTECTED]> on 07/04/2000 02:35:43 PM Please respond to A mailing list about Java Server Pages specification and

Re: Syntax of setproperty

2000-07-03 Thread Tamanna Kher
all the best for a glowing future in jsp ;-) Rakesh Bhat <[EMAIL PROTECTED]> on 07/04/2000 11:12:04 PM Please respond to A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc:(bcc: Kher Tamanna-SWD-ITIL-UB/Itilmail) Subje

Re: Syntax of setproperty

2000-07-03 Thread Tamanna Kher
Hi This statement sets all the properties in the bean i.e. lets say in the bean we have 5or 10 set methods setName, setId, setAddress, setAge etc etc.. Instead of calling each set method seperately we say Provided the parameter name being passed, the setProperty name and the parameter bei

Re: Syntax of setproperty

2000-07-03 Thread Tamanna Kher
there is another way to set the value too. suppose u want to set the value of a parameter in bean equals to the value of a parameter passed by another form then u can write setproperty like this: suppose the parameter name is custId. remember no getParameter etc statements. Hans Bergsten <[E

Re: communicate between two jsp's

2000-06-29 Thread Tamanna Kher
Hi using jsforward u cannot pass the parameers the way u do it in the form . Because no form is submitted in case of jsp:forward. But u can set the values of the parameters in the request and response headers which u can call in the next jsp page. instaed of this u can do this response.setAt

Re: jsp:usebean tag

2000-06-29 Thread Tamanna Kher
yes u can do that. Asri Ismail <[EMAIL PROTECTED]> on 06/29/2000 03:10:45 PM Please respond to A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc:(bcc: Kher Tamanna-SWD-ITIL-UB/Itilmail) Subject: jsp:usebean tag c

Re: Bean Bean

2000-06-26 Thread Tamanna Kher
nopes i think there is no ay out coz even i have to restart my jrun everytoime i make changes to the bean files. I think when we start our servers it picks up all the class files by default and uses them whenever they are wanted in the jsp pages. So when u make the changes and recompile the bean t

Re: How to Post Data IN JSP

2000-06-22 Thread Tamanna Kher
What do u exactly mean by manually posting data to some url? will the data be dynamically created , i.e. on some conditions etc. Pratik <[EMAIL PROTECTED]> on 06/23/2000 12:03:20 PM Please respond to A mailing list about Java Server Pages specification and reference <[EMAIL PRO

Re: Dispalying messages?

2000-06-22 Thread Tamanna Kher
Hi! if u r using jrun these messages can be seen in jsm-default\logs\stdout.txt file if u r using java developement kit the u can see these statements on he console regalsoft <[EMAIL PROTECTED]> on 06/23/2000 11:53:50 AM Please respond to A mailing list about Java Server Pages specificati

Re: Dispalying messages?

2000-06-22 Thread Tamanna Kher
Hi! if u r using jrun these messages can be seen in jsm-default\logs\stdout.txt file if u r using java developement kit the u can see these statements on he console regalsoft <[EMAIL PROTECTED]> on 06/23/2000 11:53:50 AM Please respond to A mailing list about Java Server Pages specificati

Re: ErroR

2000-06-21 Thread Tamanna Kher
also the tag starts with on 06/22/2000 08:01:46 AM Please respond to A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc:(bcc: Kher Tamanna-SWD-ITIL-UB/Itilmail) Subject: Re: ErroR Is it possible this is because your

Re: : ErroR again

2000-06-21 Thread Tamanna Kher
"); ^ /usr/jrun/jsm-default/services/jse/servlets/jsp/home/contactus/contactuscon t ent.java:70: Missing term. out.print("\r\n "); ^ 4 errors -Original Message- From: Tamanna

Re:

2000-06-21 Thread Tamanna Kher
Hi! here is the syntax of jsp:forward Armando Carreon <[EMAIL PROTECTED]> on 06/22/2000 08:04:35 AM Please respond to A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc:(bcc: Kher Tamanna-SWD-ITIL-UB/Itilmail) Su

Re: ErroR

2000-06-21 Thread Tamanna Kher
the error is <%jsp:usebean id="qMember" class="com.balicamp.asiapot.JMember" scope="page" %> (my bean) instead it should be Henki Lubis <[EMAIL PROTECTED]> on 06/22/2000 08:46:59 AM Please respond to A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]

How To Validate Date Format Using Java

2000-06-21 Thread Tamanna Kher
u have to use dateformatter. kindly check that out in the jdk help. Also u can force the user to fill the date in the format u want by seperating mm and dd as seperate text boxes and putting them the way u want. tppal <[EMAIL PROTECTED]> on 06/21/2000 10:58:24 AM Please respond to A mail

Re: how can i have 2 actions..

2000-06-20 Thread Tamanna Kher
on behalf of sanjay gomes > Hi , I am using Java Web Server for hosting the JSP I am trying to call a Bean from a JSP Can somebody tell me where do i keep the Bean (i.e..class file) There is a classes subdirectory in JavaWebServer directory which i tried out but it didnt work out.It is not a

Re: Passing spaces in query strings

2000-06-20 Thread Tamanna Kher
the correct way to pass the parameters having spaces in between is to put the values in the single or double quotes. That'll solve your problem. "Vinay K.V. Menon" <[EMAIL PROTECTED]> on 06/20/2000 05:01:02 PM Please respond to A mailing list about Java Server Pages specification and re

Re: how can i have 2 actions..

2000-06-19 Thread Tamanna Kher
sorry for the incomplete answer. But the easiest way out is that keep an intermediate jsp page Wh u click on any of the buttons the values are passed to that page an from there prbably on the basis of which buttomn was clicked u can do jsp:forward. This is the simplest way out. Dheil Corona <

Re: how can i have 2 actions..

2000-06-19 Thread Tamanna Kher
then probably what u can do is that put the names as same and associate some javascript finction on the basis of that (onSumit action) and then Dheil Corona <[EMAIL PROTECTED]> on 06/19/2000 02:44:21 PM Please respond to A mailing list about Java Server Pages specification and reference

Re: DreamWaver UltraDev

2000-06-16 Thread Tamanna Kher
Hi The first error is probably u r missing some closing braces And the second one is because the parameer which u r passing to the function is not matching the parameter which u have specified in the function in the bean. Efrain Gtz <[EMAIL PROTECTED]> on 06/17/2000 04:31:53 AM Please res

Re: 10 records displaying single jsp page

2000-06-15 Thread Tamanna Kher
i'll send u the code of 2 functions whih i have written for my jsp page at ur address subramanian Athimoolam <[EMAIL PROTECTED]> on 06/16/2000 10:27:04 AM Please respond to A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc

Re: JavaScript/JSP problem

2000-06-15 Thread Tamanna Kher
hi yes we also faced the same probelm when we ere trying to call some functions written in the javascript. Wherever u r giving formname.fieldname.value= make sure to put the word document before that. This solved our probelm. For eg: if ( form1.sName.value.length == 0) blah blah instead it sh

Re: 10 records displaying single jsp page

2000-06-15 Thread Tamanna Kher
Yes and make sure that u get the result in the result set in a seperate function and u send the resut from a different function to te jsp page. Other wise ur page will go in an infinite loop. Hence no reults or only one record will be displayed on the screen Angus Mezick <[EMAIL PROTECTED]> on

Re: How to create file?

2000-06-14 Thread Tamanna Kher
Can u please go thru the java tutorial or java book or any java site. Man there are 100's of tutorials out there on web. Y discuss these things on jsp d.forum. Xing Guohong <[EMAIL PROTECTED]> on 06/14/2000 03:29:18 PM Please respond to A mailing list about Java Server Pages specification

Re: Pass Java Objects...

2000-06-13 Thread Tamanna Kher
Hi! Yes u can have global variabls those are called as session variables which u can set any one jsp page and can access it from any jsp page. to set the variable session.putValue("",""); to get the value session.getValue(" on 06/14/2000 06:02:44 AM Please respond to A mailing list about Jav

Re: request.getParameter("..") not working ???....help me please !!

2000-06-13 Thread Tamanna Kher
Hi it is working fine on my machine === 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://w

Re: HTMLEncode in JSP

2000-06-11 Thread Tamanna Kher
Hi! U can call ur jsp functions in a jsp page only when an action is performed. like kill focus onClick, onSubmit etc. For example:This is an example code of one of my jsp's <%@ include file="../admin_header.jsp" %> function checkform() { var result = false; res

Re: Urgent:Displaying 10 records in one page

2000-06-09 Thread Tamanna Kher
One piece of advive: Anything stored in the session variable will not be distroyed till the session is distroyed. So when ever u r using the hashtable PLEASE or any other session variable make it a point to initialize it before using it "Aggarwal, Pawan" <[EMAIL PROTECTED]> on 06/09/2000 01:0

Re: (no subject)

2000-06-08 Thread Tamanna Kher
Hi u should use request.getParameter("name of the form fields") insteaed of getparameterNames to retrieve the values from the request header. which is passed to this page when ur form is submitted.y pass the values to the bean method. No need to assign the values to some variables and then pas

Re:

2000-06-08 Thread Tamanna Kher
Hi! I tried your code with my jsp files It is working fine. Does it give any error when it tries loading your page when an action is performed. Try checking the folders etc. I mean are the 2 files in different folders or same folder etc... =

Re:

2000-06-08 Thread Tamanna Kher
Hi! I tried your code wit my jsp. It is working absolutly fine. Brad Miley <[EMAIL PROTECTED]> on 06/08/2000 10:56:20 PM Please respond to A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc:(bcc: Kher Tamanna-SWD-IT

Problem in jsp:forward.......URGENT

2000-06-08 Thread Tamanna Kher
(in this case, Page2.jsp) whenever a request forward is done internally ? ThankX in advance -Tamanna Kher _ Visit http://www.PalmGreetings.com The first & only Mobile greeting site. * You can send & receive e-cards using y

Re: Where we can find tutorial for JAVASCRIPT in the web

2000-06-07 Thread Tamanna Kher
go to www.htmlgoodies.com http://developer.netscape.com/docs/manuals/communicator/jsguide4/intro.htm# 1002836 Nwalal Mi Nyom Martin <[EMAIL PROTECTED]> on 06/07/2000 08:24:34 PM Please respond to A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]> To:

Re: Javascript causing compile exceptions under JRun 2.3

2000-06-07 Thread Tamanna Kher
hey i faced this problem in my jsp page too. But my problem got solved by upgrading JRun 2.3.3 build 153 to build 157. "Matthews,Paul" <[EMAIL PROTECTED]> on 06/07/2000 03:19:10 PM Please respond to A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]>

Re: How to access data from multiple selection of CheckBoxes

2000-06-07 Thread Tamanna Kher
No i think instead the names of the checkboxes should be different and values can be same. B'Coz more than one checkbox can be checked. The case u r telling will only be tre when we have radiobuttons instead of checkboxes where only one radiobutton can be chosen. For Eg: Active:

Re: update and re-compile the javabeans

2000-06-06 Thread Tamanna Kher
besides jws what else are u using for running jsp's "Sachin S. Khanna" <[EMAIL PROTECTED]> on 06/07/2000 12:51:31 PM Please respond to A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc:(bcc: Kher Tamanna-SWD-ITIL-UB/It

Re: can't get to allaire's website

2000-06-06 Thread Tamanna Kher
try searching on www.google.com put the search string as JRun. U'll directly reach to Jrun's page from here u can download Jrun installable. Rajnic Susan <[EMAIL PROTECTED]> on 06/07/2000 12:03:05 PM Please respond to A mailing list about Java Server Pages specification and reference <[

Re: Problems using Beans with Jrun 2.3 and IIS

2000-06-06 Thread Tamanna Kher
specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Tamanna Kher Sent: Tuesday, June 06, 2000 11:18 AM To: [EMAIL PROTECTED] Subject: Re: Problems using Beans with Jrun 2.3 and apache 1.3.9 Hi for normal java beans (not EJB) u can place your bean files (java files) in the classes

Re: Problems using Beans with Jrun 2.3 and apache 1.3.9

2000-06-05 Thread Tamanna Kher
Hi for normal java beans (not EJB) u can place your bean files (java files) in the classes folder in the instandDb folder. The path is :\\JRun\instantDB\Classes\ U can also make a folder inside the classes folder and put all your beans in it. -Tamanna "LITT Vincent (Neuilly Gestion)" <[EMA

Re: how to insert a filed consisting of single quote in msaccess?

2000-06-05 Thread Tamanna Kher
can u please tell something more bout the exception and ur code. Thankx Kotireddy Mutyam <[EMAIL PROTECTED]> on 06/05/2000 02:26:44 PM Please respond to A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc:(bcc: Kher Tama