unsubscribe

2000-09-12 Thread Eric Dunstan
_ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com.

Re: how to use Session in a jsp function?

2000-05-31 Thread Eric Dunstan
You would pass the bean instance and session object as parameters in a JSP function (called a method). For Example, you would say: jsp:useBean id="chk" scope="page" class="Alpine.chkBean" / %! int chkID(String strBar, Alpine.chkBean chk, javax.servlet.http.HttpSession session) {

Re: Calling Servlet methods from JSP - basic

2000-05-30 Thread Eric Dunstan
You cannot call methods of JSP or Serlvets from outside. A calling servlet or jsp is one that forwards itself to another jsp or serlvet and does not return. A Servlet or JSP loads once and thereafter is loaded, until changed again. Once loaded, a calling jsp or serlvet will not cause it to

Re: Inner Classes

2000-05-30 Thread Eric Dunstan
Do it via Interfaces: Make an interface that describes the methods of CorbaConnection Call it CorbaInterface_A. have CorbaConnection implement CorbaInterface_A Next say: CorbaInterface_A corbacon = con.get(); This is how true Object Oriented Programming Works. Eric R. Dunstan May 30, 2000

Re: Servlets, Sockets and Whois

2000-05-15 Thread Eric Dunstan
Use StringBuffer.append. Don't use += of String for large Strings because everytime you use += a new String is constructed and the previous String is garbage Collected. StringBuffer.append, on the other hand, truly appends the String to the StringBuffer and no garbage collecting is done. Hence

Re: JSP redirection

2000-05-02 Thread Eric Dunstan
Use the forward tag: jsp:forward page="mymainjsp.jsp"/ From: Mohan Radhakrishnan [EMAIL PROTECTED] Reply-To: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: JSP redirection Date: Tue, 2 May 2000 18:45:10 -0700 Hi,

Re: JSP redirection

2000-05-02 Thread Eric Dunstan
put a forward command at the end of your page: jsp:forward page="mymainjsp.jsp"/ From: Mohan Radhakrishnan [EMAIL PROTECTED] Reply-To: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: JSP redirection Date: Tue, 2 May 2000

Re: Equals method not working correctly?

2000-05-02 Thread Eric Dunstan
try %= (inputparams.getAreatype()).equals("Nativeforest")?"Checked" : "Notchecked" % Note the extra Parenthesis around the (inputparams.getAreatype()) ERD 2000 A.D. From: Peter Hutchinson [EMAIL PROTECTED] Reply-To: A mailing list about Java Server Pages specification and reference [EMAIL

Parameters to a servlet, How?

2000-02-15 Thread Eric Dunstan
How do I send parameters to a servlet. I have considered reading files inside the method public void init(ServletConfig config) throws ServletException{ super(config); //read file... } but I wonder if there is a better solution. Thanks a lot, Eric

Why JSP Bean returns Empty Result set?

1999-10-13 Thread Eric Dunstan
Why would the same SQL Query to the Connection bean provided by JRun sometimes returns an empty result set and other times work? We cannot figure it out. It has a connection each time- it returns true, but when getting the result set it sometimes returns an empty set and other times works. Do

RE classes as simple beans

1999-09-23 Thread Eric Dunstan
you, Eric Dunstan VEC 1999 __ Get Your Private, Free Email at http://www.hotmail.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". F