File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Oh no... i'm doomed... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Oh no... i Watch "Oh no... i New topic
Author

Oh no... i'm doomed...

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
hey man, i need help just like michael...
well, you see i have a onClick function that would be the Javascript hook to call a java function... the problem is, as i have learned reading other problems here.
now my question is, how will you call a java function in a jsp in a input type button?
-=[vince]=-
vaibhav punekar
Ranch Hand

Joined: Jan 20, 2001
Posts: 134
If you have only one button in yout form why don't you use input type "submit" and give action to your <form>tag.
<form name="" action="../../sth">
<input type=submit name="">.
If you have multiple buttons in the form you better use <img src="">tag.And give the path for the image that resembles your button.Is it ok?


VAIBHAV <BR>SCJP
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Oh no... i'm doomed...
 
Similar Threads
Call a javascript function from a JSP
Java Objects and JNI
Calling a Servlet (Urgent)
How to call Javascript function from an Application.
How to add items in the dropdown list dynamically on radio button selection