Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Updating a struts.xml page
Updating a struts.xml page [message #534254] Tue, 18 May 2010 13:34 Go to next message
LukasRezek  is currently offline LukasRezek Friend
Messages: 1
Registered: May 2010
Junior Member
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 14:34 Go to previous message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
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: Wed Sep 25 07:20:21 GMT 2024

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

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

Back to the top