Re: convention plugin Issue

2019-12-30 Thread zahid
I am currently studying for the 1ZO-815. package name is called is namespace. package mypackge  <--- namespace public class Main {     public static void main(String[] args) {     System.out.println("execute");     } } On 20/12/2019 05:02, John Bush wrote: I apologize for mistaking

Re: convention plugin Issue

2019-12-24 Thread Zahid Rahman
No need to apologise. The real question is how did I know to conduct that particular test and I was so sure of the result , even before I did. Believe me , it wasn't a random test. I was taught C & Unix by Mr. Dimitri. Over the years I realised the unix command he taught me are the most used

Re: convention plugin Issue

2019-12-19 Thread John Bush
I apologize for mistaking overriding method vs class in your description. I turned on debugging and it looks that all three classes are being found and struts actions are being created. The problem appears to be allowing the default process to create those - they get created with the same

Re: convention plugin Issue

2019-12-18 Thread Zahid Rahman
This is not overriding method. As you see when you declare the same functionality using the struts.xml Then only that explicitly declared method will be executed by the struts API [framework] in the explicitly declared package.class. Overriding methods in OOP means not using certain declared

Re: convention plugin Issue

2019-12-18 Thread John Bush
Overriding methods *is **a valid feature* in Java and probably all object oriented languages. I'm confident, even at that lowest level, you wouldn't be able to avoid methods being overridden. Above those layers of code you have many more layers of code to provide the ability to communicate

Re: convention plugin Issue

2019-12-18 Thread Lukasz Lenart
Feel free to register a ticket in JIRA, but this is something low priority rather. Regards Lukasz sob., 7 gru 2019 o 12:58 Zahid Rahman napisał(a): > > I think the convention plugin should perform a validation a check for the > presence of multiple same class names within different > package

Re: convention plugin Issue

2019-12-07 Thread Zahid Rahman
I think the convention plugin should perform a validation a check for the presence of multiple same class names within different package names. That ambiguity has been shown by my test. After all it is quite feasible and likely that we could have multiple same class names from different package

RE: convention plugin Issue

2019-12-07 Thread Yasser Zamani
Hi, I guess that the behavior of defining actions with same name and namespace is undefined. I think it's not an issue because Convention Plugin has no avenue to distinguish between them when you request http://localhost:8080/hello-world. Regards. >-Original Message- >From: Zahid