Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
JSP Basics Beginning-level questions on JSP. More advanced coders should post to Pro JSP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the JSP Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 22nd, 2005, 03:56 AM
Registered User
Join Date: Aug 2005
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to assign dynamic value to textbox in struts

How to dynamic assign value to the text box using struts html

<input type="text" name="usertxt" value='<bean:write name="user" property="userName"/>'>

i'm able to get value from bean using this bean tag. but i can't assign it to the text box

but i want to use struts html:text tag
so i have done the following but it's not working

<html:text property="AdminName" value='<bean:write name="user" property="userName"/>'/>

Thank u

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic textbox generation into gridview dharmeshtandel ASP.NET 2.0 Basics 3 December 24th, 2007 02:14 AM
dynamic textbox creation badamsreekar ASP.NET 2.0 Professional 1 July 26th, 2007 10:40 AM
Set/Assign an Event to textbox from Code TomW Access VBA 0 November 15th, 2006 11:16 PM
Dynamic Textbox viprsh81 ASP.NET 2.0 Professional 2 July 20th, 2006 04:46 AM
Dynamic TextBox stu9820 ASP.NET 1.0 and 1.1 Basics 2 February 4th, 2004 04:35 PM

All times are GMT -4. The time now is 06:23 AM.

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