Wong Kok Wai wrote:
Weblogic 5.1 refuse to compile the following line:
form:link
href="quickNews.do?pageSearch=truestockExchange=%=
request.getParameter("stockExchange") %stockCode=%=
request.getParameter("stockCode") %stockName=%=
request.getParameter("stockName") %pPage=%= p %"
u%= p %/u/form:linknbsp;nbsp;
Is the bug with Weblogic or I cannot use multiple RTE
inside the "href" attribute?
Note that you are trying to use double quotes nested inside double quotes, which
will create syntax errors in the resulting Java code. It is also not legal to
make PART of an attribute a runtime expression -- it is all or nothing.
Try this:
%=
String temp = ". the expression above ...";
%
form:link href="%= temp %"/
Craig