Re: finally, something interesting!

2000-11-30 Thread Antonio W. Lagnada
ds Top { public void doShow() { System.out.println("I am class B"); } } public class PolyTest { public static void main( String[] args ) { Top t = new Top(); A a = new A(); B b = new B(); t.doShow(); t = a; t.doShow(); t = b; t.doShow();

Re: StringBuffer

2000-11-29 Thread Antonio W. Lagnada
Is this style acceptable fro a StringBuffer class? StringBuffer sb = new StringBuffer(); sb.append("one" + "two" + "three"); .. .. sb.append("four" + "five"); -- Antonio W. Lagnada Ecommerce Consultant [EMAIL PROTECTED] This email address i

Re: how do extract the zip file in Java

2000-11-29 Thread Antonio W. Lagnada
You might want to look at the deflater() method. I believe you should read the file in and then extract it using this method. Look at the API documentation: http://java.sun.com/j2se/1.3/docs/api/index.html http://java.sun.com/j2se/1.3/docs/api/java/util/zip/package-frame.html -- Antonio W

Re: Secure Web Site and Netscape 6 problem

2000-11-29 Thread Antonio W. Lagnada
it be that there's a bug in the way Netscape 6 parses the headers? -- Antonio W. Lagnada Ecommerce Consultant [EMAIL PROTECTED] This email address is specifically for JSP-Interest email list. Remove _NOSPAM for the actual email. Eugene Voznesensky [EMAIL PROTECTED] wrote: Dear friends

Re: JavaMail Help

2000-11-28 Thread Antonio W. Lagnada
Hi All Yup...that would be it. I forgot activation.jar. Thank You for your support. -- Antonio W. Lagnada Ecommerce Consultant [EMAIL PROTECTED] This email address is specifically for JSP-Interest email list. Remove _NOSPAM for the actual email. Mahati [EMAIL PROTECTED] wrote: hai

Re: jsp:include ... a jsp file

2000-11-28 Thread Antonio W. Lagnada
It was on a previous posting to use single quotes: jsp:include page='%= rs.getString("fileref") %' / -- Antonio W. Lagnada Ecommerce Consultant [EMAIL PROTECTED] This email address is specifically for JSP-Interest email list. Remove _NOSPAM for the actual email. John B

JavaMail Help

2000-11-26 Thread Antonio W. Lagnada
t;)); out.println(u.h1("Send Mail") + "status: " + status + u.BR); out.close(); } } // end class SendMail -- Antonio W. Lagnada Ecommerce Consultant [EMAIL PROTECTED] This email address is specifically for JSP-Interest email list. Remove _NOSPAM

Re: SSL

2000-11-20 Thread Antonio W. Lagnada
Can you send me and example configuration file on making mod_jserv work with Apache -- with JSP and Servlets working. -- Antonio W. Lagnada Ecommerce Consultant [EMAIL PROTECTED] This email address is specifically for JSP-Interest email list. Remove _NOSPAM for the actual email. "M

Re: JSP page that display 10 result...

2000-11-20 Thread Antonio W. Lagnada
In your query use "rowcount" i.e. 1st query "SELECT * FROM table rowcount 11"; 2nd query "SELECT * FROM table rowcount 10 AND rowcount 21"; etc... -- Antonio W. Lagnada Ecommerce Consultant [EMAIL PROTECTED] This email address is specifically for JSP-Inter

Send Mail Example

2000-11-13 Thread Antonio W. Lagnada
Hello All, Does anyone have a simple example on how send an email for in JSP or Servlet? Any help would be appreciated. Thanks -- Antonio W. Lagnada Ecommerce Consultant [EMAIL PROTECTED] This email address is specifically for JSP-Interest email list. Remove _NOSPAM for the actual email

Re: Apache and Tomcat: jsdk.jar

2000-11-09 Thread Antonio W. Lagnada
I guess that's what I concluded. I just have the main page redirected to the jsp page. You brought that point of not running tomcat as rootthanx. Even though I knew this, I ignored it. -- Antonio W. Lagnada Ecommerce Consultant [EMAIL PROTECTED] This email address is specifically for JSP

Session Variables

