RE: Newbie Question: Servlet Exception - "This is being answered by Dudley - giving something back to the user group for all the help i got" - thanx all u guys

2001-05-10 Thread Kevin Newman

Thanks, that was just what I needed.  Now, on to the next step - connecting
to a database.

kln



-Original Message-
From: Dudley Butt@i-Commerce [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 10, 2001 2:41 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Newbie Question: Servlet Exception - "This is being
answered by Dudley - giving something back to the user group for all the
help i got" - thanx all u guys


You need to make sure the  tag in you jsp page,
is declared in your struts config file ..here is an example of my struts
confignotice the  tag.You need one of these
for every different  tag in you jsp page.




http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd";>




  
  



  
  

  





  

  
  

   
   
   

   
   
   
   

   

   
   
   

   

   
   
   
   


   
   
   

   


   
   
   

   



  



-Original Message-
From: Kevin Newman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 10, 2001 7:07 AM
To: Struts-User (E-mail)
Subject: Newbie Question: Servlet Exception


Hi All,

I've just loaded struts and am having a little problem.  I started by
placing the *.war files in webapps directory.  After copying xalan & xerces
jar files into the lib directory almost all of the example apps worked.

My next step was to setup the struts-blank then modify it to get a feel for
how strut works.  When I try to add logon to the blank app I get the message
below.  What does this mean?  Do I need to post more info?

Platform: Windows 2000
Servlet Engine: Tomcat 4.0 b3
Struts: 1.0-b1


Thanks,

Kevin Newman

A Servlet Exception Has Occurred
Exception Report:
javax.servlet.ServletException: Cannot retrieve mapping for specified form
action path "/logon"
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:441)
at org.apache.jsp.logon_jsp._jspService(logon_jsp.java:299)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:200)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:357)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:431)
 Some deleted .

Root Cause:
javax.servlet.jsp.JspTagException: Cannot retrieve mapping for specified
form action path "/logon"
at
org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:487)
at org.apache.jsp.logon_jsp._jspService(logon_jsp.java:128)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:200)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:357)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:431)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:246)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:191)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:255)
 Some deleted .




RE: Newbie Question: Servlet Exception - "This is being answered by Dudley - giving something back to the user group for all the help i got" - thanx all u guys

2001-05-10 Thread Dudley [EMAIL PROTECTED]

You need to make sure the  tag in you jsp page,
is declared in your struts config file ..here is an example of my struts
confignotice the  tag.You need one of these
for every different  tag in you jsp page. 




http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd";>




  
  



  
  
  
  





  
  
  
   

   
   
   
   

   
   
   
   
   
   
   
   
   
   
  

   
   
   
  


   
   
   
   
  

   
   
   
   

   


   
  



-Original Message-
From: Kevin Newman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 10, 2001 7:07 AM
To: Struts-User (E-mail)
Subject: Newbie Question: Servlet Exception


Hi All,

I've just loaded struts and am having a little problem.  I started by
placing the *.war files in webapps directory.  After copying xalan & xerces
jar files into the lib directory almost all of the example apps worked.

My next step was to setup the struts-blank then modify it to get a feel for
how strut works.  When I try to add logon to the blank app I get the message
below.  What does this mean?  Do I need to post more info?

Platform: Windows 2000
Servlet Engine: Tomcat 4.0 b3
Struts: 1.0-b1


Thanks,

Kevin Newman

A Servlet Exception Has Occurred
Exception Report:
javax.servlet.ServletException: Cannot retrieve mapping for specified form
action path "/logon"
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:441)
at org.apache.jsp.logon_jsp._jspService(logon_jsp.java:299)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:200)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:357)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:431)
 Some deleted .

Root Cause:
javax.servlet.jsp.JspTagException: Cannot retrieve mapping for specified
form action path "/logon"
at
org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:487)
at org.apache.jsp.logon_jsp._jspService(logon_jsp.java:128)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:200)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:357)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:431)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:246)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:191)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:255)
 Some deleted .



Newbie Question: Servlet Exception

2001-05-09 Thread Kevin Newman

Hi All,

I've just loaded struts and am having a little problem.  I started by
placing the *.war files in webapps directory.  After copying xalan & xerces
jar files into the lib directory almost all of the example apps worked.

My next step was to setup the struts-blank then modify it to get a feel for
how strut works.  When I try to add logon to the blank app I get the message
below.  What does this mean?  Do I need to post more info?

Platform: Windows 2000
Servlet Engine: Tomcat 4.0 b3
Struts: 1.0-b1


Thanks,

Kevin Newman

A Servlet Exception Has Occurred
Exception Report:
javax.servlet.ServletException: Cannot retrieve mapping for specified form
action path "/logon"
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:441)
at org.apache.jsp.logon_jsp._jspService(logon_jsp.java:299)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:200)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:357)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:431)
 Some deleted .

Root Cause:
javax.servlet.jsp.JspTagException: Cannot retrieve mapping for specified
form action path "/logon"
at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:487)
at org.apache.jsp.logon_jsp._jspService(logon_jsp.java:128)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:200)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:357)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:431)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:246)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:191)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:255)
 Some deleted .