Satyajeet Kadam

Ranch Hand
+ Follow
since Oct 19, 2006
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 Satyajeet Kadam

Thanks.
But need to know how can I put them in some sort of objects?
8 years ago
I can replace StringBuffer with StringBuilder.

I need to know some logical steps where I can compare both (colour and actual text) at same time before adding new line in StringBuilder.
8 years ago
StirngBuffer is also been used in project

I need to check
1) If there is a existing line which is same as new line with only colour difference then don't want to add it.

but i dont know how can do it ?
8 years ago
Line is the same expect the colour.There are no bold tags around the colour.I just made them bold to make it understand that there is colour difference.

If there is the same line expect colour then i don't want it to add in stringbuffer again.





8 years ago
I want to to prevent duplicates in StringBuffer.I f the current line is same as the existing line in the stringbuffer then i don't want to add it in stringbuffer.


for example




If the grey colour identification is there in stringbuffer and i don't want to add white one.



Q1) how can i do it?

8 years ago
Thanks Cooke!.

It highlights Java and Cobol code just nicely in the browser but how can we use python in JSP or how can i used them in application written in Java?

Supposed i have String variable in my JSP






So how can i used these Pygments lib to hightlight?
8 years ago
Ignore my last post message because gramatically mistake

YES we are displaying the code in a broeser and it should highlight the syntax.Currently, we want to hightligting the cobol and java code only.In futher there might be other languages.

Q1) I went through the examples in Use Pygments in Java.In examples they are using PythonInterpreter to hightlight Python code.Is there any api class in Java Pygments to hightligh Java and cobol code?

Q2) Please suggested any other tolls which are free and can highlight any code using Java on browser?


Thanks,
Satyajeet
8 years ago
Thanks Tim and Ritchie for your response.


YES we are displaying the code in a broeser and it should highlight the syntax.Currently we are hightligting the cobol and java code only.

Q1) I went through the examples in Use Pygments in Java.In examples they are using PythonInterpreter to hightlight Python code.Is there any api class in Java Pygments to hightligh Java and cobol code?

Q2) Please suggested any other tolls which are free and can highlight any code using Java on browser?


Thanks,
Satyajeet
8 years ago
Hi Team,

I want to hightlight the syntax of any Source Code using Java.We have web application developed using Spring MVC.User is uploading the Source Files.
Source code can be either Cobal or Java file. We are reading the source file and displaing the program in <div> tag.

Q1)I want the source code to hightligted?

Please help me
8 years ago
how can I write the below script so it can run in chrome browser.

Please let me know what is wrong in below code.



I also want to access the value in below code



Q1) How can I get value of the title variable by InnerHTML properties?
Hi Joe Ess,

I compared the generated page for IE and Chrome.

Under IE


Under Chrome

I did not found any input type for Review Complete


Same program and same piece of code running differently in IE and chrome. This is very strange.

What can be reason it's getting displayed in IE and not in Chrome.

Please let us know your thoughts.




10 years ago
Struts logical tag is not working in chrome whereas it working in IE properly. I am able to see the Review Complete button on IE10 but not in chrome 16









Q1)Please let me know how can we make this work in Google chrome?

10 years ago
Thanks.
Above solution has resolved my problem sir.
In my J2EE web project, I have a simple JSP (HomeScreen.jsp) and a servlet class (HomeScreenServlet.java) behind it. This class is calling non-static method (PDFAwt1) from another class (PDFAwt) which in turn calls many other methods from many different classes, as usually happens.

When I try to create an object of the PDFAwt to call PDFAwt1(), I get an exception:

Here is a little preview of PDFAwt1()


CreateExcelFile()




Not able to find where the problem is exactly.. please help..
I have a web application which is working fine on IE8,we found a setting which will render any IE version as IE8.Now we want chrome to render page as IE8.
Any quick solution? else we need to fix all java scripts issues one by one