About question enthuware.jwpv6.2.936

Moderator: admin

Post Reply
RoyEL1@comcast.net

About question enthuware.jwpv6.2.936

Post by RoyEL1@comcast.net »

Consider the code fragment of a servlet's doGet method. .

public void doGet(HttpServletRequest request, HttpServletResponse response)
{
...
ArrayList tableNamesVector = getTablesSomehow(); // 1
request.setAttribute("tableNames", tableNamesList); // 2
request.getRequestDispatcher("Reporter.jsp").forward(request, response);
...
}

I'm assuming that the tableNamesVector in //1 should match the tableNamesList in //2 since the question is really about using it in the Reporter.jsp.
Correct?

admin
Site Admin
Posts: 10228
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About question enthuware.jwpv6.2.936

Post by admin »

You are right. This has been updated.

thanks for your feedback!
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests