RE: Migration Help for angular2

2019-05-22 Thread Gopal, Siva Prakash (US - Mechanicsburg Delivery)
Our Current Application as below structure



Config.xml





true

success.jsp -> jsp (tiles-def)

resetSubmit 





Action class



class CredentialsAction{

private String username;

private String pwd;



public String loadForgotCredentials(){

if(true){

return success;

}else{

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.



Thanks,

Siva











-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) mailto:sigo...@deloitte.com>> 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.





Regards

--

Łukasz

+ 48 606 323 122

+ http://secure-web.cisco.com/1uK3CuqyR1LY1XTM0xwJqt_u-syPUkeqsJLwSI_lec

+ vlh7mMaj4uu-k8mveGp8wJjMbidiPn9rTD9wZWZSddXK0-1WVOuVFEyv2Y5DSsNqIBkOKL

+ 3hdzo03tJp_pajAHFoc767Hu1wNKeeV8MaA1FSg8Q1su4AlBnX0f85H6AA_uHbCQ-pIt8_

+ gCePs_MMHKwcgNGyEbh_mCdHTvinNo_udRX5iwq6BGCMKFJN-XyqP5ccQN4pNQZfdbdDvK

+ tqVTV5Hl36XIHD0FOwd7KGEHZ0djC8uHPLURk0aEqRE5iGJ1A1H9asFkCPJPGg4TZoGLYB

+ 1WYv4ZRcPSrOLXZI11aWo4bz8V46Y1rZALzQ33Ze4EqLUOHPGcTwfN3nEyLHRaGtDZjcXV

+ eBk6q_K7JM4yrF0nArO3ZUcooywe3oe4BmrU3cqbgBuW4S2Eqni9z45tFBuIsvHCWxUOkX

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

+ enart.org.pl%2F



-

To unsubscribe, e-mail: 
user-unsubscr...@struts.apache.org

For additional commands, e-mail: 
user-h...@struts.apache.org





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 www.deloitte.com/about to learn more.

v.E.1


Re: Migration Help for angular2

2019-05-22 Thread Lukasz Lenart
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.


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

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



Re: Upgrade from struts 2.3.37 to struts 2.5.20 issue.

2019-05-22 Thread Lukasz Lenart
Hi,

Did you follow the migration guideline?
https://cwiki.apache.org/confluence/display/WW/Struts+2.3+to+2.5+migration

Regards
Lukasz

wt., 21 maj 2019 o 18:45 HuiFung@GMail  napisał(a):
>
> encounter issue when .ear file deployed in Weblogic 12.1.3.0.0 server.
>
> Error: Struts Dispatcher cannot be found...
>
> Upgraded the necessary jar files such as struts core, json and updates the
> necessary properties file. but still encounter the struts dispatcher error.
>
> any idea what did I missed out? project is using ANT build and also is a
> non-maven project.
>
> Regards,
>
> Hui Fung
> Sent from G-Mail

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