Problem with method of User::getPostAddresses()

2003-09-19 Thread yan gong
Hi JAXR experts: I have two questions about the some methods in the registry APIs First is I have problem with method getPostAddresses() in class User. I can make sure that the address has been saved in registry by setPostAddresses( Collection addresses ) , saveOrganization(..), but when I

static method

2003-08-14 Thread Dheil Corona
can i create static method inside the jsp? like a method that returns boolean thanks === To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For digest: mailto [EMAIL PROTECTED] with body: set JSP

Re: Calling a Class or method from inside a jsp.

2003-06-06 Thread Yee, Richard K,,DMDCWEST
PROTECTED] Subject: Re: Calling a Class or method from inside a jsp. What is the proper way to import a class into a JSP if I have the class in the WEB-INF\classes folder? - Original Message - From: Richard Yee [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 04

Calling a Class or method from inside a jsp.

2003-06-05 Thread Leviaguirre Queral José Luis
Hello, Does anybody knows how to call a method defined in another *.jsp file? Is it possible? I have a math.jsp that has a method called addTwoIntegers(int a, int b). I want sum.jsp to call this method. I am trying something like this: ---math.jsp-- %! // adds two integers public int

Re: Calling a Class or method from inside a jsp.

2003-06-05 Thread Richard Yee
Jose, Why don't you just create a class with a addTwoIntegers(int a, int b) static method? It probably can be done your way, but is much better to have the Java code in a Java class rather than mixed in with your JSP markup. -Richard At 08:23 PM 6/4/2003 -0500, you wrote: Hello, Does anybody

Re: Calling a Class or method from inside a jsp.

2003-06-05 Thread Brian Allen
What is the proper way to import a class into a JSP if I have the class in the WEB-INF\classes folder? - Original Message - From: Richard Yee [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 10:14 PM Subject: Re: Calling a Class or method from inside a jsp. Jose

xml document: attachment, or any other method.

2003-02-12 Thread Ghershony, Arie
I have to create a service that will receive a request from a client for an XML document, perhaps an attachemnt. Does any one know which style of service/client should I use? a document, RPC style, and why? there are so many way of doing thing, that I am a bit confused. If you have a sample

HTML: Get Method: Query String Length Check

2002-11-14 Thread ARVIND S, Infosys
Hi all, We are submitting a HTML form using GET method. Before submitting we need to find out whether the query string in the URL exceeds the maximum limit. The query string also contains multi byte charachters (like japanese,chinbese,korean... characters). Any pointers on, How to do the same

how to lock the access to an array till a method is finished...

2002-11-07 Thread Ionel Condor
Hi, I have the following situation: In a bean, I have a method that populates an array with a large, very large amount of data (required for some operations). From my jsp page I do not want to allow any web clients to see the length of this array, till the process of population is finishedI

Re: how to lock the access to an array till a method is finished ...

2002-11-07 Thread Adrian Janssen
Syncronize the code/method that populates the array as well as the code/methods that access it. This can either be done using the syncronise method modifier, or using syncronised blocks, which is better. This is however more of an elementary Java issue though, search the web for the PDF version

Re: how to lock the access to an array till a method is finished ...

2002-11-07 Thread Ionel Condor
I have already do this but does not help. The synch in this case does not help, as it LOCKS the object that calls the method and NOT THE the array that is used by the method and also by the jsp page. (my use of 'volatile' also does not help). Ionel. Syncronize the code/method that populates

Re: how to lock the access to an array till a method is finished ...

2002-11-07 Thread Zerbe John W
to an array till a method is finished ... I have already do this but does not help. The synch in this case does not help, as it LOCKS the object that calls the method and NOT THE the array that is used by the method and also by the jsp page. (my use of 'volatile' also does not help). Ionel

Re: how to lock the access to an array till a method is finished ...

2002-11-07 Thread Adrian Janssen
to an array till a method is finished ... I have already do this but does not help. The synch in this case does not help, as it LOCKS the object that calls the method and NOT THE the array that is used by the method and also by the jsp page. (my use of 'volatile' also does not help). Ionel

Re: how to lock the access to an array till a method is finished ...

2002-11-07 Thread Ionel Condor
to an array till a method is finished ... syncronise all and any code that accesses the array, and make sure that your blocks are wide enough. E.G. this WON'T work because the syncronized bock should be out-side of the loop. public void populateBigArray ( long[] bigArray ) { for (i

Re: how to lock the access to an array till a method is finished...

2002-11-07 Thread Peter Dolukhanov
November 2002 12:43 To: [EMAIL PROTECTED] Subject: how to lock the access to an array till a method is finished... Hi, I have the following situation: In a bean, I have a method that populates an array with a large, very large amount of data (required for some operations). From my jsp page I do

Re: Method invocation in JSTL

2002-10-08 Thread Karr, David
-Original Message- From: Donghyeok Kang [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 08, 2002 3:31 AM To: [EMAIL PROTECTED] Subject: Method invocation in JSTL Hi, guys... Is there any way to invoke some method with parameters in JSTL? For example, SomeClass.setProperty

Re: Method invocation in JSTL

2002-10-08 Thread Hans Bergsten
Donghyeok Kang wrote: Hi, guys... Is there any way to invoke some method with parameters in JSTL? For example, SomeClass.setProperty(String someParam, int otherParam) or SomeClass.getProperty(String someParam, int otherParam) Can the method invocation like this be replaced by JSTL

non-static method cannot be referenced from static context error

2002-10-02 Thread hugo
: MultipartRequest mr = new MultipartRequest(request,/var/www/projects_data/); Then I upload the file object: File oldn = mr.getFile(mr.getParameter(audit_doc)); And then I rename the file: File newname = reName.changename(oldn); But here is when I get the error: non-static method changename

How to pass a JS variable to JSP method ?

2002-09-03 Thread Chetan K.R
Hi all, I need to pass the value of a JS variable to a JSP method The JSP is enclosed inside script tag The value returned by JSP is used for some purpose in JS Any idea how to do it ? TIA ==To unsubscribe: mailto

File.renameTo() method

2002-08-26 Thread Haseltine, Celeste
the method File.renameTo() to work. I've done some research on this issue via Google and the Sun listservers, and have found that this method of the File object often does NOT work on Windows servers due to some type of Windows security issues. I need to rename this file by appending the system date

Re: File.renameTo() method

2002-08-26 Thread Tiago Nodari
is a Windows 2000 application server running JRUN 3.1 and IIS 5.0. Bottom line, I am unable to get the method File.renameTo() to work. I've done some research on this issue via Google and the Sun listservers, and have found that this method of the File object often does NOT work on Windows

method call on a servlet from a jsp page

2002-06-26 Thread Hiren Dossani
hello, how to invoke a method on a servlet from a jsp page ? thanks for your help. === To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For digest: mailto [EMAIL PROTECTED] with body: set JSP

Re: which method is good for getting connection init() or doPost( )

2002-06-25 Thread Vikramjit Singh
)context.getAttribute(CONNECTION_POOL); OracleConnection tmpDbCon = (OracleConnection)ocpl.getConnection(); So now i am saying which method is much better, related to design, number of clicks on the site. Putting the connection in the init() method and assigning it the connection permanently until the server

Re: which method is good for getting connection init() or doPost( )

2002-06-25 Thread Adrian Janssen
it in the int method and storing it in the servlet, then (aside from concurrency poroblems!) the pool has less chance to act like a pool. -Original Message- From: Vikramjit Singh [SMTP:[EMAIL PROTECTED]] Sent: 25 June 2002 10:56 To: [EMAIL PROTECTED] Subject: Re: which method is good

Re: which method is good for getting connection init() or doPost( )

2002-06-25 Thread Vikramjit Singh
efficient in terms of performance or overhead. Regards, Vikram. -Original Message- From: Adrian Janssen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 25, 2002 2:24 AM To: [EMAIL PROTECTED] Subject: Re: which method is good for getting connection init() or doPost( ) get a connection every

Re: which method is good for getting connection init() or doPost( )

2002-06-25 Thread Adrian Janssen
. In general always get a new connection from the pool in the actual method (e.g. doPost() ) that needs it (as a local variable too, to avoid concurrency issues), and return it at the end of that method. Assume that there is always a connection available in the pool (as this is the case 99.99

How to call a user defined method from a JSP

2002-02-27 Thread Chauviaux, Patrick
Hello, I am new to JSP so my question is perhaps not really interesting for you but I would appreciate if you could reply. I have created a JSP and a class DBConnection. I want to create an instance of that class in my JSP like this: % DBConnection dbc = new DBConnection(); % I use an

Re: How to call a user defined method from a JSP

2002-02-27 Thread Chauviaux, Patrick
to call a user defined method from a JSP Hello, I am new to JSP so my question is perhaps not really interesting for you but I would appreciate if you could reply. I have created a JSP and a class DBConnection. I want to create an instance of that class in my JSP like this: % DBConnection dbc = new

Re: How to call a user defined method from a JSP

2002-02-27 Thread etsifrina
to call a user defined method from a about Java Server PagesJSP specification and reference [EMAIL PROTECTED] COM 02/27/02 10:11 AM Please respond

Re: How to call a user defined method from a JSP

2002-02-27 Thread Chauviaux, Patrick
It works not. Thanks alot Elena. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 4:26 PM To: [EMAIL PROTECTED] Subject: Re: How to call a user defined method from a JSP The specifics may vary from server to server, but in general

Re: How to call a user defined method from a JSP

2002-02-27 Thread Gardner Monte
Try putting your Class file in the WEB-INF directory. Then import the class into your JSP page. This worked for me on my TOMCAT/APACHE server. --Monte Glenn Gardner === To unsubscribe: mailto [EMAIL PROTECTED] with body:

Re: How to call a user defined method from a JSP

2002-02-27 Thread Xavier Cosyns
: How to call a user defined method from a JSP The specifics may vary from server to server, but in general you can you place the class anywhere. However, your classpath must point to the directory containing the code. Also, remember to import your class in your JSP. %@ page import=DBConnection

Re: How to call a user defined method from a JSP

2002-02-27 Thread Xavier Cosyns
--- It works not. Thanks alot Elena. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 4:26 PM To: [EMAIL PROTECTED] Subject: Re: How to call a user defined method from a JSP The specifics may vary from server to server, but in general

Re: How to call a user defined method from a JSP

2002-02-27 Thread Hans Bergsten
] To: [EMAIL PROTECTED] NISYS.COMcc: Sent by: A mailing list Subject: Re: How to call a user defined method from a about Java Server PagesJSP specification

Re: How to call a user defined method from a JSP

2002-02-27 Thread Hans Bergsten
Xavier Cosyns wrote: Hi, Apparently you put your class in the wrong directory, as i can see from your stacktrace: org.apache.jsp.DBConnection not found. you'r DBConnection class should reside in /org/apache/jsp/ No, this is most likely not correct. org.apache.jsp is just the package

Re: How to call a user defined method from a JSP

2002-02-27 Thread Panayiotis Periorellis
And the other in Tomcat/jak/webapps/examples/web-inf panos -Original Message- From: Hans Bergsten [mailto:[EMAIL PROTECTED]] Sent: 27 February 2002 18:26 To: [EMAIL PROTECTED] Subject: Re: How to call a user defined method from a JSP [EMAIL PROTECTED] wrote: The specifics may vary from server

[Fwd: Re: How to call a user defined method from a JSP]

2002-02-27 Thread Hans Bergsten
Guide is a good start: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/index.html Hans -Original Message- From: Hans Bergsten [mailto:[EMAIL PROTECTED]] Sent: 27 February 2002 18:26 To: [EMAIL PROTECTED] Subject: Re: How to call a user defined method from a JSP

Re: Beans invokes method on JSP??

2002-01-09 Thread Ravindra
Dear All, I want to talk to a perl master in our jsp group out there ?hurry.I badly need a help on perl Varna... - Original Message - From: Christian Kurze [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 26, 2001 4:52 PM Subject: Beans invokes method on JSP?? Hi

Re: Beans invokes method on JSP??

2002-01-09 Thread Ravindra
I don't know the perl list id - Original Message - From: Panagiotis Konstantinidis [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 09, 2002 3:02 PM Subject: Re: Beans invokes method on JSP?? Why don't you look to a Perl list then? 09/01/2002 09:27:31, Ravindra

Re: Beans invokes method on JSP??

2002-01-09 Thread Antony Stace
Ravindra wrote: Dear All, I want to talk to a perl master in our jsp group out there ?hurry.I badly need a help on perl what about trying a perl mailing list? === To unsubscribe: mailto [EMAIL PROTECTED] with body:

Beans invokes method on JSP??

2001-12-26 Thread Christian Kurze
Hi, is it possible, that a bean can invoke a method on a JSP when a PropertyChangeEvent is thrown on a special field of the bean? How could I implement it? Maybe the BeanContext is helpful? I already know the method of pushlets, as described in JavaWorld 03-2000 (http://www.javaworld.com

Cannot get plus mark using getParameter method

2001-12-17 Thread $B:YED(B $B9@(B
Hi ! I cannot get a parameter starting with plus(+) sign. I only get a String sequence which replaced plus by space. Someone please tell how to get plus mark. regards, Hiroshi. === To unsubscribe: mailto [EMAIL PROTECTED]

AW: Cannot get plus mark using getParameter method

2001-12-17 Thread Christian Kurze
:[EMAIL PROTECTED]]Im Auftrag von $B:YED (B $B9@ (B Gesendet: Montag, 17. Dezember 2001 17:25 An: [EMAIL PROTECTED] Betreff: Cannot get plus mark using getParameter method Hi ! I cannot get a parameter starting with plus(+) sign. I only get a String sequence which replaced plus by space. Someone

Re: checking if there is a file that exists //ServletContext.getRealPath() method.???

2001-11-16 Thread Dasti, Hassan
Hi Richard, I tried to use the java.io.File.exists() method, but doing the following. try { File imageFile = new File(./personnel/mfleshman.jpg); if(imageFile.exists() ){ % file exists. tabletrtd

Re: checking if there is a file that exists //ServletContext.getR ealPath() method.???

2001-11-16 Thread Glenn Wearen
if there is a file that exists //ServletContext.getRealPath() method.??? Hi Richard, I tried to use the java.io.File.exists() method, but doing the following. try { File imageFile = new File(./personnel/mfleshman.jpg); if(imageFile.exists

Re: checking if there is a file that exists //ServletContext.getRealPath() method.???

2001-11-16 Thread [EMAIL PROTECTED]
Hello Hassan! :-) DH try DH { DH File imageFile = new File(./personnel/mfleshman.jpg); DH if(imageFile.exists() ){ % DH Above code never finds the file. Well, you could do File imageFile = new File( pageContext.getServletContext().

Re: checking if there is a file that exists //ServletContext.getR ealPath() method.???

2001-11-16 Thread [EMAIL PROTECTED]
Hello Glenn, GW String(application.getRealPath(/personnel/Eid.jpg)); well, if (application.getResource(/personell/Eid.jpg)!=null) might be better, as it would work under Weblogic too, while .getRealPath() won't GW note that application object is the name Tomcat gives your servletContext, GW it

Exception thrown by EJB find method

2001-10-05 Thread Rodrigo Gevaerd
Some code calls an findByPrimaryKey method of an entity EJB. The entity throws an ObjectNotFoundException. In WebLogic 5.10, the exception the code receives is the thrown ObjectNotFoundException. In Orion 1.5.2 the exception is a RemoteException (com.evermind.server.rmi.OrionRemoteException

RES: Exception thrown by EJB find method

2001-10-05 Thread Rodrigo Gevaerd
Sorry about the offtopic e-mail, I sent it to the wrong e-mail address. === To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.

Re: this() method

2001-10-04 Thread [ Muliawan Sjarif ]
Hi BrettHaas, 'this' only can be reffered to current object. From: BrettHaas [EMAIL PROTECTED] Reply-To: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: this() method Date: Tue, 2 Oct 2001 11:38:01 -0400 Can you use

this() method

2001-10-02 Thread BrettHaas
Can you use this() in reference to use constructors or can you use it on plain old methods too? Brett HaasSenior Web Developer SellingPower.com1140 International ParkwayFredericksburg, VA 22406Phone: 540-752-7000 Fax: 540-752-7001[EMAIL PROTECTED]

Calling a Static Method in JSP

2001-09-14 Thread Parag Patwa
My scenario is as follows: From /admin/test.jsp, am trying to call a static method which is in a class in com.x.y.z. How can I do this? any help much appreciated. Diese Nachricht ist vertraulich. Sie ist ausschliesslich fuer den im Adressfeld ausgewiesenen Adressaten bestimmt. Sollten

Re: Calling a Static Method in JSP

2001-09-14 Thread Sachin S. Khanna
Just as you would do it in a normal java program: a) Import the requisite class. b) Call the static method of that class. It is assumed that the class file is under the WEB-INF/classes folder. Have a nice day. With regards, Sachin S. Khanna http://www.emailanorder.com - Original Message

Re: Calling a Static Method in JSP

2001-09-14 Thread Parag Patwa
That does not work, i keep getting the following error method is not public in the class cannot be accessed from outside package regards Parag Sachin S. Khanna [EMAIL PROTECTED] on 14/09/2001 10:25:56 Please respond to A mailing list about Java Server Pages specification and reference

Re: Calling a Static Method in JSP

2001-09-14 Thread Sachin S. Khanna
Can't you make the method public. Have a nice day. With regards, Sachin S. Khanna http://www.emailanorder.com - Original Message - From: Parag Patwa [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, September 14, 2001 5:07 PM Subject: Re: Calling a Static Method in JSP That does

Re: Calling a Static Method in JSP

2001-09-14 Thread Surendra G L
Hi, When you are trying to access a method from jsp make sure that its access specifier is 'public'. It need not be WEB-INF/classes folder. Just import that particular class. Make sure the class is in classpath. regds/Surendra

Call method in each page

2001-09-05 Thread Lemaire Arnaud
Hi all, i want to call a method on each jsp page ( typically, i want to test the right access of my user ). But i have a lot of page, and i don't want to add the method call on all page. I can use the extend procedure ( create my super class of jsp ), but it is not advised. So, how can i do

Re: Call method in each page

2001-09-05 Thread Bernard Granier
and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Lemaire Arnaud Sent: mercredi 5 septembre 2001 11:45 To: [EMAIL PROTECTED] Subject: Call method in each page Hi all, i want to call a method on each jsp page ( typically, i want to test the right access of my user ). But i have a lot of page, and i

Re: Call method in each page

2001-09-05 Thread Lemaire Arnaud
PROTECTED] Objet: Re: Call method in each page Hi, Why do you not use the server security ? Hope this helps, Sincerly, Bernard Granier Mr Ted 115 rue du Fbg Poissonniere 75009 Paris www.MrTed.com Tel : 33 1 55 31 02 65 mail : [EMAIL PROTECTED] -Original Message- From: A mailing list about

Re: Call method in each page

2001-09-05 Thread Bernard Granier
and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Lemaire Arnaud Sent: mercredi 5 septembre 2001 14:35 To: [EMAIL PROTECTED] Subject: Re: Call method in each page the problem is that i want to ckeck the right access by calling some existing classes. I must also doing some other action, so i can't

Re: Call method in each page

2001-09-05 Thread Claudio Lorico
How about using an 'include' file that would call your access method (remember that you have to import first the class that contains the access method) or better still, use a custom tag. Goodluck! Dingdong Lorico --- Lemaire Arnaud [EMAIL PROTECTED] wrote: the problem is that i want to ckeck

Re: Call method in each page

2001-09-05 Thread Lemaire Arnaud
I already use a custom tag for calling the wanted methods but i don't want to put in each page the tag. If a personn of my team add a new page, i want that some method must be called before the page. A tag is fast forgotten ! I hope to have better explained my problem Thanks -Message

Re: Call method in each page

2001-09-05 Thread Claudio Lorico
will always be there on every page. Goodluck! Dingdong --- Lemaire Arnaud [EMAIL PROTECTED] wrote: I already use a custom tag for calling the wanted methods but i don't want to put in each page the tag. If a personn of my team add a new page, i want that some method must be called before

Re: Call method in each page

2001-09-05 Thread Richard Yee
. This solution is dangerous in that you need to understand what the default classes do. -Richard At 11:45 AM 9/5/01 +0200, you wrote: Hi all, i want to call a method on each jsp page ( typically, i want to test the right access of my user ). But i have a lot of page, and i don't want to add the method

Re: Call method in each page

2001-09-05 Thread Rishabh Agarwal
] Subject: Re: Call method in each page Arnauld, A few suggestions: 1) Redesign your architecture to use a Front Controller pattern (Core J2EE Patterns pg 74) The idea behind this is to move the duplicated code from your multiple JSP pages and put it into a controller class. This class would be one

Re: JSP calls instance method, bombs with odd message

2001-07-11 Thread Sachin S. Khanna
Smith [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 11, 2001 8:07 AM Subject: Re: JSP calls instance method, bombs with odd message Sachin-- I compared your working code to what I posted as best I could, and found 1 significant change: setting public on variable dynamicstring

Re: JSP calls instance method, bombs with odd message

2001-07-10 Thread Martin Smith
Sachin-- I compared your working code to what I posted as best I could, and found 1 significant change: setting public on variable dynamicstring in the class file. I changed that. However, I'm still getting the same error. Did I miss some other change? What version of Tomcat did you run it

Re: JSP calls instance method, bombs with odd message

2001-07-09 Thread Sachin S. Khanna
HEAD titleU.S. Federal White Pages Directory/title /HEAD BODY bgcolor=#FF text=#003366 link=#336699 vlink=#99 alink=#FFCC66 FORM action=wpv3beta1.jsp method=POST Find input type=text size= 30 name=cnvals value=%= cnvals % input type=hidden name=scope size=30 value=SUBTREE_SCOPE input

Re: JSP calls instance method, bombs with odd message

2001-07-08 Thread Stephen T. Dziuban
Martin: I'm no guru, but: 1) Try adding public in: public String dynamicstring = firstdynamic; 2) I think I've heard that the Response has already been committed message is not necessarily the real problem, but is a secondary (error reporting) issue that arises sometimes when another

JSP calls instance method, bombs with odd message

2001-07-07 Thread Martin Smith
HEAD titleU.S. Federal White Pages Directory/title /HEAD BODY bgcolor=#FF text=#003366 link=#336699 vlink=#99 alink=#FFCC66 FORM action=/wpv3beta1.jsp method=POST Find input type=text size= 30 name=cnvals value=%= cnvals % input type=hidden name=scope size=30 value=SUBTREE_SCOPE input

Re: error in getRemoteAddress() method

2001-05-22 Thread bipin_jsp
Thanks for the solution for getRemoteAddress() method Bye, - Original Message - From: Joseph Ottinger [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 21, 2001 6:48 PM Subject: Re: error in getRemoteAddress() method Some suggestions, you want? Sure! 1) Read the error

error in getRemoteAddress() method

2001-05-21 Thread bipin sabhani
= =3D 0002ejsptest_jsp_25.java:75: Method getRemoteAddress() not found in =3D interface javax.servlet.http.HttpServletRequest. out.println(remote =3D address+request.getRemoteAddress()); so give me some suggestions thanks from bipin

Re: error in getRemoteAddress() method

2001-05-21 Thread Joseph Ottinger
Some suggestions, you want? Sure! 1) Read the error message. No request.getRemoteAddress() found... hmm, sounds like the method might not be there. That means either the people who wrote your container forgot to implement it, or you're using the wrong method name. Since this is the reference

Re: error in getRemoteAddress() method

2001-05-21 Thread Wade, Tim
I think you have the wrong method name. The code should be as follows: out.println(remote address+request.getRemoteAddr()); Tim -Original Message- From: bipin sabhani [mailto:[EMAIL PROTECTED]] Sent: Monday, May 21, 2001 9:03 AM To: [EMAIL PROTECTED] Subject: error in getRemoteAddress

Re: error in getRemoteAddress() method

2001-05-21 Thread Daniel Bergenhus
Try request.getRemoteAddr(); Reg Daniel - Original Message - From: bipin sabhani [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 21, 2001 3:03 PM Subject: error in getRemoteAddress() method Hi! I want to retrieve IP address of client. so i write code as below

Re: error in getRemoteAddress() method

2001-05-21 Thread jason
hi The proper method is request.getRemoteAddr(); regard jason - Original Message - From: bipin sabhani [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 21, 2001 9:03 PM Subject: error in getRemoteAddress() method Hi! I want to retrieve IP address of client. so i write code

Re: error in getRemoteAddress() method

2001-05-21 Thread jason
you are welcome - Original Message - From: Joseph Ottinger [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 21, 2001 9:18 PM Subject: Re: error in getRemoteAddress() method Some suggestions, you want? Sure! 1) Read the error message. No request.getRemoteAddress() found

Re: What method do you use for double clicks on submit button?

2001-05-17 Thread Keith Kwiatek
Message - From: K.S.SREEDHAR KUMAR [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 16, 2001 9:02 PM Subject: Re: What method do you use for double clicks on submit button? instead after clickin gonce u can disable the submit button once for all . ks -Original Message

Re: What method do you use for double clicks on submit button?

2001-05-16 Thread K.S.SREEDHAR KUMAR
instead after clickin gonce u can disable the submit button once for all . ks -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 17, 2001 5:32 AM To: [EMAIL PROTECTED] Subject: What method do you

What method do you use for double clicks on submit button?

2001-05-16 Thread Keith Kwiatek
Hello, What is the preferred server side method for handling double clicks on a submit button. It would seem that if a user clicks twice on the submit button that there will be two near simultaneous requests. In the past I have handled this with some java script that would only send a single

Error: Attempt to reference method in interface ...

2001-04-26 Thread drew w
to reference method getParameter in interface javax.servlet.ServletRequest as an instnance veriable. if (request.getParameter.equalsIgnoreCase(andrew)){ ^ Can anyone help? Thanks, andrew _ Get your FREE download of MSN

Re: Error: Attempt to reference method in interface ...

2001-04-26 Thread Jitu Sarwate (CFIS)
: Thu, 26 Apr 2001 20:40:50 - From: drew w [EMAIL PROTECTED] Subject: Error: Attempt to reference method in interface ... To: [EMAIL PROTECTED] if (request.getParameter.equalsIgnoreCase(andrew)){ pw.print(you are logged in + request.getParameter(username

Re: Error: Attempt to reference method in interface ...

2001-04-26 Thread Shay Logan
method in interface ... if (request.getParameter.equalsIgnoreCase(andrew)){ pw.print(you are logged in + request.getParameter(username) + + request.getParameter(password)); } else{ pw.print(you are not logged in + request.getParameter(username) + + request.getParameter(password

Re: Error: Attempt to reference method in interface ...

2001-04-26 Thread Richard Yee
if the username field doesn't exist. -Richard -Original Message- From: drew w [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 26, 2001 1:41 PM To: [EMAIL PROTECTED] Subject: Error: Attempt to reference method in interface ... if (request.getParameter.equalsIgnoreCase(andrew

Re: Error: Attempt to reference method in interface ...

2001-04-26 Thread Shawn Zhu
Are the following two statements really the same? if(a.equals(avar)) if(avar!=null avar.equals(a)) -Original Message- From: Richard Yee [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 26, 2001 2:00 PM To: [EMAIL PROTECTED] Subject: Re: Error: Attempt to reference method

Re: Error: Attempt to reference method in interface ...

2001-04-26 Thread K.S.SREEDHAR KUMAR
method is:: request.getParameter(parameter name) but not request.getParameter. so tht shoould have been request.getParameter(parameter name).equals(password) check out ks -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL

Re: Error: Attempt to reference method in interface ...

2001-04-26 Thread Sadanand Mn
you have missed () after the getParameter i.e. getParameter(). === To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.

Re: Is it possible to call a bean method via an HTML button onClick?

2001-04-18 Thread Bob Carpenter
Hi John, I like this idea... I think we'll give it a shot! Thanks, --BobC On Mon, 16 Apr 2001, John Thomas wrote: Hi, I do this in a round about manner, onClick(), I do a form submit to another jsp page where i call the bean method, after calling the bean methd I do a jsp:forward

Re: Is it possible to call a bean method via an HTML button onClick?

2001-04-18 Thread Bob Carpenter
On Mon, 16 Apr 2001, John Thomas wrote: Hi, I do this in a round about manner, onClick(), I do a form submit to another jsp page where i call the bean method, after calling the bean methd I do a jsp:forward back to the bean method. Hope this will help. Regards John Bob

calling a java method in a javascript

2001-04-17 Thread Agarwal, Shekhar (MED, TCS America)
hi how can i invoke a method of a java class inside javascript. is there any direct or round about way of doing this regds shekhar SHEKHAR AGARWAL(B.TECH) TATA CONSULTANCY SERVICES Email : [EMAIL PROTECTED] Tel: 268-548-2592 (work) 262-798-1052 (home) -Original Message

Re: calling a java method in a javascript

2001-04-17 Thread Joseph Ottinger
Check out LiveConnect, from netscape's developer site. hi how can i invoke a method of a java class inside javascript. is there any direct or round about way of doing this regds shekhar _ Get your FREE download of MSN Explorer

Re: Is it possible to call a bean method via an HTML button onClick?

2001-04-17 Thread Bob Carpenter
From: Bob Carpenter [EMAIL PROTECTED] Reply-To: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Is it possible to call a bean method via an HTML button onClick? Date: Sun, 15 Apr 2001 23:32:56 -0700 Within a JSP file

Is it possible to call a bean method via an HTML button onClick?

2001-04-16 Thread Bob Carpenter
Within a JSP file, I'm trying to figure out how to call a bean setter method as a result of a button click, like the following: jsp:useBean id="fb" class="com.mypackage.FooBean" / ... TDINPUT TYPE=BUTTON NAME="setButton" VALUE ="Set"

Re: Is it possible to call a bean method via an HTML button onClick?

2001-04-16 Thread Crisalyn Ramos
: Is it possible to call a bean method via an HTML button onClick? Date: Sun, 15 Apr 2001 23:32:56 -0700 Within a JSP file, I'm trying to figure out how to call a bean setter method as a result of a button click, like the following: jsp:useBean id="fb" class="com.my

Re: Is it possible to call a bean method via an HTML button onClick?

2001-04-16 Thread John Thomas
Hi, I do this in a round about manner, onClick(), I do a form submit to another jsp page where i call the bean method, after calling the bean methd I do a jsp:forward back to the bean method. Hope this will help. Regards John Bob Carpenter [EMAIL PROTECTED]@java.sun.com on 04/16/2001

Re: Is it possible to call a bean method via an HTML button onClick?

2001-04-16 Thread Hamid
, April 16, 2001 12:59 PM To: [EMAIL PROTECTED] Subject: Re: Is it possible to call a bean method via an HTML button onClick? Hi, I do this in a round about manner, onClick(), I do a form submit to another jsp page where i call the bean method, after calling the bean methd I do a jsp:forward

Re: Integer ?? String ?? - Can't find a method to write property 'age ' in a bean ...

2001-04-11 Thread BERWART Thierry
: Integer ?? String ?? - Can't find a method to write property 'age ' in a bean ... Everything is right :-). jsp:setProperty name="test" property="age" param="p_age"/ It means that your bean has a method "setAge(String p_age)". Attribute must be a String type and

org.apache.jasper.JasperException: Can't find a method to write p roperty 'nombre' in a bean of type ...

2001-04-11 Thread BERWART Thierry
the nombre variable in the bean : jsp:setProperty name="account_test" property="nombre" param = "nombre"/ When I execute my jsp, I have this error : org.apache.jasper.JasperException: Can't find a method to write property 'nombre' in

Re: Integer ?? String ?? - Can't find a method to write property 'age ' in a bean ...

2001-04-11 Thread Manish Bhagat
Hi, Please check out the code below... import java.util.*; public class test_tbe { private String name=null,email=null; // If the set method takes a String, this must be a String. private String age; private int internal_age; public test_tbe() { } public String

Re: Integer ?? String ?? - Can't find a method to write property 'age ' in a bean ...

2001-04-11 Thread Sachin S. Khanna
PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, April 11, 2001 12:20 PM Subject: Re: Integer ?? String ?? - Can't find a method to write property 'age ' in a bean ... Hello Alexandr Thanks you but that doesn't solve my problem :( I am using Tomcat-3.2.1 ... It's perhaps a bug ? or ... I

  1   2   3   >