aspose file tools*
The moose likes Struts and the fly likes Type of Variables In The struts.config.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Type of Variables In The struts.config.xml" Watch "Type of Variables In The struts.config.xml" New topic
Author

Type of Variables In The struts.config.xml

JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Type of Variables In The struts.config.xml