Re: JSP Help Please

2002-06-04 Thread Daniel Jayapaul
Hi This NullPointer is exception occurs whenever you try to initialize an object which is not there. Jus check all the objects you are trying to access are iniatlized properly Regards Daniel.E ==To unsubscribe: mailto [E

Re: DB Access from Applet

2002-06-04 Thread Kesav, Ramesh
you need to give network permissions Regards Ramesh Kesavanarayanan Electronic Data Systems India pvt Ltd * 91-44-254 9650 ext :2442 91-44-226 5360 (res) * [EMAIL PROTECTED] * [EMAIL PROTECTED] -Original Message- From: Du Nguyen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 5 J

JSP Help Please

2002-06-04 Thread Duc Nguyen
Hi All, I have a servlet that query out some record and forward it to a jsp page to display.  I got an error which I have no clue what it's complaint about.  here is my code. package Product; import javax.servlet.*;import javax.servlet.http.*;import java.io.*;import java.sql.*;import java.util.*; p

Re: JSPinsider JavaMail tag Problem

2002-06-04 Thread Jayson Falkner
Look in the Tag Library Descriptor, should be in /WEB-INF. Probably javamail.tld or something similar. That is what would matter in this case. You can tweak the TLD to allow for runtime values. Try it out and if you can't get it working send me a e-mail directly: [EMAIL PROTECTED] Cheers, Jayso

DB Access from Applet

2002-06-04 Thread Du Nguyen
Hi all, I have an applet that accesses DB through a jdbcodbc connection. It works well when i run on AppletViewer but it can't on browser. The problem is likely caused by security settings. Pls help. Thanks in advance. Regards, Du Nguyen ===

Re: Tree View structure in JSP

2002-06-04 Thread John Vanderbrook
The best Swing-like treeview JSP component I know of is in TICL from http://www.kobrix.com. You can provide a tree model (including an implementation of the Swing tree model) and have your tree displayed dynamically (client or server-side). You can respond to selection events etc...pretty cool

Re: off topic (form, javascript question)

2002-06-04 Thread sufi malak
very nice idea using the server side, I will start working on it, please you have something previously similar done let me know. thanks >From: Andy Engle <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and >reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED]

Re: off topic (form, javascript question)

2002-06-04 Thread Andy Engle
sufi malak <[EMAIL PROTECTED]> wrote: > I'm working on a form , they would like to provide an incentive to > users to get them to fill out these forms. Can anyone suggest a way > that a random user could get a message letting them know that they > have won something (prize to be determined at a

Re: off topic (form, javascript question)

2002-06-04 Thread Joseph Ottinger
Lie and tell every user they've won. It seems to work for some sites... >From: sufi malak <[EMAIL PROTECTED]> >I'm working on a form , they would like to provide an incentive to users to >get them to fill out these forms. Can anyone suggest a way that a random >user could get a message letting

Re: off topic (form, javascript question)

2002-06-04 Thread Chen, Gin
javascript in a page. have a Math.random() into a percentage (from 1-100%) call that is checked against a range of percentages (maybe say the 10% of people win a prize?) and if it falls in that range.. do a window popup. -Tim -Original Message- From: sufi malak [mailto:[EMAIL PROTECTED]]

off topic (form, javascript question)

2002-06-04 Thread sufi malak
I'm working on a form , they would like to provide an incentive to users to get them to fill out these forms. Can anyone suggest a way that a random user could get a message letting them know that they have won something (prize to be determined at a later time) this would probably occur monthly.

suggestions please

2002-06-04 Thread Kesav, Ramesh
I am using getServletContext().getRequestDispatcher() to redirect the servlet response to a jsp.While redirecting in the url, the port number 0 gets appended to the url.It looks like http://servername:0/filename.jsp I am not being able to track the reason for the same. In my Apache i have also ch

Re: how can i get textvalue of my jsp page in my java class file?

2002-06-04 Thread Vaishali S. Pandya
i am new in java not working for more than 1 month sorry for such a silly que btw Thanks Vaishali read a jsp book, or professional jsp by wrox publications. Regards, Vikramjit Singh, Systems Engineer, GTL Ltd. Ph. 7612929-1031 -Original Message- From: Vaishali S. Pandya [mailto:[EMA

Re: how can i get textvalue of my jsp page in my java class file?

2002-06-04 Thread Vikramjit Singh
read a jsp book, or professional jsp by wrox publications. Regards, Vikramjit Singh, Systems Engineer, GTL Ltd. Ph. 7612929-1031 -Original Message- From: Vaishali S. Pandya [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 04, 2002 4:35 AM To: [EMAIL PROTECTED] Subject: how can i get textv

how can i get textvalue of my jsp page in my java class file?

2002-06-04 Thread Vaishali S. Pandya
i submit my jsp page and call an method of my class to insert in db how will i get all values of my page in my class? or i have to pass these as parameters to the method? thanX in advance Vaishali === To unsubscribe: mailto

Re: Recommend cheap/free HTML/JSP Editor for Java Developers

2002-06-04 Thread Anthony W. Marino
Is there a linux version? Thanks, Anthony > try out XMLSpy, it is a good tool for both JSP and Html > > Biji Harees > Amsoft India Ltd > Bangalore > > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-I

Re: how to get lable?

2002-06-04 Thread Abhishek Sharan
vaishali, one way of doing this would be to use HttpServletRequest.getQueryString() and then parse the query string using stringtokenizer with # as your token look at the api for more... hope this helps -Abhishe > -Original Message- > From: ext Vaishali S. Pandya [mailto:[EMAIL

how to get lable?

2002-06-04 Thread Vaishali S. Pandya
hi all i have a silly que but really urgent u can pass a parameter to jsp using ? and & plus u also pass lable using # i mean emp.jsp?emp=10101#personal will go to lable personal of emp.jsp for emp 10101 now i want to get this personal in emp.jsp just like request.getParameter("emp") is there anyt

how?

2002-06-04 Thread Vaishali S. Pandya
yes u r right kumar and i suppose this intermediate layer can be a java class or a servlet but i don't know how to call servlet or java from jsp or html or javascript page and how can i get the values of my page to submit in servlet can any body help me? ThanX in advance Vaishali Relience Ind Lt

Re: how to get parameter from diff frame?

2002-06-04 Thread Sreenath V
Is it becoz of the solution parent.frame2.document.formname.textfieldname.value - Original Message - From: "Vaishali S. Pandya" <[EMAIL PROTECTED]> Date: Tuesday, June 4, 2002 11:21 am Subject: Re: how to get parameter from diff frame? > ThanX > It's working > > Vaishali > > > sorry re

R: How can I write the result of the request in another window?

2002-06-04 Thread Luca Ventura
Mmm...I think it isn't he solution. It isn't me that must write in the new window but the servlet that may be not mine and can resides in another server. I think the quicker and the best solution is to use the TARGET attribute of the form, as someone suggested to me Anyway thank you very muc

??? Using JSPs to Send Not-Modified-Since Header ???

2002-06-04 Thread Tony LaPaso
Hi all, In looking at past posts, I'm afraid I know the horrible answer to this issue but I thought I'd ask just in case I missed anything. Let me start by saying I'm using Tomcat v4.0.4 beta 3. As you know, when a client (usually a web browser) has a cached version of a resource (usually a web