Hi,

Only .jsp file are complied at runtime by a server. your .java files will not be complied by the server. thats why we compile our .java files and put them in the WEB-INF/classes folder or package it in a .war file. cleaning these files will not make your webapp reload. if you have done any changes to the action classes or other java files you have to complie them again and put them in the WEB-INF/classes or create a .war and deploy it in your server. but if you do any chages to the .jsp files they will get complied automaticaly at run time when you are access that page.

Hope this would help you.

Thanks,

Nuwan.

----- Original Message ----- From: "Nuwan Chandrasoma" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Monday, April 16, 2007 2:44 PM
Subject: Re: Force clean / reload a webapp


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" <[EMAIL PROTECTED]>
To: <user@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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to