Ryan wrote:
>
> Then this is my next problem.
>
> I currently have getThumb() returning an Image object.
>
> The part where I am stuck at is what to do in the toURL() method.
>
> my mock getThumb() method currently looks something like
> public Image getThumb(){
> this.iValue = "/home/thumbs";
> return this;
> }
Exactly what are you going to do with an Image on the server side?
A request from a browser will be for an image file in something like
.gif of .jpg format.
--
WBB - [EMAIL PROTECTED]
Java Cert mock exams http://www.lanw.com/java/javacert/
Author of Java Developer's Guide to Servlets and JSP
ISBN 0-7821-2809-2