It is not true, the question has to do with JavaScript, to call a JS function which OP is posted.
Can anyone help me?
If you accept "help" in the form of an explanation of why you are wrong, then yes.
The question clearly does not have to do with JavaScript. Putting JavaScript code in a question doesn't make it a JavaScript question.
How do you know, in this case? Because the JavaScript code could be anything, for any purpose, and the question wouldn't change. The question is about how to make JSP conditionally include code within the JavaScript function. What that function actually does is completely irrelevant to the question being asked. It's only shown there for demonstration purposes.
Notice how the java tag that you added 10 years ago was not removed from this question, because it is a Java question (noting well that the languages Java and JavaScript have nothing at all to do with each other). We know this even though there is not any complete Java code (just a fragment of JSP, following Java syntax) in the question. How?
Because the question is about using JSP to do something. JSP is a Java technology. Answering the question with code would require writing Java code. But it would not require writing JavaScript code. In your answer, where you replaced if (String "contact"=request.getParameter("contact");)
with String contact; if ((contact=request.getParameter("contact")) != null
, fundamentally you were writing Java, not JavaScript. (In JavaScript, String
is a function, and variable declarations don't use a typename.) The code where the problem occurs isn't JavaScript; it's essentially Java embedded within a Java templating language that will produce JavaScript output. (The code sent to the client won't contain these <%if ... %>
"tags", and wouldn't know what to do with them if they were.)
Just editing tags is not a substantial edit and it is a violation of rules of SO.
This is simply incorrect. First off, there is no rule against making "insubstantial" edits - it's simply a reason why edits that require review, from users below 2000 reputation, might be declined. Second, a specific interface is provided for editing just the tags, exactly so that users with unilateral editing privileges can apply these fixes more efficiently. Retagging is an important service that helps curate the site; and the only reasons for declining insubstantial edits are specific to the fact that lower-rep users' edits need to be reviewed.
I tried to rollback my edits, but the offender persists on its own. I don't need to envolve one or more rollback war with the offender, but I need my questions be consistent and accurately tagged that I provided, but BalusC is conflicting with my intentions. Why should I make concessions?
Because maintaining the site is a community effort and your "intentions" are not privileged. Policy is the result of a consensus understanding by the community of what will give the best results in the long run. Of course, moderators also play a key role in settling disputes. In this case, a moderator quickly found that the tags you consider "accurate" are not - even though moderators are not expected to be subject matter experts.
He just removing tags and finds duplicates with his answered posts.
Finding duplicates, too, is useful and noble. The goal of the site is to serve as a useful repository of information, as described in the tour; the best answers should therefore appear on the best possible version of the question, and no answers should be posted on other versions, but instead they should directly link future viewers to the reference version. That way, the thousands or even millions of people who check the site later can get the best answer directly, even if they use slightly different language in their search.
I don't care if he is removing tags from questions that he had answered , but I am trying to draw attention to questions that I had answered and didn't get any sufficient reputation for my answers.
You don't get to decide how much reputation is "sufficient" for your answers. If anything, you are telling us now that you add tags to a question to try to make it more important, so that people will give you more reputation, instead of trying to make the site better organized. That is abusive and misunderstands how Stack Overflow works. You already have enough reputation needed for all the privileges available on the site, so there is no good reason to compete for more.
if
statement execute; yes there is JavaScript in the question, but that isn't what the question about.specific-question
) to make the discussion clear.