To solve a similar issue I ended up creating my own ContentTypeHandler. As
you already have a result it should be pretty easy to wrap (at least I
found it so). The problem is that after doing so all JSON will be handled
by your new Content type...
While this link shows how to use Jackson, you can
Thanks Martin, it was getting to the correct action class buy it was not using
the result I defined in the action. It was going to its own result
implementation based on the fact that I am requesting an application/json data
type. I found out that if I add ".action" to the url it processes eve
to control navigation why not map it?{1}
...
GET: /grid/method="index"when you reference /grid/
struts will call org.healthsmart.NonRestfulAction index method
https://struts.apache.org/docs/restfulactionmapper.html
or use DMI
/WEB-INF/content/hello.jsp
This was also posted to stackoverflow and relevant config information can be
seen in the post:
http://stackoverflow.com/questions/39593721/struts2-rest-mapper-taking-over-non-rest-json-result
I am working with the DataTables JS library and am trying to write actions for
the grid. I have a api i
S2 is completely unlike S1 in almost every respect. S1 was EOLed some time
ago. Your best bet is to get some used books from Amazon if you need to
maintain the existing app.
Hopefully it's well-structured enough that if you go the S2 route you'll
only Haber to deal with the web-to-business logic l
Hi Joseph,
Would you like to understand the MVC architecture or to
understand the Struts 1 framework. I would recommend, you can kindly go
though the following link.
http://www.raistudies.com/struts-1/architecture-of-struts-1-mvc-framework/
http://www.roseindia.net/struts/Struts-
Christoph
Thanks again for the nice reply.
Here is the reason that I am looking at Struts. I am an applications
programmer in a government office. Among my other (main) duties, I was
assigned to be "backup" to another employee. I was shown how to restart
the app, and to do some minor database m
>
> OK, the View does not send the message back to the user. Instead, the
> Controller does that.
>
> So the Controller receives the HTTP message, sends it to the Handler,
the
> Handler processes it and hands it back to the Controller. The
Controller
> passes the message to the Model, which d
8 matches
Mail list logo