Derek Andrews

Greenhorn
+ Follow
since Oct 14, 2014
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
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 Derek Andrews

Hi all,

The vast majority of my solid software experience so far has been mobile (Android specifically). I'm currently cross-training for Java web development for my company. And, it's such a new domain I feel like a newb all over again. Such a newb that I have difficulty even googling for what I'm looking for, so please be gentle

I'm trying to iterate over a collection in a JSP page, and when a form submit button is clicked, somehow tell the controller which object it is associated with.

Here's the controller methods I'm calling



Here's the associated JSP snippet



What I'd like to do is have the "thing" in the forEach in the jsp get passed to the controller somehow. How do I do this? Again sorry for my extreme newbness. Domain knowledge is so startlingly important in this field. I feel quite facile with a couple of other types of development, hobby and professional, but wow, I feel like a total beginner all over again. Thanks in advance.
7 years ago
Hi, I'm not new to Java (Android developer) but I've never written a web application, in any language (not even perl or php, etc.). So, it almost feels like being a total newbie all over again. Anyhow...

I was trying to jump straight into using the Spring MVC framework, but being so new it is easy to conflate Spring with the technologies it is built upon such as Servlets and JSP so I'm reading Head First Servlets and JSP (that's what led me to this site).

My main question is, how important are Spring's taglibs? Are spring websites written where all you use are their taglibs, or in practice do people typically write a lot of standard JSP, use Spring's taglibs where appropriate, and other standard taglibs or hand-written taglibs? (to be clear, I fully understand there's a lot more beneath in the form of model and controller classes, my question is specifically on common practices in views...i.e. I understand an entire website is not just jsp.)

Thanks,
-Derek.
7 years ago