Have u map it with form-bean.



bib_lucene bib <[EMAIL PROTECTED]> 
10/11/2005 11:54 AM
Please respond to
"Struts Users Mailing List" <user@struts.apache.org>


To
Struts Users Mailing List <user@struts.apache.org>
cc

Subject
Re: html:text not interpreted :-(






ok I attached files , I access this page using 
http://localhost:8090/rs/tiles/example.jsp
It displays header, left pane, content, footer. But does not show text box 
in content.
Thanks for your help.
bib

Wendy Smoak <[EMAIL PROTECTED]> wrote: 
From: "bib_lucene bib" 

> I still cannot see the text field in body.
>
> This is the content of my web.xml

If you're using the known URI for the taglibs, then you don't need 
in web.xml. (Fix the Tiles URI before removing its from web.xml
though.)

Are you sure your browser hasn't cached the old, incorrect page? Try
holding down shift and hitting refresh/reload to make sure you're getting 
a
new version.

You can also stop your container and delete its 'work' files to force it 
to
recompile the JSP.

If you still need help, post some of the JSP code for your form and the
resulting HTML.

-- 
Wendy Smoak



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional com mands, e-mail: [EMAIL PROTECTED]

Yahoo! Music Unlimited - Access over 1 million songs. Try it free.<?xml 
version="1.0" encoding="ISO-8859-1"?>
<!-- Copyright (c) 2002 by ObjectLearn. All Rights Reserved. -->
<web-app>
                 <display-name>RS</display-name>
                 <description/>
 
                 <resource-ref>
      <description>DB Connection</description>
      <res-ref-name>jdbc/mysqlDB</res-ref-name>
      <res-type>javax.sql.DataSource</res-type>
      <res-auth>Container</res-auth>
    </resource-ref>
 
                 <servlet>
                                 <servlet-name>AdminServlet</servlet-name>
 <servlet-class>com.rs.servlets.AdminServlet</servlet-class>
                 </servlet>
 
                 <servlet>
                     <servlet-name>UserServlet</servlet-name>
                     <display-name>UserServlet</display-name>
                     <description>User Actions go into this 
one</description>
 <servlet-class>com.rs.servlets.UserServlet</servlet-class>
                 </servlet> 
 
                 <servlet>
                       <servlet-name>CandidateServlet</servlet-name>
                       <display-name>CandidateServlet</display-name>
                       <description>Candidate Actions go into this 
one</description>
 <servlet-class>com.rs.servlets.CandidateServlet</servlet-class>
                 </servlet>
                 <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>
                       <init-param>
                          <param-name>debug</param-name>
                          <param-value>3</param-value>
                       </init-param>
                       <init-param>
                          <param-name>detail</param-name>
                          <param-value>3</param-value>
                       </init-param>
                       <load-on-startup>0</load-on-startup>
                 </servlet>
 
                 <servlet-mapping>
                                 <servlet-name>AdminServlet</servlet-name>
 <url-pattern>/servlet/AdminServlet</url-pattern>
                 </servlet-mapping>

                 <servlet-mapping>
                                 <servlet-name>UserServlet</servlet-name>
                     <url-pattern>/servlet/UserServlet</url-pattern>
                 </servlet-mapping>
 
                 <servlet-mapping>
                     <servlet-name>CandidateServlet</servlet-name>
                     <url-pattern>/Candidate.html</url-pattern>
                 </servlet-mapping>
 
                 <servlet-mapping>
                       <servlet-name>action</servlet-name>
                       <url-pattern>*.do</url-pattern>
                 </servlet-mapping>
 <session-config>
                   <session-timeout>30</session-timeout>
  </session-config>
 
  <taglib>
    <taglib-uri>http://displaytag.sourceforge.net/</taglib-uri>
    <taglib-location>/WEB-INF/tlds/displaytag-11.tld</taglib-location>
  </taglib>

                 <welcome-file-list>
                                 <welcome-file>index.jsp</welcome-file>
                                 <welcome-file>login.jsp</welcome-file>
                 </welcome-file-list>

                 <error-page>
                                 <error-code>404</error-code>
                                 <location>/error.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-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>

<!-- Tiles TLD -->
<taglib>
     <taglib-uri>/tags/struts-tiles</taglib-uri>
      <taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>
</taglib>

</web-app>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to