The Artima Developer Community
Sponsored Link

Java Answers Forum
converting String to byte and Vice versa

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
patrick

Posts: 23
Nickname: patrick
Registered: Mar, 2002

converting String to byte and Vice versa Posted: Apr 28, 2002 12:26 PM
Reply to this message Reply
Advertisement
hi ,
in welcom.jsp a have parameter that i want pass it to login.jsp
<a href=<%= response.encodeUrl(url1+"/examples/jsp/projet/retrieveinfo.jsp?uname="+request. getParameter("uname").getBytes())%>&code=1 >
request.getParameter("uname") suppose to have in it patrick
in login.jsp i'm trying to convert the Byte format of request.getParameter("uname").getBytes()
like this String name=new String (request.getParameter("uname"));
but it doesn't convert to patrick
what should i do?

Topic: JTable mouse selection "Drawing the rectangle" Previous Topic   Next Topic Topic: what is main difference between AWT and Swing

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use