In our case it was with Tomcat.
On Aug 23, 2012, at 11:21 AM, Martin Gainty wrote:
>
> JBoss or Tomcat?
>
> Martin
> __
> ..place longwinded disclaimer here...
>
>
>> From: jmoc...@velti.com
>> To: user@struts.apache.org
>> Subject: Re: Q: S2 RE
my case.
we use struts2 (spring and hibernate ), so the Action has been linked
with hibernate and POJO, and work quiet good.
the result is JSON.. the URL naming from .action become REST
(blabla/param/1/2/3), and work well, take a look Mutiara-iman.org,
and the method is using @Action and @Result
I wanted to setup a JAX-RS test environment and I thought I would follow your
lead
Thanks Joseph!
Martin Gainty
__
...place longwinded disclaimer here...
> From: jmoc...@velti.com
> To: user@struts.apache.org
> Subject: Re: Spam: RE: Q: S2 REST vs
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
We've been using Struts 1 (currently 1.3.10) happily for years, mostly
with a monolithic configuration file (struts-config.xml). Lately,
we've been splitting-out some of the and global-forward
configuration into separate files. As a logical next
So that I can cleanup resources. How can I receive a notification in a Struts 2
web app when the app has been unloaded, stopped, un-deployed, etc.?
Thank you,
John Boyer
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.or
Use a servlet listener.
On Aug 24, 2012 2:54 PM, "John Boyer" wrote:
> So that I can cleanup resources. How can I receive a notification in a
> Struts 2 web app when the app has been unloaded, stopped, un-deployed, etc.?
>
> Thank you,
> John Boyer
> --
As another said.. in web.xml you configure a servlet context listener, in
your code you provide a class that implements the ServletContextListener
and you can use it to know when the app is deployed and undeployed.
On Fri, Aug 24, 2012 at 12:54 PM, John Boyer wrote:
> So that I can cleanup reso
I guess Im not understanding where the default response of json is specified
from the resteasy-jaxrs if you specify
@Produces("text/html")
your function will output HTML
as far as Produces.java
public @interface Produces
{
/**
* A list of media types. Each entry may specify a single type
JMX ClientNotificationListener implementor has a method
public static class ClientListener implements NotificationListener {
will notify you of *any* notifications that might be sent by the MBeans that
are registered in the JMX agent's MBean server
http://docs.oracle.com/javase/tutorial/jmx/remo
if jaxrs produce html. can it render in velocity?
so the pojo mapped there
like struts2 did
Frans Thamura
Meruvian
On Aug 25, 2012 4:00 AM, "Martin Gainty" wrote:
>
> I guess Im not understanding where the default response of json is
> specified from the resteasy-jaxrs if you specify
> @Produc
10 matches
Mail list logo