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

Type of Variables In The struts.config.xml

 
JiaPei Jen
Ranch Hand
Posts: 1309
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am working on the struts.config file. And I am stuck in giving a "type" to primitives.

firt name and last name are String(s). Is logon_date of java.util.Calendar type?
The cumulativeGPA is a double and the subscriber is a boolean, how do I specify their type in the configuration file?
Do I simply specify:
<form-property name="last_logon_date" type="java.util.Calendar"/>
<form-property name="cumulativeGPA" type="double"/>
<form-property name="subscriber" type="boolean"/>

[ July 03, 2003: Message edited by: JiaPei Jen ]
[ July 04, 2003: Message edited by: JiaPei Jen ]
[ July 04, 2003: Message edited by: JiaPei Jen ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic