Praveen Dharmavaram

Ranch Hand
+ Follow
since Nov 05, 2002
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 Praveen Dharmavaram

I have a JSR168 Portlet which runs on WebSphere Portal Server(5.1). I want to get hold of the user name from the WPS. I have tried to get the username unsuccessfully by doing "RenderRequest.getUserPrincipal().getName()", but the value comes out to be "null". Any Ideas on how to get the username.

Thanks
Praveen
18 years ago
I have a portlet which takes an parameter as a configuration item. I
made a copy of the portlet(via Websphere Portal Admin Console) and changed the configuration item. Now I have two different portlets. I added them both onto a portal page. When I click a function on one of the portlet. The other one changes too. Is there a way I can control this.
18 years ago
Well..what i meant to say was it wasnt the way I wished it to work. But your suggestion help me to get it working the way you suggested.

Thanks
18 years ago
Thanks for the reply. Although that wasnt quite what i was looking for. I managed to get it working.
18 years ago
Hi,

I want to write a generic portlet which would take a parameter at the time of deployment and conifgure itself. Can some one provide me with a sample code on directions on how to get this done.

Thanks
Praveen
18 years ago
Hi,

I have CVS configured to be used by a group of users under CVSUSERS. I have a few repositories created in CVS and all can be accesses by a user in CVSUSERS. How can i place restrictions so that a perticular user can only see a particular repository. Can someone point me or give me some instructions on how to get this done. I am using linux.

Thanks
18 years ago
Hi,

I have CVS configured to be used by a group of users under CVSUSERS. I have a few repositories created in CVS and all can be accesses by a user in CVSUSERS. How can i place restrictions so that a perticular user can only see a particular repository. Can someone point me or give me some instructions on how to get this done. I am using linux.

Thanks
I used "url jdbc:timesten:client:WebNmsDB.." to connect to the DB locally. But when I try "url jdbc:timesten irect:WebNmsDB" to connect from a remote machine, I get an error. Is there something which needs to be done when you are connecting to the DB remotely. Do we need to create an ODBC connection to the remote DB.

Thanks
Praveen
How can i access timesten DB using an odbc-jdbc driver? Can some one provide me sample code.

Thanks
Praveen
I get a resultset from SQL Query which looks like

FirstNameLastNameUseridphonephone_seqdefaultphonetype
------------------------------------------------------
bobdole100234567890101ent
bobdole100234567890211ent
johnsmith101234567890303per
johnsmith101234567890413per
johnsmith101234567890523per
johnsmith101234567890633per


I want to know if there is an easy of parsing this resultset andput them into hashmaps

hashmap1
--------
Firstname=bob
Lastname=dole
userid=100
phone1=2345678901
phone2=2345678902
default_phone=1
type=ent

hashmap2
--------
Firstname=john
Lastname=smith
userid=101
phone1=2345678903
phone2=2345678904
phone3=2345678905
phone4=2345678906
default_phone=3
type=per


Any help is appreciated.

Thanks

[Bear edit: adjusted title]
[ April 07, 2005: Message edited by: Bear Bibeault ]
Well, Thanks for your response. I did get that going. What i was looking for was to have a form, which represents an XML and then once you submit, it would transpire to XML and be submitted to the Servlet. In other words, I would liket to have a form as XML with editable fields.

Thanks
Praveen
19 years ago
Hi,

How can i build an XML in JSP and passit on to Servlet ?

Thanks
Praveen
19 years ago
I have a lot of JSP's which include other JSP's. I am trying to use the JSP compiler which comes with WebSphere 5.0. The JSP's wont compile and generate errors. When I dont compile and just have the servlet compile them at runtime, they compile without errors. Can Some one help me?


For Ex:-

test.jsp
--------
<html>
<%
String abc = "abc"
%>

<%@ include file="test1.jsp" %>

</html>

test1.jsp
---------
<P> This is a test <%out.print(abc);%></P>
19 years ago
JSP
You can try looking at a tool called "load runner" and "AK Stress". These are the two tools I worked with before.
19 years ago
Thanks for your response. But I had to do this as one of our customer uses the legacy browser. So there is no choice for me. Can some one please help me.