You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Dave Newton <ne...@yahoo.com> on 2007/06/24 21:32:33 UTC

[OT] Re: Reloading .war files automatically in Tomcat 6

--- Session A Mwamufiya wrote:
> now I need to find a tweak of some sort for Tomcat
6, 
> so that I don't need to restart the server every
time I
> make a change to the war file.  Is there a way to
have
> Tomcat reload the war file as soon as it changes?

Maybe checking the Tomcat documentation would be a
more reasonable place to start? Just an idea.

http://tomcat.apache.org/tomcat-6.0-doc/deployer-howto.html#Deploying%20on%20a%20running%20Tomcat%20server

d.



 
____________________________________________________________________________________
The fish are biting. 
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php

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


Struts 2 and using frames

Posted by Session A Mwamufiya <sm...@andrew.cmu.edu>.
Hello,

Has anyone experienced using HTML frames with a struts 2 app?  I'm trying to do just that, but my result page after a successful login doesn't find the pages for the frames.  Here's the result page code:

<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
  <head>
	<title>Zen Server Main View</title>
  </head>
  <frameset cols="200,*">
  	<frame src="/pages/smart_member/FeatureOptions.jsp" name="Options" noresize>
  	<frame src="/pages/smart_member/Welcome.jsp" name="Display" noresize>
  </frameset>
</html>

It's pretty straight forward, but I'm not sure whether I'm missing something here. Also, given that struts 2 actions use result pages to display the content of the action, how could I go about sending action properties to a page within a frame when the result page is one that sets the frameset?

Thanks,
Session


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


Re: [OT] Re: Reloading .war files automatically in Tomcat 6

Posted by Dave Newton <ne...@yahoo.com>.
IIRC there was a short thread on this topic on
struts-user a few months ago; I'd check those and/or
post to a Tomcat list/forum.

--- Session A Mwamufiya <sm...@andrew.cmu.edu>
wrote:

> I actually followed this link, and here is what I
> defined in my server.xml file:
> 
> <Host name="localhost"  appBase="webapps"
>             unpackWARs="true" autoDeploy="true"
>             xmlValidation="false"
> xmlNamespaceAware="false">
> 
> When I make changes and have my ant build place the
> new war file in the webapps folder, it seems as
> though it attempts to delete my previous application
> folder, but it can't get rid of
> "struts2-core-2.0.6.jar" in WEB-INF\lib.  After
> that, it doesn't seem to explode the war file any
> more.  Is there something that I may be missing
> here? (permissions?)
> 
> Thanks,
> Session
> 
> 
> > --- Session A Mwamufiya wrote:
> >> now I need to find a tweak of some sort for
> Tomcat
> > 6,
> >> so that I don't need to restart the server every
> > time I
> >> make a change to the war file.  Is there a way to
> > have
> >> Tomcat reload the war file as soon as it changes?
> > 
> > Maybe checking the Tomcat documentation would be a
> more reasonable place
> > to start? Just an idea.
> > 
> >
>
http://tomcat.apache.org/tomcat-6.0-doc/deployer-howto.html#Deploying%20o
> > n%20a%20running%20Tomcat%20server
> > 
> > d.
> > 
> > 
> > 
> > 
> >
>
_________________________________________________________________________
> > ___________ The fish are biting. Get more visitors
> on your site using
> > Yahoo! Search Marketing. 
> >
>
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php
> > 
> >
>
---------------------------------------------------------------------
> 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
> 
> 



      ____________________________________________________________________________________
Luggage? GPS? Comic books? 
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz

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


Re: [OT] Re: Reloading .war files automatically in Tomcat 6

Posted by Session A Mwamufiya <sm...@andrew.cmu.edu>.
I actually followed this link, and here is what I defined in my server.xml file:

<Host name="localhost"  appBase="webapps"
            unpackWARs="true" autoDeploy="true"
            xmlValidation="false" xmlNamespaceAware="false">

When I make changes and have my ant build place the new war file in the webapps folder, it seems as though it attempts to delete my previous application folder, but it can't get rid of "struts2-core-2.0.6.jar" in WEB-INF\lib.  After that, it doesn't seem to explode the war file any more.  Is there something that I may be missing here? (permissions?)

Thanks,
Session


> --- Session A Mwamufiya wrote:
>> now I need to find a tweak of some sort for Tomcat
> 6,
>> so that I don't need to restart the server every
> time I
>> make a change to the war file.  Is there a way to
> have
>> Tomcat reload the war file as soon as it changes?
> 
> Maybe checking the Tomcat documentation would be a more reasonable place
> to start? Just an idea.
> 
> http://tomcat.apache.org/tomcat-6.0-doc/deployer-howto.html#Deploying%20o
> n%20a%20running%20Tomcat%20server
> 
> d.
> 
> 
> 
> 
> _________________________________________________________________________
> ___________ The fish are biting. Get more visitors on your site using
> Yahoo! Search Marketing. 
> http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php
> 
> --------------------------------------------------------------------- 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