Hi,

I've changed the order of elements... according to DTD file, but it didn't
help. The same problem aswas described in first mail appears...

Does anybody have any idea.

Thanks.
Honza S.

----------------------------------------------
My /MyApp/WEB-INF/web.xml looks like this now:
----------------------------------------------

<web-app>
 <display-name>Application</display-name>

 <!-- Action Servlet Configuration -->
 <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>
  <load-on-startup>2</load-on-startup>
 </servlet>

 <!-- Action Servlet Mapping -->
 <servlet-mapping>
  <servlet-name>action</servlet-name>
  <url-pattern>*.do</url-pattern>
 </servlet-mapping>

 <!-- The Welcome File List -->
 <welcome-file-list>
  <welcome-file>index.jsp</welcome-file>
 </welcome-file-list>

 <!-- Application Tag Library Descriptor -->
 <taglib>
  <taglib-uri>/WEB-INF/app.tld</taglib-uri>
  <taglib-location>/WEB-INF/app.tld</taglib-location>
 </taglib>

 <!-- Struts Tag Library Descriptors -->
 <taglib>
  <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
  <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
 </taglib>

 <taglib>
  <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
  <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
 </taglib>

 <taglib>
  <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
  <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
 </taglib>

 <!-- SECURITY -->

 <security-constraint>
  <web-resource-collection>
   <web-resource-name>SecAppl</web-resource-name>
   <url-pattern>/*</url-pattern>
   <http-method>GET</http-method>
   <http-method>POST</http-method>
  </web-resource-collection>

  <user-data-constraint>
   <transport-guarantee>CONFIDENTAL</transport-guarantee>
  </user-data-constraint>
 </security-constraint>

</web-app>


Adam Hardy wrote:
> On 10/22/2003 10:07 AM Honza Spurný wrote:
>> Hi Adam,
>>
>> please, could you help me more? I've checked TLD and didn't find
>> anything wrong... :-( Where is the problem?
>>
>> Thanks
>>
>> Adam Hardy wrote:
>>
>>>
>>> Hi Honza,
>>> I'm pretty sure that you have got to have the xml entities in your
>>> web.xml in a different from what you are using. I am surprised the
>>> web-app is loading at all. Have a look at the order the entities
>>> should
>>> be in, in the DTD specified at the top of the file.
>
> Sorry, looks like I accidentally missed out the main word I meant to
> say: the order that the elements appear in is important.


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

Reply via email to