• Post Reply Bookmark Topic Watch Topic
  • New Topic

Question about the plugin archive attribute

 
Darrin Smith
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any way to get the archive attribute to take a variable?

What I want to do is to be able to change the value in an XML file and have that read at run time.

For example, what I have now looks like this:



What I would like to do is to be able to give the archive a variable, just like you can with value arguments. I tried doing this:



But that didn't work. It threw this:

com.sun.web.ui.appbase.ApplicationException: org.apache.jasper.JasperException: /Display.jsp(14,161) The archive attribute of the jsp:plugin standard action does not accept any expressions
com.sun.web.ui.appbase.faces.ViewHandlerImpl.destroy(ViewHandlerImpl.java:534)
com.sun.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:301)

So, is there any way around it, or should I take the error message verbatim?

Thanks.
[ October 24, 2005: Message edited by: Darrin Smith ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!