Wrox Programmer Forums
|
Java Basics General beginning Java language questions that don't fit in one of the more specific forums. Please specify what version.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 2nd, 2006, 05:31 AM
Authorized User
 
Join Date: Jul 2005
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default DOM

Hi, I would like fill in TextArea in html by result in java. I don't know how do it. Could you help please?

 
Old May 3rd, 2006, 06:15 AM
Authorized User
 
Join Date: Mar 2006
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Default

<%
ViewState vs = (ViewState)request.getAttribute("viewstate");
%>
frm.textareadid.setAttribute("value","<%=vs.getHwR equirement()%>");

 
Old May 4th, 2006, 04:52 AM
Authorized User
 
Join Date: Jul 2005
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

and is it java?

 
Old May 4th, 2006, 08:50 AM
Authorized User
 
Join Date: Apr 2006
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to vakorde
Default

I guess this is JSP
and the part
frm.textareadid.setAttribute(.....)
is a Java script.
This code of Javascript will work only in the IE6 +



---------------------------
Vikrant Korde
3i Infotech, Vashi,
Mumbai, Maharashtra, India.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Navigation DOM: getElementByID() stolte Javascript 2 November 22nd, 2007 04:04 AM
How to .... Dom Document namitjung PHP How-To 4 July 7th, 2005 12:17 AM
Entity References and DOM boemane C# 0 August 24th, 2004 08:21 AM
DOM PS C++ freezotic BOOK: Beginning Java 2 0 August 3rd, 2004 11:39 AM
XML DOM / ASP 3.0 xica XML 1 July 13th, 2004 12:23 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.