aspose file tools*
The moose likes Web Services and the fly likes web service that displays jpg files on html Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "web service that displays jpg files on html" Watch "web service that displays jpg files on html" New topic
Author

web service that displays jpg files on html

feda alshahwan
Ranch Hand

Joined: Jul 26, 2008
Posts: 170
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
Marshal

Joined: Mar 22, 2005
Posts: 42599
    
  65
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?


Ping & DNS - my free Android networking tools app
feda alshahwan
Ranch Hand

Joined: Jul 26, 2008
Posts: 170
I need to practice web service . How it can be done?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42599
    
  65
This isn't good practice. For generating HTML, use a web app, not a web service.
feda alshahwan
Ranch Hand

Joined: Jul 26, 2008
Posts: 170
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: web service that displays jpg files on html