This couldn't be that hard, could it?
At least I have a hard time explaining to my boss why it's not that easy:

When a user logs in to our application, he chooses one of several companies to 
work with. A company entity has an associated image that I can retrieve from 
the DB just well.

Now how can I deliver that image, so that it can be used in jsp/html, for 
example in "" ?

I tried writing a servlet, but from there I don't have access to the seam 
context that contains the current company.

I tried writing a jsf page that contains inline code that calls a method that 
appends the data to the out stream. That sort of works, but I get lots of ugly 
errors in the log (like "response.getOutputStream() has already been called").

Any hints?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3938623#3938623

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3938623


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to