This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 3817


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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: perform different tasks with different calls to a servlet
 
Similar Threads
How to pass the DTO to the dao implementention layer
Extreme Planner and "drilldown"
One servlet/use case or command pattern?
What Servlet can do which a jsp cant or viceversa ?
What happens to threads started from a Servlet when Tomcat is stopped?