Hi,
We are presently trying to address the following issue:
Our application needs to publish data to various sites, the form fields and data
for which are separate for each. As an example, say a supplier wants to add his
product to the catalogs of 10 websites that maintain such catalogs. Typically
he goes to each of these websites, logs in and fills up a form. The form fields
and data for each of these are different from each other - so the data entry
form on site A has:
Product Name
Product Description
Sale Price
and so on
while that on site B has:
Product Name
Quantity Offered
Date of Availability
Sale Price
Discounts
and so on
Now suppose that the user adding his product has all the relevant information
available to him. Thus it implies that he has an xml file (say) with all the
relevant information he wants to post and default values for the other fields.
The file looks like
<name> Cookies </name>
<ID> 101 </ID>
<Description> blah blah <Description>
<price>$100<price>
<Quantity> 12 </Quantity>
and so on.
Now to what we are trying to do:
We will manually maintain a mapping file for each site.
Thus the mapping file for site A will look like:
name, Product Name # indicates that name mapps to Product Name
Description, Product Description
and so on...
while for site B,
name, Product Name
price, Sale Price
Quantity, Quantity Offered
and so on.
We are trying to explore the possibility of a servlet being able to login to
each site, opne the data entry form page and POST the data in the forms after
reading the mapping files. The mapping files will be maintained manually.
Any pointers on how to achieve this are most welcome.
Regards
Nitin Goyal
Webrizon eSolutions Pvt. Ltd.,
B-31, Sector 5, Noida-201301 (UP) INDIA
Tel (O) : 91.118.4421319, 4421320. Cell : 91.9810353030
email: [EMAIL PROTECTED]
There is no failure except in no longer trying.
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html