[jboss-user] [JBoss Seam] - Re: Tutorial: Handling images in your Seam application
syzork
do-not-reply at jboss.com
Thu Nov 1 13:52:21 EDT 2007
| <components xmlns="http://jboss.com/products/seam/components"
| xmlns:core="http://jboss.com/products/seam/core"
| xmlns:persistence="http://jboss.com/products/seam/persistence"
| xmlns:web="http://jboss.com/products/seam/web"
| xmlns:drools="http://jboss.com/products/seam/drools"
| xmlns:bpm="http://jboss.com/products/seam/bpm"
| xmlns:security="http://jboss.com/products/seam/security"
| xmlns:mail="http://jboss.com/products/seam/mail"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation=
| "http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.0.xsd
| http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.0.xsd
| http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.0.xsd
| http://jboss.com/products/seam/web http://jboss.com/products/seam/web-2.0.xsd
| http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-2.0.xsd
| http://jboss.com/products/seam/bpm http://jboss.com/products/seam/bpm-2.0.xsd
| http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.0.xsd
| http://jboss.com/products/seam/mail http://jboss.com/products/seam/mail-2.0.xsd"
| >
| ...
| <web:context-filter url-pattern="/b/*" />
| ...
| </components>
|
ArtworkServlet.java
|
| String query = "from gs_artwork_info a where a.fileName = :filename";
| System.out.println(this.em.toString());
| artworkInfo = (ArtworkInfo) this.em.createQuery(query).setParameter("filename",fileName).getSingleResult();
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101021#4101021
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101021
More information about the jboss-user
mailing list