tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BAO RuiXian <ruixian....@pp.inet.fi>
Subject Re: jsp:plugin and codebase
Date Wed, 25 Feb 2004 14:55:38 GMT


Evgeny Gesin wrote:

>[snip...]
>
><jsp:plugin type="applet"
>code="com.package.Applet.class"
>codebase="/application1/applets/" width="50"
>height="50">
></jsp:plugin>
>
>Web applications, which run this applet, specify
>different codebase attribute, such as application2,
>application3 and so on.
>  
>
Can you then put your applet outside of any your applications[1,2,3...]? 
For example, in TOMCAT_ROOT directory, then the code base should be same 
all the time.

Best

Bao

>Unfortunatelly JSP specification doesn't allow dynamic
>codebase in jsp:plugin and we create a new JSP for
>each new web domain to specify another hardcoded
>codebase attribute.
>
>Could you please advice a trick to generate codebase
>attribute at run-time, to deploy the same JSP in all
>applications.
>
>Evgeny Gesin
>Javadesk
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message