Hi^^,
I dont want to sound horrendously confusing but this is the pic.
I am trying to develop a project in struts 2.0 . I am using Jboss as application server. I have created a action class. called loginAction.java and logoutAction.java. I have also mapped it in struts.xml, I have updated the hyperlink in index.html. I have created the login.jsp and success.jsp
However when I right click on the project and choose as run as and then shoose run on server I am getting 404 error. The the eclipse shows the following details :
Buildfile: D:\eclipse gynemede\eclipse\plugins\org.eclipse.jst.server.generic.jboss_1.5.205.v200805140145\buildfiles\jboss323.xml
deploy.j2ee.web:
[jar] Building jar: D:\workshop\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\test.war
[move] Moving 1 file to D:\jboss-4.0.4.GA\server\default\deploy
BUILD SUCCESSFUL
Total time: 11 seconds
It is not showing me the cause of 404 error
However if i right click on build.xml and then select debug, and chen choose ant build , I get this in the console
Buildfile: D:\workshop\struts2tutorial\WebContent\WEB-INF\src\build.xml
clean:
[delete] Deleting directory D:\workshop\struts2tutorial\WebContent\WEB-INF\classes
[mkdir] Created dir: D:\workshop\struts2tutorial\WebContent\WEB-INF\classes
prepare:
resources:
compile:
[javac] Compiling 4 source files to D:\workshop\struts2tutorial\WebContent\WEB-INF\src\classes
[javac] Note: D:\workshop\struts2tutorial\WebContent\WEB-INF\src\java\net\roseindia\loginAction.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[jar] Building jar: D:\workshop\struts2tutorial\WebContent\WEB-INF\lib\struts2tutorial.jar
project:
all:
BUILD SUCCESSFUL
Total time: 2 seconds
i just want to remove 404. Any suggestions would be highly appreciated.
Also I am not able to detect any class files in my project structure. Is that the problem. ??
Thanks and regards.
Prashant