Retrieve data via URL

Hi all,

I’ve enhanced a customer facing web application with Vaadin (version 6) and have just been made aware that the customer was/is accessing data directly through the URL. Specifically, the customer uses a script to navigate from the login servlet to a sevlet that creates a csv file for download. Obviously with the deployment of the Vaadin enhancement, the customer script no longer works. Is there a way to expose and/or create the URLs that would allow the customer to continue gathering data via their script navigation?

Thanks.

You could check out
RequestHandler
. There can be both session specific and global request handlers, although the latter are harder to register and are mostly used internally in the framework.

In addition, it is of course always possible to have a custom servlet in the same WAR serving such content (sharing the HTTP session with the Vaadin application), but RequestHandlers are probably a better solution in your case.

RequestHandler does indeed appear to be the way to go in version 7, but I’m using version 6. Is there an alternative or addon for version 6? As mentioned, I could use custom servlets, but I’d rather not go that route since it could potentially snowball very quickly.

See
this page in the book
.

Fantastic! That does the trick, Thanks.