[opencms-dev] Servlet problems in opencms!

Christian Steinert christian_steinert at web.de
Sun Oct 22 23:52:51 CEST 2006


Stanczak Group schrieb:
> You need to post the web.xml file. Sounds like your just making a
> config error.
>
> Meghana Sathe wrote:
>> Hi
>> I am using a JSP which passes on control to a servlet i opencms 6.0.
What exactly do you do when you "pass control to a servlet"?
Opencms (or any other servlet) cannot easily call an external servlet
and still keep control.

If you want to call a different servlet's functionality from opencms,
you could do one of the following
- move the JSP and Servlet code into opencms
- or redirect to your servlet
- or do a HTTP request to your servlet from opencms and include the
output of the servlet into your opencms output (you would have to play
with Java's Network programming library to do the http requests)


hth
christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3269 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20061022/c90a7912/attachment.bin>


More information about the opencms-dev mailing list