I've put the files you needed in attachement.
I have a question that is not really about struts but maybe someone can
answer.
I wanted to use .css and .js files but my js file was acting wierd when I
added <script language="javascript" src="Pandora.js"></script> and not at
all when I added
<LINK REL="STYLESHEET" HREF="pages/Pandora.css" content-TYPE="TEXT/CSS"/>
If I add the code directly into the jsp file, it works perfectly well.
Both are in the same directory as the .jsp file, they are all in the /pages
directory under web-content
Thanks
Eric-|
Can you post the web.xml, struts-config.xml and the Tag source code so we
can run it on our own boxes
We would need to see all of these to understand whats going on..
Martin-
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<struts-config>
<data-sources/>
<form-beans>
<form-bean name="PandoraForm" type="PandoraForm"/>
</form-beans>
<global-exceptions/>
<global-forwards>
<forward name="index" path="/pages/Pandora.jsp"/>
</global-forwards>
<action-mappings>
<action input="/pages/Pandora.jsp" name="PandoraForm" path="/Pandora"
scope="session" type="PandoraAction">
<forward name="pandora" path="/pages/Pandora.jsp"/>
</action>
</action-mappings>
<controller/>
<message-resources parameter="Pandora"/>
<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property property="pathnames" value="/WEB-INF/validator-rules.xml, /WEB-INF/validation.xml"/>
</plug-in>
</struts-config>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>Pandora</display-name>
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<taglib>
<taglib-uri>/WEB-INF/struts-bean</taglib-uri>
<taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/struts-logic</taglib-uri>
<taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/struts-html</taglib-uri>
<taglib-location>/WEB-INF/struts-html.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/fetch</taglib-uri>
<taglib-location>/WEB-INF/fetch.tld</taglib-location>
</taglib>
</web-app>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]