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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

gegin question : how to launch a jsp file ? 1

Status
Not open for further replies.

tyris

Programmer
Nov 2, 2000
311
FR
i have a server enabled for servlet and jsp.
i must test it but have never used jsp.
i have a jsp file.
what i want to know is how is launched a jsp file ? is it launched from a html file ? i need to have an index.html file to test the web site in the server. so what must i do ? is there a command in the html file that tells to laucnh the jsp file ?

Best regards X-),
Elise
 
Put the JSP file in your document root directory i.e. htdocs for example and access it the same way as you do a HTML file i.e.
You don't call it from a plain HTML like server side includes for example.

HTH,

Tim --
Tim <tim@planetedge.co.uk>
 
okay thanks you, so i could access this file with an HREF for example.

Best regards X-),
Elise
 
Yes if you wanted to you could do:

<a href=&quot;simple.jsp?numtimes=5&quot;>Click to load the JSP</a>

Tim --
Tim <tim@planetedge.co.uk>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top