top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Struts2 with Jersey

0 votes

Have anybody tried with using jersey along with struts for the rest api.

Before I have an execute() method in the rest api that has code for redirecting into get , and now if I replace my code with jersey path annotations how can I use the work done by action in struts

posted Jun 25, 2013 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

2 Answers

+1 vote

Struts2 doesn't support JAX-RS spec, so you cannot mix those two. If you annotated your action as a JAX-RS bean, Jersey will take control over, Struts2 won't be engaged

answer Jun 26, 2013 by anonymous
+1 vote

Our yama work. use jaxrs and struts2. We share same spring service. and the jersey and s2 work separtely

answer Jun 26, 2013 by anonymous
Similar Questions
+1 vote

I am using s:select to create a dropdown and then checked the html. I wanted to add bgcolor as yellow. I referred to the following link

but still not sure how to put the background clour as yellow. Can anyone provide any pointers? Also, is it OK to use JSTL tags in JSPs in a Struts 2 application ?

+1 vote

Will it restrict the information being stored at the browser cache.

+3 votes

I would like to integrate struts2 in an CRUD application , JDBC, Apache Tomcat, Netbeans (or eclipse) but without Hibernate , nor EJB, nor GlassFish.
Hibernate is more complex than the problem it tries to solve. Could you have any integration example please ?

+2 votes

Anyone have tried struts2 on springboot? can we run it on spring boot? or anyone tested it?

+1 vote

I have a requirement to use Struts 2.x framework for new modules in the existing web application which is currently running on Struts 1.x

I would like to have both configuration separately and I don't wish to migrate or touch any of existing source files.

Could you please provide me any sample application or user guide or any related information for my requirement? Appreciate your kind help on this.