Re: JSON + REST

2015-08-21 Thread Amol Ghotankar
output just using rest plugin with > annotations? > > Thanks, > > Felipe Lorenz > > -- *With Best Regards,* Amol Ghotankar Technical Lead M: +91 9960 980 419 <http://www.cursivetech.com>

Adding custom interceptor in struts2 rest project

2015-01-28 Thread Amol Ghotankar
side, but doing a little more for detached clients. -- *With Best Regards,* Amol Ghotankar Technical Lead M: +91 9960 980 419 <http://www.cursivetech.com>

Sample Rest API example project on github

2015-01-28 Thread Amol Ghotankar
https://github.com/amolghotankar/struts2-rest-sample -- *With Best Regards,* Amol Ghotankar Technical Lead M: +91 9960 980 419 <http://www.cursivetech.com>

Re: Using Struts2 Rest Plugin with deep cascading actions

2015-01-24 Thread Amol Ghotankar
o use http://localhost/location instead of http://localhost/company/location Please suggest. On Fri, Jan 23, 2015 at 4:20 PM, Amol Ghotankar wrote: > hi, > > I was trying out struts2 rest plugin and found it really cool. > > But was just wondering how will this work with action cascadin

ASM library issue when upgrading struts2.3.20 from struts2.3.16.3

2015-01-23 Thread Amol Ghotankar
& asm are almost used everywhere else too. Any suggestions of how to fix this? -- *With Best Regards,* Amol Ghotankar Technical Lead M: +91 9960 980 419 <http://www.cursivetech.com>

Using Struts2 Rest Plugin with deep cascading actions

2015-01-23 Thread Amol Ghotankar
sing actions? Am I missing something in rest plugin? -- *With Best Regards,* Amol Ghotankar Technical Lead M: +91 9960 980 419 <http://www.cursivetech.com>

Loading static content from cdn instead of struts directoru

2015-01-03 Thread Amol Ghotankar
given base url for cdn? Do not want my tomcat to serve static resources. -- *With Best Regards,* Amol Ghotankar Technical Lead M: +91 9960 980 419 <http://www.cursivetech.com>

Re: Call 4 Plugins

2014-06-20 Thread Amol Ghotankar
t; + 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 > > -- *With Best Regards,* Amol Ghotankar Technical Lead M: +91 9960 980 419 <http://www.cursivetech.com>

Re: Struts2.3.18 Released?

2014-05-06 Thread Amol Ghotankar
more specific - http://struts.apache.org/release/2.3.x/docs/version-notes-2318.html On Tue, May 6, 2014 at 8:06 PM, Amol Ghotankar wrote: > Hi, > > Version notes taking about this released > http://struts.apache.org/release/2.3.x/docs/migration-guide.html > > But in JIRA thi

Struts2.3.18 Released?

2014-05-06 Thread Amol Ghotankar
Hi, Version notes taking about this released http://struts.apache.org/release/2.3.x/docs/migration-guide.html But in JIRA this shows unreleased. Just wanted to bring to group's notice. -- *With Best Regards,* Amol Ghotankar Technical Lead M: +91 9960 980 419 <http://www.cursivetech.com>

Re: struts 2.3.17

