Re: how to Get Context path
Yes i mean context path of current class Thanks&Regards, Gerald A On Fri, Jul 17, 2009 at 6:32 PM, Linda van der Pal < lvd...@heritageagenturen.nl> wrote: > Per, > > Look at the reply he gave me to that same question. > > Linda > > Per Newgro wrote: > >> Gerald Fernando schrieb: >> >>> Hello Friends, >>> how to get the context path of current class >>> >>> Thanks&Regards, >>> Gerald A >>> >>> >>> >> Can you please explain what you mean with "context path of current class"? >> >> Cheers >> Per >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> >> >> No virus found in this incoming message. >> Checked by AVG - www.avg.com Version: 8.5.375 / Virus Database: >> 270.13.18/2243 - Release Date: 07/17/09 06:08:00 >> >> >> > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
Re: how to Get Context path
Per, Look at the reply he gave me to that same question. Linda Per Newgro wrote: Gerald Fernando schrieb: Hello Friends, how to get the context path of current class Thanks&Regards, Gerald A Can you please explain what you mean with "context path of current class"? Cheers Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.375 / Virus Database: 270.13.18/2243 - Release Date: 07/17/09 06:08:00 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: how to Get Context path
Gerald Fernando schrieb: Hello Friends, how to get the context path of current class Thanks&Regards, Gerald A Can you please explain what you mean with "context path of current class"? Cheers Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: How to get context path of Application
if i do this webRequest cannot be resolved to a type and RequestCycle cannot be resolved what can i do Thanks&Regards, Gerald A On Fri, Jul 17, 2009 at 2:53 PM, Linda van der Pal < lvd...@heritageagenturen.nl> wrote: > Well I guess Alex already gave the answer. > > >> ((WebRequest)RequestCycle.get().getRequest()).getHttpServletRequest().getContextPath() >> > > Alex Objelean >> > > > Linda > > > Gerald Fernando wrote: > >> Hi Linda, >> Actually my page need to call a XML file.I have stored that file in my web >> content .error shows that the system could not find the file.but i give a >> absolute path it is working so i need to get my tomcat path to access that >> file. >> How can i access that file?Is there any other way. >> am expecting your reply urgent. >> >> Thanks®ards, >> Gerald A >> >> On Fri, Jul 17, 2009 at 1:12 PM, Linda van der Pal < >> lvd...@heritageagenturen.nl> wrote: >> >> >> >>> What is it exactly you are trying to do? >>> >>> Linda >>> >>> Gerald Fernando wrote: >>> >>> >>> How to get context path of Application Thanks7Regards, Gerald A No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.375 / Virus Database: 270.13.17/2242 - Release Date: 07/16/09 18:00:00 >>> - >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>> For additional commands, e-mail: users-h...@wicket.apache.org >>> >>> >>> >>> >> >> >> >> >> No virus found in this incoming message. >> Checked by AVG - www.avg.com Version: 8.5.375 / Virus Database: >> 270.13.17/2242 - Release Date: 07/16/09 18:00:00 >> >> >> > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
Re: How to get context path of Application
Well I guess Alex already gave the answer. ((WebRequest)RequestCycle.get().getRequest()).getHttpServletRequest().getContextPath() Alex Objelean Linda Gerald Fernando wrote: Hi Linda, Actually my page need to call a XML file.I have stored that file in my web content .error shows that the system could not find the file.but i give a absolute path it is working so i need to get my tomcat path to access that file. How can i access that file?Is there any other way. am expecting your reply urgent. Thanks®ards, Gerald A On Fri, Jul 17, 2009 at 1:12 PM, Linda van der Pal < lvd...@heritageagenturen.nl> wrote: What is it exactly you are trying to do? Linda Gerald Fernando wrote: How to get context path of Application Thanks7Regards, Gerald A No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.375 / Virus Database: 270.13.17/2242 - Release Date: 07/16/09 18:00:00 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.375 / Virus Database: 270.13.17/2242 - Release Date: 07/16/09 18:00:00 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: How to get context path of Application
Hi Linda, Actually my page need to call a XML file.I have stored that file in my web content .error shows that the system could not find the file.but i give a absolute path it is working so i need to get my tomcat path to access that file. How can i access that file?Is there any other way. am expecting your reply urgent. Thanks®ards, Gerald A On Fri, Jul 17, 2009 at 1:12 PM, Linda van der Pal < lvd...@heritageagenturen.nl> wrote: > What is it exactly you are trying to do? > > Linda > > Gerald Fernando wrote: > >> How to get context path of Application >> >> Thanks7Regards, >> Gerald A >> >> >> >> >> No virus found in this incoming message. >> Checked by AVG - www.avg.com Version: 8.5.375 / Virus Database: >> 270.13.17/2242 - Release Date: 07/16/09 18:00:00 >> >> >> > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
Re: How to get context path of Application
What is it exactly you are trying to do? Linda Gerald Fernando wrote: How to get context path of Application Thanks7Regards, Gerald A No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.375 / Virus Database: 270.13.17/2242 - Release Date: 07/16/09 18:00:00 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: How to get context path of Application
((WebRequest)RequestCycle.get().getRequest()).getHttpServletRequest().getContextPath() Alex Objelean Gerald Fernando wrote: > > How to get context path of Application > > Thanks7Regards, > Gerald A > > -- View this message in context: http://www.nabble.com/How-to-get-context-path-of-Application-tp24529877p24529972.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
RE: How to get context path
Done: https://issues.apache.org/jira/browse/WICKET-1700 -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2008 11:32 AM To: users@wicket.apache.org Subject: Re: How to get context path jira is your friend -igor On Thu, Jun 12, 2008 at 4:46 AM, Hoover, William <[EMAIL PROTECTED]> wrote: > It would be better if ContextImage was a behavior rather than an > actual component. For instance, if you have an html input of > type=image (or a link for that matter) you can still utilize the > behavior whereas a component you cannot ;o) > > -Original Message- > From: Igor Vaynberg [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 11, 2008 3:29 PM > To: users@wicket.apache.org > Subject: Re: How to get context path > > see ContextImage > > -igor > > On Wed, Jun 11, 2008 at 12:10 PM, Patel, Sanjay <[EMAIL PROTECTED]> > wrote: >> Hi, >> >> my images in the application are in webapp/image folder. How to get >> Context Path in wicket so I can prepend this path to display the > image. >> I am looking for something like this. >> >> getContextPath() + "image/icon.gif"; >> >> Please suggest how to do that. >> >> Thanks, >> Sanjay. >> >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to get context path
jira is your friend -igor On Thu, Jun 12, 2008 at 4:46 AM, Hoover, William <[EMAIL PROTECTED]> wrote: > It would be better if ContextImage was a behavior rather than an actual > component. For instance, if you have an html input of type=image (or a > link for that matter) you can still utilize the behavior whereas a > component you cannot ;o) > > -Original Message- > From: Igor Vaynberg [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 11, 2008 3:29 PM > To: users@wicket.apache.org > Subject: Re: How to get context path > > see ContextImage > > -igor > > On Wed, Jun 11, 2008 at 12:10 PM, Patel, Sanjay <[EMAIL PROTECTED]> > wrote: >> Hi, >> >> my images in the application are in webapp/image folder. How to get >> Context Path in wicket so I can prepend this path to display the > image. >> I am looking for something like this. >> >> getContextPath() + "image/icon.gif"; >> >> Please suggest how to do that. >> >> Thanks, >> Sanjay. >> >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to get context path
It would be better if ContextImage was a behavior rather than an actual component. For instance, if you have an html input of type=image (or a link for that matter) you can still utilize the behavior whereas a component you cannot ;o) -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2008 3:29 PM To: users@wicket.apache.org Subject: Re: How to get context path see ContextImage -igor On Wed, Jun 11, 2008 at 12:10 PM, Patel, Sanjay <[EMAIL PROTECTED]> wrote: > Hi, > > my images in the application are in webapp/image folder. How to get > Context Path in wicket so I can prepend this path to display the image. > I am looking for something like this. > > getContextPath() + "image/icon.gif"; > > Please suggest how to do that. > > Thanks, > Sanjay. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to get context path
see ContextImage -igor On Wed, Jun 11, 2008 at 12:10 PM, Patel, Sanjay <[EMAIL PROTECTED]> wrote: > Hi, > > my images in the application are in webapp/image folder. How to get > Context Path in wicket so I can prepend this path to display the image. > I am looking for something like this. > > getContextPath() + "image/icon.gif"; > > Please suggest how to do that. > > Thanks, > Sanjay. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]