Updating a struts.xml page [message #534254] |
Tue, 18 May 2010 09:34  |
Eclipse User |
|
|
|
Hello,
I am using eclipse to develop a struts application, along with Tomcat. However, when I make a change to my struts.xml file and restart the server, none of the changes happen (such as changing the names of actions and such). Does anyone know what could be the cause of this problem? I'm really confused, because I thought that when a server is restarted, it checks the struts.xml file and creates its action mappings based on it. This is not happening in this case, as any changes I make to my struts.xml file don't do anything to the server settings. Let me know if I'm missing something silly. Thanks beforehand.
Cheers,
Lukas
|
|
|
Re: Updating a struts.xml page [message #534278 is a reply to message #534254] |
Tue, 18 May 2010 10:34  |
Eclipse User |
|
|
|
LukasRezek wrote:
> Hello,
>
> I am using eclipse to develop a struts application, along with Tomcat.
> However, when I make a change to my struts.xml file and restart the
> server, none of the changes happen (such as changing the names of
> actions and such). Does anyone know what could be the cause of this
> problem? I'm really confused, because I thought that when a server is
> restarted, it checks the struts.xml file and creates its action mappings
> based on it. This is not happening in this case, as any changes I make
> to my struts.xml file don't do anything to the server settings. Let me
> know if I'm missing something silly. Thanks beforehand.
>
> Cheers,
> Lukas
When you restart Tomcat, it should publish your changed struts.xml to
your project's runtime location down under "<your
workspace> /.metadata/.plugins/org.eclipse.wst.server.core/tmp?/wtpweba pps/ <your
project>". Can you confirm if the published struts.xml is being updated
with your changes? If not, you can try right-clicking on the Tomcat
server in the Servers view and select "Clean...". This should force
everything in your project to be re-published. The published struts.xml
should also update with each change following this. Let me know if it
does not.
Cheers,
Larry
|
|
|
Powered by
FUDForum. Page generated in 0.35225 seconds