2000-11-09 Thread Antonio W. Lagnada
selecting the products, this occurs on an unsecure url and when finalizing the order (entering sensitive data) it is generally done in SSL. Please help. Antonio -- Antonio W. Lagnada Ecommerce Consultant [EMAIL PROTECTED] This email address is specifically for JSP-Interest email list. Remove _NOSPAM

Re: Shooping cart

2000-11-09 Thread Antonio W. Lagnada
With this option, you are responsible for deleting the temp data after the order is complete. What if the order never completed? -- Antonio W. Lagnada Ecommerce Consultant [EMAIL PROTECTED] This email address is specifically for JSP-Interest email list. Remove _NOSPAM for the actual email

Re: Vector in JSP

2000-11-09 Thread Antonio W. Lagnada
I think he needs to import java.util.* -- Antonio W. Lagnada Ecommerce Consultant [EMAIL PROTECTED] This email address is specifically for JSP-Interest email list. Remove _NOSPAM for the actual email. Larry Hoffman [EMAIL PROTECTED] wrote: Create a session obeject... Now within

Re: Session variables !

2000-11-09 Thread Antonio W. Lagnada
I like your solution hereI prefer the first solution -- get a new client :-) Seriously, I just don't understand why the client refuses to store data on the session. -- Antonio W. Lagnada Ecommerce Consultant [EMAIL PROTECTED] This email address is specifically for JSP-Interest email list

Re: can i store an ArrayList in Session?

2000-11-09 Thread Antonio W. Lagnada
That's strange -- setAttribute should be able to take in any object. -- Antonio W. Lagnada Ecommerce Consultant [EMAIL PROTECTED] This email address is specifically for JSP-Interest email list. Remove _NOSPAM for the actual email. Ginni [EMAIL PROTECTED] wrote: hi everybody! i m

SSL

2000-11-09 Thread Antonio W. Lagnada
Does anyone know of any JSP/Servlet server that will work with SSL? -- Antonio W. Lagnada Ecommerce Consultant [EMAIL PROTECTED] This email address is specifically for JSP-Interest email list. Remove _NOSPAM for the actual email

Re: Performance problem with ODBC

2000-10-29 Thread Antonio W. Lagnada
will be corrupted if this occurs and all your data is lost. If you're just extracting data you should be ok. I am using PostgreSQL 7 now and it works great with JDBC so far...it's a freebie. -- Antonio W. Lagnada Ecommerce Consultant [EMAIL PROTECTED] This email address is specifically for JSP

Re: Apache and Tomcat: jsdk.jar

2000-10-28 Thread Antonio W. Lagnada
use the same port though -- port 80. Any help would be great! -- Antonio W. Lagnada Ecommerce Consultant [EMAIL PROTECTED] This email address is specifically for JSP-Interest email list. Remove _NOSPAM for the actual email. JEFF RUYTER [EMAIL PROTECTED] wrote: Hi Daniel: Are trying

Re: Servlet/JSP Development

