Re: Christmas Riddle

2009-01-15 Thread Dirk Forchel
request; >>>>>> } >>>>>> >>>>>> @Override >>>>>> public void prepare() throws Exception >>>>>> { >>>>>> referer = request.getHeader( "Referer" ); >>>>>> if (referer==null) >>

Re: Christmas Riddle

2008-12-21 Thread Dirk Forchel
void setServletRequest(HttpServletRequest request) >>>>>> { >>>>>> this.request = request; >>>>>> } >>>>>> >>>>>> @Override >>>>>> public void prepare() throws Exception >>>>>> { >>>>>> referer = request.

Re: Christmas Riddle

2008-12-20 Thread Nils-Helge Garli Hegvik
t;>>> public String getReferer() >>>>> { >>>>> // THIS WORKS >>>>> // return "/jsp/pages/welcome.jsp"; >>>>> // THIS DOES'NT WORK >>>>> // return "/welcome.action"; >>>>>

Re: Christmas Riddle

2008-12-19 Thread Musachy Barroso
public String getReferer() >>>>> { >>>>> // THIS WORKS >>>>> // return "/jsp/pages/welcome.jsp"; >>>>> // THIS DOES'NT WORK >>>>> // return "/welcome.action"; >>>>> // THIS D

Re: Christmas Riddle

2008-12-19 Thread Dirk Forchel
class ForwardAction extends BaseAction >>>> { >>>> public String execute() throws Exception >>>> { >>>>addToHistory(getServletRequest()); >>>>return executeInternal(); >>>> } >>>> >&

Re: Christmas Riddle

2008-12-19 Thread Nils-Helge Garli Hegvik
d addToHistory(HttpServletRequest request) >>> { >>> // Request History >>> // History.addEntry(request); >>> } >>> >>> protected String executeInternal() throws Exception >>> { >>> //

Re: Christmas Riddle

2008-12-19 Thread Dirk Forchel
>> // forward actios should overwrite this method and do some >> additional work >> return SUCCESS; >> } >> } >> >> SearchAction.java: >> >> public class SearchAction extends BaseAction >> { >> priva

Re: Christmas Riddle

2008-12-19 Thread Nils-Helge Garli Hegvik
searchString; > } > > public String getSearchString() > { > return searchString; > } > } > > welcome.jsp: > > ... > > > Welcome > > > Welcome > > > > > form.search.jsp: > > ... > >

Christmas Riddle

2008-12-19 Thread Dirk Forchel
turn searchString; } } welcome.jsp: ... Welcome Welcome form.search.jsp: ... SearchAction-validation.xml: ... That's it. So where is the error? -- View this message in context: http://www.nab