John Steel wrote:
> I understand nonThreadSafeInt isn't thread safe. This means it must be
> shared across all instances. So whats the difference between that and
> declaring it as
>
> public static int nonThreadSafeInt = 1;
>
> apart from then being able to do MyServlet.nonThreadSafeInt++; w
public class MyServlet extends HttpServlet {
private int nonThreadSafeInt = 1;
public void doGet(HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException {
nonThreadSafeInt++;
try {
Thread.currentThread().sleep((long) Math.random() * 5000);
n
I tried JSF1.2 in Resin 3.1.0 and 3.1.1 but none work!
Please help me!
My enviroment:
1.JDK1.5
2.Resin 3.0.23 or 3.1.0 or 3.1.1
3.jsf-1_2_01
4.code:select.war(I deploy it successfully in Glassfish,just drop it in
domain1/autodeploy)
This is my war file
http://www.nabble.com/file/p11460075/select