Hi Friends, I am using a JSP and Java Class(no servlets).I have a table,with column headers as hyperlinks.I want that when the header(or link)is clicked a parameter should pass to a method in the java class,and it should send back the results accordingly.
Thanks ben, I want to sort a table depending upon the column header values.So I display a table,and the user clicks on anyone header,I want to pass the column header parameter to my java file,so that I can sort the appropriate column.The only problem I am facing is I am not able to pass the parameter from JSP to my java method.Can u tell me how to do that.Got my question??
the most easiet way i use is to add a new parameter for sorting in the hyper link use -let say that the jsp page name is test.jsp and the param name is sortby- <a href="test.jsp?sortby=1"> bla bla </a>...