Vinoy Paul

Greenhorn
+ Follow
since Jun 16, 2011
Merit badge: grant badges
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 Vinoy Paul

hi Tim , No harm , was just trying to find out  is there any option Java can support it without third party Libs .

My actual requirement is to convert all my application connections from FTP to SFTP.

So in my current code we are currently using as below .

FTPClient ftp = new FTPClient();
ftp.sendSiteCommand("recfm=fb lrecl=2140 blksize=0 mgmtclas=workw");

Could not find out any this or similar method for sendSiteCommand(). How we can achieve this ?
hi All ,

How java can get the connection from SFTP with out using third party jar files.



if there is no proper business value in that variable , i am passing   to that variable.

If i didnt pass some UI distortion is happening ,like missing the border of the cell.
9 years ago
JSF
hi ,

I am facing one issue while trying to avoid the XSS scripting issue. I have code like

<h:outputText id="text49"
value="#{History.abc}"
styleClass="outputText"
escape="false">
</h:outputText>

This code is throwing XSS scripting issue. So i am thinking the easy way to get rid of it just by using <c:out inside value attribute.
But its failing in compilation. Is there any other way i can escape from XSS scripting.

Please help me.
9 years ago
JSF
hi ,

I have a out puttext feild like this in my JSP page. I am using framework as JSF.

<h:outputText id="text1"
value="#{History.EndDate}"
escape="false">
</h:outputText>

If the EndDate value is not there i am sending &nbsp; to this variable to avoid the UI distortion(Table border is missing please find the attachment ).
But it leading to a problem of XSS scripting. Even if i send ""(empty space ) the UI distortion is happeneing.

Please help me how i can avoid this issue.

Regards,
Vinoy
9 years ago
JSF

I know that javascript runs on client end.

But still you can create a javascript function through java class and call it . Which can easily done in Java 1.6 through ScriptEngineManager.

Please visit the url https://coderanch.com/t/549722/java/java/Calling-Javascript-function-Java-Code

9 years ago
JSP
hi ,

Is there any way i can call the a javascript function from my java class.
i am using JDK 1.5 . In 1.6 i think there is a way like script engine. But i could not find out same in 1.5.

Please help
9 years ago
JSP
hi

I just tried now by giving as per your suggestion.

I am getting an error "No repository found at http://efxclipse.org/
Error reading update site http://efxclipse.org/.
Connection refused: connect
"

I suspect whether my organization is blocking me to connect to this !!

I think that also can be a justfiable reason . I am i right ?
10 years ago
Hi,

I tried to add configure Java FX 2.1.1 in RAD 7.
I pointed http://javafx.com/docs/gettingstarted/eclipse-plugin/ URL in RAD's software updates .
I am getting an error like "NO REPOSITORY FOUND ".

Can anyone please help me how can i get rid of this error and make it work .
More over is it possible to configure Java FX in RAD ?

Regards,
Vinoy
10 years ago
Thanks Tim for the reply.

To be more speccfic , the issue is coming when we are doing a search . The search results are around 2000 records . Before we get the response back to UI , user cliking the search button again.
So, that time we are getting 'page cannot be displayed '. The actual exception is index out of bound of exception in the log.

doSearch method begin
jsf E com.sun.faces.lifecycle.InvokeApplicationPhase execute Index: 0, Size: 0
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

And its not happening always.
I am thinking that , is it because of the view tree in server. Whether two view componenets are getting conflicted or not ? Is there any possiblity for this ?.

Thanks
Vinoy
10 years ago
JSF
hi all,

I am getting page cannot be displayed error if i submit multiple requests in my JSF application.
And this is not happening always !!. Its happeneing very rare. But still we need to avoid it.
Requirement is to do the server side validation.
Is there any way to do it ?
Eg : - if i give multiple search request in one page i should not get error. By the same time user should have the provision to go to another menu which is loading again from sever.
10 years ago
JSF
hi
when i am trying to open an HTML file from JSP through href link its not alerting me to enable Active X controls.
IndexHtml
This link is working with out enabling the Scripts.

When i tried to open it localy its asking me to enable it but when i am going through my application its not promting , application dont have any code to disable Active X
is there any thing i need to code from my end
please help me


hi I am using a data table in my jsp page . I need to select one row on click in datatable , that i am achieving by adding <hx:commandExRowAction> in side datatable.
But i need to make one feild in the datatable as a command link. But i am not able to click on that command link because wherever i click inside the data table only <hx:commandExRowAction> is getting called. What i have to do for call command link inside the <hx:commandExRowAction> ?
Please help me

<h:dataTable binding="#{HistoryAction.dataTable}"var="varcaseHistory">
<hx:commandExRowAction action="#{HistoryAction.setSelectedRow}">
</hx:commandExRowAction>

<h:commandLink action="#{ViewUpAction.getrolluplist}" value="#{varcaseHistory.parentExpNum}">
11 years ago
JSF
Any body is having any idea on this ?
Please s help !!
11 years ago
JSF