Well, it seems I've sent my question too early on the list, sorry for that!
The solution is to include request.getServletPath() in the resource name.
So now I issue:

request.getRequestDispatcher(request.getServletPath()+"/"+dynamicResourceID)

Cheers, Janos

|-----Original Message-----
|From: Jarecsni János [mailto:[EMAIL PROTECTED]]
|Sent: Wednesday, February 06, 2002 4:41 PM
|To: Jarecsni János
|Subject: RE: [JBoss-user] [JB244-TC401] compatibility issue
|
|
|Well, it seems I've sent my question too early on the list, sorry for that!
|The solution is to include request.getServletPath() in the resource name.
|So now I issue:
|
|request.getRequestDispatcher(request.getServletPath()+"/"+dynamicRe
|sourceID)
|
|Cheers, Janos
|
|--
|Jarecsni, János
|MORGAN HILL CONSULTING, Internet Applications Unit
|mailto:[EMAIL PROTECTED]
|http://morganhillconsulting.hu/ :: Phone+Fax: + 36 1 484 0392
|
||-----Original Message-----
||From: [EMAIL PROTECTED]
||[mailto:[EMAIL PROTECTED]]On Behalf Of Jarecsni János
||Sent: Wednesday, February 06, 2002 3:29 PM
||To: JBoss-List
||Subject: [JBoss-user] [JB244-TC401] compatibility issue
||
||
||Hi,
||
||I've been upgrading to 244 (with Catalina). Things are fine so far, except
||for this:
||
||we have a lot of
||"request.getRequestDispatcher("symbolicID").forward(reques,
||response)" in our application. "SymbolicID" is a name of a screen or a
||request processor (the very same as those in Sun's PetStore). It
||worked okay
||on JB241-TC3.2 but now I get a nice Tomcat error page, saying that the
||requested resource was not available.
||
||I experienced something similar when playing around with Jetty, but
||prepending a "/" before the resource name helped there. I tried that too
||with TC401, in vain.
||
||Thanks in advance,
||János
||
||
||
||_______________________________________________
||JBoss-user mailing list
||[EMAIL PROTECTED]
||https://lists.sourceforge.net/lists/listinfo/jboss-user
||


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to