2014-04-25 Thread Amol Ghotankar
; and change the to use key="test" it works like a charm. > >>>>>>> > >>>>>>> Is that how its supposed to be? If so, why? > >>>>>>> > >>>>>>> Thank you for explaining! > >>>>>>> > >>>>>>> Best > >>>>>>> Fabian > >>>>>>> > >>>>>> > - > >>>>>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > >>>>>> For additional commands, e-mail: user-h...@struts.apache.org > >>>>>> > >>>>> -- > >>>>> media transfer AG > >>>>> > >>>>> Fabian Richter, M.Sc. > >>>>> Softwareentwickler > >>>>> > >>>>> Mail:frich...@mtg.de > >>>>> Telefon: +49 6151 8193-24 > >>>>> Telefax: +49 6151 8193-43 > >>>>> Web: http://www.mtg.de > >>>>> > >>>>> Firmensitz: Dolivostraße 11, 64293 Darmstadt > >>>>> Registergericht: Amtsgericht Darmstadt, HRB 8901 > >>>>> Vorstand: Jürgen Ruf (Vors.), Tamer Kemeröz > >>>>> Aufsichtsratsvorsitzender: Dr. Thomas Milde > >>>>> > >>>> - > >>>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > >>>> For additional commands, e-mail: user-h...@struts.apache.org > >>>> > >>> -- > >>> media transfer AG > >>> > >>> Fabian Richter, M.Sc. > >>> Softwareentwickler > >>> > >>> Mail:frich...@mtg.de > >>> Telefon: +49 6151 8193-24 > >>> Telefax: +49 6151 8193-43 > >>> Web: http://www.mtg.de > >>> > >>> Firmensitz: Dolivostraße 11, 64293 Darmstadt > >>> Registergericht: Amtsgericht Darmstadt, HRB 8901 > >>> Vorstand: Jürgen Ruf (Vors.), Tamer Kemeröz > >>> Aufsichtsratsvorsitzender: Dr. Thomas Milde > >>> > >> - > >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > >> For additional commands, e-mail: user-h...@struts.apache.org > >> > >> > >> > > > > > > - > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > > For additional commands, e-mail: user-h...@struts.apache.org > > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- *With Best Regards,* Amol Ghotankar Technical Lead M: +91 9960 980 419 <http://www.cursivetech.com>

Security Issues & Vulnerability

2014-01-30 Thread Amol Ghotankar
is clear and valid. Original issue on stackoverflow at http://stackoverflow.com/questions/21104956/tomcat-files-getting-uploaded-security-loophole -- *With Best Regards,* Amol Ghotankar Technical Lead M: +91 9960 980 419 <http://www.cursivetech.com>

Re: Question about Model Driven Interface

2013-10-15 Thread Amol Ghotankar
t; Umesh Awasthi > http://www.travellingrants.com/ > -- *With Best Regards,* Amol Ghotankar Technical Lead M: +91 9960 980 419 <http://www.cursivetech.com>

Re: Any sample or example for Struts2 Google Ad-sense integration

2013-02-03 Thread Amol Ghotankar
Something very useful i found for using struts2 with Google analytics :) http://technomilk.wordpress.com/2010/12/05/tracking-events-with-google-analytics-in-struts-actions/ On Mon, Feb 4, 2013 at 1:22 AM, Amol Ghotankar wrote: > Hi, > > I was trying for integration Google ads insid

struts2.0.14's date time picker tag

2012-06-07 Thread Amol Ghotankar
ething? **Note: Do not answer if the answer is to use jquery or some other js lib or an upgrade.* stackoverflow.com/questions/10910026/struts2-datetime-picker-displayformat-issue -- *With Best Regards,* Amol Ghotankar Technical Lead M: +91 9960 980 419 <http://www.cursivetech.com>

Re: Struts2 Date time picker problem in Firefox

2011-05-30 Thread Amol Ghotankar
@Maurizio: I have not changed anything, and the application is very simple do not use any dojo manipulation too. Yes the output is from the client browser retrieved via firebug & similar browser plug-ins where I can see that in FF the value is blank. Any quick fix for this. Regards, Amol

Re: Struts2 Date time picker problem in Firefox

2011-05-29 Thread Amol Ghotankar
I checked the output on browsers and this was what i found IE FF Help is need to fix this part.

Struts2 Date time picker problem in Firefox

2011-05-29 Thread Amol Ghotankar
mit this form from IE8, the object at backend gets the date value as entered. Any Idea what additional settings required for Firefox? Regards, Amol Ghotankar Cursive Technologies

Re: Issue: Action redirect do not include parameter as complex objects?

2011-05-24 Thread Amol Ghotankar
Ok. 1, Why I need to pass the object and not the id. --> I have just inserted it and do not want additional reads from database. 2. Can't image url & get request. --> Exactly. Why do we have just GET here, can't we have post also. 3. Old version. --> Applications can't be upgraded for every vers

Issue: Action redirect do not include parameter as complex objects?

