I am attempting to use a URL "localhost:8080/page1.xhtml?confId=123456" with a parameter using JSF and Glassfish 3.1.2. The URL is part of the body of an email I send to a user. When the user clicks on the email link they are taken to a web app called the "ReviewerApp".
The user logs into the "ReviewerApp" but the parameters I sent in the URL are not used and they are taken to a default page instead of the intended page in the "ReviewerApp".
I can then open another browser window and paste the original URL in that browser while keeping the first browser window open and they are taken to the correct page in the "ReviewerApp".
How can I make it so that the user is taken to the correct page in the "ReviewerApp" after they log into the "ReviewerApp" the first time, without having to open another browser and pasting the URL in that browser?
Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection. So the default connection pool using DBCP (or any other framework) is made available and the life go…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts.
Introduce Scanner class:
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it.
Define Error Message:
Type of Error: