[junitee-user] No images using JunitEE 2.0.0
Brought to you by:
o_rossmueller
|
From: Andre L. <al...@ar...> - 2008-09-03 09:21:55
|
Hi all, I've started using JUnitEE in the last few days, and when using the version 1.11 everything was ok. Then yesterday, I've tried to upgrade my test files for JUnitEE 2.0.0. I've made all necessary changes, deployed the project in a WAR file(same method i've used with v1.11) and then i've runned the tests. The tests have done their job with success, has expected, but in the HTML output, the browser wasn't able to render the images (like, bullets_green_hook.png, info.png, etc), showing only the text of the "alt" property of the "img" HTML tag. The problem occurs: * Executing a SuiteTest from http://localhost:8080/TestApp/TestApp * Executing a single test selected in a form (v1.11 tutorial form) in http://localhost:8080/TestApp I'm using: * The jar file available at http://junitee.sourceforge.net/repository/net/sourceforge/junitee/junite2/2.0.0/junite2-2.0.0.jar * Junit4.5 jar file * JBoss 4.0.5 The web.xml file is: <?xml version="1.0" encoding="utf-8"?> <web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> <display-name>TestApp</display-name> <welcome-file-list> <welcome-file>index.html</welcome-file> <welcome-file>index.htm</welcome-file> <welcome-file>index.jsp</welcome-file> <welcome-file>default.html</welcome-file> <welcome-file>default.htm</welcome-file> <welcome-file>default.jsp</welcome-file> </welcome-file-list> <servlet> <servlet-name>TestAppServlet</servlet-name> <servlet-class>org.junitee.servlet.JUnitEEServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>TestAppServlet</servlet-name> <url-pattern>/TestApp/*</url-pattern> </servlet-mapping> </web-app> Any help would be appreciated. Many thanks, Andre Lopes |