Re: specified DSN contains an architecture mismatch

2009-12-15 Thread Patrick J Kobly
Todd Grigsby wrote: I'm trying to get an all 64-bit environment going, but if I have to step down to 32 bit, then that's what I have to do to get going. As for addressing the right crowd, I think you may be right. Except for you, it's been a frustrating exercise. I'm already going through

Re: MySQL + JDBC

2009-12-15 Thread Todd Grigsby
Yes, thank you Nils-H, I have been digging around in there as well. Unfortunately, the problem only occurs from my Struts apps, and judging from the MySQL forums, not many other people experience this issue. TG Nils-Helge Garli Hegvik wrote: Have you tried asking over at the MySQL forum?

Re: MySQL + JDBC

2009-12-15 Thread Gabriel Belingueres
I don't think it is directly related to Struts. From what I googled, seems more like a 32-bit/64-bit component mismatch than a Struts issue. On what JDK/JRE version are you running your app server? it is a 32 bit version of java? or a 64 bits version? Your odbc driver is 32 bits or 64 bits? are

Re: configuring json action

2009-12-15 Thread Milos Negovanovic
On Mon, Dec 14, 2009 at 09:31:02PM +, Milos Negovanovic wrote: Hi, I am trying to get JSON response from struts2 action. My struts.xml contains the fallowing: struts package name=example extends=json-default action name=testjson class=tutorial.example.JSONAction

Re: MySQL + JDBC

2009-12-15 Thread Patrick J Kobly
Do you have other Java apps working, or just other native apps? PK Todd Grigsby wrote: It's all 64-bit, installed correctly enough to work from other apps. I will try the Sun forums. TG - To unsubscribe, e-mail:

Unique Id creation

2009-12-15 Thread jayakumar ala
Hi All, I am using struts2 in my web application. Which is the best way to create unique Id for each file upload i do in my application...? Thanks Ala

Re: Essential Dependencies Only

2009-12-15 Thread stanlick
Thanks Wes -- Have you or others discovered any software that could be used to decompose an open source product into its constituent parts and then further decompose each of those in turn. Looking at a single POM rarely answers the real questions. The dependency/version graph is wicked to deal

Re: Essential Dependencies Only

2009-12-15 Thread Musachy Barroso
mvn dependency:tree will give you all the dependencies nicely. I also have to help with this task in my company, and we haven't found any decent tool that does what you described. If all your projects use maven, then there is probably a plugin for that, but that's not the case for us. On Tue, Dec

Re: Essential Dependencies Only

2009-12-15 Thread stanlick
Thanks brother. Actually it's not our projects we analyze; it's the open source projects. We *do not* simply download/dump the OS project and begin to use it. We factor each project into as many constituent OS projects as it made from and then recursively walk down the tree doing this at each

Re: Essential Dependencies Only

2009-12-15 Thread Musachy Barroso
yeah I know, so do we ;), right now grep is all I got On Tue, Dec 15, 2009 at 10:09 AM, stanl...@gmail.com wrote: Thanks brother.  Actually it's not our projects we analyze; it's the open source projects.  We *do not* simply download/dump the OS project and begin to use it.  We factor each

Re: ognl method lookup failure

2009-12-15 Thread Dale Newfield
Musachy Barroso wrote: I would suggest Thank you. After all my frustrations my bug was a typo in an EL expression. Argh. -Dale - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail:

Re: MySQL + JDBC

2009-12-15 Thread Todd Grigsby
Other native apps. The Java apps are being migrated from a 32-bit environment (WinXP and Java 32-bit + Struts 1.1), and they worked there. I don't want to point to any one thing, since every part of the equation is a newer version of what was there before, but at this point the only

Problem with jquery plugin

2009-12-15 Thread Oscar
Hi to all, i was exploring the jquery plugin of struts 2 because i read that you can do something like a grid with the tags that provides that plugin, something like displaytag or extremecomponents. I follow an example that i found where they simply create a list in action and show the data

Re: Unique Id creation

2009-12-15 Thread Todd Grigsby
jayakumar ala wrote: Hi All, I am using struts2 in my web application. Which is the best way to create unique Id for each file upload i do in my application...? Thanks Ala I've always used the original filename with a time stamp, down to the millisecond formatted with leading zeros and

Trigger 2 actions

2009-12-15 Thread Jean-François Houzard
Hello, I'm new with Struts 2. I'm actually using Struts 2 with the struts-dojo-tags. Consider the following situation. I would like to submit a form and to associate two distinct actions to the form, for exemple MyAction1 and MyAction2. And I would like that MyAction1 refresh the MyRes1 div and

Re: MySQL + JDBC

2009-12-15 Thread Patrick J Kobly
Todd Grigsby wrote: Other native apps. The Java apps are being migrated from a 32-bit environment (WinXP and Java 32-bit + Struts 1.1), and they worked there. I don't want to point to any one thing, since every part of the equation is a newer version of what was there before, but at this

Re: Unique Id creation

