Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

passing variables from one html page to other 1

Status
Not open for further replies.

conrai

Programmer
Nov 21, 2004
10
FI
Hello!

Hopefully you can help me. I would like to pass a variable from one html page to another one and use the passed variable for generating a dynamic string. Is it possible to do it without JSP/ASP/PHP or so? If yes, how :|???

It should look as follows:
In html page 'test' I have the link:

<a href="reportDisplayer.html?REPORT=mm2004-11-02">meeting minutes 02.11.2004</a>

And in 'reportDisplayer.html' i want to use the passed REPORT variable to load the correct document (e.g. mm2004-11-02) as an object:

<object width="100%" height="100%" type="text/plain" data="meetingMinutes/******here should come the passed variable name(mm2004-11-02)*******.html" border="0" style="overflow: auto;"></object>

Passing the variable works but how can I use the passed variable to create the link as I'd like to do it?

I would be really greatfull for your lightening answer, thank you in advance!

Konrad

PS: I have tried to do it with JSP pages but somehow my server doesn't accept the jsp files and always outputs the JSP tags. Either jsp is not supported by the server or I just didn't set them up correctly (the JSP-files, do they have to be in a separate folder, can i combine/link JSP and HTML pages arbitrarily (see my thread in JSP forum)..
 
See faq216-5442.

--Chessbot

"Violence is the last refuge of the incompetent." -- Asimov, Foundation
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top