Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa JSP-Servlet callig jsp file from javascript function
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


soni
callig jsp file from javascript function
1 Answer(s)      5 years and 7 months ago
Posted in : JSP-Servlet



Advertisement
View Answers

April 15, 2009 at 2:10 PM


Yes it is possible to call either jsp pge or html page from one html form.
even u dont need to open script tag for this.
jus try this code at <form> tag.

<form onClick="javascript:location.href='b.jsp'">
</form>


javascript onclick method will do that.that "b.jsp" is the name of the target file.
thanks.......


Related Tutorials/Questions & Answers:
callig jsp file from javascript function - JSP-Servlet
callig jsp file from javascript function  I want to call a jsp file from javascript function. What I want to do is Whenever a user clicks on a form in html, the function should call specified jsp file.The form has no dynamic
Displaying the values in text fields of a form from a javascript function in jsp
Displaying the values in text fields of a form from a javascript function... to call a javascript function by passing 3 values from applet. And i have... and javascript function must be available in the same web page. Any help
Advertisements
Read Text file from Javascript - JSP-Servlet
Read Text file from Javascript  plz send the code How to Retrieve the data from .txt file thru Javascript? And how to find the perticular words in that file
how to call javascript function from flex
how to call javascript function from flex  how to call javascript function from flex
Help with javascript function - JSP-Servlet
Help with javascript function  I've got a button in a for loop.Each... is that the function BookSeat() to change the value of the button being clicked to "You... properties of those clicked buttons to be transferred to the next jsp page
Calling Flex Function From JavaScript
From JavaScript Sometimes, you may need to call flex function from JavaScript... function callable from javascript. ExternalInterface.addCallback... by JavaScript to call the flex function, and the second parameter is the actual
how to invoket javascript function in JSP - JSP-Interview Questions
how to invoket javascript function in JSP  Dear Sir, my question is how to invoke javascript function written in .js file into our JSP. using which tag in JSP this is possible
Invoke JavaScript function from servlet
Invoke JavaScript function from servlet You have learnt several servlet... function from the servlet. Embedding JavaScript in Servlets can be useful when... the particular record to delete. This delete button calls the javascript function
Calling Anonymous JavaScript Function From Flex
: #FFFFCC; } Calling Anonymous JavaScript Function From Flex In flex application, you can call javascript function defined in html file where your flex file is embed. But you can also call an anomymous javascript function
JSP Value to JavaScript
to pass the value from JSP to JavaScript. The JavaScript create a function... a function addition() which takes the value from the jsp page. When a user click... JSP Value to JavaScript   
calling a javascript function by passing multiple values from applet in web application
calling a javascript function by passing multiple values from applet in web application  Hi all, I have a requirement like this, I have to call a javascript function from JApplet by passing 3 values. I am new to Applets
passing value from javascript to jsp - JSP-Servlet
passing value from javascript to jsp  Hi... Is there any way to get the value from the javascript and print it on the current jsp page or print an array onto the current jsp page using javascript  Hi Friend, We
how to call the array variable in scriptlet from javascript function
how to call the array variable in scriptlet from javascript function  This is the scriptlet code:- <% String[] abc={"saab","volvo","bmw","Benz... and display them in the dropdown list by using the below function function myFunction
UIWebView call javascript function
from UIWebView. Please let's know how to call JavaScript function from objective c code? Thanks   Hi, You should develop javascript in your html file say: <Script Language="JavaScript"> function sayHello(){ alert("hello
Call servlet from javascript - JSP-Servlet
Call servlet from javascript  Hi in my application i have jsp... , in my jsp i have provided an upload button thet upload single column excel file... form in jsp file is Upload plot nos (.xls format
javascript abort function
javascript abort function   I am running a loop and wants to abort it after a specific time. How is it possible using JavaScript Abort function..?   Using JavaScript we can abort function or loop. See the the code below
In JSP page, inside a javascript function, can I place a java code using scriptlet tag?
In JSP page, inside a javascript function, can I place a java code using...() in jsp page. In a separate java file, in a method checkListValue(), I am doing... not empty. Inside the javascript function closeWind(), I make a call
javascript onclick function
javascript onclick function  javascript onclick function   <html> <head> <script language="javascript"> function...; For more information, visit the following link: http://www.roseindia.net/javascript
javascript function - Development process
javascript function  I'm trying to use a remote menu with 4 different menu options. i put the menu names in an array, then tried to call up the on click function with an id number. I've tried everything and nothing works
reading dropdown values from properties file in jsp
reading dropdown values from properties file in jsp  reading dropdown values from properties file in jsp
accessing data from a json file writing javascript or using jQuery
accessing data from a json file writing javascript or using jQuery  I am trying to create a page from json objects using javascript. I have... page is built from this json file, but I can't figure out how to code
if else in javascript function
if else in javascript function  How can i write the else statement in JavaScript to check if the web browser is IE or not? Is there any other way to validate this way ..? Thanks
how to pass form values from javascript of html page to jsp page
how to pass form values from javascript of html page to jsp page   This is my sample html page which contains inline javascript which calculates... to submit all the form values with lattitude and longitude returned from
How to write .properties file from jsp
to implement/write .properties file from jsp. Regards, Venkatesh Gurram...How to write .properties file from jsp  Hi i new to java i stuck here... it in my jsp but Iam unble to modify/write the .properties file and Iam not getting
jsp function - JSP-Servlet
jsp function  how to make function in jsp... i want example of jsp method or function in which on button click function get data fron database... or print the data from database using JSP. http://www.roseindia.net/jsp/submit
function call in javascript - Java Beginners
function call in javascript  hi all, i've written a javascript , but i m unable to call a function getExpression.i dont know why getExpression function is not being called. heres my code : function
How to read and display data from a .properties file from a jsp page
How to read and display data from a .properties file from a jsp page  I have a .properties file. I have to create a jsp page such that it reads the data from this .properties file and display it in table format. Ex:by using
write to file from servlet - JSP-Servlet
write to file from servlet  Hi, I have a jsp file where I input... right data on the web site. I am also trying to write this data to file... JSP Page //<
JavaScript array length function
JavaScript array length function In this Tutorial we want to describe you a code that help you in understanding JavaScript array length function. We are using  JavaScript language as scripting language. The var array instantiate
Null reference error in javascript function?
Null reference error in javascript function?  ?° want to use..., this error doesn't occur. The error comes from tb_show function. My code: function writeCookie(CookieAdi) { var dtGun = 1 var strValue
Unable to call .jrxml file from jsp
Unable to call .jrxml file from jsp  Hi, I am doing web application in jsp. To create report I have used ireport and interated with neatbeans using plugin. After creating report in netbean when i call that jrxml file
 

 

 

DMCA.com