Im new to Servlets - general question
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Darren_Jackson
Posted On:   Wednesday, January 17, 2007 07:05 AM

Hi people.


I am trying to create a small application that uses a MIDlet to connect to a servlet which returns data.


My question is, is it possible to connect to a servlet that can then return information to the MIDlet itself rather than having to display the information on a .jsp page?


Any help would be great.


Thanks.


Darren

Re: Im new to Servlets - general question

Posted By:   Amir_Pashazadeh  
Posted On:   Friday, January 19, 2007 06:02 PM

A servlet can return an stream (binary or text), so you can implement a servlet which returns an image, a pdf file or ..., or html contents.


So you can implement a servlet that returns what you need.

About | Sitemap | Contact