Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Is it possible to call servlet with parameters in the URL?

Answers were Sorted based on User's Feedback



Is it possible to call servlet with parameters in the URL?..

Answer / muhammad farhaan

If HTML form submitted with Get request to servlet URL
which is defined in action attribute of HTML form then form
values are sent as a name value pairs appended at the end of
URL calling servlet. List of parameters is separated by ?
sign with rest of URL and paramter are append to the list of
paramter as name value pair separated by & sign. You can
manually attach the paramters as a list of name value pairs
separated by & sign at the end of query string followed by ?
sign.
The maximum length of URL changes across the browser
generally you can not send more than 255 characters long URL
string so keep in mind that when you send paramters with URL
string then whole length of URL must not be more than 255
character.

Is This Answer Correct ?    8 Yes 1 No

Is it possible to call servlet with parameters in the URL?..

Answer / ravikiran.chd

yes...those parameters can be accessible with
request.getParameter() or request.getParameterValues()

Is This Answer Correct ?    6 Yes 0 No

Is it possible to call servlet with parameters in the URL?..

Answer / joak

yes, is posible.

Is This Answer Correct ?    5 Yes 1 No

Is it possible to call servlet with parameters in the URL?..

Answer / gg

can i call parameters value if it Arabic Words i call it but
get unreadable text

thank

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Servlets Interview Questions

What are the difference between RMI and Servlets?

0 Answers  


What are the uses of servlets?

0 Answers  


What is http servlet in java?

0 Answers  


What are the difference between session and cookies in servlet? Explain

0 Answers  


What is the difference between ExecuteUpdate and ExecuteQuery?

4 Answers  


Why is a constructor needed in a servlet even if we use the init method?

0 Answers  


what do you understand by url rewriting?

0 Answers  


Difference between java beans & servlets?

0 Answers  


How do I support both get and post from the same servlet?

0 Answers  


Why are servlets used?

0 Answers  


Explain the features are in servlet 3?

0 Answers  


What is MIME Type?

0 Answers  


Categories