You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Till Nagel <ti...@netzministerium.de> on 2000/11/24 22:32:17 UTC

Orion and Struts 1.0 (once again)

Hi,

I am trying to use Struts 1.0 (20001115) with Orion Server 1.4.

If I use the struts-config.xml with validate=true in the web.xml the
following exception occurs:
  java.net.MalformedURLException: unknown protocol: jndi

Okay, no prob. I deleted the validation in web.xml so at startup it uses the
"system identifier" and gets the DTD via the
http://jakarta.apache.org/struts/dtds/ link. (You could change the URI to
your local drive, if you are a using a dial up.)
After that it can read the struts-config.xml correctly. But if I call my
action ("myhost/showNews.do") I just get a message saying "Invalid path
/showNews was requested".

I appreciate any advice.

Regards,
Till


new dtd (struts-config.xml):
<action path="/showNews" type="de.neteye.homepage.struts.ShowNewsAction">
  <forward name="success" path="/showNews.jsp"/>
</action>

log file:
24.11.00 22:25 neteye-web: org.apache.struts.action.ActionServlet:
Processing a GET for /showNews
24.11.00 22:25 neteye-web: org.apache.struts.action.ActionServlet:  No
mapping available for path /showNews



old dtd (action.xml) and working:
<action path="/showNews"
actionClass="de.neteye.homepage.struts.ShowNewsAction">
  <forward name="success" path="/showNews.jsp"/>
</action>