No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
3 Posted Topics
Re: Dear keiteqq, Actual problem lies in your [CODE] public void pigAll(){ ....... } [/CODE] method and line is following [CODE] piggieLatin[k] += temp + " "; [/CODE] As you have used Short Hand operator [B]+=[/B] it will append piggieLatin's initialised value which is null(Variable [B]piggieLatin[/B] will be initialized to null … | |
Re: Kindly post your code so we can suggest you better. | |
Re: In your servlet you can write like this. [code=java]RequestDispatcher rd = request.getRequestDispatcher("yourPage.jsp"); request.setAttribute("paramName", "paramValue"); rd.forward(request, response);[/code] and in "yourPage.jsp" you can get your parameter's value like this... [code]<% String yourValue = (String)request.getAttribute("paramName"); System.out.println("yourValue == "+); %> [/code] Hope this will help you. :) |
The End.