-
How do I invoke a servlet from HTML or ASP page?
Hi,
I'm new to servlet programming. I need the syntax to invoke a servlet from
HTML or ASP page. I'm taking
an input on the page like Name. And I want to pass this as a parameter to
the servlet and the servlet
verifies whether there was some name written or not. Accordingly it says
Hello + user name or displays a
message "You did not enter anything"
Thanks in advance
Manika
-
Re: How do I invoke a servlet from HTML or ASP page?
It's just a URL, as if you were asking the Web server to send a page. It's
usually something like http://www.infogain.com/servlet/HelloThere but look
in the documentation for the Web server that's hosting the servlets for
details.
Manika <manikab@infogain.com> wrote in message
news:394ebb36$1@news.devx.com...
>
> Hi,
>
> I'm new to servlet programming. I need the syntax to invoke a servlet from
> HTML or ASP page. I'm taking
> an input on the page like Name. And I want to pass this as a parameter to
> the servlet and the servlet
> verifies whether there was some name written or not. Accordingly it says
> Hello + user name or displays a
> message "You did not enter anything"
>
> Thanks in advance
>
> Manika
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks