[opencms-dev] Navigation from JSPs to HTML files
Ivan Biddles
ivanb at scientology.net
Wed Nov 6 00:41:28 CET 2002
Hi,
I have been trying to work out how to use a JSP for processing input
from a form and then, based upon the results of the processing, navigate
to one of several possible pages.
e.g. page1.html (with form)
-> JSP to process the form and do back-end validations
-> page2.html (if everything is fine)
OR back to
page1.html (if there was an error)
Both page1.html and page2.html have JSPs for their central content
section.
My problem is that when I do a jsp:forward to the target page, that page
needs to be the HTML page so that I get the template decorations around
it. However, since the HTML pages are in a different branch of the tree,
I have been unable to find the right forwarding URL to use.
Any ideas, or do I have this all wrong?
Thanks,
Ivan
P.S. As an acknowledgement to all of you who support OpenCms, I had been
attempting to implement a commercial product (which shall remain
nameless), but gave up on it in favour of OpenCms. I have had better
support and found better answers in this Forum in just about a week than
in the whole time we were working with the "commercial product".
So thanks to you all, and I look forward to helping others the way you
have already helped me. Ivan.
More information about the opencms-dev
mailing list