Re: how to access oracle database on netwrk

2004-11-18 Thread Peng Tuck
Nishant wrote: now server is throwing an errors as cannot load JDBC driver called com.mysql.jdbc.Driver wht is wrong wiil i hav to import some external JDBC driver (on my pc no oracle is there ) You want to connect to an oracle database and you're loading a jdbc driver for mysql ?

RE: JDBC problem

2004-11-18 Thread Marco Mistroni
Hello, If you are connecting to oracle, why you have jdbc:mysql in your JDBC URL? Regards marco -Original Message- From: Nishant [mailto:[EMAIL PROTECTED] Sent: 18 November 2004 07:04 To: Struts Users Mailing List Subject: JDBC problem i am tryin to connect with oracle

Re: JDBC problem

2004-11-18 Thread Vic
You are on the wrong mail list, this mail list is for a Struts framework. I see you are a Software Engineer from Kalyaninagar, impressive. .V Nishant wrote: i am tryin to connect with oracle Server on network. Now i am getting errors as No Suitable Driver i hav classes12.jar file in my jre\lib

Tiles and on-load events

2004-11-18 Thread andy wix
Hi, I have a page which I would like frequently reloaded into the browser and was going to use javascript. The issue is that using Tiles I only have the on-load event available for the layout.jsp file and I only want one of my pages to have this functionality. Is there a work-around? Thanks,

RE: Tiles and on-load events

2004-11-18 Thread dave
I had a similar problem. I included a piece of Javascript in the main layout which allows pages to register script to be run when onload is invoked, then any page in the layout can add things: html head script language=JavaScript var onLoadExpressions = new Array(); var onUnLoadExpressions = new

Re: [OT] how to print - jdk1.3?

2004-11-18 Thread Joe Germuska
At 12:27 PM +0530 11/18/04, Viral_Thakkar wrote: Hi All: How to print document/pdf file which is available on server machine on user printer in asynchronous mode? I don't know of any way you can drive the user's printer. The javascript print() method will pop up a print dialog, but it wouldn't

Re: Tiles and on-load events

2004-11-18 Thread Joe Germuska
At 12:37 PM + 11/18/04, andy wix wrote: Hi, I have a page which I would like frequently reloaded into the browser and was going to use javascript. The issue is that using Tiles I only have the on-load event available for the layout.jsp file and I only want one of my pages to have this

Re: URL Customization

2004-11-18 Thread Jeff Beal
Why? Richard wrote: I need to remove the webapp specific part / names on my application. For example http://mydomain.com/mywebapp/index.jsp and http://mydomain.com/mywebapp/serverpages/add-record.rr I need the user to just see http://mydomain.com/ on their browser.

Re: [OT] how to print - jdk1.3?

2004-11-18 Thread Vic
Of course the new JDK 1.5 allows JDNC and JNLP security sandbox access to the printer (if you did RiA). .V Joe Germuska wrote: At 12:27 PM +0530 11/18/04, Viral_Thakkar wrote: Hi All: How to print document/pdf file which is available on server machine on user printer in asynchronous mode? I

RE: database problem

2004-11-18 Thread Matthias Wessendorf
do you have http://jakarta.apache.org/commons/dbcp/ and http://jakarta.apache.org/commons/pool/ in WEB-INF/lib? Regards, -Original Message- From: Nishant [mailto:[EMAIL PROTECTED] Sent: Thursday, November 18, 2004 2:59 PM To: Struts Users Mailing List Subject: database problem

RE: [OT] how to print - jdk1.3?

2004-11-18 Thread Viral_Thakkar
I am using jdk1.3 -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Vic Sent: Thursday, November 18, 2004 7:33 PM To: [EMAIL PROTECTED] Subject: Re: [OT] how to print - jdk1.3? Of course the new JDK 1.5 allows JDNC and JNLP security sandbox access to the printer (if

Re: [SPAM] - RE: database problem - Sending mail server found on list.dsbl.org

2004-11-18 Thread Nishant
yes i do have commons-dbcp-1.2.1.jar and commons-pool-1.2.jar Regards Nishant Patil Software Engineer Cybage Softwares Pvt. Ltd. (A CMM Level 3 Company) West Avenue, Kalyaninagar Pune - 411006 Ph. +91-20-4044700/4041700 Extn 355 [EMAIL PROTECTED] www.cybage.com There is difference between knowing

Re: JerichoFaces ?

2004-11-18 Thread Joe Germuska
On Wed, 17 Nov 2004 21:52:56 -0800, Craig McClanahan [EMAIL PROTECTED] wrote: It's sort of interesting that a page controller is one of the things people really like about Tiles, for the same reason I like it -- cutting down on the number of moving parts :-). I am not wholly in love with the

Re: database problem

2004-11-18 Thread Erik Weber
Nishant, ojdbc14.jar is the only jar you need unless you are using an old version of Oracle. It belongs in $catalina_home (your Tomcat base directory)/common/lib, not in your web app's lib directory. Erik Nishant wrote: hi, i am using struts with tomcat server ... my database is oracle and it

Re: Problems with Date validation

2004-11-18 Thread Daniel Hopper
Kinjal, In my experience with dates and validation, the problem you have having is quite possibly when you are coping the date values out of the ActionForm if you are trying to convert the string to a date right there in the get method and the value is an empty string no null. Since the

Re: database problem

2004-11-18 Thread Vic
Also, Struts data source is deprecated, this belongs in Tomcat or whatever container. .V Erik Weber wrote: Nishant, ojdbc14.jar is the only jar you need unless you are using an old version of Oracle. It belongs in $catalina_home (your Tomcat base directory)/common/lib, not in your web app's

Re: JerichoFaces ?

2004-11-18 Thread Dakota Jack
Hi, Joe, This is certainly a reasonable request and I don't take it personally at all. I don't think what I have said is overblown. I will add more later, but for the moment let me say that one needs to articulate what Struts does and ask what is left with the new proposals. I will add more on

Problem with Tomcat 5.5

2004-11-18 Thread Peter Neu
Hello everybody, I just switched to Tomcat 5.5 while still using the old JDK 1.4.2_04 . The Struts Version I use is 1.1. When I run my application on the new Tomcat I get this error : Error instantiating servlet class org.apache.struts.action.ActionServlet Can anybody tell what I can change in

Re: Problem with Tomcat 5.5

2004-11-18 Thread Vic
5.5 needs JDK1.5 Afaik. .V Peter Neu wrote: Hello everybody, I just switched to Tomcat 5.5 while still using the old JDK 1.4.2_04 . The Struts Version I use is 1.1. When I run my application on the new Tomcat I get this error : Error instantiating servlet class

AW: Problem with Tomcat 5.5

2004-11-18 Thread Andreas Solarik
Hi Peter! In http://apache.mirror.netmonic.com/jakarta/tomcat-5/v5.5.4/README.html the developers claim that Tomcat 5.5 requires the JRE 5.0. We didn't have the problem you found when we tested tomcat 5.5. Which classloader are you using? Andreas -Ursprüngliche Nachricht- Von: Peter

RE: tiles and redirect (non-struts application)

2004-11-18 Thread Saravanan Veerappan
Thanks david, The applications i am working on is not in struts and i was planning to migrate it into tiles before moving into struts. Looks like it is not possible without migrating the application into struts. David G. Friedman [EMAIL PROTECTED] wrote:Saravanan, This point has been

Re: Help with Exception handling

2004-11-18 Thread Wendy Smoak
From: David G. Friedman [EMAIL PROTECTED] Now, on the JSP issues, since you're trading control over to JSP's, can't you list the exception in your web.xml configuration file? See the 'exception-type' in the solution under this url: http://www.jguru.com/faq/view.jsp?EID=457102 Probably, but

RE: Sending List as a Request Parameter

2004-11-18 Thread Matthias Wessendorf
JavaDoc says: public java.lang.Object getAttribute(java.lang.String name) ... java.util.List l = (java.util.List) getAttribute(...) -Original Message- From: Sudip Shrestha [mailto:[EMAIL PROTECTED] Sent: Thursday, November 18, 2004 5:46 PM To: [EMAIL PROTECTED] Subject:

Re: Sending List as a Request Parameter

2004-11-18 Thread Erik Weber
List result = (List) request.getAttribute(employeeList); Erik Sudip Shrestha wrote: Using: Tomcat 5.0.28, Struts 1.2.4, jdk 1.5.0, hibernate 2.1.6 When I try to pass java.util.List parameter via javax.servelet.HttpServletRequest from an action method to a .jsp page, I get exception: incompatible

Newbie With Question

2004-11-18 Thread Scott Purcell
Hello, I am just getting underway with struts and found an example here: http://javaboutique.internet.com/tutorials/Struts/ I have completely followed the directions and I can get the initial form to display the data that comes from the ActionForm bean. Hansen. But after I hit the submit,

Re: JerichoFaces ?

2004-11-18 Thread Craig McClanahan
Jack, Since we're all developers here ... you might consider trying to demonstrate with *code* instead of words (or pretty pictures :-) why a proposed solution is better. Show us that it makes the framework code easier to write and maintain. Show us an application based on that design

Performance issues

2004-11-18 Thread Juan Salazar
Is there any performance issue using Struts (actions, tiles, validators, etc)? (memory, network bandwith, etc) I am using Struts for awhile, but need to known how to improve code. Thanks in advance

Re: Performance issues

2004-11-18 Thread Vic
The slowest part of J2EE is Data access. With Struts, you have the capability to stress test the DAO layer by itself. hth, .V Juan Salazar wrote: Is there any performance issue using Struts (actions, tiles, validators, etc)? (memory, network bandwith, etc) I am using Struts for awhile, but need

RE: About *.do

2004-11-18 Thread Chaikin, Yaakov Y.
Is it a problem to map 2 servlet mappings to the Struts controller servlet... For example, I could think of a situation where someone would want to use different naming schemes so the customers will be less lost: For Shopping: */doShopping/* For Checkout: */doCheckout/* However, obviously, in

Re: Newbie With Question

2004-11-18 Thread Bill Siggelkow
Scott, this problem can happen when you are trying to forward to a non-existent location. For example, you would see this problem if the path specified in the forward name=success path=/submit.jsp/ was invalid. However, looking at your struts-config.xml I do not see any errors. I would first

Exception debugging

2004-11-18 Thread john . chesher
Hell, Can anyone help a newbie with how to interpret an exception stack? I have had some luck debugging previous problems, when the exception occured in my own code, as the stack info usually points to a line number or variable in the source file causing the problem. However, for an

RE: Newbie With Question

2004-11-18 Thread Scott Purcell
Hello Bill, I checked everything again, and still do not see anything obvious. What did you mean by a debugger? Do you know of one for Tomcat and checking this type of problem? If so, please let me know. Thanks, Scott -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf

Re: Exception debugging

2004-11-18 Thread Vic
Of the top, one of your tiles jsp's has a typo is a guess. I would test out each ONE of the tiles jsps ( and tiles actions?) BEFORE assembling them into one big JSP, this way you get a better error. hth, .V [EMAIL PROTECTED] wrote: Hell, Can anyone help a newbie with how to interpret an

Re: About *.do

2004-11-18 Thread Corey Scott
If that is the case, you might want to look into separate modules? -Corey On Thu, 18 Nov 2004 12:52:38 -0500, Chaikin, Yaakov Y. [EMAIL PROTECTED] wrote: Is it a problem to map 2 servlet mappings to the Struts controller servlet... For example, I could think of a situation where someone

Re: JerichoFaces ?

2004-11-18 Thread Dakota Jack
Thanks for your thoughts, Craig. See infra. Most of your comments were about the appearance, mien, bearing, style, and environment of the discussion about Jericho versus Shale. I hope we don't have to keep discussing the legitimacy of the discussion itself. I am comfortable that a discussion

Help with message resource on Struts module

2004-11-18 Thread Radu Badita
Hello, I have a Struts module with the following message bundle: message-resources parameter=mymodule.Application key=mymodulekey / Inside an Action I can get messages from it with: dateFormat = getResources(request,mymodulekey).getMessage(date.format); and it works fine. But this Action forwards

accessing message resources from tile definitions

2004-11-18 Thread Jeff Bowes
Hi, Is there a way to access message-resources that you would normally access with a bean:message jsp tag in a tile definition in the tile-defs file. I am using the tiles version included with Struts 1.1. Thanks, Jeff Bowes -- Jeff Bowes M.Sc. DBA/Technical Architect, Xenbase Department of

Re: JerichoFaces ?

2004-11-18 Thread Craig McClanahan
On Thu, 18 Nov 2004 14:09:02 -0500, Erik Weber [EMAIL PROTECTED] wrote: If Struts 2 is something fundamentally different from Struts 1, is it not possible that Struts 1 and Struts 2 could coexist and that the two could be maintained and (if people desire) developed separately? I mean, even if

Re: Performance issues

2004-11-18 Thread Joe Germuska
At 2:20 PM -0500 11/18/04, Erik Weber wrote: I found that the JavaScript generated by the Validator (Struts 1.1) added nearly 40Kb to the page download! (Perhaps there is a way to only download a script once and reuse it among pages? I have no idea.) I don't use JavaScript validation other than

Re: JerichoFaces ?

2004-11-18 Thread Dakota Jack
Joe, This will be, to promote clarity, in a few parts. The first is: WHAT IS STRUTS? as you requested. (See http://rollerjm.free.fr/pro/Struts11.html#3 ). Elaborating from this, one might ask what is Struts? Then again, I don't think the answer is critically important. I don't really

Re: Newbie With Question

2004-11-18 Thread kjc
Debugging a server side component only works when the IDE has the ability to launch the appServer inside the VM which is also running the IDE. You can then set breakpoints in the struts sources. Bill Siggelkow wrote: Scott, Are you developing using an IDE such as Eclipse or IDEA? Most IDEs

Re: Help with message resource on Struts module

2004-11-18 Thread Bill Siggelkow
Maybe this is just a typo but shouldn't you be using 'bundle=mymodulekey' instead of 'bundle=mymodule'? bean:message bundle=mymodulekey key=gs.filters.title/ Radu Badita wrote: Hello, I have a Struts module with the following message bundle: message-resources parameter=mymodule.Application

[OT] Re: JerichoFaces ?

2004-11-18 Thread Dakota Jack
Craig, I don't understand this. I do want to be in the middle of the herd on protocols and I do want to be heard. I don't understand your point here, however. Are you seriously saying this is just noise to users? Anyway, out of a lot of deference to you and out of a bit of fear from the

tiles performance

2004-11-18 Thread You Xu
I replaced the struts template with the tiles. And the performance degraded significantly. For some pages, it is taking 1 minute while previously it only took seconds. Any solution to this? Thanks. -yx

Re: Performance issues

2004-11-18 Thread Matt Bathje
Yes there is a way, here is a synopsis of what needs to be done from a message Bill Siggelkow posted to the list a while back: Create a file called staticJavascript.jsp with the following content: %@ page language=java % %-- set

Error instantiating servlet class, no root exception given

2004-11-18 Thread Peter Moore
I am trying to upgrade from Tomcat 4.1 to Tomcat 5.5.4, and am having problems migrating a struts application. The application runs perfectly under Tomcat 4, but when I try to deploy it under version 5, I get the following in catalina.out:

RE: About *.do

2004-11-18 Thread Chaikin, Yaakov Y.
Why? This would only be needed so that the user doesn't get confused by the user-hostile blabla/do/hello. In reality all the functionality would be the same. What are the reasons to use different struts-config.xml in the first place? Thanks, Yaakov. -Original Message- From: Corey Scott

Re: Performance issues

2004-11-18 Thread Juan Salazar
Joe: Thanks, I gonna try it. El jue, 18-11-2004 a las 13:42 -0600, Joe Germuska escribi: At 2:20 PM -0500 11/18/04, Erik Weber wrote: I found that the JavaScript generated by the Validator (Struts 1.1) added nearly 40Kb to the page download! (Perhaps there is a way to only download a

RE: Newbie With Question

2004-11-18 Thread David G. Friedman
Scott, I think I've found your problem: The Action class in Struts no longer has the perform() method. If you change the method name to execute() and add the appropriate throws clause, you should be fine. Perform() and execute() should have the same signature except for those differences. Why

RE: tiles performance

2004-11-18 Thread David G. Friedman
Yx, Is the slowdown the first time an action accesses a template after application startup? Or does it happen every time your action calls that tiles template? Regards, David -Original Message- From: You Xu [mailto:[EMAIL PROTECTED] Sent: Thursday, November 18, 2004 3:36 PM To: [EMAIL

RE: Error instantiating servlet class, no root exception given

2004-11-18 Thread Ron Day
The perform method still exists, but the execute method is preferred Tomcat 5.5 requires Java 1.5 aka Java5.0 -Original Message- From: David G. Friedman [mailto:[EMAIL PROTECTED] Sent: Thursday, November 18, 2004 5:40 PM To: Struts Users Mailing List Subject: RE: Error

RE: Error instantiating servlet class, no root exception given

2004-11-18 Thread David G. Friedman
Ron, I think we're in different threads. Anyway, perform is both deprecated (from 1.1 onward) AND gone (1.2.4 onward). Check the org.apache.struts.action.Action class in the SVN repository (I did before I posted that other response). Hell, check the API for current version:

Re: Error instantiating servlet class, no root exception given

2004-11-18 Thread Peter Moore
David, I am indeed running the 1.5 JVM on this machine. Also, while I agree that Ron's post regarding perform() / execute is probably meant for another thread, that is one thing that I forgot to mention. The application was originally written to use struts 1.0 (i.e., perform()), and all of

Q's about Struts release information and upgrade guides

2004-11-18 Thread David G. Friedman
Where are the release notes for Struts versions before 1.2.4? I just received a question about code changes (via a private email) and cannot find the changes from v1.0 to 1.2.4 on the Strut site or the Wiki (not where I looked anyway). I would have expected to have found this information on the

Re: URL Customization

2004-11-18 Thread Richard
Well for one thing my boss wants it removed. On Thu, 18 Nov 2004 09:02:40 -0500, Jeff Beal [EMAIL PROTECTED] wrote: Why? Richard wrote: I need to remove the webapp specific part / names on my application. For example http://mydomain.com/mywebapp/index.jsp and

bean not found problem

2004-11-18 Thread Nishant
hi to all, i am using tomcat apache server with struts . problem is that my jsp page throwing me an errors that bean is not foound ... my jsp code is ... logic:iterate id=employee name=employees type=com.cybage.DBDAO tr align=left td a href = detailProfile.jsp bean:write

Re: bean not found problem

2004-11-18 Thread Peng Tuck
Nishant , Is there such a bean called employees exposed in any scope (since you didn't specify any scope) ? If so logic:iterate will fail. Can you tell us if it's a bean with a collection you want to retrieve or is employees just a plain old collection ? Nishant wrote: hi to all, i am using

Re: bean not found problem

2004-11-18 Thread Nishant
employees is just a plain collection Arraylist Regards Nishant Patil Software Engineer Cybage Softwares Pvt. Ltd. (A CMM Level 3 Company) West Avenue, Kalyaninagar Pune - 411006 Ph. +91-20-4044700/4041700 Extn 355 [EMAIL PROTECTED] www.cybage.com There is difference between knowing the Path

Re: bean not found problem

2004-11-18 Thread Peng Tuck
Right, so back to the original problem, did you populate that collection in any scope, say either the request or session or page ? Cause that's what it seems to indicate. I think you just need to do a little checking on your side to see if it's there, you should be ok from the looks of what you

not getting

2004-11-18 Thread Nishant
hi to all, i am using tomcat apache server i am getting following error.. error There is no web application configured to service your request i am not getting wht is wrong in my web- application n by which cause i am gettin this error plz anyone help thankx in advanced Regards

Re: not getting

2004-11-18 Thread Richard Yee
What URL are you using to access the web application? What does your config file look like? How did you deploy your application? -R --- Nishant [EMAIL PROTECTED] wrote: hi to all, i am using tomcat apache server i am getting following error.. error There is no web application

[OT]-RE: not getting

2004-11-18 Thread Kailash Vasani
checkout tomcat documentation on how to deploy web application -Original Message- From: Nishant [mailto:[EMAIL PROTECTED] Sent: Friday, November 19, 2004 11:38 AM To: Struts Users Mailing List Subject: not getting hi to all, i am using tomcat apache server i am getting following

validator form not responding properly

2004-11-18 Thread Nishant
in my struts application i am goin from one page to another by clicking the buttons but when i got to particular page which is using validatorform it will popup validations on invoking.. so my problem is how to delay the invocation of validatorForm ... Regards Nishant Patil Software