i have some sort of problem in JSP which sure has an answer..but ,i am not figuring it out.
the problem no. 1 -------------------- i wrote a servlet which dispatches the search results( a pattern-matched set of employees) to my jsp as an advanced search ("/search_advance.do"). this set contains fields like name, age etc. and a primary key "EID".
at the same time i made a search criteria ("/search_basic.do") which only takes the "EID" to give full detail of the employee.
when a user gets result from the advanced search in a table,i want him to just click on the EID field to know full dtail of that employee. In short when he clicks an EID (in advanced result) he must be able to envoke "/search_basic.do?EID=theeid&B1=submit&formOption=basic"....so i wrote something like this
formOption is a hidden field to distinguish basic form from advanced form(bcoz both are in the same page.) It never worked..all i know is the same form("~/search_advanced.do?/search_basic.do?EID=theeid") is envoked again, with parameters shown in url.
// here is the scriptlet
<% //Collected Lists
List mEID = (List)request.getAttribute("mEID"); List mfirst_name = (List)request.getAttribute("mfirst_name"); List mmiddle_name = (List)request.getAttribute("mmiddle_name"); List mlast_name = (List)request.getAttribute("mlast_name"); List maddress = (List)request.getAttribute("maddress"); List mjoining = (List)request.getAttribute("mjoining");