The Artima Developer Community
Sponsored Link

Java Answers Forum
forwarding page in jsp

1 reply on 1 page. Most recent reply: Apr 18, 2002 8:31 PM by Kishori Sharan

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
patrick

Posts: 23
Nickname: patrick
Registered: Mar, 2002

forwarding page in jsp Posted: Apr 17, 2002 10:57 PM
Reply to this message Reply
Advertisement
hi,
i'm writing a member login page that takes the user name and password check if they exists and forward automatically to another page so i wrote this
String url= "https://"+request.getServerName()+":"+System.getProperty("tomcat.system.SSLLis tenPort","8443")+"/";
<jsp:include page="url/examples/jsp/projet/memberlogin.jsp"></jsp:include>
but i'm having a servlet exception like the path jsp/projet/url/examples.....
don't exists
how can i fixe this?>


Kishori Sharan

Posts: 211
Nickname: kishori
Registered: Feb, 2002

Re: forwarding page in jsp Posted: Apr 18, 2002 8:31 PM
Reply to this message Reply
Patric,
So far as I remember on Jaguar Web Server, forward tag in jsp takes only relative url. Since you are using absolute url, you need to use sendRedirect method instead. I had exactly the same requirement and sendRedirect worked fine in that case.
Thanks
Kishori

Flat View: This topic has 1 reply on 1 page
Topic: How to run .chm file from Java code? Previous Topic   Next Topic Topic: missing dll file

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use