ming zhu

Greenhorn
+ Follow
since Feb 13, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by ming zhu

Does anyone know if there is company which can provide a web virtual training on "SL425 Architecting & Designing J2EE Applications" or a similar class?
The reason I am asking is that my class has been delayed because of the lack of the interests in my area. And I do not want to waste my training budget for the year.

Thank you in advance!
Have spent lots of time, but still can not figure this out.
I downloaded J2EE 1.4.2 with sunwappserver.
When I tried to create a WAR file with servlet, an error message box showed up indicating the servlet class has not been added. I knew I did since the class file has been added to the Content under WEB-INF/Classes...
When I tried to create a WAR file with JSP, it worked.
What did I miss here?
Please help.
21 years ago
Have spent lots of time, but still can not figure this out.
I downloaded J2EE 1.4.2 with sunwappserver.
When I tried to create a WAR file with servlet, an error message box showed up indicating the servlet class has not been added. I knew I did since the class file has been added to the Content under WEB-INF/Classes...
When I tried to create a WAR file with JSP, it worked.
What did I miss here?
Please help.
If you know the answer, please email me: [email protected]
Thanks a lot!
21 years ago
I'd like to thank everyone in java ranch. Without your helps, I won't be able to pass this exam with very little java programming experience.
Java Ranch is the number one resource for java programmers!
Sincerely,
Ming Zhu
22 years ago
Hi,

This is a silly, but important question:
should I use tag-dependent or tagdependent as a value in the <body-content> tag when I take the exam?
In my SL314 book it is tag-dependent, but in the SUN mock exam it is tagdependent.
Help!
Hi,
Can someone please explain the difference between these two interfaces? When do I use them? I guess I do not understand the exact meaning of binding.
Thanks in advance.
Ken,
Thanks for the help. Do you mean I need do the following:
public class newRequest extends HttpServletRequestWrapper {
String getParameter(String par) {
if (par.indexOf("password") == 0) {
return "my_new_password";
} else {
return super(par);
}
}
}
And then in the doPost method:
rd.forward(newRequest, response);
Thanks a lot!
22 years ago
This is what I want to do:
public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOExceptin, ServletException {

String url = �AuthenticationServlet�;
String username = request.getParameter(�username�);
if (username.indexOf("something")>=0) {
// I want to change the parameter
// called password in request
// before I forward it to the
// AuthenticationServlet
}
ServletContext sc = getServletContext();
RequestDispatcher rd = sc.getRequestDispatcher(url);
rd.forward(request, response);
}
Any suggestions?
22 years ago
Is it possible at all to get the PATH, not the CLASSPATH, into a string?
Thanks a lot.
22 years ago
I have a properties file, called xxx.properties in the first search directory listed in PATH.
However, when I call ClassLoader.getSystemResourceAsStream("xxx.properties") I get a NULL.
Can someone explain to me why?
Thanks a lot!
22 years ago
Dan,
Which JAVA version should I use when I practise the problems in your book?
Thanks,
Ming
Excellent article. Thanks a lot.
Hi, Sheriff.
I am new to the SCWCD forum. I really like to have this book, but am afraid that I can't ask a good question.
My company does the payroll ASP business, the performance is the second important issue after the system availability.
As a programmer, I will have to choose between VS.NET and Java when I develop an application..
1) How will you compare the performance between JSP and ASP?
2) How do you compare the performance of the web service written in Serverlet and .NET
Thank you.
I'd like to win this book...
24 years ago