Linwood Hayes

Ranch Hand
+ Follow
since Feb 04, 2010
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
6
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Linwood Hayes

For some old spring version app like spring 3, will JDK 11 be compatible with it? I can't find reliable answer on web.  I know if you have a newer version of Spring it requires a minimal JDK version.  But if Spring is old, does it put an "upper" limit on JDK version ? It seems it shouldn't since JDK is back-compatible.  But I am not sure.  Please help if you know.
2 months ago
don't know why.  i posted earlier, not sure how it appeared again.
3 months ago
JSP
In some maven web projects, I see different jstl related jars.  In one pj, I see

<groupId>jstl</groupId>
<artifactId>jstl</artifactId>

But in another project, I see

<groupId>org.glassfish.web</groupId>
<artifactId>javax.servlet.jsp.jstl</artifactId>

<groupId>javax.servlet.jsp.jstl</groupId>
<artifactId>javax.servlet.jsp.jstl-api</artifactId>

I omitted the version part for simplicity.
What confuse me is

1) what is jstl-api.jar for ?
2) why in the first project, it works fine without jstl-api.jar,  but in the second project it uses a combination of them ?
3) For jstl.jar, the second one is clear it is from "javax.servlet.jsp", but the first one is just "jstl", sounds strange.
3 months ago
JSP

Tim Holloway wrote:I think that probably those projects (POMs) are messed up.

JSTL is the Java Standard Template Library, but as far as I can recall (which isn't very far), there's not going to be a need to explicitly reference a JSTL API or Implementation library in a webapp, since JSTL is a language of its own and it's handled entirely(?) at runtime.

In any event, looking for a specific webserver version of either of those libraries rings major alarm bells. JSTL is part of the webapp server, so in Maven terms, its scope is "provided", not the default (which is "compile").



so you think  makes better sense than the other one ?
3 months ago
JSP
In some maven web projects, I see different jstl related jars.  In one pj, I see

<groupId>jstl</groupId>
<artifactId>jstl</artifactId>

But in another project, I see

<groupId>org.glassfish.web</groupId>
<artifactId>javax.servlet.jsp.jstl</artifactId>

<groupId>javax.servlet.jsp.jstl</groupId>
<artifactId>javax.servlet.jsp.jstl-api</artifactId>

I omitted the version part for simplicity.
What confuse me is

1) what is jstl-api.jar for ?
2) why in the first project, it works fine without jstl-api.jar,  but in the second project it uses a combination of them ?
3) For jstl.jar, the second one is clear it is from "javax.servlet.jsp", but the first one is just "jstl", sounds strange.
3 months ago
JSP
Inside a WAR deployed to a server, I have a java utility type class (not servlet).  I want to identify the server name inside this java class.  How can I do that ?  
3 months ago
I see the following spring and JDK version requirement:

JDK 6+ for Spring 4
JDK 5+ for Spring 3

Just have a dumb question: so if I use Spring 4 and my installed JDK is 6+, most of java code are Java 6+ style, but some legacy java code is still using  Java 2 or pre Java 5...   Does that break this compatibility requirement ?
3 months ago
In Spring MVC, form is bound into "command" object. is this command object created on server side ,  or on the client side and passed to server ?
3 months ago
Few questions from newbie thinking about learning ML.

1. Do I need to know Big Data and/or Hadoop to learn ML ?

2. Does ML cover Big data and Hadoop ?

3. Does ML cover SAS and/r R ?

Thank you.
I am java person but I first want to apologize if this thread appears in a wrong place.  I want to know something about AWS solution Architect certificate.  Does Ranch have it, or does anybody know some good site/forum for it ?

Thanks.
Using TFVC (Team Foundation).  From my local IDE I sync with remote TFVC branch, looking at the files, I see three types:

1. files with some numbers like [87098]:  seems these files are sync with remote repository, when I click team history, i can see the version history
2. files with "ignored" symbol:  can't click history from team,
3. files with a "+" symbol: seems these files never checked in to repository ?

Questions:

a) are those files with "ignored" sign already checked in repository or what ?

b) I am sure files with "+" are not checked in repository yet, but why it doesn't show "ignored" then ?

c) what's the difference between "ignored" and "+" ?

Thanks!

Stephan van Hulst wrote:It's up to you and how you think it will make you feel. But note that even if the police decide not to do anything with your report, you will still have done your part.



Just FYI --- The police (ten years ago) created no report at all.  They basically didn't take it serious.  I was totally disappointed by DC police
7 months ago

Stephan van Hulst wrote:Yes. A threat is a threat, and you could not have known whether it would escalate. Some angry people get even more angry when you *don't* engage them. Just get on your phone as soon as they start banging on your window and make sure to note the licence plate. Often that will be enough to scare off the assailant, but even so you will want to make a report of it.



Thanks.  But last time (ten years ago) it was also in DC, the driver hit and run, I had his plate number, but the policeman basically didn't want to bother to do anything.  I was disappointed so I didn't give up, I drove to the nearby police station.  Another police man basically said the same thing to me, I guess this bad experience discouraged me to call cop that time.  Anyway, I think you made a good point.

Now it has been several days.  I think the driver was from that community and if the police really wanted to find out, they should be able to since there should be camera there.  Do you think I should go ahead to pursue it or let it go ?
7 months ago

Stephan van Hulst wrote:It was probably about insurance info in the first case. They're obviously not going to tell you to exchange info with somebody who threatened you.



Thanks Stephan, I think you are right.  I will take a note.  Just want to hear how other people would do under my situation (the recent incident, not the one 10 years ago) -- Do you think I should have called police given the fact there was no actual personal harm or property damage, except verbal threat and some rude/loud bang on my window ?  
7 months ago