Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Updating a struts.xml page
Updating a struts.xml page [message #534254] Tue, 18 May 2010 09:34 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:JiBX Unmarshalling - No enum Const error
Next Topic:Detecting that the web content folder has changed
Goto Forum:
  


Current Time: Thu Jul 03 16:58:02 EDT 2025

Powered by FUDForum. Page generated in 0.35225 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top