Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Question about the plugin archive attribute  RSS feed

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

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

[ October 24, 2005: Message edited by: Darrin Smith ]
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!