Veeresh Hosur

Ranch Hand
+ Follow
since Dec 18, 2007
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 Veeresh Hosur

Hi Ben,

Thanks for your prompt reply. My use case is something like this. I have a ServleteContextListner within the application which does configuration required for the application. While reading the configuration or while setting up the database connection pool I may get exception. I need to catch the exception and make sure that deployment of my app abruptly stops, so that no one accesses my app. How can I handle that?

Thanks
Veeresh
12 years ago
Hi,

I have a servletContextListner which will configure the required configurations for application. If any exception has been thrown during the time of startup I need to stop the deployment in tomcat server. How can I achieve this requirement. Please help me.

Thanks
Veeresh
12 years ago
Hi Ranchers,

I got the solution for this. While sending the XMLGregorianCalendar to the webservice, we should create XMLGregorianCalendar in following manner

Thanks
Veeresh Hosur
13 years ago
Hi Ranchers,

I am sending XMLGregorianCalendar from client side where as at the serverside Calendar object is been used. Apart from XMLGregorianCalendar all the values to the serverside are proper but the Calendar is always getting populated with null value. Can anybody help me out to solve this problem

Thanks
Veeresh Hosur
13 years ago
Hi Ranchers,

I downloaded the spring webflow sample provided in the following link

http://opensource.atlassian.com/confluence/spring/pages/viewpageattachments.action?pageId=1759

and I tried deploying it in Pluto 1.1.6. But i am unable to get it working. If anybody have tried working on it and know how to get it working please help me out.

Thanks
Veeresh
I am planning to go for spring webflow portlet. I am digging in around to find the more solution on spring webflow portlet. As i am unable to deploy any of the applications of spring webflow portlet. If you could help me in that aspect then it will be very helpful.

Thanks for the reply
Veeresh
Has anybody understood my problem? Else i shall explain the scenario.

Thanks
Veeresh Hosur
Hi Ranchers,

I have one existing application which is developed on Portlets. Now I have one module where in I want to integrate spring web flow without shaking the existing application. Can i achieve this? Please pour some inputs on the same.

Thanks
Veeresh
Can you elaborate your query by exposing the full jsp? As of now i feel instead of com.myapp.struts.loginForm give the type attribute as com.myapp.struts.LoginForm.

Hope this helps

Thanks
Veeresh Hosur
13 years ago
I would suggest the Programming Jakarta Struts book of O'reilly Publications. Its a too good book. Good explaination and examples. Understanding the framework thoroughly is more important than number of days taken to finish the learning. I would suggest you to not to do hurry and try and work on each examples given in the book.


Thanks
Veeresh Hosur
13 years ago
I have a table called Parent which has one to many relataion with another table CHILD. This CHILD table has one to one relation with GRANDCHILD. I have used generic names to make my problem more clear.

I have a set defined in child.hbm.xml to fetch grandchild

<set name="GrandChildren" inverse="false">
<key>
<column name="ID" precision="12" scale="0" />
<column name="ORD_ID" precision="12" scale="0" />
</key>
<one-to-many class="com.myapp.GrandChild" />
</set>

wheneven i do

Parent parents = getsession.CreateCriteria(Parent.class).add(Restriction.eq("id",ParentId)).uniqueResult();

Set<Child>childrenSet = parents.getChildren();

the children set is populated but the GrandChildren set that i have mapped in CHILD.hbm.xml as i mentioned above is not at all populated.

If i use the hibernate query that i will get in console in SQl Client i was able to see the records for that particular query.

Please help on this
Hi,

I am using hibernate to access the two tables. In one my of hbm.xml file i have defined one-to-one mapping to access the other table. During this time i am getting Org.Hibernate.MappingException:brokenColumn for: Table1.id of com.myapp.Tabel1. What must be the reason for this?
Servlet preinitializing the initialising the serverlet while loading only.

This process can attained by <loadonstartup> tag in web.xml. This will initialise the servlet

Thanks
Veeresh
14 years ago
@Sony Yes you are right! Sorry i got confused !!

Thanks
Veeresh Hosur
14 years ago
In the config file(demo.xml), you will be writing the bean with the fully qualified class path. From there withe default access specifier bean is getting instantiated and you are able to run your spring application successfully.

Thanks
Veeresh