how to read image from database & show it to jsp page?

2008-12-29 Thread Shweta M. Naik
I am trying for add server where i have read image from databse & show it to browser. If anobody done this using spring & restlet api please let me know. To display image should i use call.setOutput(new FileRepresentation()) But let me know how to get from databse & display imgae on respective j

Re: Just a test: Full compatibility with the Maven build system

2008-12-29 Thread JY Cronier
> However, Maven does come with its issues and a certain level of complexity. > The management of dependencies can become difficult as well (for example when > you rely on artifact not available in public Maven repositories or without > Internet connectivity). Some additional informations abou

Re: Guarding multiple Resources

2008-12-29 Thread Mohamed Abdel-Aziz Bayoumi
Thanks Stephan, quite simple than i thought ... Restlet RoXX :D Regards StephanKoo wrote: > > Hi Mohamed, > > you have to attach the Router to the Guard, not the resource classses. > > best regards >Stephan > > Mohamed Abdel-Aziz Bayoumi schrieb: >> Hi, >> >> Is there a way i can use to

Re: Just a test: Full compatibility with the Maven build system

2008-12-29 Thread Rob Heittman
Sonatype Nexus (http://nexus.sonatype.org) of course comes to mind -- a great enterprise Maven repository manager that uses Restlet, and really turned me on to the whole Maven biz in the first place. - For artifacts not available from public Maven repository, Maven can > use alternate repositories

Re: Sample code for using FreeMarker with Restlets

2008-12-29 Thread Gan123
Hi, I tried implementing one sample using this example, but i have some issue here, can you please look at my new post " Maven Dependancy Referances" ? Thanks in advance On Fri, Dec 26, 2008 at 3:02 PM, Mark Petrovic-2 (via

Maven Dependancy Referances

2008-12-29 Thread Gan123
Hi, I am creating two maven projects. my first maven project is having the Application class, this contains free marker configuration. the FTL files reffered by this configuration are in second project, which is a web application.The project1 is added as dependency to project2. Application

RE: Just a test: Full compatibility with the Maven build system

2008-12-29 Thread Jerome Louvel
Hi Rob, I agree on the RFE title change. Done! Best regards, Jerome Louvel -- Restlet ~ Founder and Lead developer ~ http://www.restlet.org Noelios Technologies ~ Co-founder ~ http://www.noelios.com _ De : Rob Heittman [mailto:ro

RE: how to read image from database & show it to jsp page?

2008-12-29 Thread Jerome Louvel
Hi Shweta, How does your database returns your image? It is probably as an InputStream. So, the best way is to use an InputRepresentation instance and set in as the entity of your Response object. Best regards, Jerome Louvel -- Restlet ~ Founder and Lead developer ~ http://www.restlet.org Noelio

ClassLoader issues when using 1.1.0

2008-12-29 Thread Ryan Haggarty
Hi All I've having a problem when using org.restlet.ext.spring and com.noelios.restlet.ext.spring (both version 1.1.0) in an existing project. I am using Spring 2.5.4 in the rest of my project, and it looks like restlet pulls in Spring 2.5. Unfortunately, I'm unable to go back to 2.5 with the

Examples Ch08 - small problem

2008-12-29 Thread Gan123
Hi, i need to work with free marker templates in my application.i have gone through ch08 in the restlet examples package. but the code is not able to identify /tmpl folder. throwing exception FileNotFound saying /tmpl not found. did any one worked on that example? or freemarker templates i

RE: ClassLoader issues when using 1.1.0

2008-12-29 Thread Ryan Haggarty
Sorry guys... a little bit of rogue jar hunting and I managed to get this sorted... Thanks R. -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=995424