Why are you using a page parameter in the html:link tag instead of a href attribute?
try <html:link href="/index.jsp?tab=4&id=1">Eric Chow</html:link> Heya Gosper CSC Australia 212 Northbourne Ave, Braddon ACT 2612 Ph: +61 (0) 2 6246 8155 Fax: +61 (0) 2 62468100 MOB: 0401 611779 ---------------------------------------------------------------------------------------- This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. ---------------------------------------------------------------------------------------- "Eric Chow" <[EMAIL PROTECTED]> 18/12/2003 01:56 PM Please respond to "Struts Users Mailing List" To: "Struts Users Mailing List" <[EMAIL PROTECTED]> cc: Subject: Unexpected output ???? Hello, I have used Struts(Tiles) since 1.0. Recently, I found some problem in using Struts+Tomcat4/5. In one of the JSP, there is a line as following. <html:link page="/index.jsp?tab=4&id=1">Eric Chow</html:link> In my home page, that is consist with different JSP and defined in Tiles. One of the page is dynamic generated by JSP Customer Tag, it just select some data from the database and output. The problem is that, Problem: - If there isn't any matching data in the database (select nothing) at the very first time loading. - Load again or reload a thousand times ..... NO PROBLEM. - Add some records to the database, it will automatic load those data in the page, CORRECT. *** DELETE all the records, the problem APPEAR !!!!!, In the original data display area, it should be display nothing but it always display "Eric Chow" !!!! Strange !!????? Un-clever solution: - Finally, I changed <html:link page="/index.jsp?tab=4&id=1">Eric Chow</html:link> to <a href="index.jsp&tab=4&id=1">Eric Chow</a> ---- NO PROBLEM NOW ---- -- And also, not only this, if I did the same steps in other similar functions. It also will display some strange and unexpected output text. Those strange output text are always be the BODY TAG contents !!!!!! I am not sure if it is the Struts problem or Tomcat problem. Eric ========================== If you know what you are doing, it is not called RESEARCH! ========================== --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]