Re: hello world is giving me a stack trace.

2014-07-08 Thread Kun Niu
Don't know why. I suspect you have a class name conflict somewhere in your environment. On Tue, Jul 8, 2014 at 6:15 PM, Jim Anderon wrote: > > I am attaching the struts.xml file. This is the struts.xml file that came > with the tutorial example. I have not > edited it at all. > > I realize the

Re: hello world is giving me a stack trace.

2014-07-08 Thread Jim Anderon
I am attaching the struts.xml file. This is the struts.xml file that came with the tutorial example. I have not edited it at all. I realize the stack track indicates the program failed in the struts.xml file, but I assume that for most people running the example, this example works. I suspect

Re: How to implement multi tenancy with separate database in struts and hibernate?

2014-07-08 Thread Néstor Boscán
If you want to recreate this feature yourself with different databases you're going to have to map your entrypoint (initial URL) to your specific client and from there to the specific database datasource. Once you have the data source, associate it with the SessionFactory and everything will work c

Re: hello world is giving me a stack trace.

2014-07-08 Thread Kun Niu
The backtrace already told you. There's a classcast exception in your struts.xml file. You need to at least add your struts.xml file. On Tue, Jul 8, 2014 at 12:47 PM, Jim Anderon wrote: > > Hi, > > I'm trying to learn about struts and I have been trying to run the > tutorials. The example, 'ba

Re: hello world is giving me a stack trace.

2014-07-08 Thread Jim Anderon
The structs config files and the lib files all came with the example and I have not touched them. Do you want to see these? Or do you want to see the tomcat6 config files? Jim A. On 07/08/2014 05:01 PM, Dave Newton wrote: Without seeing the config file or the libs you're deploying it's diff

Re: hello world is giving me a stack trace.

2014-07-08 Thread Dave Newton
Without seeing the config file or the libs you're deploying it's difficult to help. I haven't seen that stacktrace before, though. On Tue, Jul 8, 2014 at 3:47 PM, Jim Anderon wrote: > > Hi, > > I'm trying to learn about struts and I have been trying to run the > tutorials. The example, 'basic s

hello world is giving me a stack trace.

2014-07-08 Thread Jim Anderon
Hi, I'm trying to learn about struts and I have been trying to run the tutorials. The example, 'basic struts', runs ok in my environment. But when I run 'hello_world', I get a stack trace, which I will attach to this email. I'm running on Crunchbang linux, a Debian deriviative, and I'm using

Re: Hello World does not work.

2014-07-08 Thread Jim Anderon
Hi All, Good news and bad news. The good news is that I have worked with Tomcat and struts and I can now run the 'Hello World' example. So, I am going to close off this thread. The bad news is that when it runs, the application gives a stack trace. But at least I can run it now. I will sta

Re: How to implement multi tenancy with separate database in struts and hibernate?

2014-07-08 Thread john feng
Oracle 12c should fit your needs. Unless you want to recreate this feature by your self. On Tue, Jul 8, 2014 at 5:36 AM, Kevin Peterson wrote: > Hi, > > We have an application wherein we want to keep separate database for each > client. We want to achieve this using multi tenancy approach. A wo

How to implement multi tenancy with separate database in struts and hibernate?

2014-07-08 Thread Kevin Peterson
Hi, We have an application wherein we want to keep separate database for each client. We want to achieve this using multi tenancy approach. A working example will be highly appreciated. Thanks, Kevin Peterson - To unsubscri

Re: Please give a good documentation link for custom tags in struts 2

2014-07-08 Thread jaikar gupta
Hi Ratna, Please check the below link, it might help. http://joshuajava.wordpress.com/2008/12/27/creating-custom-components-with-struts-2/ Thanks & Regards keepFaith, Jaikar Gupta On Tue, Jul 8, 2014 at 11:51 AM, Ratna Kar wrote: > Manoj, > > Thanks for responding..Please share the links.

Re: Please give a good documentation link for custom tags in struts 2

2014-07-08 Thread manoj . sharma
Hi Ratna, Please find Links : http://joshuajava.wordpress.com/2008/12/27/creating-custom-components-with-struts-2/ , http://bodez.wordpress.com/2009/03/13/customising-struts2-jsp-tags/ Re: Please give a good documentation link for custom tags in struts 2 Ratna Kar to: S

Re: Please give a good documentation link for custom tags in struts 2

2014-07-08 Thread Ratna Kar
Manoj, Thanks for responding..Please share the links. The emails that you send, i am not getting any hyperlinks(just getting the text). Please give the link completely. Thanks once again. I will wait for your reply. On Tue, Jul 8, 2014 at 1:12 PM, wrote: > Hi Ratna, > You ca

Re: Please give a good documentation link for custom tags in struts 2

2014-07-08 Thread manoj . sharma
Hi Ratna, You can try these Demos to create Custom tag in struts 2 Custom Tag Struts 2[1], Custom tag struts2[2], Please give a good documentation link for custom tags in struts 2 Ratna Kar to: Struts Users Mailing List 07/08/2014 01:05 PM Please respond to "Struts Use

Please give a good documentation link for custom tags in struts 2

2014-07-08 Thread Ratna Kar
Please point me a good documentation link w.r.t tags in *struts 2*. 1) I would like create a new tag. 2) Extend(Enhance) the existing tag. ex: add additional attributes to supported attributes. Thanks, Ratnakar