2009/7/8 Oscar Alvarez <oialva...@gmail.com> > Hi... > > Try to get the Ian Roughley's "Starting Struts2 online" ebook for free, and > study "PRODUCTIVITY TIPS" -> "Re-Using Action Configurations"... and see if > there are some other tips for you. >
And of course "PRODUCTIVITY TIPS" -> "Use Pattern Matching Wildcards in Configurations" too. > > HTH > > 2009/7/8 Greg Lindholm <greg.lindh...@gmail.com> > > > Greg Lindholm wrote: >> > >> >> The referer header will contain the URL of the last request, which will >> be >> >> the action URL not the jsp page that rendered the result. So this >> wouldn't >> >> help the OP if I understood his problem. >> >> >> > >> > I think you misunderstand what the referer field contains. It'll be the >> > url that was displaying in the address field on the page from which the >> form >> > was submitted. http://en.wikipedia.org/wiki/HTTP_referrer Note that it >> > can be forged, etc. >> > >> > >> Not sure why you think I don't understand referer. In a struts app what >> you >> see in the address field is the "action URL" (e.g. >> http://host/MyAction.action) you don't ever see the JSP page name that >> rendered the page. The OP seemed to be looking for the name of the jsp >> page >> so don't see how this would help. >> > > > > -- > Atentamente > Óscar Álvarez Vielma > (09) 8416 4052 > -- Atentamente Óscar Álvarez Vielma (09) 8416 4052