Wrox Programmer Forums
|
JSP Basics Beginning-level questions on JSP. More advanced coders should post to Pro JSP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the JSP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 24th, 2005, 01:47 AM
Registered User
 
Join Date: Jul 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default jsp

what 's meant by this scriptlet? what is the purpose of this and what it's called.
<%
    String url = "http://"+request.getServerName()+":"+request.getServerPor t()+request.getContextPath()+ "/jsp/home.jsp";
    response.setHeader("Refresh","3; URL="+url);
%>

 
Old August 3rd, 2005, 12:37 PM
Authorized User
 
Join Date: Jul 2005
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This script automatically refresh the HTML page from the server.

-----------------------
Programming ( Assignment / Project ) Help

John Dirk
Programming Consulant
http://www.programminghelp4u.com - Programming (Assignment/Project) Help





Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help in jsp naidu.chandrakala JSP Basics 6 November 1st, 2007 02:32 AM
jsp jamalpv JSP Basics 1 May 14th, 2007 10:21 AM
JSP dhanu798 Pro JSP 1 July 1st, 2006 07:41 PM
Please Help. mr_newreq.jsp:78: jsp:useBean can't f batken JSP Basics 0 February 22nd, 2006 09:56 PM
jsp edwrd04 Wrox Book Feedback 1 May 15th, 2004 11:56 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.