homepage Welcome to WebmasterWorld Guest from 184.73.104.82
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
send data from php page to jsp page
ktsirig

5+ Year Member



 
Msg#: 3638358 posted 9:46 am on Apr 30, 2008 (gmt 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."\"/>".
"</form></td></tr>\n";
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:


<td>
<textarea class="small" name="formInput" ></textarea>
</td>
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...

 

jatar_k

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



 
Msg#: 3638358 posted 2:14 pm on May 3, 2008 (gmt 0)

did you get this sorted ktsirig?

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved