| Author |
Renaming the path in struts/spring app
|
Manon Baratt
Ranch Hand
Joined: Jan 30, 2006
Posts: 58
|
|
Hi,
I have a struts/spring app that I copied. I have renamed the app. When I rename the action app as in:
path=/myappaction
in all the struts and spring config files and in my jsps I set the action to the new name:
<html:form action="myappAction" ...>
I get a 500 error when I go to my link:
http://localhost:8080/myapp/myappaction
Any ideas?
Thanks for your help as I have spent quite a bit of time trying to figure this out.
|
 |
Manon Baratt
Ranch Hand
Joined: Jan 30, 2006
Posts: 58
|
|
It is interesting the minute you post something and then say let me try one more thing, then it works. What I had to do was to rename the jsp files to the name of the action name. It does not make sense to me.
I have one more puzzle. When I enter the address:
http://localhost:8080/myapp
it should redirect me to the link:
http://localhost:8080/myapp/myappaction
but it does not. I know there is a setup somewhere. Web.xml?
Thanks
|
 |
 |
I agree. Here's the link: jrebel
|
|
subject: Renaming the path in struts/spring app
|
|
|