x
login register about faq

How to make struts2 web application thread -safe?

I am using struts2 framework for creating a java web application.There i am calling a method in a class to perform appointment operation for users. My problem is , when the time slot in the page is clicked by multiple users, the appointments method is called and appointment are made for all the users who clicked on the same slot and values of the users are stored in the database also , but the slot must be alloted for the single user only? How to make the method to be thread -safe ?

Please help me to solve the problem... ,

more ▼

asked Jun 22 '12 at 03:17 AM

Suresh_K gravatar image

Suresh_K
17 6 6 7

(comments are locked)
10|600 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x6
x3
x2

asked: Jun 22 '12 at 03:17 AM

Seen: 932 times

Last Updated: Jun 22 '12 at 03:17 AM