wood burning stoves*
The moose likes JSP and the fly likes Page is displaying without name in address bar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Page is displaying without name in address bar" Watch "Page is displaying without name in address bar" New topic
Author

Page is displaying without name in address bar

Girjesh Trivedi
Greenhorn

Joined: Nov 16, 2005
Posts: 9
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

Joined: Mar 02, 2005
Posts: 580
Check in DD(web.xml) whether you have given any welcome file
Girjesh Trivedi
Greenhorn

Joined: Nov 16, 2005
Posts: 9
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

Joined: Nov 06, 2000
Posts: 1510
You have mapped requests that match that URL to a filter.

<filter-name>PageSecurityFilter</filter-name>
<url-pattern>/tools/*</url-pattern>
</filter-mapping>


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Page is displaying without name in address bar
 
Similar Threads
First Wicket Problem
error
Sessions on a servlet
Unable to invoke servlet from client (simple java class)
Request Dispatcher problem