Effacer les filtres
Effacer les filtres

Configuration webfigures in web.xml

1 vue (au cours des 30 derniers jours)
Marcel
Marcel le 25 Mai 2011
hello
I use webfigure and Tomcat application server. If I have one application, it is my web.xml
<servlet-name>
WebFigures </ servlet-name>
<servlet-class>
com.mathworks.toolbox.javabuilder.webfigures.WebFiguresServlet
</servlet-class>
<servlet-mapping>
<servlet-name> WebFigures </ servlet-name>
<url-pattern> / WebFigures / * </ url-pattern>
</ servlet-mapping>
But when I put this code in two applications, so as to run only one, the other not
Online source codes 1. Applications
http://matlabserver.ic.cz/files/aplikace/SimulaceModulaci/v1/servlet/build/WEB-INF/
Online source codes 2. Applications
http://matlabserver.ic.cz/files/aplikace/SpektrumSignalu/v1/servlet/build/WEB-INF/
applications are placed on the application server
CATALINA_HOME / webapps / SimulaceModulaci
CATALINA_HOME / webapps / SpektrumSignalu
Please, what could it be? Thank

Réponses (1)

Michal
Michal le 13 Juin 2011
Hi Marcel, I try to run an application {http://matlabserver.ic.cz/files/aplikace/SimulaceModulaci/v1/servlet/build/} but there is no webfigure shown. Just try to change {<servlet-class> com.mathworks.toolbox.javabuilder.webfigures.jsp.WebFiguresServlet /servlet-class} and add a package to source packages {com.mathworks.toolbox.javabuilder.webfigures.jsp} I have the same problem. Did you solved this one?
Regards, Mike
  1 commentaire
Marcel
Marcel le 13 Juin 2011
Hi, on the site are located just source code. On this site are not installed the MCR. For running, you should download the source code.
My problem was that it was not run two applications using WebFigures. File javabuilder.jar I recorded in each application separately (the application / WEB-INF / lib). The problem was that Tomcat (application server) has attempted to load a library twice. Solution: File javabuilder.jar must be loaded into the shared components directory. Then it goes okay.
Sorry for English, translated by Google Translator :-)

Connectez-vous pour commenter.

Catégories

En savoir plus sur Search Path dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by