aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes calls servlet onchange event Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "calls servlet onchange event" Watch "calls servlet onchange event" New topic

calls servlet onchange event

phani kon
Ranch Hand

Joined: Apr 06, 2005
Posts: 251
Onchange event I want to call a servlet . How it is possible?
[ December 14, 2005: Message edited by: lakshmi manepally ]
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60082

How would you submit a request to any other resource? Fromt he point of view of HTML and Javascript, they're all just links.
[ December 14, 2005: Message edited by: Bear Bibeault ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
phani kon
Ranch Hand

Joined: Apr 06, 2005
Posts: 251
for example like webPath + "servlets/ExceedAppServlet";
phani kon
Ranch Hand

Joined: Apr 06, 2005
Posts: 251
I am calling a servlet like below using javascript
var sHelpPage = webPath+"servlets/IncidCatServlet";, "_help");

It calls that particular servlet and opens the next window, but it remains open the last window also. I want the last window to be closed whenever the it calls the second window, how can I acheive this.

Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376
You can not close the window if JavaScript did not open it.

so use
and you will not have to worry about pop up windows.

I agree. Here's the link:
subject: calls servlet onchange event
Similar Threads
have anyone got the solution?
help with select script
problm in calling function
programmatically trigger an onselect event for a dropdown
JSP functions