Ashish Agrawal

Ranch Hand
+ Follow
since Nov 02, 2003
Merit badge: grant badges
For More
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 Ashish Agrawal

I have defined XSD files for few XML files....all of them having <Transaction> as the root tag. There are multiple XSD files. Now I want to write a base XSD file...which will have root tag as <Request> with multiple <Transaction> node as its children . These children <Transaction> nodes' schema are defined in external XSDs and i want to import them.

The base XML will have <Request> as root tag with any number of <Transaction name="(name of transaction)"> child tags. The Transaction XSD file's name depend upon the "name" attribute of <Transaction> tag.

How can I import these external XSDs into the base XSD file?

Thanks and regards,
Ashish Agrawal.
I cook amazing maggi noodles. While boiling the water I add 1 spoon of butter, 1 cheese cube, little black pepper, ketchup with little garlic paste. Try it ...it tastes yummie.
17 years ago
Refer that techie boring person's name to some consultants. Soon he ll get a better job and will leave your company. :-D Make sure that his new company is not next to yours. hahaha

- Ashish.
17 years ago
The good time is here again....it has started pouring heavily here in Pune.

Time for adventure sports !!!

Regards,
Ashish Agrawal.
17 years ago
Maybe this will help.

http://www-2.cs.cmu.edu/~pattis/15-1XX/15-200/lectures/exceptions/lecture.html

Regards,
Ashish A
[ April 12, 2005: Message edited by: Ashish Agrawal ]
Will this code give any compile time error? Why?



Thanks,
Ashish Agrawal
Does anybody know how to precompile all the jsp files on or before startup of a webserver? (I am using Tomcat 4.0)

Like .... maybe using jspc.bat....but it just translates the jsp to .java file....but doesn't compile. Each jsp gets compiled only on first http request.

Is there any way to do this using ANT?

Please reply ASAP. Thanks.

- Ashish Agrawal
18 years ago
JSP
To be more specific.....

Does anybody know how to precompile all the jsp files on or before startup of tomcat 4.0?

Like .... maybe using jspc.bat....but it just translates the jsp to .java....but doesn't compile. Each jsp gets compiled only on first http request.

Is there any way to do this using ANT?

Please reply ASAP. Thanks.

- Ashish Agrawal
18 years ago
Hello,
How can I precompile ALL the JSP files in tomcat 4.0 on start-up? Is there any way using web.xml?

Thanks,
Ashish Agrawal.
18 years ago
Hello All,
I got the solution.
The problem was Oracle was not using the index created on my order by column (Product_Name). There were 10 more indexes on other columns. Due to this oracle was using the default index which was on the primary key.
I added a hint to my select query forcing oracle to use the index on the above column ... something like this -

Select /*+ INDEX(a, IDX_PROD_NAME) */ * from Products a order by Product_Name;

It reduced the query execution time from 120 secs to 0.2 secs.


Thank you.
- Ashish Agrawal.
[ February 04, 2005: Message edited by: Ashish Agrawal ]
Hello,
My client is using a product for managing data consisting of millions of records.
My problem is related to sorting of data on an alphanumeric column - Product_Name. A non-clustered index is created on it. Product_Id is the primary key. It is taking more than 20 secs to display 100 records.
The problem is oracle specific, because the query itself is taking that much time.

The query is something like -
"select <column-names....> from Products order by Product_Name"
Hello Everybody,
I am getting the following error while loading DB2 driver in SQuirrel.

java.lang.UnsatisfiedLinkError: no db2jdbc in java.library.path

For Classname = COM.ibm.db2.jdbc.app.DB2Driver


Squirrel is loading Db2 net driver successfully for class COM.ibm.db2.jdbc.net.DB2Driver

Please help me connecting using the above class. Thank you.

~ Ashish Agrawal.