tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Ingraham" <singra...@okcca.net>
Subject RE: insight into model.do
Date Tue, 13 Feb 2007 21:15:04 GMT
I have found that section in the /occa/webapps/web.xml file.  It is
showing:

 <!--  Struts Action Servlet Mapping 
  --> 
- <servlet-mapping>
  <servlet-name>action</servlet-name> 
  <url-pattern>*.do</url-pattern> 
  </servlet-mapping>
- <!--  JSP Servlet Mapping 
       Note: needed if you want to use the trimSpaces parameter with
Jasper. Then copy this file in your
 
{keel_project}/conf/overwrite/clnt-struts/conf/client/webapp directory 
             and remove the comments.
             See also web-servlet.xml file.
       Note: jsp fragments (with suffixe .jspf, jspi or .inc) don't need
to be mapped
       
  --> 
- <!--   <servlet-mapping>
    <servlet-name>jsp</servlet-name>
    <url-pattern>*.jsp</url-pattern>
  </servlet-mapping>
  
  --> 
- <welcome-file-list>
- <!--  Struts Welcome File List 
  --> 
  <welcome-file>index.jsp</welcome-file> 
  </welcome-file-list>
- <!--   Struts error-page 
  --> 
- <error-page>
  <exception-type>java.lang.SecurityException</exception-type> 
  <location>/authfail.jsp</location> 
  </error-page>
- <!--  Struts Tag Library Descriptors 
  --> 
- <taglib>
  <taglib-uri>/tags/struts-bean</taglib-uri> 
  <taglib-location>/WEB-INF/struts-bean.tld</taglib-location> 
  </taglib>
- <taglib>
  <taglib-uri>/tags/struts-html</taglib-uri> 
  <taglib-location>/WEB-INF/struts-html.tld</taglib-location> 
  </taglib>
- <taglib>
  <taglib-uri>/tags/struts-logic</taglib-uri> 
  <taglib-location>/WEB-INF/struts-logic.tld</taglib-location> 
  </taglib>
- <taglib>
  <taglib-uri>/tags/struts-nested</taglib-uri> 
  <taglib-location>/WEB-INF/struts-nested.tld</taglib-location> 
  </taglib>
- <taglib>
  <taglib-uri>/tags/struts-tiles</taglib-uri> 
  <taglib-location>/WEB-INF/struts-tiles.tld</taglib-location> 
  </taglib>
  </web-app>

Could you help me understand what I am reading?


> -----Original Message-----
> From: David Smith [mailto:dns4@cornell.edu] 
> Sent: Tuesday, February 13, 2007 2:58 PM
> To: Tomcat Users List
> Subject: Re: insight into model.do
> 
> 
> Actually, model.do is really just an abstract path that can 
> map to a file or a servlet.  Take a look in the 
> WEB-INF/web.xml file of the occa webapp for the servlet 
> mappings.  There should be a servlet there mapped to *.do or 
> model.do.  The class in that mapping is responsible for 
> handling the request.
> 
> --David
> 
> Steve Ingraham wrote:
> 
> >http://172.16.255.100:8080/occa/model.do;jsessionid=9212C2FF4
> 620210C92B
> >6
> >2443EE97760A
> > 
> >I am looking for some information on how I can track down 
> and read the 
> >particular code on a web page.  Above is an address to an 
> intranet web 
> >page that our users use to input information into a database.  I 
> >understand that /occa is a directory on the server 
> 172.16.255.100 but I 
> >cannot find where the specific script for this page is and 
> how the data 
> >is passed onto the database.  In my limited understanding I thought 
> >there would be a file in the /occa directory named model.do 
> but there 
> >is not.  So, is this a call up to run some other file or script?  My 
> >reason for asking about this is that I am basically trying to track 
> >down which field and table a particular field's data is 
> passed to when 
> >a user inputs data on the web page.
> > 
> >I have talked with several of you guys in the past and you have been 
> >very helpful.  Although I have mentioned it before, I will say again 
> >that I am trying to manage a system that was developed by my 
> >predecessor and I have little to no information on how he developed 
> >this application or where it resides.  I am pretty much left with 
> >trying to reverse engineer what was done.  Is there a way I 
> can track 
> >down how the user's data is captured and stored in the database?
> > 
> >Thanks in advance for your help,
> >Steve
> > 
> > 
> > 
> >
> >  
> >
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message