• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

web service that displays jpg files on html

 
feda alshahwan
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to create a web service that takes numbers from client that corresponds to jpg files and returns html page that contains the chosen jpg's . What is the best way to depelop it ?thankyou
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An HTML page doesn't "contain" images - it has links to them. If it's just HTML that's returned, do you really need a web service for this? Of would a standard servlet/JSP web app do as well?
 
feda alshahwan
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to practice web service . How it can be done?
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This isn't good practice. For generating HTML, use a web app, not a web service.
 
feda alshahwan
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The scienaro is changed as follows :
client send numbers from 1-5 it can be one number or 2 or three choices
server send the pictures corresponding to the chosen numbers
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic