Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

send data from php page to jsp page

9:46 am on Apr 30, 2008 (gmt 0)

Junior Member

10+ Year Member

joined:Sept 26, 2005
votes: 0

Hello, I have a php page with a button which I want to use in order to send data to a jsp page. The code for the button in the php page is :

echo "<td align=\"center\"><form method=\"post\" action=\"http://mysite.blabla.com/input.jsp\">".
"<input class=\"formbutton\" type=\"submit\" value=\"Run program\"/>".
"<input type=\"hidden\" name=\"formInput\" value=\">".$code."\n".$sequence."\"/>".
and I use the code above in order to fill data in the textarea in the jsp page. Tha code in the input.jsp page is:

<textarea class="small" name="formInput" ></textarea>
The problem is that I do not see any data being written in the textarea when I press the button...
PS: Both $code and $sequence have values and I can see them if I print them in my php page...
2:14 pm on May 3, 2008 (gmt 0)


WebmasterWorld Administrator jatar_k is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 24, 2001
votes: 0

did you get this sorted ktsirig?

is it just a matter of echoing values into the textarea?


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members