Ananth Ram

Ranch Hand
+ Follow
since Jan 18, 2001
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 Ananth Ram

Yes, the four characters.

null.

Thanks, I am going over the XPath Expressions.
The expressions were not correct.

Able to retrieve the values from the same.


Thanks, I tried both "\\" and "\". When I print on the console, I get to see only null.
But the iterations exactly match the <jar> under <test> only. But, how do I retrieve the value say 3, 4 or 8, 9.

Thanks,
Ananth
I am newbie to XPath. I have the below file, to parse and retrieve the <jar> under <test> only and ignore <jar> under <subcomponent>. I am using XPath for the same.



The code,


When I retrieve, I am not getting the value. Please someone help me.

Thanks,
Ananth
Thanks, used the console to debug the message, included system property webstart/true. All worked fine.

10 years ago
Thanks, when I relaunch clearing the cache, I am able to access the jars. But when I move the same jar to sub folder, /myapp/jars/apps. Then I get to see the message on the console when I launch JNLP file,



Any pointers on where to look and possible cause of not recognizing the folder.

Thanks,
Ananth
10 years ago
Hi,

I have the below JNLP file. I have created the appropriate folders, when the jnlp file downloads, message the system cannot find the specified path is seen at the console.



I have the jars signed, and placed them under the folder jars/apps/jdo.jar

Could some one help me.

Also, tried launching from the url, it prompts me to open/save the jar file. When I include along with other jars within jars folder, the console throws Unable to load the resource file (jdi.jar)


Thanks,
Ananth
10 years ago
I have a fixed table layout with width being 425px. It is a table with 200 rows. When the user un-select the checkbox specifying the column, the column is hidden. When the column is hidden, the table is left with the space on the hidden column and the other column width is resized.
Could some one point me on the fix?






And the java script,



Thanks,
Ananth Ram
Hi All,

I need some pointers to start on fixing the box model issue. The layout is nice in FireFox browser and in IE it is ugly. I am using to specify the width, height in px and start to debug in both IE and FF using Development Tools and Firebug for FF.

Typically,





When I debug in IE 8 using development tools, the width is 266 X 24 and I have specified 150px on col2.

Could some one point me on the same.

Thanks,
Ananth Ram
Thanks,

I will have the properties file copied to the WEB-INF/classes folder using ANT script like other cfg files.

Ananth Ram
I meant the web project.

Root--> test.properties, file included.
Root --> src is the folder where my struts action package and other java code resides.
Root --> web is the folder where the jsp, css/images,etc resides.

I want to place the file under the root folder and read the same. Please let me know if I am not clear.

Thanks,
Ananth Ram


Hi All,

I have created a properties file under the root of my project. I would like to read the file to retrieve some config values. Could some one point out the path to determine the file.

I am able to read the file when I place the file under WEB-INF/classes/test.properties with the below code.



Thanks in advance for your help. It is a JSP / Struts application.

Ananth Ram
The "text/plain" works fine.




Thanks for pointers.

Ananth Ram
10 years ago
Also the file does not have an extension like txt/doc. It is plain. I tried setting to "text/plain", did not work.

Thanks,
Ananth Ram
10 years ago
Thanks Bear,

So, do you mean I need to specify just text instead of "text/html", or any other options. Please let me know.

Thanks,
Ananth Ram
10 years ago
Hi All,

I am trying to open a license file using Servlet in a new browser window. The file opens, but the format is not correct.

Example , input file is as below.


In the browser, the output is as below.
Typically my code in the servlet is below.



Am I missing something on formatting/contentType. Could someone help me out.

Thanks in advance for your help.

Thanks,
Ananth Ram
10 years ago