java - Populate Vector from JSP, Output Vector to JSP -


Hello this is a trivial question, but I can not seem to do this work.

I am a vector population from my JSP (I have verified that there are elements in the vector)

Now, I want to return the contents of the same vector back to my JSP. I am

Code?

  for <% (Iterator it = vector.iterator (); HasNext ( );) {Out.println ("Hey here is an item in my vector:" + it.next ()); }% & Gt; 

Without explanation and much more difficult to do.

Besides, people really still use vector, and do not list?


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -