What happens for me? The same request keeps coming back.

Hi
I have this servlet with the processRequest that handles the doPost and doGet methods. A request comes in and I want to return a jsp page. Then I use this code:
RequestDispatcher dispatcher =
getServletContext().getRequestDispatcher(address);
dispatcher.forward(request, response);
to try to get the webserver (Tomcat 4.0 running in debug mode i Forte) to return the jsp page. The address argument is "/mypage.jsp".
The problem is that the request keeps coming back into the processRequest as a new request. The second time it comes in the URI is "/mypage.jsp/mypage.jsp".
Can anybody help a litte with this?
Thanks, rasped

Here is my web.xml. Could it be that I need a jsp mapping?
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<servlet>
<servlet-name>FlidServlet</servlet-name>
<servlet-class>FlidServlet</servlet-class>
<init-param>
<param-name>
webRootDir
</param-name>
<param-value>
C:/Dokumenter/Projekter/prototypes/COOP2_Prototype/
</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>FlidServlet</servlet-name>
<url-pattern>/*</url-pattern>
<!--<url-pattern>/answer</url-pattern>-->
</servlet-mapping>
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
</web-app>

Similar Messages

Maybe you are looking for

  • Best Policy for Setting up Media Centers

    Hi Everyone, Well after after re doing my whole media center with ATV and iTunes I would like to setup up a forum for Best Practice on setting things up. I encourage everyone to please add to it if you think of better ways to do things. The reason fo

  • Include the Content Released status flag in default WC data control

    Hi, We have integrated custom webcenter portal application with UCM for documents integration. The integration was done using default data control.When we change the document which is getting displayed in the portal from UCM and check it into the sys

  • Integrate Calender and Mails from  Exchange and Tasks from Lotus?

    Hi, I am currently integrating MS Exchange as the main groupware system into a 7.0 portal. Now the customer wants to integrate tasks fom Lotus Domino into the UWL. Is it at all possible to integrate both systems? How can I integrate Lotus Domino Task

  • Display header data only in multiple xl sheets

    hi all, my rewuirement is as follows.: i need to write a code for template. when i click this template i have to header in different xlsheets. idont have line items. plz send me the code. thanks, maheedhar.t

  • JDev BUG? XmlInvalidOnCommitException

    Hello Everyone, I tried to run the Business Components From Tables assistant for two tables, DESIGN_REQUEST and COMMERCIAL_REFERENCE_REQUEST, and created a new package (...model.designrequest) to store my brand new Entity Objects and their associatio