• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh


Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I need a servlet that during initialization reads a txt file into an ArrayList
The file format is like below
and then display the content of of the first element in a drop down list in order for a user to choose from.
Then, when the user has chosen I want to forward him/her to another JSP page where these 2 values are written as a parameters in a jsp plugin like below
<jsp:plugin type=applet
(Marilyn fixed smileys to no-smileys)
[ February 27, 2006: Message edited by: Marilyn de Queiroz ]
Posts: 43028
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello "jjk jjk"-

Welcome to JavaRanch.

On your way in you may have missed that JavaRanch has a policy on display names, and yours does not comply with it - please adjust it accordingly, which you can do right here. Thanks for your prompt attention to this matter.

I'm not quite sure what your question is about specifically - the reading of a file, the generating of an HTML form containing the parameters, the processing of those parameters in a servlet, or the forwarding to a JSP page that generates the plugin tag? We have separate forums for each of these areas, while the Teacher's Lounge -the forum you posted the question to- is not about answering programming questions. Please clarify what you need help with, and we'll move the question to a more appropriate forum.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic