Get the App
SLTechnology News&Howtos  ›  Development  › 

How to create JSP page integration in MyEclipse development JSF

Shulou Source: shulou.com Published: 2022-06-02 12:31:11 10月03日 Update

Editor to share with you how to create JSP page integration in MyEclipse development JSF, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

How does the integration of JSP pages in the creation of MyEclipse development JSF proceed? Last time we implemented the userLogin.jsp page, now the establishment of userLoginSuccess.jsp is easier, simply adding a printout of the user's login name.

MyEclipse development JSF creation JSP page integration figure 1

Figure 5.16: Making userLoginSuccess.jsp page print out the user's name

Now that the two pages have been established, and the relationship between them has not been established, open the design interface of faces-config.xml and follow these steps to associate them:

1. Click on the navigation tool

two。 Click the userLogin.jsp file

3. Click the userLoginSuccess.jsp file

4. Use the wizard to quickly create a turn

Follow these steps to create page redirection on success and failure.

The creation of MyEclipse development JSF JSP page integration figure 2

Figure 5.17: Creating the success navigation case

The creation of MyEclipse development JSF JSP page integration figure 3

Figure 5.18: Creating the success navigation case continued

The relationship between the two after successful creation is shown in the figure:

MyEclipse development JSF creation JSP page integration figure 4

Figure 5.19: Reviewing navigation cases for our app

The above is all the contents of the article "how to create JSP page integration in MyEclipse development JSF". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Pages development integration articles creation success content situation files steps not much two between wizards most names that is tools more users Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Huawei Linux Xiaomi Redmi