Thanks for reply Anton,

       
    
          what I am trying to do is when user only enters url upto the folder 
name where the actual page to be displayed is present 
Example: I have folder  User in my project structure.
 So now if the user wants to access the page which is in this folder but by 
mistake if the user doesn't provide the page name in the URL,but provides till 
the folder where the page is included in ( i.e .http://myserver/users/ )
then it should show page  http://myserver/users/userhome.html.






________________________________
From: Anton Gavazuk <[EMAIL PROTECTED]>
To: MyFaces Discussion <users@myfaces.apache.org>
Sent: Friday, 5 December, 2008 3:22:16 PM
Subject: Re: How to redirect page in JSF

Hi
I dont understand you problem,

what are you expecting?

redirect in jSF could be done for example in navigation rules in faces
config file.

2008/12/5 VIJAY SONAWANE <[EMAIL PROTECTED]>:
> Hi all,
>
> I am new to JSF.
>            I am facing one problem of url redirecting.
> i.e.  if user enters url like this
>                      http://myserver/project1/viewers/
> then he/she redirected to default page
> http://myserver/project1/viewers/viewersHome.html page.
>
> note : all my pages are in xhtml
>
> thanks in advance
>
> Vj++
>
>
>
> ________________________________
> Add more friends to your messenger and enjoy! Invite them now.



      Unlimited freedom, unlimited storage. Get it now, on 
http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/

Reply via email to