1 00:00:00,840 --> 00:00:01,810 Welcome, my fiance. 2 00:00:01,830 --> 00:00:07,260 Welcome to this lecture in this lecture will continue with the spectacle that we started in the previous 3 00:00:07,260 --> 00:00:13,980 lectures, in the previous lecture theatre, the theater configuration information about the possibilities 4 00:00:13,980 --> 00:00:15,880 that we want to create an art exhibit. 5 00:00:15,930 --> 00:00:17,430 Now we will create the two. 6 00:00:17,440 --> 00:00:23,280 So let's actually also after creating these two, Sulligent will render so much to see the difference 7 00:00:23,460 --> 00:00:28,500 between solid, concrete and solid context, which is the purpose of this whole lab exercise. 8 00:00:29,010 --> 00:00:31,050 So let us get into the eclipse. 9 00:00:33,010 --> 00:00:40,320 So in eclipse, we go to our project, so looking at practical and we're going to source of lapse of 10 00:00:40,330 --> 00:00:48,070 look, I've already created the employer, so the gentleman and the focus of the name of employer subletter, 11 00:00:48,070 --> 00:00:49,450 Java, not just met. 12 00:00:50,560 --> 00:00:58,140 Here, the subject employs some, like Plassnik and the welcome Soulet plus name is the same as workaholic 13 00:00:58,660 --> 00:00:59,290 Najara. 14 00:00:59,380 --> 00:01:04,810 So I have created these two separate names using the same name given in them. 15 00:01:05,060 --> 00:01:12,790 Except now I open in place of little Java and in place of little Java I have created in Dugit. 16 00:01:13,090 --> 00:01:15,040 I've created these few lines of code. 17 00:01:15,460 --> 00:01:19,210 You might want to look into it and step by step to see what happens in each of the. 18 00:01:20,580 --> 00:01:26,460 The first two lines are very common, they are common to almost all tablets and we have seen these lines. 19 00:01:26,970 --> 00:01:35,360 First, we set the content type of text and then we clear the print paper out to output into the stream. 20 00:01:35,670 --> 00:01:37,830 So we get the response to that. 21 00:01:37,980 --> 00:01:38,940 So these two are common. 22 00:01:39,390 --> 00:01:44,310 Next step, we create civil conflict using the gets configured method. 23 00:01:44,550 --> 00:01:50,220 So this is this gets servlet config method and we get this subject config because of this from the servlet 24 00:01:50,220 --> 00:01:54,060 config we use to get in it by the meter method. 25 00:01:54,360 --> 00:01:57,370 And you say, Eemian, this is the same as. 26 00:02:06,090 --> 00:02:12,370 He meant to imply a solid and blase subject, so we said exactly same name, whatever is in the bottom 27 00:02:12,420 --> 00:02:19,440 here, that exactly sensitive email, we use it and get in it about a meter e-mail. 28 00:02:20,940 --> 00:02:25,510 So we get the email and we're supposed to what we are supposed to get, they're supposed to get this 29 00:02:25,680 --> 00:02:26,100 value. 30 00:02:26,130 --> 00:02:32,480 See you at employer dot com in the case of employer subject because it's think you're not going to fix 31 00:02:32,730 --> 00:02:34,080 next, you use context. 32 00:02:34,080 --> 00:02:36,750 So let's get some context. 33 00:02:36,960 --> 00:02:40,530 So in config be used to get some config in context. 34 00:02:40,600 --> 00:02:47,520 You get some context, some context, and then we use the company name and we gave the company name 35 00:02:47,520 --> 00:02:48,660 from the application. 36 00:02:48,660 --> 00:02:48,870 Right. 37 00:02:48,900 --> 00:02:49,530 Context. 38 00:02:49,860 --> 00:02:56,250 We're just going to start getting by the company again the next minute we're done. 39 00:02:56,760 --> 00:03:01,410 And we would see that we have created a context about a company with seed capital. 40 00:03:01,620 --> 00:03:05,610 And you've used the same case sensitive company with seed capital. 41 00:03:06,220 --> 00:03:09,190 Nobody had testing when we get a barometer. 42 00:03:09,540 --> 00:03:12,600 So essentially config also has to get its parameter. 43 00:03:12,660 --> 00:03:16,020 Context also has to get it right. 44 00:03:16,260 --> 00:03:18,720 But there are different different areas in the report. 45 00:03:19,860 --> 00:03:28,470 OK, so after this, we have an e-mail which we got from config and outdoor printing company name, 46 00:03:28,470 --> 00:03:35,880 which we got from context, the same lines, same gorg, same piece of code exists in the book usability. 47 00:03:35,880 --> 00:03:39,930 Also in the book in the get method will get better. 48 00:03:40,140 --> 00:03:42,780 We go through the same same steps. 49 00:03:42,780 --> 00:03:50,260 The code is identical, similar config, similar context, and then I'll email all the print of it company 50 00:03:50,280 --> 00:03:50,450 name. 51 00:03:51,000 --> 00:03:55,530 So this is how the subject will look like employee subject and they will book us on it. 52 00:03:55,770 --> 00:03:57,660 No letters run each of you. 53 00:03:57,660 --> 00:04:00,330 So let's see what the difference is between them. 54 00:04:02,010 --> 00:04:06,620 So literally, I click on this island server. 55 00:04:09,220 --> 00:04:11,990 Finish what he started over, OK? 56 00:04:22,500 --> 00:04:26,330 So let's see if this Actimel fight we just come across, David. 57 00:04:29,720 --> 00:04:30,590 I open it. 58 00:04:32,610 --> 00:04:33,990 Using Firefox. 59 00:04:37,310 --> 00:04:43,550 And I get this was the employers of literature and art and I get the email address of the employer, 60 00:04:43,670 --> 00:04:50,330 which is the employer, dot com CEO and employer dot com, and the name of the company is US Unlimited. 61 00:04:50,390 --> 00:04:51,980 And this is what we expected. 62 00:04:52,610 --> 00:04:55,820 Let us see what happens when we give workers some. 63 00:04:57,440 --> 00:05:00,690 Right, click on this server. 64 00:05:05,260 --> 00:05:10,020 See, the same thing that comes from the Soulik Civic. 65 00:05:15,180 --> 00:05:16,260 In Firefox. 66 00:05:19,080 --> 00:05:26,730 So this opens and now we get employee, dot com engineer, dot employee, dot com as the email address 67 00:05:26,970 --> 00:05:32,040 and the company name is the same because it is application rated for me to say so. 68 00:05:32,040 --> 00:05:39,120 This is the workers at work and the locus of Lexa's the e-mail, the same e-mail that Capitally gives 69 00:05:39,120 --> 00:05:46,260 engineer at employee dot com and the same email with gabardine you CEO, your employer dot com. 70 00:05:46,260 --> 00:05:48,320 Because there's this configurability. 71 00:05:48,420 --> 00:05:53,460 This is specific to the subject and we have defined it not acceptable for each of the subjects. 72 00:05:53,460 --> 00:05:58,620 We have defined email addresses, different email addresses, but the application right company name 73 00:05:59,100 --> 00:06:02,860 is the same Cordeaux Unlimited Inc Gordo's identity. 74 00:06:03,120 --> 00:06:08,220 So this difference I want to show you between servlet context and Soulik config. 75 00:06:09,960 --> 00:06:11,380 See you in the next lecture. 76 00:06:11,700 --> 00:06:13,220 I wanted to tell you this concept. 77 00:06:13,280 --> 00:06:15,780 This is what this intersection was all about. 78 00:06:16,260 --> 00:06:18,990 Now, I'll see you in the next section. 79 00:06:19,650 --> 00:06:20,070 Thank you.