Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
how to pass url-params?
meikel
Hi,
we create JSP-files with teamsite. For the preview of pages we connected an application server to teamsite (don't ask me how, I'm only the teamsite-man :-)).
In some cases the jsp need some url params (like blah.jsp?foo=bar).
When we do this in the preview these params will get lost.
As far as I know, the url in the page will be "given" to teamsite. teamsite "bends" them with that "/iw-mount/...." and returns the page to the browser. Correct?
How can i tell teamsite to pass the url params?
regards
meikel
Find more posts tagged with
Comments
Migrateduser
Are you trying to preview JSP pages that are being maintained within TeamSite (i.e., within the backing store)? If so, how are you requesting the pages?
TeamSite is not itself a servlet engine, so I don't believe that it will translate and execute your pages on its own.
Brinko Kobrin
Interwoven Staff Engineer
meikel
nope.
We only do the content and create the JSP-Files from within teamsite.
the (generated) jsp files are executed and shown from the application server. everything works fine (including the url-params)
This is not the problem.
Only, when we make a TEAMSITE-PREVIEW of a page and try to click on a link.
Its not a jsp but a common problem.
Teamsite takes the clicked url, bends the url to "/iwmount...", takes the page and bends ALL <a href> in that page with that "/iwmount..." stuff.
The result is given to our application server. but without the url-params. They are lost.
meikel
Migrateduser
I'm sorry, but I still do not understand what you are trying to do.
What is this page for which you are trying to do a TEAMSITE-PREVIEW? Is it a static HTML page, or is it a dynamic page? How are you passing parameters to the page, and what is trying to read these parameters?
Brinko Kobrin
Interwoven Staff Engineer
JonathonG
Are you saying that when you click on links from a preview, they are supposed to contain query string parameters, but they lose those?
Or are you saying that starting a preview in TeamSite doesn't put the expected parameters on the query string?
If its the former, I would say there is probably something wrong with your proxy remap configuration in the iw.cfg. For assistance, please post the proxy sections of your iw.cfg.
If its the latter, there really isn't a way to do this that I know of. When you click on a page from the TeamSite UI (or click the "Preview" button in templating), a no-query-string request is made for the page, because TeamSite has no way of knowing what query strings to use.
Jonathon
Independent Interwoven Contractor