This week's book giveaway is in the Design and Architecture forum.
We're giving away four copies of Communication Patterns: A Guide for Developers and Architects and have Jacqui Read on-line!
See this thread for details.

kademane guru

Greenhorn
+ Follow
since Feb 20, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by kademane guru

Dear Javaranch,
In java can we access child class members in super class?
if yes give me some examples.


Regards
Kademane Gururaja
14 years ago
Hi Janeice,
Thanks.Your logic will work , i feel there is no option apart from this.
if you find any other way to solve this please help me.

Regards
Kademane Gururaja
14 years ago
There is a class A with 10 methods,
class B is extending class A here we should allow to implement only 1st 5 methods thats it, remaining last 5 methods we should not allow to implement here,
class C extends class A this class has to implement the last 5 methods only and 1st 5 methods should not allow to implement here.

Please can anybody help me out ?
Regards
Guru
14 years ago

Originally posted by sandeepamarnath sandeepamarnath:
HI Im sandeep,
Im using struts 1.1 I18N and i want to internationalize the dynamic data i.e. i want to print the data from the database in different languages.
can any one help
Thanks in advance



Hi Sandeep,
I am doing i18N using struts. In my project i want to display the static text which is there in JSP page in different language. please help me how to suceed in this?. And here how i should set the locale key for different language(i shouldn't set the locale in browser).

Looking forward from you.

Regards
Gururaja.k
16 years ago
Hi JavaRanchers,
I want find the alert() itself in a javascript file(i.e how many alerts are there in one .js file) and also the line number of that string.Please can anybody help me how to solve this problem?.
[ May 06, 2008: Message edited by: kademane guru ]
16 years ago
Hi JavaRancher's
I am working on jasper report,in this i am able to display images in HTML format,but i am not able to export or dipslay images in EXCEL or PDF format.
I wrote following code in reports to display images in all format.

<image isUsingCache="false" isLazy="true">
<reportElement x="168" y="15" width="80" height="20"/>
<imageExpression class="java.lang.String"><![CDATA[$R{logo}]]>
</imageExpression>
</image>

In my projects i need to display images in Excel and PDF format.
Please help me out in this with some examples.
16 years ago
Hi JavaRancher's

In our project, to generate reports we are using JasperReports tool,we are able to display images in HTML format but same images are not displaying in Excel And PDF format,please help me out in this with some examples.



Regards
kademane Gururaja
Hi Rahul Bhattacharjee,

i got your idea but i want the examples on this( about cache implementation through HashMap).so please provide me, this will help me a lot.

Thanks & Regards
Kademane guru
Hi Javaranchers,

in our product once we hit the database we will store that data into sessions, that session we will use to display data in jsp page.

problem.
suppose if we want the same set of records for so many times means we will hit database those many times, this will reduce the performance of our product.
now we should hit the database only one time for same set of records
and we should keep that record in some buffer like cache,from this cache we should get the records as many times we want. so how to do this?
we are implementing our product using struts framework
please help me out...........
plese provide some examples on this.
Hi Ulf Dittmer sir,
thanks for reply. but i dont know, how to read the XML Tags from the proeprty file. please guide me how to do this ?

Thanks
Kademane guru
Hi Ulf Dittmer,
thanks, just i am getting some idea on XML.
i have some problem in my project.

let me explain my project first
in my project i am hardcoding some values(tags with values) in one XML file that file i am showing below.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<Order>
<Manifest>
<Item>
<NAME>

<Name> Name</Name>
<Namelength>5</Namelength>
<Beginlength>10</Beginlength>
<Contains>10,20,30</Contains>
<Storequalification>nothing </Storequalification>
<Suffix>:</Suffix>

</NAME>

</Item>
</Manifest>
</Order>

i am doing my project using struts framework.

now i will tell my probelm.
1) I want read the tag names(i.e name,namelength,Beginlength,Contains) dynamically in struts action class, like if one array contains 10 values means we use for loop and we will print all the 10 values,like this i want to read only all the tag names which are in XML file.

2) I want read the tags like name,namelength,Beginlength,Contains etc.....
along with the values of the tags in the action class(struts action class),without hardcoding the tag names.

please provide the solution for this problem with some examples.


Thanks
Kademane guru
Hi Merrill Higginson,
thanks and please send me some good example's URL regarding XML, then it will be easy form me to understand.

Thanks & Regards
Kademane guru
i am new to XML, i want to know how to read XML data in the java class?
without hard coding any things in java class. please help me out with some examples.
i am working on struts and i am following MVC architecture in my project.In my project i have left menu, it consists of 5 menus just assume 5 menus are A,B,C,D,E and each menu consists of so many features. when i login as userid = "admin" and password = "admin" then the left menu should consists of all the 5 menus(A,B,C,D,E) and their corresponding features in the next page. when i login as userid= "manager" and password = "manager" then the left menu should consists of only 2 menus called D,E and their corresponding features other menus should not display in the next page. so please can any body provide the solution on this problem? please provide with some examples on this.
17 years ago
Hi Joe Ess
ya like it is related to both html and struts jsp tags.
i will tell now what tag i used in jsp page to open the files through the browser i.e
<html:file property= "selectedresume"> </html:file>
here property is of type FormFile.
like this i want the help in how to open only the folders through browser.
please provide some examples on this.

Thank you
gururaja