a.n.m. rony chowdhury
a.n.m. rony chowdhury

Reputation: 21

How to remove this jsp error

<jsp:forward page="Update_job.jsp?ename=<%=ename%>"/>

Here i got error that says: "java.lang.IllegalArgumentException: [=] is not a hexadecimal digit "

Is there any way to sort it out?

Upvotes: 0

Views: 988

Answers (2)

Ashay Patil
Ashay Patil

Reputation: 152

you may try this:

<jsp:forward page="URL" > <jsp:param name="ParamName1" value="ParamValue1" /> <jsp:param name="ParamName2" value="ParamValue2" /> </jsp:forward>

also for more exploration go through this link http://www.gulland.com/courses/jsp/actions/forward

Upvotes: 1

Kumar Kailash
Kumar Kailash

Reputation: 1395

I suggest you explore using the JSP Expression Language together with JSTL.

For example, ${temp} will result in a search for the variable, in this case temp, within the page, request, session and application scopes. Much nicer than using scriptlets and JSP expressions.

In this way you can eventually get rid of all the inline Java from your JSP.

Upvotes: 0

Related Questions