Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

<html>

Status
Not open for further replies.

daka94

Programmer
Apr 27, 2001
33
US
<html>

<head>
<title></title>
<meta Content Name=&quot;description&quot;>
<meta Content Name=&quot;keywords&quot;>
</head>
<%@ page import=&quot;java.sql.*,java.net.*&quot; %>
<%
String rfq_no=request.getParameter(&quot;rfq_no&quot;);
%>

<frameset cols=&quot;30%,*&quot;>
<frame name=&quot;left&quot; SRC=&quot;BidSummary.jsp?rfq_no=<%=URLEncoder.encode(rfq_no)%>&quot;
NORESIZE FRAMEBORDER=&quot;NO&quot;>
<frame name=&quot;right&quot; SRC=&quot;BidDetails.jsp&quot; FRAMEBORDER=&quot;NO&quot;>
<noframes>
<body>
</body>
</noframes>
</frameset>
</html>

here i am getting the follpwing error
java.lang.NullPointerException
at java.net.URLEncoder.encode(Compiled Code)
but it is taking rfqNo value.bcz the url appearing is
here disc89 is the value from the previous page.
help me.what could be the error.
thank u in advance
 
What does BidSummary.jsp and BidDetails.jsp look like? You are setting the frame to be that address could BidSummary.jsp or BidDetails.jsp be throwing the Exception? Should should probably still be wrapping the URLEncoder.encode in an if statement to check for null. Also BidSummary.jsp should check for rfq_no being null. Beyond that it is hard to tell with just this little bit of information.
Wushutwist
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top