could u tel me how ? john Dave Newton <[EMAIL PROTECTED]> wrote: --- john lee wrote: > String why=(String) PageContext.getPage(); > > but receive the following error message > > can not make a static reference to the non-static > methoid getPage() from the type pageContext,
Do you understand why you're getting that error? > so, what is the correct way to extract basename of > the involing program in struts? Do you mean the invoking URL? Look at the HttpServletRequest interface. d. ____________________________________________________________________________________Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online. http://smallbusiness.yahoo.com/webhosting --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.