I apologize for my ignorance, but I am not a Java web developer. I have
never heard of velocity or groovy until a month ago when I started looking
at XWiki. I have a couple years of experience doing
ASP.Net development.
So when I looked at HttpServletRequestWrapper, I have no idea what I am
looking at.
From what I read a servlet is a Java programming
language class used on a
server. Most of the time it is a web server.
I do not understand how this RequestWrapper integrates with a request.
Therefore I do not know how I should use this class. I looked at your
example link. From that I think I should
* Create a class that extends HttpServletRequestWrapper.
* Create a public property for xredirect
* put this class in my groovy section of my xwiki page
I don't know
* How would my class get populated with the existing request
Marius, I appreciate your help, but I am lost. :)
________________________________________
Tim Hays
-----Original Message-----
From: devs [mailto:devs-bounces@xwiki.org] On Behalf Of Marius Dumitru
Florea
Sent: Wednesday, March 26, 2014 11:13 AM
To: XWiki Developers
Subject: Re: [xwiki-devs] Looking for help with groovy
See
http://docs.oracle.com/javaee/7/api/javax/servlet/http/HttpServletRequestW
rapper.html
and
http://stackoverflow.com/questions/17601279/use-servlet-filter-to-remove-a
-form-parameter-from-posted-data
as an example.
Hope this helps,
Marius
On Wed, Mar 26, 2014 at 2:35 PM, DeHaynes <ew1560(a)wayne.edu> wrote:
I don't understand what you mean by "Wrap
this request". How would I
do that?
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Looking-for-help-with-groovy-tp75897
82p7589818.html Sent from the XWiki- Dev mailing list archive at
Nabble.com.
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs