Let's just not use the term "publishing" for now, till we know what exactly you mean. Please answer the following questions:
1) Do you use an
IDE to start JBoss AS?. If the answer is no, then what exact command do you use to start the server? Do you use the command prompt?
2) Do you use an IDE to deploy to JBoss AS? If the answer is no, then how exactly do you deploy the application? Do you place it in the "deploy" folder of JBoss AS?
What changes do you do to your jsp? And where do you do those changes? Directly in the file that is deployed in the deploy folder or within the IDE? And how do you redeploy the changed application/file?
Finally, don't use 5.0.1. Use the latest stable 5.1.0 version of JBoss AS.