struts2 package extends json -


i have package contains many actions , extends tiles-default package. have requirement that, these actions should return json result instead of tiles.

can use same actions & package return both types of result? there way, package extends both "json-default" , "tiles-default"?

<package name="deposit" namespace="/deposit" extends="tiles-default"> 

please suggest.

sure why not. use , separate packages.

<package name="deposit" namespace="/deposit" extends="tiles-default,json-default"> 

Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -