This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes java script for open jsp file 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 » Engineering » HTML, CSS and JavaScript
Bookmark "java script for open jsp file" Watch "java script for open jsp file" New topic
Author

java script for open jsp file

reena Mehta
Greenhorn

Joined: Nov 17, 2010
Posts: 24

I just want to write java script code for opening any jsp file.
please help me
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60752
    
  65

JavaScript knowns nothing about JSP, so this isn;t a JSP question. I've moved it to the JavaScript forum.

What do you mean by "open the JSP"? Do you mean display the result of the JSP like after clicking a link?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
reena Mehta
Greenhorn

Joined: Nov 17, 2010
Posts: 24
no i just want to open JSP file like index.jsp
Swastik Dey
Rancher

Joined: Jan 08, 2009
Posts: 1449
    
    6

Open a new jsp window or open a jsp page in another window?

window.open("mypage.jsp");


Swastik
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60752
    
  65

You still haven't defined what you mean by "open".
 
 
subject: java script for open jsp file
 
Similar Threads
Java Script variable in JSP
Precompile JSP in Weblogic 5.1
how to use javascript in struts form?
how write java script for opening JSP file
Performance and JSP include...