ahh, if its not a page use a shared resource. there are pages on the wiki that explain how and this also: http://stackoverflow.com/questions/1512510/wicket-dynamic-image-url
-igor On Thu, Nov 11, 2010 at 10:13 AM, Sky <[email protected]> wrote: > > Bookmarkable page link with page parameters will give me a URL similar in > structure to: >> >> >> http://www.MyPublicLink.com/getFile?file=/1997/03/12/report52.xls&server=server25 > > How do I construct a page to return a non-html page - but to return an > unzipped inputStream that I obtained by contacting the backhiddenweb.com? > I understand that any page.java should be associated with page.html. How do > I return back an arbitrary extension? What kind of java class do I build and > what "class" parameters do I give the bookmarkable page link? > > -----Original Message----- From: Igor Vaynberg > Sent: Thursday, November 11, 2010 8:34 AM > To: [email protected] > Subject: Re: How do I create bookmarkable link to somewhat dynamic content? > > bookmarkable page link with page parameters > > -igor > > On Thu, Nov 11, 2010 at 1:01 AM, Sky <[email protected]> wrote: >> >> My first post as a newbie to Wicket DL, so am ready for flames - if the >> question is too silly or obvious. >> >> My website will expose bunch of files for end users search for and >> selectively download. >> >> The backend webserver which is to be hidden from public will contain files >> in following URL format: >> >> http://backendhiddenweb.com/year/month/day/name.of.file.extension.gz >> example of backend files: >> http://server25.backendhiddenweb.com/1997/03/12/report52.xls.gz >> http://server51.backendhiddenweb.com/2003/05/15/report91.DOC.gz >> >> I want to convert these links such that >> A:) The user never knows the existence of backendhiddenweb.com domain - >> but just knows my front end machine >> B:) I am able to dynamically un-gzip the files and serve them. >> >> Example of exposed URLs: >> http://www.MyPublicLink.com/server25/1997/03/12/report52.xls >> http://www.MyPublicLink.com/server51/2003/05/15/report91.DOC >> >> I could also settle for a url like: >> >> http://www.MyPublicLink.com/getFile?file=/1997/03/12/report52.xls&server=server25 >> >> http://www.MyPublicLink.com/getFile?file=/2003/05/15/report91.DOC&server=server51 >> >> The list of backend URLs is dynamically changing and I can determine them >> at >> runtime. >> >> Any help on how I could achieve this? >> >> Thx >> - Akash >> >> --------------------------------------------------------------------- >> 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]
