Soumya Manjunath

Ranch Hand
+ Follow
since Nov 28, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Soumya Manjunath

Sorry for the delayed reply Guys. I figured it out. The messages were in different languages and contained html codes, strings, \ , etc..

I was escaping them in javascript and decoding them in server side. But got to know that javascript escape method supports only
ASCII characters. So I replaced the escape method with encodeURLComponent and that solved problem.

Thanks for your reply though.
14 years ago
Guys,

I'm working in an application that supports UTF-8 charset. I've a page which supports update and
I'm using an Ajax call to do that update. As the string contains special characters I'm escaping it
before the update. After the update I see that the string has extra bad characters like ? etc..
Please let me know if you have any inputs to get around with it...
14 years ago
Thanks for your reply.

I've a combobox in my jsp. When I click the box, a dropdown appears with the values(like html select dropdown).
These values appear like bullet points. I'm not sure why.

Any idea as to how to get rid of it.

Guys,

I've a Dojo combobox which needs to be populated dynamically through an ajax call.
I already have a blank combobox in the jsp and I need to populate this with the value from the database.
I'm doing an ajax all and getting the data in the form of String. But I'm not able to populate it.

Could somebody please point me in the right direction.
Guys,

I'm using Dojo ComboBox and I see a circle along with the display text. Any idea why is that coming and how to get rid of it.
Thanks for the reply Guys.

Yes Bill, I would like to know how to locate the words in the text and then how to highlight them.
Guys,

I'm developing a Search functionality in a page where in I need to highlight the search keyword criteria.
Could somebody please explain me how to achieve this/point me to good examples.

Thanks Davie. I made the changes as per your suggestion but the erros hasn't gone yet.



I get this unterminated flag error. Not sure how to get around with this.
Thanks for your reply.

No, I don't get any compilation errors. When I try to access the page I get the above error.

Please give some inputs.
Guys,

I'm using Spring JDBC template with named parameters to query the DB. If I don't use the 'like' clause I'm getting the expected result.
But if I use the 'like' clause in the query, I'm not getting the expected result. Below is the code sample.


Here is the query


Could anybody please take a look at it and let me know if I'm doing something wrong.
14 years ago
Guys,

I'm using DisplayTag library to display the table in my JSP. I'm using a Table Decorator to have a hyperlink to a column.
Now, I want to display th table with hyperlink to few users depending on their role. And I want to display a regular table
with no hyperlink to another set of users. So I'm using JSTL for the conditional check. But it is throwing errors as the start tag
is inside the condition.


The error is

Could anybody please help me to get around with it.
Thanks a lot Christophe. I changed the variable name and it works now:)
15 years ago
JSP
Guys,

I populate a List in my servlet and iterate over it in my JSP using the forEach tag. It prints the value of the address location
instead of the content in the List. Below is the code snippet. Please let me know what I'm missing.


I set it in the session variable. In the JSP I get this attribute and iterate over it


and it prints

javax.servlet.jsp.el.ImplicitObjectELResolver$ImplicitObjects$7@caba7f

5 times. (List contains 5 items)
It is the same value for every td element.

Please let me know how to correct it.
15 years ago
JSP
Anybody can please guide me as to how to use rowmapper in queryForList

Thanks,
Soumya.
15 years ago