Based on the Tap4 Workbench ChartService example, I've created a similar service that fetches pictures from a database. I encountered two issues that I can't figure out:

1. The URLs generated for the picture are extremely long. I assume this is because it's serializing my page state (where the picture lives). Is there a way to have it just include the primary key of the table instead of everything client persisted on that page? (I persist the database row to implement first-write-wins updating.)

2. A more puzzling problem is if a picture can't be found (doesn't exist in the database), I want to instead send a default "no picture available" image. How do I get either a InputStream or File to this image stored in WEB-INF from the IEngineSerivce service() menthod?

Thanks!
Norman



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to