Naresh Saw

Ranch Hand
+ Follow
since Sep 03, 2005
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Naresh Saw

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
12 years ago
JSP
Dear Friends


we are working on a project which require dynamic creation of image. The images should be created from different components. The best example is star schema where objects are Fact and Dimension. We have to produce the relationship among the object with image. eg. there are five componets F1,D1, D2, D3 & D4. Now Fact object F1 should be in center and all Dimensions D1,D2,D3 & D4 should be linked with the Fact F1. Is there any way to do it.


Thanks
Naresh Saw
15 years ago
Hi

I am new in XML Binding. My Schema compiler is generating few classes only, not interfaces and properties file, hence when I create an istance of JAXBContext it throwing exception.

Can anybody suggest me the solution?

Thanks
Hi All

I am new in Weblogic 8.1. While I am running this code, it says ClassNotFound "weblogic.jndi.WLInitialContextFactory" error.


The code is as follows :

Context ctx = null;
try {
Hashtable props = new Hashtable();
props.put(Context.PROVIDER_URL, providerUrl);
props.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
}catch (Exception e) {
logger.error(e.toString(),e);
}
16 years ago
Hi all

I have a variable set like this

<c:set var="i" value="5.6" />

How can I round it?
I want output : 6.0

What is the way?
16 years ago
JSP
Hi all

here is the code and output, i want explanation.

class A{
static int i=5;
static{
System.out.println("A");
}
}

class B extends A{
static int i1=6;
static {
System.out.println("B");
}
}

public class Test {
public static void main(String arg[]){
System.out.println(B.i);
}
}

The output is :
A
5

why not
A
B
5
Hi all

I am working on a reporting tool development.

The structure of a report is as follows :
1. I have two XMLs which keep information about a report, one xml file contain the summary information abt the report like how many sections are in report, how many list are in a section.
2. The list contain the data of the report.


Now I want to read these two xmls and show all node data in particular section on presentation side. some sections are repeating while some are not.

plz help me in solving the situation efficiently.

thanks
hi
even i m looking for such type of help. As u r making it just tell me the API's available for drag n drop.

thanks
16 years ago
hi all

i haven't worked on swing. my company work on reporting tool. Now they need a web based report designer having drag n drop facility. how can we make it?

thanks
16 years ago
hi all

plz help me in updating an XML node by searching its id and updating its element. i m using JDOM.


thanks all
hi all

how to import class file in jsp which r not in any package

this is not working

<%@ page import="Test" %>
16 years ago
JSP
hi all

i m new in XML. how can i update and XML file with existing element and if element doesn't exist, i want to add?

thanks
Hi All

Today i cleared SCWCD wtih 78%. The questions of Tag library was quite tough. It wasn't like the way HFSJ has given. I scored very poor in that.

But I prepared it in only one & half months , so I think according to it the score is okay.

Good Luck to all who preparing for SCWCD.
thanks all


but if somebody ask u how u make ur servlet/jsp thred safe, not explicitly asking u context, session, request attibute, what will be ur answer.

again the page directive <%@page isThreadSafe="true"%> which is by default say that jsp is thread safe.

again confusing thing.

any clarifiction abt it.
hi all

is servlet/jsp thread safe?