Hey i m using href for forwarding control to other page but it displays null when i want to get that attribute in other page..
Can any 1 suggest me what to do...
sara khan
0
Light Poster
Recommended Answers
Jump to PostI think you are trying to read request attribute. Please show us your code. Also, don't forget to encase the code in code tags.
Jump to PostQuery parameters must be delimited by &.
out.println("<h2><a href = controllerPosts?action=newJavaThread.jsp&id="+i+">"+heading+"...</a></h2>");
Use RequestDispatcher's forward method instead of sendRedirect() method.
All 5 Replies
kvprajapati
1,826
Posting Genius
Team Colleague
sara khan
0
Light Poster
kvprajapati
1,826
Posting Genius
Team Colleague
sara khan
0
Light Poster
kvprajapati
1,826
Posting Genius
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.