I posted the wrong code in the 2nd code section in the above post. Below is the correct
one:
@WebMethod
| public String checkLogin(String id, String pass)
| {
| User u = new UserManagerBean().check(id,pass);
|
| if(u==null)
| {
| return "Invalid Username / Password";
| }
| else
| {
| return "Success";
| }
| return u;
| }
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170484#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...