"[EMAIL PROTECTED]" wrote : They should be in the WAR.
|
| I was just trying to understand what the ClassCastException you are getting
is. There isn't enough information there to understand what problem you are
seeing.
I'm trying to do a
| public String getInstructionManualURL() {
| String id = DocumentStore.instance().newId();
| DocumentData data = new
DocumentData("manual.pdf",DocumentData.DocType.PDF, manualBytes);
| DocumentStore.instance().saveData(id, data);
| return DocumentStore.instance().preferredUrlForContent("manual.pdf",
DocumentData.DocType.PDF, id);
| }
|
But the bean action is in a JAR file and if just have the seam-pdf.jar in my
WAR then the JAR can't see it. The classcast just came from moving around
seam-jar trying to see what worked. But if it should be in WEB-INF/lib, how can
you make the JAR see it?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089480#4089480
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089480
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user