my xml file is as below: <mytag> <text> first line</text><text style="i">first end</text><text style="break"></text> <text> second line</text><text style="i">plus</text><text style="b">second end</text><text style="break"></text> <text> third line</text><text style="break"></text> </mytag>
I want to transform this as below: first line first end second line plus second end third line
Very much appreciate help on this. [ November 29, 2005: Message edited by: Vidya Nayak ]
Helpers, Exercise from this article doesn't give me the expected output(tried with even cut and pase from article). The problem is 'tag' getting null value. In the MyTestDriver program, I added an else statement with an output "what is happening" and this gets printed out! What am I doing wrong?? thanks in advance, V
Aruna, A good understanding of these classes and methods is very important. As for getPathInfo .. may give an exhibit and ask to identify pathInfo..... You may need to know the order of elements in web.xml. This needs a bit of memorising. GoodLuck! Vidya
Aruna, Yes, enter finish test, review answers and double click on any question will take you to the actual question plus good explanation on answers, then with prev and next buttons you can go through them all. Good Luck Cheers, Vidya
People, After passing the SCWCD, I am thinking of developing an application (study project) with the help of javaranchers. Any one interested?? ( preferably using Tomcat server) Moderators - can you help us with this! Cheers, Vidya
Hi there, I answered the Exam last week. For the exam, Manning book + CD included (180 questions in mock) should be enough. The concepts are very well covered. Good Luck... Cheers, Vidya
Rishi, Option 2 and 4 are definitely wrong. option 3 is correct. option 1 is correct in the sense if one of them is removed the program will still compile ok. It does not negate the fact that if both are present jsp won't compile. This argument of course based on the available options and # to choose. Hope this is clear. ta Vidya
Mark, you are right. The one in the scriptlet will be local variable and the one in declaration will be instance varible when the jsp file is translated into servlet. That is why removing one of the variables will compile fine. Cheers, Vidya