I am sorry for not making my self clear.
The thing is I am doing a web-shop project for my school. Now the first
page(index.htm) is just a simple static page and i access other pages through
servlets from the start page. But I want the first page to be created dynamic
through servlet aswell. I know I can do this by creating a new start page
which only includes one linked (a href) picture to the real first page like
www.footlocker.com
But when i took a look at the source code for that page i found the answear:
<META HTTP-EQUIV="Refresh" CONTENT="3;URL=something">
thanks anyway
Palli
Michael Nash wrote:
> Palli: I think what you're looking for is either 1) a servlet that decides
> which page to present (based on whatever criteria you need, parameters,
> login, load, etc) and presents it or 2) a servlet that decides & then
> re-directs the user to the correct place with sendRedirect.
>
> Is that what you're looking for?
>
> Mike N.
>
> -----Original Message-----
> From: Sigurp�ll J�hannsson [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 06, 1999 3:39 PM
> To: [EMAIL PROTECTED]
> Subject: Logical start page instead of static
>
> Hi all
> I have this little problem which I am sure many of you have the answear.
>
> How can I make my starting page(index.htm or something) have some logic
> instead of a static html.
> Is there any chance to invoke a servlet with out an action?
>
> best regards
> Palli
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html