• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Update web page with data from other pages?

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK, I've been using PCs since the Dial-In BBS days, but I've never had reason to do anything more than simple forms and page-open actions.

Now I need to make a new searchable Inventory page:

It must list every item (X, 2, 3, etc.) that is listed on Site A.
It needs to find the details for item X from Site B.
It needs to ask the Admin for further details and Photo URLs when an incomplete item is added.

Site A and B both use a login page.
Site A can then use absolute URLs to reach the main Inventory listing, which contains URLs to the pages with variable data.
Site B requires an item number from Site A to search for.
Site B uses frames, inside which are the keywords I need to locate.

Does any of this make sense? I need to load my inventory list from one site, fill in the details from another site, make any corrections manually, then load the resulting data into a seperate page for each item, and index those pages with an Inventory page.

Basically, I know what I need to do, but I have no idea how to do it!
Any help is appreciated. I'm not even sure what type of scripting language I should be using.
 
Sheriff
Posts: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This sounds like a lot of stuff for a scripting language (like javascript) to handle. Do you need to use a scripting language or could you use a java servlet to handle the logic?
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"Ford"

Please click on the My Profile link above and change your display name to be your real first and real last name to comply with the JavaRanch naming policy.

Thanks

Mark
 
Mark Spritzler
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Basically you need a couple of things.

One, your contacting the two websites should probably be done on the serverside, using Servlets. The actualy work will be done in Plain Old Java Objects, but the Servlets act as the Door to get to those Java classes.

Two, you would probably need to use the Session object in Servlets to keep state.

I suggest reading up on Servlets and JSP to see if that is the technology you want to use. Also check out Ruby on Rails.

Mark
 
reply
    Bookmark Topic Watch Topic
  • New Topic