mapping not found?
Hi again My catalina tells me that it cant find the mapping for /listcd log: [INFO,EmbeddedCatalinaServiceSX] action: Process servletName=action, urlPattern=*.do [INFO,EmbeddedCatalinaServiceSX] action: Mapping for servlet 'action' = '*.do' javax.servlet.ServletException: Cannot retrieve mapping for action /listcd web.xml: servlet-mapping servlet-nameaction/servlet-name url-pattern*.do/url-pattern /servlet-mapping struts-config.xml: action path=/listcd type=nl.kern.j2ee.sample.struts.ListCDAction name=listCDForm scope=request input=/ListCD.jsp validate=false forward name=result path=/ListCD.jsp/ /action ListCD.jsp: html:form action=/listcd anyone? or should i start to look for a hammer again? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: mapping not found?
Wim Fournier wrote: Hi again My catalina tells me that it cant find the mapping for /listcd log: [INFO,EmbeddedCatalinaServiceSX] action: Process servletName=action, urlPattern=*.do [INFO,EmbeddedCatalinaServiceSX] action: Mapping for servlet 'action' = '*.do' javax.servlet.ServletException: Cannot retrieve mapping for action /listcd web.xml: servlet-mapping servlet-nameaction/servlet-name url-pattern*.do/url-pattern /servlet-mapping struts-config.xml: action path=/listcd type=nl.kern.j2ee.sample.struts.ListCDAction name=listCDForm scope=request input=/ListCD.jsp validate=false forward name=result path=/ListCD.jsp/ /action ListCD.jsp: html:form action=/listcd anyone? or should i start to look for a hammer again? Got me on this one, given the above...I'm hoping there's no other messages in the JBoss logs about missing classes on the action and form bean? -- dIon Gillard, Multitask Consulting http://www.multitask.com.au/developers -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: mapping not found?
have this in my struts-config.xml: !-- Action Form Beans -- form-beans form-bean name=listCDForm type=nl.kern.j2ee.sample.struts.ListCDForm/ /form-beans so thats covered.. is there a reason for you to write DC instead of CD? (maybe i made a typo somewhere?) tnx On Tue, Jan 15, 2002 at 02:25:39PM +, karim wrote: your listCDForm needs a Form Bean Definition in the struts-config.xml file. should look something like this: form-beans !-- Logon form bean -- form-bean name=listDCForm type=nl.kern.j2ee.sample.struts.ListDCForm/ /form-beans [EMAIL PROTECTED] wrote: Hi again My catalina tells me that it cant find the mapping for /listcd log: [INFO,EmbeddedCatalinaServiceSX] action: Process servletName=action, urlPattern=*.do [INFO,EmbeddedCatalinaServiceSX] action: Mapping for servlet 'action' = '*.do' javax.servlet.ServletException: Cannot retrieve mapping for action /listcd web.xml: servlet-mapping servlet-nameaction/servlet-name url-pattern*.do/url-pattern /servlet-mapping struts-config.xml: action path=/listcd type=nl.kern.j2ee.sample.struts.ListCDAction name=listCDForm scope=request input=/ListCD.jsp validate=false forward name=result path=/ListCD.jsp/ /action ListCD.jsp: html:form action=/listcd anyone? or should i start to look for a hammer again? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: mapping not found?
On Tue, Jan 15, 2002 at 03:51:47PM +0100, Tom Klaasen (TeleRelay) wrote: You did restart your tomcat after modifying struts-config.xml, did you? no, i deployed it into jboss again.. jboss should take care of re-deploying into tomcat but restarting the whole doesnt help either (just tried) And you made sure ListCDAction extends Action :-P ? yeah yeah ;o) tomK -Original Message- From: Wim Fournier [mailto:[EMAIL PROTECTED]] Sent: dinsdag 15 januari 2002 15:36 To: Struts Users Mailing List Subject: Re: mapping not found? have this in my struts-config.xml: !-- Action Form Beans -- form-beans form-bean name=listCDForm type=nl.kern.j2ee.sample.struts.ListCDForm/ /form-beans so thats covered.. is there a reason for you to write DC instead of CD? (maybe i made a typo somewhere?) tnx On Tue, Jan 15, 2002 at 02:25:39PM +, karim wrote: your listCDForm needs a Form Bean Definition in the struts-config.xml file. should look something like this: form-beans !-- Logon form bean -- form-bean name=listDCForm type=nl.kern.j2ee.sample.struts.ListDCForm/ /form-beans [EMAIL PROTECTED] wrote: Hi again My catalina tells me that it cant find the mapping for /listcd log: [INFO,EmbeddedCatalinaServiceSX] action: Process servletName=action, urlPattern=*.do [INFO,EmbeddedCatalinaServiceSX] action: Mapping for servlet 'action' = '*.do' javax.servlet.ServletException: Cannot retrieve mapping for action /listcd web.xml: servlet-mapping servlet-nameaction/servlet-name url-pattern*.do/url-pattern /servlet-mapping struts-config.xml: action path=/listcd type=nl.kern.j2ee.sample.struts.ListCDAction name=listCDForm scope=request input=/ListCD.jsp validate=false forward name=result path=/ListCD.jsp/ /action ListCD.jsp: html:form action=/listcd anyone? or should i start to look for a hammer again? -- To unsubscribe, e-mail: mailto:struts-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:struts-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:struts-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: mapping not found?
-Original Message- From: Wim Fournier [mailto:[EMAIL PROTECTED]] Sent: dinsdag 15 januari 2002 16:00 To: Struts Users Mailing List Subject: Re: mapping not found? On Tue, Jan 15, 2002 at 03:51:47PM +0100, Tom Klaasen (TeleRelay) wrote: You did restart your tomcat after modifying struts-config.xml, did you? no, i deployed it into jboss again.. jboss should take care of re-deploying into tomcat but restarting the whole doesnt help either (just tried) I don't think jboss would reload struts-config.xml automagically (don't know for sure though). There is a reload feature in struts itself for this purpose. Restarting should do the job also. Hmm, my guessing inspiration is over :-( tomK -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Mime mapping not found for file, while displaying static content
Hi, using the ReqestDispatcher.forward(URL) with a mapped URL I get the following repsonse: "...Mime mapping not found for file, while displaying static content..." I'm using IP WS/AS 6.0 AS SP2. Does anybody know what I have to do to let that work ? I'm trying to forward to a mapped URL like "logon.do" and want a specific servlet to be invoked described in my web.xml below. Invoking a mapped URL within the browser works, with the RequestDispatcher.forward() not ! Any help appreciated !! Oliver web.xml: servlet-mapping servlet-nameActionServlet/servlet-name url-pattern*.do/url-pattern /servlet-mapping mime-mapping extensiondo/extension mime-typeapplication/java-vm/mime-type /mime-mapping
WG: Mime mapping not found for file, while displaying static content
Hi, using the ReqestDispatcher.forward(URL) with a mapped URL I get the following repsonse: "...Mime mapping not found for file, while displaying static content..." I'm using IP WS/AS 6.0 AS SP2. Does anybody know what I have to do to let that work ? I'm trying to forward to a mapped URL like "logon.do" and want a specific servlet to be invoked described in my web.xml below. Invoking a mapped URL within the browser works, with the RequestDispatcher.forward() not ! Any help appreciated !! Oliver web.xml: servlet-mapping servlet-nameActionServlet/servlet-name url-pattern*.do/url-pattern /servlet-mapping mime-mapping extensiondo/extension mime-typeapplication/java-vm/mime-type /mime-mapping
AW: Mime mapping not found for file, while displaying static content
-Ursprngliche Nachricht- Von: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Gesendet am: Montag, 12. Mrz 2001 21:44 An: [EMAIL PROTECTED] Betreff: Re: Mime mapping not found for file, while displaying static content On Mon, 12 Mar 2001 [EMAIL PROTECTED] wrote: Hi, using the ReqestDispatcher.forward(URL) with a mapped URL I get the following repsonse: "...Mime mapping not found for file, while displaying static content..." I'm using IP WS/AS 6.0 AS SP2. Does anybody know what I have to do to let that work ? I'm trying to forward to a mapped URL like "logon.do" and want a specific servlet to be invoked described in my web.xml below. Be sure you are actually using a context-relative path like "/logon.do" (with a leading slash) rather than "logon.do". This is required by a RequestDispatcher. == I did so but it did'nt work Invoking a mapped URL within the browser works, with the RequestDispatcher.forward() not ! Any help appreciated !! Oliver web.xml: servlet-mapping servlet-nameActionServlet/servlet-name url-pattern*.do/url-pattern /servlet-mapping mime-mapping extensiondo/extension mime-typeapplication/java-vm/mime-type /mime-mapping Why do you need this mime-maping entry at all? If every request ending with ".do" is going through your controller servlet, there will never be any need to send a static response with this content type (which is what the mime-mapping entry normally means in web.xml). == I did not exactly know what that entry meant and therefore only another straw that did'nt help. Craig McClanahan