Shashi Prakash

Ranch Hand
+ Follow
since Mar 28, 2007
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 Shashi Prakash

Hi ,

I am trying to populate one dropdown depndign on value from other dropdown . And For this I am using ajax .
I am able to fetch teh data but I am not able to put those at proper place .

I mean second after first one .

here is the code :

<s:textfield key="dda_Token_Name" label="Name" required="true"/>
<s:textfield key="dda_Token_Description" label="Description"/>
<s:select theme="ajax" name="dda_Token_Type_Id" list='ddaTokenTypeList' listKey="dda_Token_Type_Id"
listValue="dda_Token_Type_Name" label="Type" required="true" headerKey=""
headerValue="-- Please Select --" onchange="javascript:show_details();return false;"
/>
<s:url id="d_url" action="DDATokenDetailForTokenAction" /> <s:div showLoadingText="true"
id="details" href="%{d_url}" theme="ajax"
listenTopics="show_detail" formId="frm_add_edit_token">
</s:div>



the last one generated usign ajax is comign at top of first text field .

Can anyone help me with this
15 years ago
"Speaking from experience, it is a nightmare to manage security policies at the user level rather than the group/role level."


Yes, we will be applying security at role level only but still we have so many roles and group to manage and all these roles/group will have different database Credentials and we will be needing connection pooling for sure and also at role/group level .

I was looking around and found soemthing like "Implicit Connection Caching" provided by oracle 10 g . If this is sufficient (http://www.stanford.edu/dept/itss/docs/oracle/10g/java.101/b10979/conncache.htm).?
15 years ago
Basically we are planning to have OLS (Oracle Label Security) in our database and for this we will be making different set of user with different privileges ( Some of users will have different access to any row depending on data label of this row )

And to achieve this from application we need to have user logging to Database using different credentials .

I can see such thing in Oracle C++ Call Interface (OCCI) and also In Weblogic (http://download.oracle.com/docs/cd/E11035_01/wls100/jdbc_admin/jdbc_datasources.html) .

But I am looking to implementing same in Jboss server . I know if I won't find anything then we will have to write our own pooling logic .. but I was looking if someone has already done this or if there is any work around .
15 years ago
Yes , but there is something like Identity based connection pooling in Weblogic server . If we have anything like this in Jboss or else we can achieve this by different means .
15 years ago
Hi ,

Is Identity-based Connection Pooling facilty there in Jboss like Weblogic. else is there any way to achieve this ?
15 years ago
Hi ,

We are planning to have new application where we are going to have oracle database and here we will have OLS ( ORacle label security ) implemented. Due to this we need to have a connection class which will be responsible for making connection to database based on user credentials . Gere we will have some defined user groups and based on that a given user will be able to login to database from application and will be able to fetch data only those which is supposed to and insert with correct label.

I am looking if soemone can help me a good way of doing this as now we will be needing different credentials .

I can use driver manager here but I am mainly concern about connection pooling as forcing each user to have his own Datbase credential defeats the purpose of having a connection pool .

Thanks,
15 years ago
Hi ,

We are planning to have new application where we are going to have oracle database and here we will have OLS ( ORacle label security ) implemented. Due to this we need to have a connection class which will be responsible for making connection to database based on user credentials . Gere we will have some defined user groups and based on that a given user will be able to login to database from application and will be able to fetch data only those which is supposed to and insert with correct label.

I am looking if soemone can help me a good way of doing this as now we will be needing different credentials .

I can use driver manager here but I am mainly concern about connection pooling as forcing each user to have his own Datbase credential defeats the purpose of having a connection pool .

Thanks,

Hi ,

I have been using Eclipse and Tomcat in my development environment and we deploy war file to production which runs on Jboss .. I wanted to use Jboss also for my development environment.
I got Eclipse and Jboss integrated and running .I deployed a war file in Jboss and Its working fine..

Now I wanted to use project in Jboss not in deployed war file as in this will be development environment and need to chanage files quite often.

In Tomcat we specify this context in server.xml . How to do this in Jboss .

Thanks,
16 years ago
you cannot do it the way you ask, but you can surround your tag with a <c:if> tag from JSTL
----------------------------

Yes I can do this but the problem is that I have so many dynamic attributes .. and I don't want to have repetitive code ...
16 years ago
JSP
Hi,
I have many Custom tags in my application.. I wanted to use diffent tags based on some condition..

e.g..
Suppose I have myRadio and mySelect custom tag.. and I want to call these based on some condition..

<myTag:(some variable) />

Here (Some variable) should be replaced by myRadio or mySelect based on given condition..

How can I implement this..

Please help me with this..
16 years ago
JSP
Thanks for such a nice tutorial ..It cleared my concept of dynamic atributes ..
Hi ,

From my JSp page I am getting this exception --

java.sql.SQLException: Fail to convert between UTF8 and UCS2: failUTF8Conv


Can you pelase help me with this. I don't have any idea what is this about..
[ August 03, 2007: Message edited by: Bear Bibeault ]
Thanks for confirmation..
16 years ago
JSP
So this means if I am passing some parameters to include page soemthing like this --

<jsp:include page="elements/comments_display_inc.jsp">
<jsp:param name="url" value="deal_journal.jsp"/>
<jsp:param name="dealDescriptionId" value="${param['dealDescriptionId']}"/>
<jsp:param name="entityType" value="Deal"/>
<jsp:param name="entityCode" value="${resolver['/util/paramHash'].dealId}"/>

</jsp:include>

then i can't access entityType, entityCode and others usinf requestscope.. I should use param only...
16 years ago
JSP
Hi,

Can anybody please explain me.. what is requestscope and what is param .. and when parameters will go to requestscope..when Should we excess values from requestscope and when from param..
16 years ago
JSP