Say you have a table with firstname and lastname columns. And you have your jsp,
viewNames.jsp.
The way I did it was create your query.
String stmt = ("SELECT fname, lname FROM table_names ORDER BY " + what);
Then in your servlet or jsp set your what:
String what = request.getParameter("what");
don't you want
select * from description where name = "<%= request.getParameter("name") %>"
instead?
otherwise you are saying you want 2 columns to equal each other.
HTH...
At 04:15 PM 4/18/2001 +, sufi malak wrote:
>I am still struggling with the same problem, could you please tell me wh
it shoud be request.getParameter -- It looks like you use a q (Q) instead
of a g (G)
HTH
At 02:50 PM 4/17/2001 -0400, Paul Meshkovsky wrote:
java:64: Method qetParameter(java.lang.String)
not found in interface
javax.servlet.http.HttpServletRequest.
String search =
reques
configuration flags am i missing?
Thanks.
========
Maureen Fisher, CIT/ASDT, Cornell University
Ithaca, NY 14850
[EMAIL PROTECTED]
http://mo.cit.cornell.edu/
Ad astra per aspera
==
exe
>-classpath
>%classpath%:%scratchdir%:c:\gnujsp-1.0.0\lib\servlet-2.0-plus.jar:c:\gnujsp-1.0.0\lib\gnujsp10.jar
>-d %scratchdir% -deprecation %source%
>"
>
>I have also set system classpath.
>
>Can anybody tell me what can be wrong in this
>
>Thanks & Regards
&