File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes My Jsp not able to initialize Active X Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "My Jsp not able to initialize Active X" Watch "My Jsp not able to initialize Active X" New topic
Author

My Jsp not able to initialize Active X

Naresh Saw
Ranch Hand

Joined: Sep 03, 2005
Posts: 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


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

Joined: Jan 10, 2002
Posts: 50691

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]
 
 
subject: My Jsp not able to initialize Active X
 
Threads others viewed
onload not working with jsp
Setting the value for a input field in a form with javascript
Trying to evaluate lt%= fieldName.toString() gt from with an onblir
Struts action mappings not working correctly
Open PDF file by AJAX holding the button
IntelliJ Java IDE