The most intelligent Java IDE
[Logo] JavaRanch » JavaRanch Saloon
  Search | FAQ | Recent Topics | Hot Topics
Register / Login


Reply Bookmark it! Watch this topic JavaRanch » Forums » Java » JSP
 
RSS feed
 
New topic
Author

My Jsp not able to initialize Active X

Naresh Saw
Ranch Hand

Joined: Sep 03, 2005
Messages: 66

Dear All,

I am facing a strange problem.
which is as follows:

1. I have a JSP/HTML having a button scan.
2. On click of scan button, a javascript funtion (scan) is called.

3. The javascript function (scan) call another javascript function (scanPhoto).

4. The method scanPhoto is saved in a js file. The method scanPhoto use an Active X. The function of Active X is to load available TWAIN scanner in client system.

When I am running My JSP/Html file through j2ee application context root (http://server:port/Test/TestScanner.jsp/htm), the Active X does not get initialize.

If I keep TestScanner.htm in C: drive or any where in system and open it in IE, the Active X work properly and giving me desired output.



Thanks
Naresh Saw

This message was edited 1 time. Last update was at by Naresh Saw


naresh<br />SCJP 1.4(86%), SCWCD 1.4(78%)
Bear Bibeault
Author and opinionated walrus
Sheriff

Joined: Jan 10, 2002
Messages: 36467

Naresh Saw wrote:Please help me. It is very urgent.

This has made me lose all desire to spend any time on this. Please read this for more information.

[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
 
 
Reply Bookmark it! Watch this topic JavaRanch » Forums » Java » JSP
 
RSS feed
 
New topic
hibernate profiler