You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by piloupy GOTTAPIL <b7...@yopmail.com> on 2007/04/16 13:30:02 UTC

Force clean / reload a webapp

Hi,

I'm developing a site using struts (bean, tiles, logic taglibs) and
after cleaning my webapp by deleting the directories /work and
/WEB-INF/classes, when I access to my site, there's only the header
which is displayed.

The only way to repair this problem is to remove all my librairies
from eclipse, access to a page (which cause exceptions of course,
since there're no librairies anymore), put back my librairies in
eclipse, reload context of my webapp, and then it works.

The problem is that I have the same problem on the production server,
and there's not eclipse to make such a manipulation.

Do you know why I have this problem, and how I can clean or force a
reload of my webapp ?

Thanks,

piloupy

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Force clean / reload a webapp

Posted by Nuwan Chandrasoma <my...@gmail.com>.
Hi,

dont you create a .war file and deploy your application? , if you delete the 
files inside /WEB-INF/classes you will loose all the .class files. make sure 
you have auto build enabled in eclipse and also if you delete the files 
inside /WEB-INF/classes folder in production sever you will loose all your 
.class files. which means your webapp will not work as you have no complie 
code.

Thanks,

Nuwan.

----- Original Message ----- 
From: "piloupy GOTTAPIL" <b7...@yopmail.com>
To: <us...@struts.apache.org>
Sent: Monday, April 16, 2007 11:30 AM
Subject: Force clean / reload a webapp


> Hi,
>
> I'm developing a site using struts (bean, tiles, logic taglibs) and
> after cleaning my webapp by deleting the directories /work and
> /WEB-INF/classes, when I access to my site, there's only the header
> which is displayed.
>
> The only way to repair this problem is to remove all my librairies
> from eclipse, access to a page (which cause exceptions of course,
> since there're no librairies anymore), put back my librairies in
> eclipse, reload context of my webapp, and then it works.
>
> The problem is that I have the same problem on the production server,
> and there's not eclipse to make such a manipulation.
>
> Do you know why I have this problem, and how I can clean or force a
> reload of my webapp ?
>
> Thanks,
>
> piloupy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org