struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gopal, Siva Prakash (US - Mechanicsburg Delivery)" <>
Subject RE: Migration Help for angular2
Date Wed, 22 May 2019 06:21:23 GMT
Our Current Application as below structure


                <action name="credentials" class="CredentialsAction"


                                                <param name="anonymous">true</param>

                                                <result name="success">success.jsp</result>
-> jsp (tiles-def)

                                                <result name="passreset" type="chain">resetSubmit</result>
<!--chaining action-->


                Action class

                class CredentialsAction{

                                private String username;

                                private String pwd;

                                public String loadForgotCredentials(){


                                                                return success;


                                                                return passreset;




                Currently (http:\\localhost\Demo\credentials) it will render JSP or chaining
to another action class.

                What is best approach to change above structure to return as json response
for API call. Since i need to use that api call in angular code.

Let me know if further informationi is required.



-----Original Message-----
From: Lukasz Lenart <>
Sent: Wednesday, May 22, 2019 2:09 AM
To: Struts Users Mailing List <>
Subject: [EXT] Re: Migration Help for angular2

wt., 21 maj 2019 o 18:17 Gopal, Siva Prakash (US - Mechanicsburg

Delivery) <<>> napisał(a):


> Thanks for your help


> Do we have recommended approach to handle this. One.


> Do we need to add any wrapper on top of the existing action class. Can you please suggest
some approach on it.

Not sure what do you mean by that, all depends on your application setup and what plugins
do you use, etc. Asking more precise questions can help get answers.




+ 48 606 323 122


+ vlh7mMaj4uu-k8mveGp8wJjMbidiPn9rTD9wZWZSddXK0-1WVOuVFEyv2Y5DSsNqIBkOKL

+ 3hdzo03tJp_pajAHFoc767Hu1wNKeeV8MaA1FSg8Q1su4AlBnX0f85H6AA_uHbCQ-pIt8_

+ gCePs_MMHKwcgNGyEbh_mCdHTvinNo_udRX5iwq6BGCMKFJN-XyqP5ccQN4pNQZfdbdDvK



+ eBk6q_K7JM4yrF0nArO3ZUcooywe3oe4BmrU3cqbgBuW4S2Eqni9z45tFBuIsvHCWxUOkX

+ P3piEEqPVjuOAByrj_MrRGnaraa-JWbWZjOK_pIAfUo13JvcF8Y/http%3A%2F%2Fwww.l



To unsubscribe, e-mail:<>

For additional commands, e-mail:<>

This message (including any attachments) contains confidential information intended for a
specific individual and purpose, and is protected by law. If you are not the intended recipient,
you should delete this message and any disclosure, copying, or distribution of this message,
or the taking of any action based on it, by you is strictly prohibited.

Deloitte refers to a Deloitte member firm, one of its related entities, or Deloitte Touche
Tohmatsu Limited ("DTTL"). Each Deloitte member firm is a separate legal entity and a member
of DTTL. DTTL does not provide services to clients. Please see to learn

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message