aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes calling a servlet from html Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "calling a servlet from html" Watch "calling a servlet from html" New topic
Author

calling a servlet from html

preethi Ayyappan
Ranch Hand

Joined: Oct 04, 2007
Posts: 518
Hi,
I am having a html form which consist of two frames.In one frame,one html file is called and in another frame the other html file is called.i that html, i need to call the servlet .I had given the tag like this

But i am getting a blank page.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42608
    
  65
When are you getting a blank page? The page you posted above will of course be blank, since it contains no elements that would have a visual appearance.

As an aside, how were you planning on submitting the form, seeing that there is no submit button?
[ May 07, 2008: Message edited by: Ulf Dittmer ]

Ping & DNS - my free Android networking tools app
Marco Ehrentreich
best scout
Bartender

Joined: Mar 07, 2007
Posts: 1282

Hi preethi,

what do you think this page should display? There's nothing but an empty form tag in your HTML body, so there really is nothing to display for the browser. If you don't have some form elements to collect the data you want to transmit to your form action servlet there won't happen anything.

Or did I get you wrong with this question?

Marco
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: calling a servlet from html