2011-05-24 Thread Amol Ghotankar
With Best Regards, Amol Ghotankar Technical Lead Cursive Technologies Pvt. Ltd. 104, A1 Wing, W Sector, Masulkar Colony, Ajmera, Pimpri, Pune-18 INDIA O: +91 2020 270 570 M: +91 9960 980 419 www.cursivetech.com CURSIVE TECHNOLOGIES EMAIL NOTICE The information contained in this email and any

Re: Pagination using Struts library

2011-05-11 Thread Amol Ghotankar
You have struts 2 jquery plugin for grid and full hibernate support plugin to do pagination. With Best Regards, Amol Ghotankar Technical Lead Cursive Technologies Pvt. Ltd. www.cursivetech.com

Re: RedirectAction Help!

2011-05-10 Thread Amol Ghotankar
yourForm > */ >public Long getYourForm() { >return yourForm; >} > > > exerpt from QuestionListing.java > > I have a getter/setter for formId > >public String execute() { >currentQuestion = (services.getQuestionsByForm(getFormId())); >return

Struts 2.2.3 Urls Not Working

2011-05-06 Thread Amol Ghotankar
he.org/2.x/docs/performance-tuning.html > > and > > http://struts.apache.org/2.x/docs/static-content.html > > Dave > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail

Re: E-Commerce website using struts

2010-12-31 Thread Amol Ghotankar
gt; shopping cart as well. > > > > Any help will be greatly appreciated. > > > > Thanks! > > -- Ashish > > > -- With Best Regards, Amol Ghotankar Cursive Technologies Pvt. Ltd. www.cursivetech.com

Re: How to save the valuestack when using the redirectaction result type

2010-12-31 Thread Amol Ghotankar
patcher Result","Redirect > > Result","Redirect Action Result" and "Chain Result"? > > I read the contents at " > struts.apache.org/2.2.1/docs/result-types.html > ",but > > I am not exactly sure its meaning. > > > > 2)My action "manager" is a authentication required action,so I add a > > authentication interceptor for them. > > > > But how about user enter the url directly like this: > > * > > http://localhost:8080/Test/jsp/secure/manager.jsp?* > > > > If so ,I do not think the interceptor will work. > > > > How do you guys slove this problem? > -- With Best Regards, Amol Ghotankar Cursive Technologies Pvt. Ltd. www.cursivetech.com

Re: Authorization/ Authentication

2010-12-28 Thread Amol Ghotankar
2010 at 10:01 PM, Dave Newton wrote: > On Tue, Dec 28, 2010 at 11:10 AM, Amol Ghotankar >wrote: > > > Even I am searching for some better way in which authentication can be > done > > using struts2 or spring security toghether. > > > > No direct or simple examp

Re: Authorization/ Authentication

2010-12-28 Thread Amol Ghotankar
g Akins > > http://insomnia-consulting.org > http://www.pghcodingdojo.org > http://pittjug.dev.java.net > http://twitter.com/akinsgre > http://www.linkedin.com/in/akinsgre > > - > To unsubscribe, e-mail: user-un

Re: JAX-RS or REST plugin

2010-09-28 Thread Amol Ghotankar
any idea about the direction, so we wont lost in the roadmap > > thx > > Frans > Indonesia > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- With Best Regards, Amol Ghotankar

Where to find variables added in context

2010-07-30 Thread Amol Ghotankar
added in context. thisedit_jsp (id=403) _jspx_th_s_005fif_005f9IfTag (id=500) _jspx_page_contextPageContextImpl (id=5102) -- With Best Regards, Amol Ghotankar

Re: Absolute Path for result

2010-07-22 Thread Amol Ghotankar
Dear Dale, Yes it works perfectly, thanks. So I can conclude if we give w/error.jsp it takes path relative to namespace. If we give /w/error.jsp it take absolute path from web content folder. Regards, Amol On Thu, Jul 22, 2010 at 7:54 PM, Amol Ghotankar wrote: > Dear Dale, > > i

Re: Absolute Path for result

2010-07-22 Thread Amol Ghotankar
wrote: > On 7/22/10 3:40 AM, Amol Ghotankar wrote: > >> Can't i directly give w/error.jsp >> > > "w/error.jsp" is a relative path. What happens if you specify > "/w/error.jsp"? > > -Dale > -- With Best Regards, Amol Ghotankar www.cursivetech.com

Absolute Path for result

2010-07-22 Thread Amol Ghotankar
ive w/error.jsp If current i give this path the struts searches it in x/y/z/w/error.jsp With Best Regards, Amol Ghotankar www.cursivetech.com

Re: Model Driven & Preparable

2010-07-14 Thread Amol Ghotankar
My interceptor stack is as below Please guide. On Tue, Jul 13, 2010 at 4:27 PM, Amol Ghotankar wrote: > Dear List members, > > > I have implemented model driven & prepare able interface in S2, also > i

Model Driven & Preparable

2010-07-13 Thread Amol Ghotankar
so I create a object in my prepare method, but this method creates new object every-time rather than using the created object in previous prepare. With Best Regards, Amol Ghotankar

Re: Emailing the contents of a Struts2 view?

2010-07-08 Thread Amol Ghotankar
wser > >> request. > >> > >> Chris > >> > >> > If you just want to send mail after some action is executed then > >> > > >> > I think you can do it by using > >> > > >> > action-redirect > >> >

Re: Emailing the contents of a Struts2 view?

2010-07-08 Thread Amol Ghotankar
send mail after some action is executed then > > > > I think you can do it by using > > > > action-redirect > > > > You can redirect the action to send email action. > > > > Regards, > > > > Amol Ghotankar > > > > On Thu, Jul 8, 2010 a

Re: Authorization Best Practices

2010-07-07 Thread Amol Ghotankar
ther users Now I think the discussion will be more focus and we can discuss what practises can be followed to implement this logic using struts2 and related framework. Regards, Amol Ghotankar. On Thu, Jul 8, 2010 at 2:12 AM, Dale Newfield wrote: > On 7/7/10 2:26 PM, Amol Ghotanka

Re: Emailing the contents of a Struts2 view?

2010-07-07 Thread Amol Ghotankar
If you just want to send mail after some action is executed then I think you can do it by using action-redirect You can redirect the action to send email action. Regards, Amol Ghotankar On Thu, Jul 8, 2010 at 1:08 AM, Chris Miles wrote: > Is it posible for me to render a view after

Re: Authorization Best Practices

2010-07-07 Thread Amol Ghotankar
ontrol the data also? My actions know what data to be fetched but business layer can over-write it where as the actual data is beneath the DAO layer. So where can we intercept or we need to intercept all the three layers and have a combined policy using them. Regards, Amol Ghotankar On Wed, Jul

Re: Authorization Best Practices

2010-07-07 Thread Amol Ghotankar
tion. > > As to authorization - I agree that Spring Security is a good way to go. > > -Brian > -- With Best Regards, Amol Ghotankar

Authorization Best Practices

2010-07-07 Thread Amol Ghotankar
which has 100 rows, then to show 100 or 10 or 50 based on the role of the user and this authorization permissions. Also how to handle unauthorized request and redirect to called action or some other page. There are several ways we can discuss all here. With Best Regards, Amol Ghotankar Cursive

Re: set a list from getmodel()

2010-07-01 Thread Amol Ghotankar
set multiple objects of same type from FORMS. Help needed and appreciated. Regards, Amol Ghotankar. On Thu, Jul 1, 2010 at 1:03 PM, Amol Ghotankar wrote: > Dear List memeber, > > I have a urgent requirement in which I will have to populate a list or set > and this set / list will

set a list from getmodel()

2010-07-01 Thread Amol Ghotankar
Dear List memeber, I have a urgent requirement in which I will have to populate a list or set and this set / list will be getModel() for an struts action. How to write jsp code so that the set is populated directly here. Like say I have a list of address and from form address 1 address 2 addre

Re: Creating Sub-Domains from Struts 2 application

2010-06-29 Thread Amol Ghotankar
and your username is created as a sub-domain. Regards, Amol Ghotankar On Tue, Jun 29, 2010 at 2:06 PM, Gustavo Felisberto < gustavo.felisbe...@wit-software.com> wrote: > Hello Amol, > > This does not seem to be 100% struts related. If you want > gustavo.domain.com > to exi

Creating Sub-Domains from Struts 2 application

2010-06-28 Thread Amol Ghotankar
arrangement and create such sub-domains directly from the application itself. Regards, Amol Ghotankar, cursivetech.com

Re: Jasper Report Problem in HTML format

2010-06-22 Thread Amol Ghotankar
rvlets/image?image= > > Of > course you need to declare that servlet in your web.xml : > > > >ImageServlet > > > net.sf.jasperreports.j2ee.servlets.ImageServlet > > > > > ImageServlet > > /servlets/image > > > > HTH > Be

Re: Jasper Report Problem in HTML format

2010-06-21 Thread Amol Ghotankar
wrote: > Looks like its a path issue. Please see if the image tags in the generated > HTML point to the proper URL for images. > > > > > From: > Amol Ghotankar > To: > Struts Users Mailing List > Date: > 21-06-2010 17:21 > Subject: > Re: Jasper Repor

Re: Jasper Report Problem in HTML format

2010-06-21 Thread Amol Ghotankar
Dear List members, My problem is still not resolved. I am not able to show jasper reports in html format in struts 2. The images that are generated in html format are missing. Please help me on it. Regards, Amol ghotankar On Sun, Jun 20, 2010 at 11:56 PM, Amol Ghotankar wrote: > As per

Re: Jasper Report Problem in HTML format

2010-06-20 Thread Amol Ghotankar
something like /getImage.action? > > On Jun 20, 2010 6:12 AM, "Amol Ghotankar" wrote: > > Dear List members, > > When I try to see the HTML page it shows path of images as src="/images/px" > > But in web content images folder no such images are created, nor

Re: Jasper Report Problem in HTML format

2010-06-20 Thread Amol Ghotankar
re created dynamically. On Sun, Jun 20, 2010 at 4:34 PM, Amol Ghotankar wrote: > Dear List members, > > I have successfully embedded jasper reports with struts 2, thanks to the > documentation. > > Only major problem that i am facing is when I give format as HTML in xml > fi

Jasper Report Problem in HTML format

2010-06-20 Thread Amol Ghotankar
Dear List members, I have successfully embedded jasper reports with struts 2, thanks to the documentation. Only major problem that i am facing is when I give format as HTML in xml file, the html page opens but the images are not found. What can be done so that the path of images will be taken co

Re: Action redirect back to called actions

2010-06-17 Thread Amol Ghotankar
the details of calling action directly from the context *or value stack etc.. Please guide me. With regards, Amol Ghotankar cursivetech.com On Thu, Jun 17, 2010 at 7:17 PM, Amol Ghotankar wrote: > Dear Greg. > > Thanks for the information. > > Is this an inbuilt variable or we

Re: Action redirect back to called actions

2010-06-17 Thread Amol Ghotankar
Dear Greg. Thanks for the information. Is this an inbuilt variable or we need to define it somewhere in the calling action. Can we also the namespace of the calling action in the called action directly. Regards, Amol Ghotankar cursivetech.com On Thu, Jun 17, 2010 at 6:31 PM, Greg Lindholm

Action redirect back to called actions

2010-06-16 Thread Amol Ghotankar
ease help me on the same. Regards, Amol Ghotankar cursivetech.com

Migrating from Struts 2.0.x to 2.1.8.x

2010-06-15 Thread Amol Ghotankar
On Wed, Jun 16, 2010 at 12:05 PM, Amol Ghotankar wrote: > Dear user list, > > How difficult and risky it is to shift my project from struts 2.0.x to > 2.1.8.x. > > I have a very huge erp project done 80% in struts 2.0.x, will you recommend > to use new struts or complete th

Re: Factoring out URL and link generation

2010-06-15 Thread Amol Ghotankar
Dear user list, How difficult and risky it is to shift my project from struts 2.0.x to 2.1.8.x. I have a very huge erp project done 80% in struts 2.0.x, will you recommend to use new struts or complete the project without any major change.