wood burning stoves 2.0*
The moose likes JSF and the fly likes Link to navigate to another JSP from a JSP page containing JSF tags Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Link to navigate to another JSP from a JSP page containing JSF tags" Watch "Link to navigate to another JSP from a JSP page containing JSF tags" New topic
Author

Link to navigate to another JSP from a JSP page containing JSF tags

Shemida Nivedha
Greenhorn

Joined: May 22, 2008
Posts: 18
Hi,
I need to navigate to a JSP page using JSF tags.
I tried h:commandLink tag and gave just the name of the jsp whose class file is present in the path.
But there was no difference noted in the page.
How must the path be given?For example do we need to give the package structure with the absolute path or how must it be done?
Kindly give me a sample of this usage.

Also one more query, what is the difference between commandLink & outputLink tags?

Regards,
Shemida
Ganesan Ramakrishnan
Ranch Hand

Joined: Mar 18, 2008
Posts: 88
Hi,

commandLink : you cannot use the direct url . You can call the jsp through faces-config, for this you want set the action="beanname.methodname". You cannot pass the parameter too.

outputLink : you can use this tag for direct url and pass the parameter too.

i think this is enough for your both questions. Otherwise show your code snippet.

Regards
Ganesan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Link to navigate to another JSP from a JSP page containing JSF tags
 
Similar Threads
How can a NON-JSF page navigates to a JSF page?
Need help on Visual JSF Development
How can I use JSF inside a Servlet?
integration of struts- jsf Problem related t url
Including JSF pages in JSF pages