voyent
Problem with multiple params in URL  XML
Forum Index -> General Help
Author Message
Fanka_DE

Joined: 16/Apr/2008 00:00:00
Messages: 8
Offline


Hi all,

I am using ice:outputLink. The value is of "http://blah.com/servletname?param1=value1¶m2=value2". If I provide only one parameter in the query part of the URL all works fine. In case of more than one parameter it works not.
Following exception is thrown:
java.lang.Exception: javax.faces.FacesException: Can't parse stream for /mypage.jspx The reference to entity "param2" must end with the ';' delimiter.
at com.icesoft.faces.context.View.servePage(View.java:142)
at com.icesoft.faces.webapp.http.core.SingleViewServer.service(SingleViewServer.java:52)
at com.icesoft.faces.webapp.http.common.ServerProxy.service(ServerProxy.java:11)
at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet$4.service(MainSessionBoundServlet.java:114)
at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24)
at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:160)
at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$1.service(SessionDispatcher.java:42)
at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)
at com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:63)
at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:62)
at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:153)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
 


Actually I am using Icefaces 1.8.1, Weblogic 10.

Do you have any hints?

Kind regards,

Michael
vinoopraj

Joined: 08/Apr/2009 00:00:00
Messages: 76
Offline


please use this...

Code:
<ice:outputLink value="http://blah.com/servletname?param1=value1&param2=value2">
 				<ice:outputText value="View This"></ice:outputText>
 			</ice:outputLink>



vinoop
[Email]
vinoopraj

Joined: 08/Apr/2009 00:00:00
Messages: 76
Offline


if u have problem.. please kindly change the & to & and continue.....

vinoop
[Email]
vinoopraj

Joined: 08/Apr/2009 00:00:00
Messages: 76
Offline


sorry... use & AMP;

vinoop
[Email]
Fanka_DE

Joined: 16/Apr/2008 00:00:00
Messages: 8
Offline


Thank you vinoopraj,

the change from '&' to '&' is the right way here. I must read it over in RFC3986 or it wasn't mentioned.

Kind regards,

Michael
 
Forum Index -> General Help
Go to:   
Powered by JForum 2.1.7ice © JForum Team