0

Hi experts, I have two questions, please help me because I am trying
to create an application and I stopped because of these

1) how to read data in servlet from a web page for select menue
I have used [request.getParameter("?????")] but I don't know which name I put inside getParameter

2)I have two servlets, one servlet read from web page and another servlet from another web page , my question is how to let the second servlet gets the information(data) that the first servlet has read

i have tried to create an object of first servlet in the second servlet in order to make call of methods of the first servlet that contain data but I got this error:

The server encountered an internal error () that prevented it from fulfilling this request.


Thank you very much in advance

3
Contributors
3
Replies
4
Views
7 Years
Discussion Span
Last Post by masijade
0

thank you very much
but what Id or name, this is my menu selection:

<select>
  <option value ="sydney">Sydney</option>
  <option value ="melbourne">Melbourne</option>
  <option value ="cromwell">Cromwell</option>
  <option value ="queenstown">Queenstown</option>
</select>

what is the name or id for that

0

thank you very much
but what Id or name, this is my menu selection:

<select>
<option value ="sydney">Sydney</option>
<option value ="melbourne">Melbourne</option>
<option value ="cromwell">Cromwell</option>
<option value ="queenstown">Queenstown</option>
</select>

what is the name or id for that

Add one.

<select id="...." name=".....">
  <option value ="sydney">Sydney</option>
  <option value ="melbourne">Melbourne</option>
  <option value ="cromwell">Cromwell</option>
  <option value ="queenstown">Queenstown</option>
</select>

http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.6

This article has been dead for over six months. Start a new discussion instead.
Be sure to adhere to our posting rules.