Juan Zhang

Greenhorn
+ Follow
since Apr 19, 2001
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Juan Zhang

Hi,Manfred,
Thank you very much for your help. I'll try to use a jar file.
Thanks again.
Juan
16 years ago
Hi friends,
Since the inner class file name is not a valid file name for uploading. Is that mean I cannot use inner class in my applet, if I want display the applet on my web page?
Please help.
Thanks in advance
[ January 14, 2002: Message edited by: Juan Zhang ]
16 years ago
I use JOptionPane.showMessageDialog(null,"check variable") to diagnose what is happening in servlet and JSP. It works for me, but I don't know if it is the right way.
Juan
16 years ago
Dave,
Thank you so much for your help. I saved and retrieved the text successfully after I use java.sql.PreparedStatement.
Thanks again.
Juan
16 years ago
Hi,
I wrote a piece of text within the HTML textArea where I used "enter" to start new lines. I saved it to the database (MS Access) via Servlet. But when I opened
the database, only the first line of text is been saved. How can I save this whole text and keep the original format?
Thanks in advance
Juan
[This message has been edited by Juan Zhang (edited December 01, 2001).]
16 years ago
Peter,
Thank you so much for your help. I really appreciate.
Finally, the jsp mail works.
Juan

[This message has been edited by Juan Zhang (edited November 17, 2001).]
[This message has been edited by Juan Zhang (edited November 29, 2001).]
16 years ago
Peter,
Thank you very much for your reply.
I tried other SMTP host like yahoo.com, but still got an error: javax.mail.MessagingException: Could not connect to SMTP host: smtp.mail.yahoo.com, port: 25....
I think the reason is that some Internet Service Provider (like Juno, Netzero, FunCow) block remote ports 53 and 25. I read an article talk about this.
Thanks again,

Juan Zhang

[This message has been edited by Juan Zhang (edited November 06, 2001).]
16 years ago
Hi Zoe,
I tested the "simplemail.jsp" example posted on this website. But I got an error, it says: Unknown SMTP host: smtp.mail.Rediff.com; nested exception is...
I have two Rediff.com email acounts and they worked fine when I sent e-mail through the internet.
Which "SMTP host" do you use? Do you know any other "SMTP host" I can use to test this example?
Thank you very much.
Juan Zhang
16 years ago
Hi,
I hava been reading a book Core Servlets and JavaServe Pages. this book does not cover all the objective of the SCWCD Exam.Can somebody please tell me which book i should buy next to prepare for the Exam.
Thanks in advance.
Juan
Hi, Authors,
Welcome!
I know nothing about IBM Websphere. Does that mean this book is not right for me? But I know java.
Thanks.
Juan.
16 years ago
Hi, Sam,
Thank you very much for your help. Now this example works.
Again thanks
Juan
17 years ago
Hi,
I�m learning Servlet and JSP from the book called �core Servlets and JavaServer Pages� by Marty Hall. When I tried to run an example on page 360, I got an error as shown below:
Error:500
Location: /travel/BookFlights.jsp
Javax.servlet.ServletException: Can not create bean of class JSPpackage.TravelCustomer at��.
My servlet classes are located in D:/jakarta-tomcat-3.2.1/webapps/ROOT/WEB-INF/classes/JSPpackage directory. My �.jsp� files and �.html� file are located in D:/jakart-tomcat-3.2.1/webapps/travel directory. I�m using JBuilder3 and IE5. I am not able to figure out what caused the error, Please advise.
Thanks in advance
17 years ago
Hi,
Is there a easy way to find the solution by hand calculation?
1) int a = 0x67
int b = 0xBD
a^b = ?
2)(byte)0x81 >> 2 = ?
Thanks
17 years ago