you are right! sorry,

in CustomerControllerImpl.java I put the example code:



------------------------------------------------------------------------------

    public final void loadView(ActionMapping mapping, 
org.andromda.archive.customer.LoadViewForm form, HttpServletRequest request, 
HttpServletResponse response) throws Exception

    {

        // all properties receive a default value, just to have the application 
running properly

        //form.setId(new Long((long)3355));

        final byte[] imageBytes =final byte[] imageBytes = 
getCustomerService().getPicture(form.getId());

        response.setContentType("image/jpeg");

        response.setContentLength(imageBytes.length);

        response.getOutputStream().write(imageBytes);   

    }



surely I did something bad!  [Rolling Eyes] 







==========================================================



    [javac] Compiling 32 source files to 
C:MyProjectandromdApprentroomswebtargetclasses

C:MyProjectandromdApprentroomswebsrcjavaorgandromdaarchivecustomercustomerControllerImpl.java:46:
 illegal start of expressi

on

        final byte[] imageBytes =final byte[] imageBytes = 
getCustomerService().getPicture(form.getId());

                                 ^

1 error



BUILD FAILED

File...... C:Documents and 
SettingsDaniele.mavencachemaven-multiproject-plugin-1.3.1plugin.jelly

Element... maven:reactor





have you some suggestion?

Thanks Wouter
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=902#902
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to