File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts <html:textarea> with default text

 
Deepak Kumar Jena
Ranch Hand
Posts: 68
Hibernate Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My requirement is :
1. To display a default text in a textarea.
2. The default data has to be read from the ResourceBundle.
3. The data in the textarea cannot be edited.

It is possible to achieve the task by using <html:textarea>?

If yes, then how?

The code I am trying with is as follow:
UserRegistration.jsp


MessageResources.properties


struts-config.xml


The JSP is successfully getting generated, but the default data is not getting displayed.

Suggestions will be appreciable.
 
Deepak Kumar Jena
Ranch Hand
Posts: 68
Hibernate Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By mistake, posted the topic in ORM instead of Struts. Gentle request to the Sheriffs and Bartenders to be kind move it to the Struts Forum.
 
Deepak Kumar Jena
Ranch Hand
Posts: 68
Hibernate Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Waiting for suggestions.........
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic