struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nuwan Arambage <nuwan.aramb...@gmail.com>
Subject : resource not found error- Struts 2 (Struts2 in action- Manning)
Date Mon, 17 Jan 2011 11:12:59 GMT
Hi,
 It seems like you have made a mistake somewhere. I will give you a
different approach.
 I guess that still you won't be able to deploy the
Struts2InAction.war  file which bundled in the Struts 2 In Action book

I hope this will not help to run the sample code in eclipse but it
will guides you  to deploy the Struts2InAction.war file in tomcat
container and see the what sample code is up to.

First Things first, :) steps..

1. Find a Structs2InAction.war file in downloaded zip
file(SampleApplication.zip).

2. Then copy it to the webapp folder in the tomcat container. path to
the webapp folder (CATALINA_HOME/webapps)

3. After that, start the tomcat container and check whether tomcat is
up and running. Typing (http://localhost:8080)

4. Definitely, you would see the home page of tomcat, so then type the
url requesting the web application
    http://localhost:8080/Struts2InAction
5. You will see the home page of the Struts2InAction web application.

It's my pleasure if you are happy with my little guidance.

p.s. Struts2InAction app is a collection of  examples written in one
application so it's better if you manually deployed and try your own
example using eclipse IDE by practicing concepts taught in
Struts2InAction sample app











---------- Forwarded message ----------
From: JavaNoobie <vivek.mv@enzentech.com>
Date: Mon, Jan 17, 2011 at 4:05 PM
Subject: resource not found error- Struts 2 (Struts2 in action- Manning)
To: user@struts.apache.org



Hi All,
I'm a newbie to Struts2 ,and ive tried and deployed applications using
eclipse before.But ,somehow i cant seem to deploy a struts2 application that
i found in Manning's "Struts2 In action".
I tried following the instruction at this link , but without any use.


http://www.manning-sandbox.com/thread.jspa?threadID=27578
http://www.manning-sandbox.com/thread.jspa?threadID=27578

It throws the following error.


HTTP 404--

The requested resource (/Struts2InAction/) is not available.

Please Help.

Thanks in advance.

--
View this message in context:
http://old.nabble.com/resource-not-found-error--Struts-2-%28Struts2-in-action--Manning%29-tp30676184p30676184.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org




--
 Fail again. Fail better

With Regards ,
Nuwan  Arambage

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message