File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet" Watch "Servlet" New topic


Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
How to pass variables from perl to Servlet?
Is it possible to do so?
If possible please let me know
Thanks in advance
John Bateman
Ranch Hand

Joined: Mar 09, 2000
Posts: 320
You can passvariables from Perl to Servlets by using the QueryString 'Get' method or Post 'form' method.
In your Perl 'form' or CGI you can have the following as a link to the Servlet. The below method is using the QueryString to pass the information.

SOURCE CODE should be SURROUNDED by "code" tags.
I agree. Here's the link:
subject: Servlet
It's not a secret anymore!