aspose file tools*
The moose likes Servlets and the fly likes perform different tasks with different calls to a servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "perform different tasks with different calls to a servlet" Watch "perform different tasks with different calls to a servlet" New topic
Author

perform different tasks with different calls to a servlet

harsha galla
Greenhorn

Joined: Sep 24, 2008
Posts: 18
I have a user interface built using flex, it has different forms and some lists which are populated dynamically when page gets loaded. In the back end i have a servlet which processes requests from the user interface. How can I make the servlet do different tasks depending on different calls from the same front end.

Thanks in advance....
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3855


harsha galla
--------------
How can I make the servlet do different tasks depending on different calls from the same front end.


you can have different query strings attached to different request from the front end and identify them seperately (using if clause or something) in the backend(i.e: your servlet).


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
harsha galla
Greenhorn

Joined: Sep 24, 2008
Posts: 18
Thanks for your reply, my concern is how do you have different query strings. I have built similar application using jsp's wherein i had hidden input field to have different query strings but iam new to flex and so do not know exactly how it could be done.
 
 
subject: perform different tasks with different calls to a servlet