Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Page is displaying without name in address bar

 
Girjesh Trivedi
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

In address bar we have address given below.
http://localhost:8080/navweb/tools/

but one page is displaying .could you please tell me how this ithing is possible.
 
vidya sagar
Ranch Hand
Posts: 580
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check in DD(web.xml) whether you have given any welcome file
 
Girjesh Trivedi
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In web.xml I have mapping like given below.

<filter>
<filter-name>PageSecurityFilter</filter-name>
<display-name>Page Security Filter</display-name>
<description><![CDATA[This filter will block page access based on environmental setup. To block page access set 'com.navisys.fo.PageSecurityFilter.blockPage' property to true at JVM level.]]></description>
<filter-class>com.navisys.fo.PageSecurityFilter</filter-class>
</filter>
<filter>
<filter-name>RequestEncodingFilter</filter-name>
<display-name>Request Encoding Filter</display-name>
<description><![CDATA[This filter will encode any page requests that not in the predefined encoding and handle all parameters in new encoding.]]></description>
<filter-class>com.navisys.fo.RequestEncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>UTF-8</param-value>
</init-param>
</filter>

<!--
To use non XDoclet filter-mappings, create a filter-mappings.xml file that
contains the additional filter-mappings and place it in your
project's merge dir.
-->
<filter-mapping>
<filter-name>PageSecurityFilter</filter-name>
<url-pattern>/tools/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>RequestEncodingFilter</filter-name>
<url-pattern>*.jsp</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>RequestEncodingFilter</filter-name>
<url-pattern>*.do</url-pattern>
</filter-mapping>

but I didn't understand anything from it.
 
Bosun Bello
Ranch Hand
Posts: 1510
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have mapped requests that match that URL to a filter.

<filter-name>PageSecurityFilter</filter-name>
<url-pattern>/tools/*</url-pattern>
</filter-mapping>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic