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();
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.,
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
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
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
. 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
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
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")
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
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
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
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
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
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
45 matches
Mail list logo