pax smith

Ranch Hand
+ Follow
since Dec 13, 2005
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 pax smith

Hi All,

Could any tell me from where I can download sample projects for GWT application . I want a project where we are using internationalization.

Thanks
12 years ago
GWT
Hi All,

I have a requirement that I have following data in my table

ID LocationID StateID
1 101 1001
2 102 1001
3 103 1001
4 104 1002
5 105 1002


I want to sql query which can return following result

Locations -- StateID
101,102,103 -- 1001
104,105 -- 1002

14 years ago
I know this is an old topic, but i had this problem too.

Here I don't have any issue with class path and sytem path. Issues is like this Ant script work fine if I exclude one package. But If I include this package it is giving problem.

I tried to create java doc for that package or its parent package. It is working FINE. there is no issue but when I tried to create java doc for whole project then this package is giving error.
15 years ago
I don't decide the no. of parameters in advance it is decided at runtime.

I don't want to append it in the query, is there any way to pass values it as parameter

I have created a query and have used 'IN' clause in it. But when I passed pamater "2,3" it is giving me error. Can anybody give any example in which he/she have used 'IN' clause.
I have created a query and have used 'IN' clause in it. But when I passed pamater "2,3" it is giving me error. Can anybody give any example in which he/she have used 'IN' clause.
We are using EJB3 and version locking. I am developing an engine which takes near about 3 sec to complete. In the mean time it fire multiple named queries. Normally it works fine. But when it is processing one request and in the meantime second request starts then it gives OptimisticLockException.

I analyzed and found that I start a new transaction when engine starts and then engine do process and in the end (after 3 sec) I close the transaction. So let I started a transaction and read data from a table. then in the mean time second request comes and it again tries to read the same data then since previous transaction has not ended yet, it is throwing OptimisticLockException.

Is there any solution to avoid that exception, I can't remvoe the version lock from the table since it is being used other places also.

I want to display the title of a window. Its title get changes for different screen e.g. for a window it can be "Search" and for other it can be "Display result". I have put the title in a variable and display it.

<ice:outputTextvalue="#{searchBean.title}" />

where title may contain=label.search or label.dispaly_result

I want that system should display "Search"/"Display Result" in the output. But it is displaying "label.search"
15 years ago
JSF
just insert this code inside your jsp to embedd the quicktime.be carefull to include AC_quicktime.js
object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="320" height="306" standby="Data is loading..." codebase="http://www.apple.com/qtactivex/qtplugin.cab" ID="Object1" VIEWASTEXT>
<param name="src" value="testMovie.mov">
<param name="autoplay" value="true">
<param name="controller" value="true">
<param name="type" value="video/quicktime">
<param name="pluginspage" value="http://www.apple.com/quicktime/download/">
<embed src="testMovie.mov" target="quicktimeplayer" width="320" height="316" scale="1" autoplay="true" controller="true" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/">
</embed>
</object>
17 years ago
JSP
Hi

I need to create a SSL secure page. I am using Sun One web Server(iPlanet).
can you help me how can I create a SSL secure page.

Thanks & regards
Pax
18 years ago
Hi

I need to make a webpage whose address should likes https://abc.com . So I need do make a SSL secure site can anybody help me. I am using Java One Web Server.

Thanks & Regards
pax
18 years ago
Hi

Can anybody give me the sample code to iterate a hashmap in which I have a key and a string in the value field

Thanks
18 years ago
Hi

Thanks for response.
I write <bean:message key="addtemplateForm.property.seqNo"/> in JSP.
what should I write in Java files as there I cannot use tags

thanks
18 years ago
Hi


My requirement is that I need to write logs which should be according to locale in java files. I know I can use message files in JSP using taglib. But how I can achive it in java files

Thanks
18 years ago
hi

Can anybody give me the URL from where I can download the log4j1.3.jar. I want to use RolingPolicy

Thanks
18 years ago