Stephan van Hulst wrote:This seems like a really weird requirement though.
Why should the threads wait for each other? They're not bothering each other by reading concurrently. And if they have to read one at a time, why is this multi-threaded in the first place?
Joe Ess wrote:You would invoke it the same way you would invoke any URL. If you just need some information and don't want to reload the page, use the AJAX-style XMLHttpRequest (your action should return XML or JSON). If you want to reload the page, use window.location.
Ankit Garg wrote:When does the error appear actually?? If it occurs when you enter a URL into the browser, then tell us that URL otherwise if it happens when you submit a form, then please post the code of that form. I think the error appears when you try to list all students as validation happens in that case and since there is no "input" result defined, you get the 404 error message. You'll have to tell struts to skip validation in case of StudentAction.list() method. You can find more info on how to do that here...
Ankit Garg wrote:Its hard to guess what the problem is without some more code. Does your action returns "input" result in any way or is there any validation error when you reach this action??
Lester Burnham wrote:Where does the data come from? Is it in a database already? Or does each employee need to log into the application you're writing to enter their own data?