I can't see any href attributes in your anchors in the index.html page. Anyways I suppose your context path is /struts2tutorial and as you can see, the URL in the browser is /struts2tutorial/struts2tutorial so I suppose you've made some error in the URL. Did you write your anchors as
That will become a relative path and thus the context path will be added twice. Try one of the following
Although I won't recommend any of the above solutions as first one hard codes the context path and the second one is a relative path, but since you have a static HTML page, so these are the choices that I see fit...
The struts config file looks unusual, never seen <package> tag in a struts config file; also <struts-config> is usually the first tag in config file.
Hrishikesh Maluskar
Ranch Hand
Joined: Jun 19, 2008
Posts: 114
posted
0
thanks ankit and karan..actually i had kept my application struts2tutorial inside another directory named struts2tutorial..hence it was showing as /struts2tutorial/struts2tutorial.
Karan Johar wrote:The struts config file looks unusual, never seen <package> tag in a struts config file; also <struts-config> is usually the first tag in config file.
Struts 2.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: /struts2tutorial/struts2tutorial/roseindia/showLogin.action) is not available.