I presume you start JBOSS default server.
Placing jsp files in the deployment directory won't work.
Instead create a directory with the extension .war
Or create a war file with the jar tool.
Here's a quick&dirty example:
Start Jboss, en check if it's running.
(this is on linux, but it's similat on windows)
//or use any editor and put the following line in there:
<% out.print("Hello World!");%>
Now point your browser to http://<your jboss host name>:8080/test/
And voila Hello World! is on your screen.
Now the .war package file trick:
Use the same jsp file from the previous example and change it in:
<% out.print("Hello World two!");%>
Create the package by the following command:
jar cvf test2.war index.jsp
Copy this package:
cp test2.war $JBOSS_HOME/server/default/deploy/
Now point your browser to http://<your jboss host name>:8080/test2/
And Hello World two! is on your screen.
See how the directory or the package name determents the addition to the url. For pages in the root you need to check the manuals. (hint) This is set in the web-inf.xml and jboss.xml files.
Wessel de Roode