Hi all. I couldn't find a good struts dev group so I'm hoping someone here can help.
I'm learning Struts from the book
Struts Design and Programming and am trying to use their sample apps to start one of my own. I can get their sample app (in this case, app02a) to run just fine, but mine keeps giving a 404 error after I submit my form.
type: Status report
message: Invalid path was requested
description: The requested resource (Invalid path was requested) is not available.
Google gave me some suggestions but nothing that fixed my problem.
( Program/setup details hereCollapse )I've compared the files to the sample app and everything is comparably similar, only the file and method names being different. This is really starting to tick me off. :( I'm happy to send all the code directly to someone who can help.
Any ideas?
Small Update: I changed the form declaration to post to /viewMovie.do and I get the error message to change to
type: Status report
message: /viewMovie.do
description: The requested resource (/viewMovie.do) is not available.
Second Update: I restarted Tomcat and now it works. *siiiiigh* So I clearly don't understand everything about Tomcat yet. Why was I able to install app02a into my webapps directory and it worked fine without needing to restart, but a restart of the server was the only thing to fix this one?