I try to use following method to get basename of the invoking program name 
inside JSP/struts, 
   
  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,
   
  so, what is the correct way to extract basename of the involing program in 
struts?
   
  tks
   
  john

       
---------------------------------
Be a better Globetrotter. Get better travel answers from someone who knows.
Yahoo! Answers - Check it out.

Reply via email to