2009-12-15 Thread Gabriel Belingueres
I use File.createTempFile: http://java.sun.com/j2se/1.5.0/docs/api/java/io/File.html#createTempFile(java.lang.String,%20java.lang.String,%20java.io.File) Then I relate the uploaded filename with the saved temp file name in a database table. Gabriel 2009/12/15 Todd Grigsby

Anyone used jsTree with Struts2?

2009-12-15 Thread Michael Obster
Hi, is there anyone who has used jsTree in a struts2 application? Having some problems using he component. First I don't get a JSON format generated with struts2 which the tree understands and the 2nd try is not even better where I changed from a JSON to XML-Code. The tree works with

Re: Unique Id creation

2009-12-15 Thread jayakumar ala
I am trying to upload multiple files in my application , So i am looking for different approach to create unique Id for all the uploaded files. Any suggestions are appreciated. On Tue, Dec 15, 2009 at 1:54 PM, Gabriel Belingueres belingue...@gmail.comwrote: I use File.createTempFile:

Re: Unique Id creation

2009-12-15 Thread Patrick J Kobly
java.util.UUID.randomUUID() ? http://java.sun.com/j2se/1.5.0/docs/api/java/util/UUID.htm PK jayakumar ala wrote: I am trying to upload multiple files in my application , So i am looking for different approach to create unique Id for all the uploaded files. Any suggestions are appreciated.

Re: MySQL + JDBC

2009-12-15 Thread Todd Grigsby
Patrick J Kobly wrote: Todd Grigsby wrote: Other native apps. The Java apps are being migrated from a 32-bit environment (WinXP and Java 32-bit + Struts 1.1), and they worked there. I don't want to point to any one thing, since every part of the equation is a newer version of what was

s:autocompleter not working in IE7.

2009-12-15 Thread sharath karnati
Hi All,      I'm trying s:autocompleter with below code   autocompleter.jsp file   %@ taglib prefix=s uri=/struts-tags % html head titleStruts 2 Autocompleter Example!/title s:head theme=ajax / /head body table cellpadding=0 cellspacing=5 width=95% tr td bSearch Carrier:nbsp;/b !-- s:textfield

Re: MySQL + JDBC

2009-12-15 Thread Patrick J Kobly
Running the binary dist of Tomcat? tomcat.exe / tomcatw.exe PK Todd Grigsby wrote: Patrick J Kobly wrote: Todd Grigsby wrote: Other native apps. The Java apps are being migrated from a 32-bit environment (WinXP and Java 32-bit + Struts 1.1), and they worked there. I don't want to point

Re: Anyone used jsTree with Struts2?

2009-12-15 Thread Musachy Barroso
On Tue, Dec 15, 2009 at 1:20 PM, Michael Obster mich...@obster.org wrote: jsTree I used it with the JSON plugin many moons ago, what problem are you having? - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For

How to forward....

2009-12-15 Thread Rafael Muneton
Hello: I am trying to develop a small application that contains a Login.jsp, in case of failure the controller must redirect to Login.jsp again; in case of success the controller must redirect to a Java application ,MainMenu.class. I think this is done in struts-config.xml file:

RE: Unique Id creation

2009-12-15 Thread Lee Clemens
OP: What Struts tag are you using to upload multiple files at the same time? I may be wrong, but I didn't know this was possible with Struts. If so, what filename are they given by default? I use file upload tags but they are saved as default-named files I can access via the File setter in my

Re: Anyone used jsTree with Struts2?

2009-12-15 Thread Michael Obster
Musachy Barroso schrieb: On Tue, Dec 15, 2009 at 1:20 PM, Michael Obster mich...@obster.org wrote: jsTree I used it with the JSON plugin many moons ago, what problem are you having? First of all I get no tree displayed. After looking into the generated JSON I see, that die variable names

problem while reading multipart/form-data in struts

2009-12-15 Thread binash
We are using a validation framework to validate all input to our application. This is implemented with a filter. In order to handle multipart form data twice, we have created BufferedRequestWrapper class (as a sub class 'HttpServletRequestWrapper'). Now with this class I am able to get all the

Re: MySQL + JDBC

2009-12-15 Thread Todd Grigsby
Yes. Running Tomcat 6 as a Windows service...Ok, this is interesting. On a whim, I ran tomcat6w, and when it came up, it appears to using the C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll, which implies to me that the JVM it's attempting to use is the 32-bit version. High

Re: Problem with jquery plugin

2009-12-15 Thread Ernesto Reinaldo Barreiro
I'm using jqGrid this way http://code.google.com/p/antilia-struts/wiki/SearchPage http://code.google.com/p/antilia-struts/wiki/SearchPageRegards, Ernesto On Tue, Dec 15, 2009 at 8:57 PM, Oscar oscar.kalde...@gmail.com wrote: Hi to all, i was exploring the jquery plugin of struts 2 because i

Re: Problem with jquery plugin

2009-12-15 Thread Johannes Geppert
You only link the JSON Result so your Browser download it, instead of work with the result. jsontable.action Show me the data Give this url to the GRID ike this example. s:url id=remoteurl action=jsontable/ sj:grid href=%{remoteurl} id=gridtable