2000-10-26 Thread Antonio W. Lagnada
That's a typo on my part. I can assure you that I have the spelling correctly. I didn't cut and paste what I posted here. Anyways...back to the real problem :-(. -- Antonio W. Lagnada Ecommerce Consultant [EMAIL PROTECTED] This email address is specifically for JSP-Interest email list

Re: Servlet/JSP Development

2000-10-21 Thread Antonio W. Lagnada
I do have this set to "true" in the server.xml config file and it's still not reloading: Context path="/bxu" docBase="webapps/bxu" debug="0" reloadble="true" /Context -- Antonio W. Lagnada Ecommerce Consultant [EMAIL PROTECTED] This email a

Servlet/JSP Development

2000-10-20 Thread Antonio W. Lagnada
anyone have an idea or good programming habits out there for my situation? How can I force the browser or Tomcat to NOT CACHE the classes? Thank you, -- Antonio W. Lagnada [EMAIL PROTECTED] This email address is specifically for JSP-Interest email list. Remove _NOSPAM for the actual email

Re: Using Tomcat as NT Service

2000-10-20 Thread Antonio W. Lagnada
One thing to check is to see if Tomcat actually starts on the command line before running it as a service. Also, tomcat may be writing to stdout...it may explain why you don't see any error msgs. -- Antonio W. Lagnada Ecommerce Consultant [EMAIL PROTECTED] This email address is specifically

Re: Dynamic Array Storage

2000-10-20 Thread Antonio W. Lagnada
Is it a must that u use a bean? Why can't u just pass it as a session object and then retrieve that object on another page. -- Antonio W. Lagnada Ecommerce Consultant [EMAIL PROTECTED] This email address is specifically for JSP-Interest email list. Remove _NOSPAM for the actual email

Re: Dynamic Array Storage

2000-10-20 Thread Antonio W. Lagnada
That's what I was wonderin'. Strange. -- Antonio W. Lagnada Ecommerce Consultant [EMAIL PROTECTED] This email address is specifically for JSP-Interest email list. Remove _NOSPAM for the actual email. "Sven van 't Veer" [EMAIL PROTECTED] wrote: Dennis Leary wrote: Tr

Re: Servlet/JSP Development

2000-10-20 Thread Antonio W. Lagnada
Well...I just got a reply saying you can do it in Tomcat. Are you a WebLogic sales person? -- Antonio W. Lagnada Ecommerce Consultant [EMAIL PROTECTED] This email address is specifically for JSP-Interest email list. Remove _NOSPAM for the actual email. T L [EMAIL PROTECTED] wrote: You

Re: ASP vs JSP

2000-09-24 Thread Antonio W. Lagnada
That's funny and it's a good point. -- Antonio W. Lagnada [EMAIL PROTECTED] - email This email address is specifically for JSP-Interest email list "iunknown@pn3" [EMAIL PROTECTED] wrote: I think that you will switch to anything if you will not be able to afford your current

Re: Pop Up Window

2000-09-24 Thread Antonio W. Lagnada
buy a javascript book -- Antonio W. Lagnada [EMAIL PROTECTED] - email This email address is specifically for JSP-Interest email list Raj S [EMAIL PROTECTED] wrote: Thanks. I have never used Javascript...can u help with some suggestive code.. From: "Antonio W. Lagnada&qu

Re: Another error 500 ???

2000-09-23 Thread Antonio W. Lagnada
ConceptBean class is not in the classpath. The server isn't able to find it. -- Antonio W. Lagnada [EMAIL PROTECTED] - email This email address is specifically for JSP-Interest email list sufi malak [EMAIL PROTECTED] wrote: Hi, Always I have the same error

Re: Pop Up Window

2000-09-23 Thread Antonio W. Lagnada
why don't u use javascript to popup the window, then invoke your JSP. -- Antonio W. Lagnada [EMAIL PROTECTED] - email This email address is specifically for JSP-Interest email list Raj S [EMAIL PROTECTED] wrote: Hi, Can someone suggest how to get a pop up window in JSP?I am deleting

Re: problem with IE

2000-09-19 Thread Antonio W. Lagnada
don't have a setting in your netscape "Application" preferences. I have netscape 4.7 in my NT box and it does open it there for Excel files. The best thing to do is do a "Save Link As". -- Antonio W. Lagnada [EMAIL PROTECTED] - email This email address is specifical

Re: help regarding clientside validation with JSP

2000-09-17 Thread Antonio W. Lagnada
You are incorrect. You can use html constructs in a JSP page or even in a Servlet( you can generate the javascript code ) You can use JavaScript to validate your code for eaither JSP or Servlets. -- Antonio W. Lagnada [EMAIL PROTECTED] - email This email address is specifically for JSP

Re: Can i invoke Unix Shell Script using JSP or Java ??

2000-09-13 Thread Antonio W. Lagnada
ot;Error: " + e); } } // end main } // end class Test // ======= -- Antonio W. Lagnada [EMAIL PROTECTED] - email This email address is specifically for JSP-Interest email list arun prakash [EMAIL PROTECTED] wrote: HI.,

Re: JSP exception

2000-09-13 Thread Antonio W. Lagnada
It looks like you've got a name=value error. Make sure that it is consistent...i.e. for every name there's only 1 value. -- Antonio W. Lagnada [EMAIL PROTECTED] - email This email address is specifically for JSP-Interest email list Priya Pinto [EMAIL PROTECTED] wrote: Hi Everyone

Re: An equivalent to trusted connection?

2000-09-13 Thread Antonio W. Lagnada
in to java as a native interface? -- Antonio W. Lagnada [EMAIL PROTECTED] - email This email address is specifically for JSP-Interest email list Jeff Bailey [EMAIL PROTECTED] wrote: Paul Nadler wrote: Folks - Does anyone know a way (preferably a straightforward way) for JSP code

Re: An equivalent to trusted connection?

2000-09-13 Thread Antonio W. Lagnada
Hi, I'm not sure if you're already aware of this, but you may be able to grab the user's login in the System.properties()/System.getProperty() call -- I can't really confirm this, at the least you may have to require the user to log in once. -- Antonio W. Lagnada [EMAIL PROTECTED] - email

Re: I can't run JSP's

2000-09-13 Thread Antonio W. Lagnada
. The classpath setting above is for compiling your beans and servlets. Otherwise you'll get a ClassNotFound Error. I opened a DOS console to my TOMCAT_HOME\bin and typed "tomcat start". Then I accessed "http://hostname:8080" Hope this helps. -- Antonio W. Lagnada [EMAI

Re: invoke excel/word from jsp/servlet

2000-09-11 Thread Antonio W. Lagnada
Also, make sure to read in the HTTP_ACCEPT client variables to find out whether the browser supports the type "application/vnd.ms-excel" -- Antonio W. Lagnada [EMAIL PROTECTED] - email This email address is specifically for JSP-Interest email list "David M. Karr" [EM

Help: setAttribute

2000-09-10 Thread Antonio W. Lagnada
javax.servlet.http.HttpSession s.setAttribute("hello", (Object )"there"); Here's the function: ### void printSession(HttpSession s, HttpServletRequest r) { print(u.br + u.b("getSession()") + u.br); s.setAttribute("hello", (Object )"there")

HTTPS Tomcat

2000-09-10 Thread Antonio W. Lagnada
Hello, Does anyone know if Jackarta Tomcat is available in SSL? I'm currently using the web server started by executing "tomcat start" in Windows. I am wanting to put my Servlets into production mode, but I need SSL. -- Antonio W. Lagnada [EMAIL PROTECTED] - email This ema

Re: Help: setAttribute

2000-09-10 Thread Antonio W. Lagnada
Yeah...thanks for the reply. I found that out after I sent the email...dh! -- Antonio W. Lagnada [EMAIL PROTECTED] - email This email address is specifically for JSP-Interest email list Hans Bergsten [EMAIL PROTECTED] wrote: "Antonio W. Lagnada" wrote: Hi, Can a

Re: How to Convert Array into String

2000-09-10 Thread Antonio W. Lagnada
uot;; myval[3]="four"; myval[4]="five"; String joinedString = join(", ", myval); // joinedString should be = "one, two, three, four, five" -- Antonio W. Lagnada [EMAIL PROTECTED] - email This email address is specifically for JSP-Interest email list Rob

Re: How to ...??

2000-09-10 Thread Antonio W. Lagnada
Instead of updating in "real time", why don't you just create an update function that will reread the contents of the log file reflecting the changes. -- Antonio W. Lagnada [EMAIL PROTECTED] - email This email address is specifically for JSP-Interest email list sufi ma

Re: Help In Beans

2000-09-06 Thread Antonio W. Lagnada
That's a good idea to restart. I've had some situations where I recompiled and had to restart the server in order for my servlet/jsp to work. Anyone know why this occurs? -- Antonio W. Lagnada [EMAIL PROTECTED] - email This email address is specifically for JSP-Interest email list Dion

Re: TOMCAT 3.1 Issues

2000-09-06 Thread Antonio W. Lagnada
if someone knows where to get the fix for this. -- Antonio W. Lagnada [EMAIL PROTECTED] - email This email address is specifically for JSP-Interest email list Laiwu Luo [EMAIL PROTECTED] wrote: ***Please Note: This email was has been in a queue since Friday, September, 1. You may or may not have