accnit Jai

Ranch Hand
+ Follow
since Feb 15, 2011
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
3
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
(keep public parts private until JForum day)
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt
Moderation Tools

Recent posts by accnit Jai

Thanks Ulf , Sorry for confusion. what I meant that, I do not want to use any paid software. I am looking for any open source java API. I wrote the program by using the iText, but it just extract text from PDF.
4 years ago
I have a requirement where I have to convert the PDF document to HTML5. I do not want to use any available tool achieve this. I want to write my own code to achieve this. Being java developer I have started with iText but I saw that, iText just extract the text from PDF and does not keep the formatting layout on PDF.

Can someone please guide which API i should use to achieve this? below is my high level requirement.

1-Extract the text from the PDF without loosing formatting layout.

2-extract the images if any.

3-Retain the formatting in the newly converted HTML5 page same as that of PDF page.

Thanks in Advance.
4 years ago
Is there way by which I can convert the PDF file in HTML5 and render on browser?
I am using the windows 8 Samsung tablet and experiencing the scroll issue with stylus on image. following is the sample code.



I am able to scroll with finger on device but not with Stylus. Is there any setting i am missing OR I can use CSS or javascript to handle this?
I am writing the logic around the java Calender. I have following requirements.

Working on day of week calender which contains 4 weeks in a month. Need to select Day of a week for a month. If selected week day is passed then for next month same week day has to be selected.
If a month start on Saturday then second Monday will be 10th of that month rather than 3rd.

Please let me know if there are any utility is available in java to achieve above or any sample code will be much appreciated.
5 years ago
Thanks Eric, I can not go with sessionstorage because IE8 has feature of 'New Session' and if i use the sessionstorage then i'll not be able to share the webstorage value across session. while with localstorage we have ability to share the webstorage value across the all the session of IE browser.

you said, " Localstorage lives until the application" , but in my case if i kill my browser from Task Manager then it does not clear the localstorage value. I tried to put the javascript event "onunload ="localStorage.clear();". but this get calls only when i close the browser from close button or exit. but not in the case of kill browser from TaskManger.
I am using browser IE8 to test my application and using the localStorage to track the application session. When I kill my browser from 'Task Manager' > 'kill IE process'. It does not clear my localStorage and when i open new browser then its says, you already have set the localStorage value.

here is the code which i am using.


How can I delete the localStorage, when user kills the browser from TaskManager?
I found the solution, using the top.variablename you can access the origin page variable in any frames
Sorry for that, Please find the correct format.


<frameset rows="0%,100%" frameborder="no" framespacing="0" border="0" noresize="noresize" id="pFrame">
<frame name="stateClientPane" src="" />

<frame name="contentPane" src="stateClientContent.jsp" >
</frameset>
we have content.js file which has the call back function this callback function return the flag.

code is like this:
<script>
var client = new clientSatus(callBackFunction);
var statucheck;
callBackFunction(status)
{
statucheck = status;
}
</script>

<frameset rows="0%,100%" frameborder="no" framespacing="0" border="0" noresize="noresize" id="pFrame">
<frame name="stateClientPane" src="" />

<frame name="contentPane" src="stateClientContent.jsp" >


statucheck variable i want to pass to 2nd Frame. so that based on the value of statuscheck stateClientContent.jsp should load.
One flag, based on this flag content of frame 2 will load. This flag is one JavaScript variable
I have frameset like below
<frameset rows="0%,100%" frameborder="no" framespacing="0" border="0" noresize="noresize" id="pFrame">
<frame name="stateClientPane" src="" />

<frame name="contentPane" src="stateClientContent.jsp" >

</frameset>

My questions is: is there any way that we can pass the value to 2nd frame (contentPane) . so that content of second frame should load with the logic of passed value?
I need to develop a java Application to fetch bug info from Bugzilla. It can be done calling Bugzilla Web Services.
But I am not able to get WSDL for Bugzilla web service. Please let me know what will be the WSDL for getting bulist from bugzilla.

See the attached.


Is there any IE setting to disable it?
I am using touch screen portable monitor to test my web page. when i tap on browser , i see either back or forward button on screen which takes me to previous or next page. how can disable forward and back buttons from screen browser. Is there any javascript to achieve this? I am using IE8 to test my web page.