Re: Unicode text in Property files

2003-12-03 Thread Debashish Chakrabarty
Thanks Jason, Problem is My app server (WAS) uses JDK1.3. The problems are many fold. If I can take up some more time of yours here are the steps I envisage: 1. I will use struts for my translation API 2. An outside application servlet will send a request for translating an English word into any

Re: Positional problem?

2003-12-03 Thread Bjørn T Johansen
Does anyone have any examples? My javascript knowledge isn't where it should be yet BTJ On Wed, 2003-12-03 at 14:49, John Smart wrote: > We did something like that using an extra field (focus) to know where > you are and some javascript to place the focus at the right place when > the page

Re: Nested tags always break

2003-12-03 Thread Rick Mann
On Dec 3, 2003, at 21:05, [EMAIL PROTECTED] wrote: Rick, You still having this problem?... can I see the tag markup that's causing the problems?... I still am. I sent you the markup directly under separate cover. If the root tag is picking up the name of a valid bean, and the iterate tag has

from sathish

2003-12-03 Thread Sathish Babu K R
hi david when i used ur signature i m not able to get session from ur request.thatz creating probs.tell me any other sugg regards sathish __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ -

from sathish

2003-12-03 Thread Sathish Babu K R
hi david i m using the same method signature for all action classes.all files works fine except this.that is i m using HttpServletRequest and HttpServletResponse in all files but u have asked me to put ServletRequest and ServletResponse.is it right? sathish __ Do

RE: from sathish

2003-12-03 Thread David Friedman
Sathish, Your method signature seems incorrect. According to the javadocs (v1.0), perform (which is deprecated) requires the following argument types: public ActionForward perform(ActionMapping mapping, ActionForm form, javax.servlet.Serv

from sathish

2003-12-03 Thread Sathish Babu K R
hi all while access to the action class,i m getting the error as java.lang.NoSuchMethodError at com.pronto.web.ModifyGWQueuesAction.perform(Unknown Source) at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1787) at org.apache.struts.action.ActionServlet.process(Ac

Re: Nested tags always break

2003-12-03 Thread Arron Bates
Rick, You still having this problem?... can I see the tag markup that's causing the problems?... If the root tag is picking up the name of a valid bean, and the iterate tag has it's property attribute properly set, then I assure you that you don't need the name attribute in the write tag. I'm ho

RE: [OT] Re: Printing PDF Files in java

2003-12-03 Thread Andrew Hill
Have the server fax it to the logged in users fax number ;-) -Original Message- From: Prashanth.S [mailto:[EMAIL PROTECTED] Sent: Thursday, 4 December 2003 11:45 To: Struts Users Mailing List Subject: Re: [OT] Re: Printing PDF Files in java Hi kirk, Thanks for the replyActually i pla

Re: [OT] Re: Printing PDF Files in java

2003-12-03 Thread Prashanth.S
Hi kirk, Thanks for the replyActually i planned to use signed applets with RMI for remote printing but since i couldnt able to accomplish printing the PDF file even if u get the original file[through applets saving in local machine] i couldnt go ahead... Any ideas other than using Jav

[OT] Re: Printing PDF Files in java

2003-12-03 Thread Kirk Wylie
Prashanth.S wrote: Hi all, Is there any way in java tp print PDF files by getting stream out of PDF files and giving the same to printer I did lot of R&D on the above topic using javax.print package avilable in jdk1.4,third party libraries like PJX,itree and JFreeReport but nothing provid

Re: how to disabled submit button from action class

2003-12-03 Thread Max Cooper
The submit button exists on the client. The Action code executes on the server. Action code cannot reach out and disable a submit button on the client. However, you can have the Action decide in advance that the page the browser will render has its submit button disabled. Consider an ActionForm wi

Re: how to disabled submit button from action class

2003-12-03 Thread Kevin Hagel
http://jakarta.apache.org/struts/userGuide/struts-html.html#submit disabled="true" or disabled="${disabledSetting}" something like that. - Original Message - From: "hari_s" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 03, 2003 5:26 PM Subject: how to disabled s

Printing PDF Files in java

2003-12-03 Thread Prashanth.S
Hi all, Is there any way in java tp print PDF files by getting stream out of PDF files and giving the same to printer I did lot of R&D on the above topic using javax.print package avilable in jdk1.4,third party libraries like PJX,itree and JFreeReport but nothing provided me the solution.My

Deploying a struts application (WAR) under ColdFusionMX

2003-12-03 Thread Tim Lucia
Hello all, I am looking to build an add-on web application to a legacy coldfusion application. I have got a prototype working under tomcat and now I want to "deploy" it to the cf server. It appears that I cannot simply load a war file, nor can I unpack it under cfusionmx\wwwroot. Both apps need

how to disabled submit button from action class

2003-12-03 Thread hari_s
Hi all. Is there a way to disabled submit button from action? Any examples will be considered. Thank you,

Message Resource bundle frustration

2003-12-03 Thread Derek Clarkson
Hi all, I've just subscribed to this list and would appreciate any help you can give. I've been trying to get resources bundles to work. I have a jar file which is used on several projects and contains some core business beans. It also contains aproperty file with a basic set of messages

Re: Database

2003-12-03 Thread Martin Cooper
"Dynamic Systems" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Another problem. I've setup a database connection in the struts-config.xml. > Is the position correct? No. http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd -- Martin Cooper > I'm getting the following

Database

2003-12-03 Thread Dynamic Systems
Another problem. I've setup a database connection in the struts-config.xml. Is the position correct? I'm getting the following error: Cannot find ActionMappings or ActionFormBeans collection Take a look at the file: http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd";>

RE: Disadvantages of Struts?

2003-12-03 Thread Hookom, Jacob
What I have for the foundation of our Struts app: --- SmoAction +-void setSource(SmoActionMapping, HttpServletRequest, String key) +-ActionForward getSource(SmoActionMapping, String key) SmoActionMapping +-String getSource() --- Step 1: Setting the Source

Re: Disadvantages of Struts?

2003-12-03 Thread Dynamic Systems
Hello all! That's my first "intercourse" on the list Does anyone use different languages? I've setup all the JSP with and created the bla.properties, bla_en.properties and bla_pt.properties. So, when I access in my browser, independent of the selected language and order, I always see just on

Re: Disadvantages of Struts?

2003-12-03 Thread Manish Singla
Wendy Smoak wrote: [Originally posted on struts-dev, answering on struts-user] I just wonder if Struts comes with any significant drawback. The main problem I'm always running up against is the lack of a "go back where you came from" mechanism in the framework. Everything goes forward, with th

RE: Disadvantages of Struts?

2003-12-03 Thread Wendy Smoak
> I had to do something similar where I keep a Map in the > session and allow > the actionmappings/request specify a source, it's then up to > the action code > to specify what key to store it under. Then I can later look > up the source as a forward. Care to elaborate? Do you have a Map of S

RE: Disadvantages of Struts?

2003-12-03 Thread Hookom, Jacob
I had to do something similar where I keep a Map in the session and allow the actionmappings/request specify a source, it's then up to the action code to specify what key to store it under. Then I can later look up the source as a forward. -Original Message- From: Wendy Smoak [mailto:[EMA

RE: Disadvantages of Struts?

2003-12-03 Thread Wendy Smoak
[Originally posted on struts-dev, answering on struts-user] > I just wonder if Struts comes with any significant drawback. The main problem I'm always running up against is the lack of a "go back where you came from" mechanism in the framework. Everything goes forward, with the exception of Vali

Re: How extensively can/is Struts used ?

2003-12-03 Thread Manish Singla
> Then I have lots of "display information only"-pages. Most of these are > tables that are based on some sort of DB table. > Although this approach appeals to me in some ways (nice separation of > concerns DB / Business-layer / Display for instance) it also seems a bit > over the top at times. I c

Re: Integration with Reporting Systems (was: How extensively can/is Struts used ?)

2003-12-03 Thread Manish Singla
Because of following problem and other primary factors, I know a team which is using .NET for frontend and J2EE for backend. .NET has some components to meet these kind of needs.:-(. May be JSF can handle this issue. Thus, somebody wrote a component to show reports and one can configure renderer

Re: Unicode text in Property files

2003-12-03 Thread Jason Lea
You can create and edit the property files saving them in UTF-8. Then you convert the UTF-8 into the format java expects eg \u using the native2ascii program that comes with Java. It will create a new file so the created files are what go into your application, leaving your source files in

Re: User defined error messages

2003-12-03 Thread Manish Singla
You can connect to database by extending "PropertyMessageResources" of struts. PropertyMessageResources has "loadLocale" method wherein struts use "getResourceAsStream(proprtyFileName)"... Thus, instead of that you have to connect to database to load it. Manish Singla >and we don't have to r

Re: struts printing debug mesg regardless what I did

2003-12-03 Thread Manish Singla
Since you are setting log4j.rootLogger=warn, rolling log4j.category.org.apache=warn, rolling Thus, you should not see DEBUG messages of "commons". Problem is somewhere else. HTH Manish Singla PS:: Setting debug level in web.xml i.e. is deprecated. Thus, I will configure logging deta

Re: Extending DTD and consequences

2003-12-03 Thread Manish Singla
You may have to extend ActionConfig also. You wrote: > I wrote an ActionServlet sub-class to define the public id of my dtd for the digester. DO you mean "protected String registrations[]". And this worked for you. Thanks Manish. [EMAIL PROTECTED] wrote: Hello all, I want to ask you fo

Re: Changing SessionId at every request

2003-12-03 Thread Kirk Wylie
Gary, to be really honest, what you're trying to do is implement an SSL-like mechanism without using SSL. This is exactly the situation that SSL is designed to guarantee from a Server perspective (that a single connection is actually with a single client and hasn't been "hijacked" in any way).

Re: Data Access Optmizing

2003-12-03 Thread Kirk Wylie
Zoran Avtarovski wrote: > Had you thought about using a single SQL statement to populate > everything? In other words, if your cycle is: > - Get a bunch of user response objects > - For each user response object, get its user feedback objects > This is something which is very easy to do with

RE: User defined error messages

2003-12-03 Thread Susan Bradeen
Greg, Have you looked into James Mitchell's OJBMessageResources? http://nagoya.apache.org/wiki/apachewiki.cgi?StrutsMessageResourcesFromDatabase. I haven't used it, but if I remember correctly it is message resources in a database. HTH, Susan On 12/03/2003 12:12:09 PM "Greg Dunn" wrote: > So

Integration with Reporting Systems (was: How extensively can/is Struts used ?)

2003-12-03 Thread Kirk Wylie
See below. Linus Nikander wrote: Then I have lots of "display information only"-pages. Most of these are tables that are based on some sort of DB table. Right now I: Call a struts Action. The Action retrieves the data, populates a boatload of Beans. The Beans are stuffed into a List, which in tur

RE: How extensively can/is Struts used ?

2003-12-03 Thread Wendy Smoak
> Then I have lots of "display information only"-pages. Most of > these are tables that are based on some sort of DB table. Right now I: > Call a struts Action. > The Action retrieves the data, populates a boatload of Beans. > The Beans are stuffed into a List, which in turn is put into > a List

[struts-nested] BeanUtils.populate exception

2003-12-03 Thread Daniel Blázquez
I have done rigth now a few more things but I still have the problem: - I have set the scope of the action to "session" - I have implemented the reset() method, instantiating collectiong using a LazyList Maybe its recommendable to switch to Indexed properties? i only wanted to do in the same way

Re: struts printing debug mesg regardless what I did

2003-12-03 Thread Kevin Hagel
Is your log4j.properties being loaded? Log4jConfigurer.initLogging("C:/somedir/src/test/log4j.properties"); - Original Message - From: "david chan" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, December 03, 2003 10:00 AM Subject: Re: struts print

Extending DTD and consequences

2003-12-03 Thread sebastian_linz
Hello all, I want to ask you for help concerning an extension of the struts config dtd and how to make these extension available in the javabeans, respectively. In my case the "roles" tag isn't enough why I added a "security-constraint" tag. Within a sub-class of RequestProcessor I would like to c

Re: struts printing debug mesg regardless what I did

2003-12-03 Thread david chan
Tried both, not working. David --- Richard Yee <[EMAIL PROTECTED]> wrote: > David, > Set > > debug > 0 > > > in the web.xml for your action servlet. > > -Richard > > --- Kevin Hagel <[EMAIL PROTECTED]> wrote: > > log4j.category.org.apache.common=WARN > > > > - Origin

How extensively can/is Struts used ?

2003-12-03 Thread Linus Nikander
I was wondering how far it is recommended to "keep" using struts when displaying information. Two examples might make it clearer about where I'm having trouble deciding. For instance, I've got lots of forms on my site, I use Struts for all of them, love the extra functionality and the "one way of

Re: struts printing debug mesg regardless what I did

2003-12-03 Thread Richard Yee
David, Set debug 0 in the web.xml for your action servlet. -Richard --- Kevin Hagel <[EMAIL PROTECTED]> wrote: > log4j.category.org.apache.common=WARN > > - Original Message - > From: "david chan" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" > <[EMAIL PRO

Re: struts printing debug mesg regardless what I did

2003-12-03 Thread Kevin Hagel
log4j.category.org.apache.common=WARN - Original Message - From: "david chan" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, December 03, 2003 9:39 AM Subject: struts printing debug mesg regardless what I did > Hi, > I am using Struts 1.1 and l

struts printing debug mesg regardless what I did

2003-12-03 Thread david chan
Hi, I am using Struts 1.1 and log4j 1.2.4, and in my log4j.properties, I have this to turn off Struts debug mesg, but it always printing debug mesg for package org.apache.common. How can I turn it off? Thanks. David ===my log config === log4j.rootLogger=warn, rolling log4j.category.org.apache=war

RE: User defined error messages

2003-12-03 Thread Greg Dunn
Sorry I wasn't clear. I've got my ApplicationResources.properties file set up and in use for most messages. However, it's packed into a .war file inside an .ear file for deployment, so I can't let them access it directly and edit the messages in it to their taste. What I'm looking for is another

RE: Variable value in logic:equal tag Help Req [SOLVED]

2003-12-03 Thread Fullam, Jonathan
told ya so... ;-) -Original Message- From: Shakti [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2003 11:35 AM To: Struts Users Mailing List; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Variable value in logic:equal tag Help Req [SOLVED] Hey that <% refVar.toString %> wor

RE: Select Property !

2003-12-03 Thread Fullam, Jonathan
You are referencing modelYear as the property but your baseVO appears to have a property called strModelYear. -Original Message- From: Rama, Shreekantha (K.) [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2003 11:04 AM To: Struts Users Mailing List Subject: Select Property ! Impor

RE: User defined error messages

2003-12-03 Thread Witt, Mike (OH35)
I'm not sure if you are asking more than what this answer implies but ... I use Properties stored in a properties file for my error messages. Mike -Original Message- From: Greg Dunn [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2003 11:40 AM To: Struts Users Mailing List Subject

RE: Solved super.init() dies silently after migration from struts 1.0 to struts 1.1

2003-12-03 Thread Steve Raeburn
You should really take a look at the Ant task. http://ant.apache.org/manual/index.html - look under Ant Tasks/Optional tasks. It's free and it will allow you to validate your XML files as part of the build process. Alternatively, use an editor that will validate the files for you as you go. I'm s

User defined error messages

2003-12-03 Thread Greg Dunn
My PTB want to let our clients edit the content of certain error messages after deployment.Any suggestions on how to accomplish this? Thanks. Greg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: Variable value in logic:equal tag Help Req [SOLVED]

2003-12-03 Thread Shakti
Hey that <% refVar.toString %> worked man .. :-) ... at last. . now i won't have to sit for the whole nite .. :-) .. chao .. Shakti - Original Message - From: "Shakti" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: We

Re: Variable value in logic:equal tag Help Req

2003-12-03 Thread Shakti
Hi , I am still not able to make out as how can i compare values from two arraylists using logic iterate and logic equal , as none of them is a constant and i am still getting the same error. 1) I want to know how do i get the value of the variable created using bean:define ??? I am using <%= v

RE: Why isn't an ActionForm just a Map?

2003-12-03 Thread Hookom, Jacob
I'm kinda confused on this too. It seems there's a migration towards DynaActionForms and if you read Craig's previous post: http://www.mail-archive.com/[EMAIL PROTECTED]/msg34344.html Defining a property as anything but a String seems taboo. Let validator assert that a property is an integer, b

RE: Variable value in logic:equal tag Help Req

2003-12-03 Thread Fullam, Jonathan
You can use a variable for the value attribute just as you did: <%= refValue %> as long as refValue is a variable in some scope on your page. Note that refValue must point to a String object because the equal tag requires this (it converts the value of the bean pointed to by the name attribute to

Select Property !

2003-12-03 Thread Rama, Shreekantha (K.)
Hi All, I have the following piece of code in a .jsp I am getting the error as : [No getter method available for property modelYear for bean under name 2002]: javax.servlet.jsp.JspException: No getter method available for property mo

Re: Validator: Unwanted Client side AND Server side validation

2003-12-03 Thread Rouven Gehm
Well i have to set validate false of the action in the struts-config.xml, then i only have client side validation without submitting, but then i have to call the .validate Method in the action to do the server-side validation, if i disable JavaScript. Any more ideas to this problem ? - Orig

RE: Validator: Unwanted Client side AND Server side validation

2003-12-03 Thread Andy Schmidgall
Make sure you you have the return statement in the onsubmit handler. Otherwise it will always submit the form. It needs to look like this: onsubmit="return validateFooForm(this)" If that's not the problem, you may be trying to validate using an incorrect field name. That's happened to me a few ti

Variable value in logic:equal tag Help Req

2003-12-03 Thread Shakti
With reference this mail : I trid this code but i am getting the error :can not resolve symbol refValue :\bea\user_projects\mydomain\myserver\.wlnotdelete\mcc_mcc_4346456\jsp_servl et\__reassignta.java:376: cannot resolve symbol probably occurred due to an error in /reassignta.jsp line 118: I wan

Re: [ot] image file to byte array

2003-12-03 Thread Kris Schneider
This seems like a problem waiting to happen: byte [] loader = new byte [ (int) raf.length() ]; while ( (raf.read( loader )) > 0 ) { out.write( loader ); out.flush(); out.close(); } RandomAccessFile.read(byte[]) is *not* guaranteed to completely fill the buffer you provide. It will read *at

RE: Why isn't an ActionForm just a Map?

2003-12-03 Thread Philip Seay
According to Craig McClanahan at http://www.theserverside.com/events/library.jsp#mcclanahan, You would lose type safety and risk getting a ClassCastException in the JSP. Also, you would not know which field names are legal. Regards, Phil Seay -Original Message- From: Fullam, Jonathan [m

Re: Dynamic assignment of tiles

2003-12-03 Thread Ted Husted
The XMLs files are just used to generate an object graph. If you want to change definitions dynamically, you'd want to look at changing the object graph rather than the XML script. Though, dynamic content is not usually dependant on the Tiles definition itself. Typically, dynamic content is p

RE: Struts validator with Date property ???

2003-12-03 Thread Ramachandiran, Karuna
Change the type of date type to java.sql.Date you won't get that exception. This is because the Beanutils which they use to copy the data form request to form is not having a corresponding converter to convert to java.util.Date but it has a converter to convert to sql date Thanks Karuna -Ori

RE: Debug/Breakpoint Problem with Sysdeo Tomcat Plugin in Eclipse

2003-12-03 Thread Colin Foulkes
Yes, that was the problem. Thanks a lot.. Colin -Original Message- From: Witt, Mike (OH35) [mailto:[EMAIL PROTECTED] Sent: December 2, 2003 12:54 PM To: Struts Users Mailing List Subject: RE: Debug/Breakpoint Problem with Sysdeo Tomcat Plugin in Eclipse If I recall ... You bring up pre

Re: [OT] initialization of application-wide drop-down settings

2003-12-03 Thread Haroon Rafique
On Yesterday at 4:32pm, KW=>Kirk Wylie <[EMAIL PROTECTED]> wrote: KW> KW> Okay, another real brute-force approach which is taken by old-skool KW> Java systems (i.e. it's a real idiom, and is used in such places as KW> the security.policy file amongst other places) is to use property KW> files, bu

Re: [ot] image file to byte array

2003-12-03 Thread Adam L
It might be your output stream.. here's my code, which does work: File imagedata = new File(img.getImageLocation(), img.getImageId() ); resp.setContentType( img.getImageType() ); RandomAccessFile raf = new RandomAccessFile( imagedata, "r" ); resp.setContentLength

RE: Wht does tag in web.xml means ??

2003-12-03 Thread John . Pitchko
BDY.RTF Description: RTF file - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Why isn't an ActionForm just a Map?

2003-12-03 Thread Fullam, Jonathan
One guess would be because then you would lose some of the methods which provide more functionality than just a TransferObject provides. Such methods are validate and reset. -Jonathan -Original Message- From: Antony Paul [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2003 8:39 AM

Re: Positional problem?

2003-12-03 Thread John Smart
We did something like that using an extra field (focus) to know where you are and some javascript to place the focus at the right place when the page is redisplayed. Bjørn T Johansen wrote: I have a number of jsp pages that are longer than one page and if I am at the bottom of a page and submit

Re: Positional problem?

2003-12-03 Thread Paul-J Woodward
I once had the same problem. I overcame it using embedded links in the page, submitting the name of the link to be scrolled to as a hidden form element and placing a redirect in the onload property of the body tag. It worked, but it wasn't fantastic. You may be able to use javascript to get the

Why isn't an ActionForm just a Map?

2003-12-03 Thread Antony Paul
This question is from the table of contents of a text book. I dont have this book in hand. I have other questions also. Why ActionForm is made Struts dependent ?. Why not use just plain JavaBean whch can be used as TransferObject. ? rgds Antony Paul ---

Unicode text in Property files

2003-12-03 Thread Debashish Chakrabarty
Hi, I have a query and request you to kindly spare some time to enlighten me. I am making a web application that would translate words from English to various Indian languages using Struts. The application would not use any database so I must use some flat file to store the translation in form

Positional problem?

2003-12-03 Thread Bjørn T Johansen
I have a number of jsp pages that are longer than one page and if I am at the bottom of a page and submit the page, I get back at the top of the page. Is there a way to get back, after the submit, to the place you were before the submit? Regards, BTJ ---

SV: Validation of a property java.util.Date is possible?

2003-12-03 Thread Håkan Fransson
You can only have String and boolean types on the form. Use Struts validator to validate. Take a look here http://developer.java.sun.com/developer/Books/javaprogramming/struts/struts_ chptr_12.pdf /Hakan -Ursprungligt meddelande- Från: Mauricio T. Ferraz [mailto:[EMAIL PROTECTED] Skickat:

[OT] Re: Changing SessionId at every request

2003-12-03 Thread Adam Hardy
Will Hartung is asking the same questions just hours ago in the thread "cross-site single sign on" on the tomcat user list - so you are not alone. However I don't have any experience with this (& it's getting OT). Sorry. Following is an interesting bit from his message: Now, if you have sitea.c

Validator: Unwanted Client side AND Server side validation

2003-12-03 Thread inaminute
Hi, When using client side validation the form is submitted regardless of Javascript validation check occuring (After clicking OK on the Javascript popup warning following an error the form get submitted anyway). I used validation already without this behaviour to occur ... I must be misconfigur

Validation of a property java.util.Date is possible?

2003-12-03 Thread Mauricio T. Ferraz
In my Form a have a property java.util.Date, I can validate it ? Or I just can have properties "Strings" ??? in my textfiels on form??? I can map a textfield of a Form HTML to a property java.util.Date of a JavaBean ??? How can I do it? I got java.lang.IllegalArgumentException: argument type

Re: Dynamic assignment of tiles

2003-12-03 Thread Paul-J Woodward
Andreas, Thanks for the ideas - I see your point about the dangers of a proprietary solution. When it comes to changing the site in such a way that new actions are required (more a framework change than a content change), this really has to go through a test and user-acceptance process, hence

Validator a property java.util.Date is possible??

2003-12-03 Thread Mauricio T. Ferraz
In my Form a hava a property java.util.Date, I can use the validator Struts? Or I just can have properties "Strings" ??? in my textfiels on form??? In the Struts' webapps has a example, the use only String to input of data... I got java.lang.IllegalArgumentException: argument type mismatch Tha

Re: Wht does tag in web.xml means ??

2003-12-03 Thread Claire Wall
The tag determines the order in which the specified classes are run when the application first starts. so for example, say i had two servlets which i wanted to start up immediately when the application starts, i would do the following: myServlet1 package1.myServlet1 ... 1 myServlet2

RE: Wht does tag in web.xml means ??

2003-12-03 Thread Tapan Nanawati
Hi Shakti, means you want call your servlet class at the time of server startup. A typical use will be for loading context/application level parameters in the memory. The value indicates the order in which servlets are loaded. For eg:- 1 indicates this servlet will be loaded first. Also, You wan

Re: Dynamic assignment of tiles

2003-12-03 Thread "Dr. Andreas Krüger"
Paul-J Woodward anticipates the need to store the contents of uploaded pages in a database as a blob, "War story" / food for thought: Almost ten years ago and totally unrelated to Struts or even Java, I did something similar. At that time, I had very good success with a home brew object orien

Struts validator with Date property ???

2003-12-03 Thread Mauricio T. Ferraz
In my Form a hava a property java.util.Date, I can use the validator Struts? Or I just can have properties "Strings" ??? in my textfiels on form??? In the Struts' webapps has a example, the use only String to input of data... I got java.lang.IllegalArgumentException: argument type mismatch Tha

validator java.util.Date object ???

2003-12-03 Thread Mauricio T. Ferraz
In my Form a hava a property java.util.Date, I can use the validator Struts? Or I just can have properties "Strings" ??? in my textfiels on form??? In the Struts' webapps has a example, the use only String to input of data... Thanks, for help.

Validator with a property java.util.Date ???

2003-12-03 Thread Mauricio T. Ferraz
In my Form a hava a property java.util.Date, I can use the validator Struts?Or I just can have properties "Strings" ??? in my textfiels on form???In the Struts' webapps has a example, the use only String to input ofdata...I got java.lang.IllegalArgumentException: argument type mismatchThank

ActionMapping - dependency - question

2003-12-03 Thread Zimmek, Jan
Hi, I have started to develop several reusable struts-enhancements like (conditional-execution of actions, workflow, ...). All of them have been realized using the nested element of the element which is working very nice ;) What I do not understand is, why the ConfigRuleSet.java defines the fol

Re: MySQL Driver List

2003-12-03 Thread Kwok Peng Tuck
Uh, there's no installer for windows. Just a tar.gz file. If you have problem with the main link just pick a mirror. Just have some patience. Gurpreet Dhanoa wrote: Hey I accesed the page the page is coming up but when u try to download the installer for windows it taked to FtP address andhangs

Re: Changing SessionId at every request

2003-12-03 Thread Gurpreet Dhanoa
Hi Andrew You are right . I can implement SSL but there must be a solution for this trouble right Thanks Gary - Original Message - From: "Andrew Hill" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, December 03, 2003 3:14 PM Subject: RE: Chang

RE: Changing SessionId at every request

2003-12-03 Thread Andrew Hill
ahhh... ok I think I see what you mean So by 'hand rolled' sessionId what you mean is some kind of token that must be submitted with each request to verify that it came from the real client? (Rather like the token mechanism used to detect double submissions) If he is after real security though, I

RE: Data Access Optmizing

2003-12-03 Thread Srivastava, Ravi Prakash
Hi Milind I am sorry to all of you. I am ravi. Ravi -Original Message- From: Milind Kulkarni [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2003 3:12 PM To: 'Struts Users Mailing List' Subject: RE: Data Access Optmizing If you can use a stored procedure instead of a multiple

Re: Changing SessionId at every request

2003-12-03 Thread Gurpreet Dhanoa
hi Adam You are on the right track in understanding my concern. Anyway i have madeit possible. But now there is a small new issue. it is I want to access the sessionId of another Web Server into some other web server. I meant say i have a domain A on Server A, I want to access the sessionId of D

RE: Data Access Optmizing

2003-12-03 Thread Milind Kulkarni
If you can use a stored procedure instead of a multiple SQL statements then it would improve your performance significantly. The advantages are obvious but then if you plan to develop a solution that works on the different types of databases then this solution may not work. We did this in many situ

Re: MySQL Driver List

2003-12-03 Thread Gurpreet Dhanoa
Hey I accesed the page the page is coming up but when u try to download the installer for windows it taked to FtP address andhangs on Can u look into it. Thanks Gary - Original Message - From: "Kwok Peng Tuck" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sen

Re: MySQL Driver List

2003-12-03 Thread Gurpreet Dhanoa
ok Thanks Gary - Original Message - From: "Kwok Peng Tuck" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, December 03, 2003 3:05 PM Subject: Re: MySQL Driver List > It's working fine ... > check back in a while, maybe your internet access is actin

Re: Changing SessionId at every request

2003-12-03 Thread Adam Hardy
I assume that Gurpreet wants to do it for security reasons and it's not a bad idea. It certainly means that nobody would be able to share a session, and so therefor a session-hijack would become obviously immediately. I think expiring the session is overkill - I would just leave the session as

Re: MySQL Driver List

2003-12-03 Thread Kwok Peng Tuck
It's working fine ... check back in a while, maybe your internet access is acting up at the moment. Gurpreet Dhanoa wrote: this URl is not working Please advise Thanks Gary - Original Message - From: "Christian Burger" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECT

[ot] image file to byte array

2003-12-03 Thread Mark Lowe
Although its not a struts problem as such I do happen to be using struts in my app.. Here some code as it will say more in less words that it will take to explain In my action servlet I have something like this.. response.setContentType("image/jpeg"); response.setHeader("Cache-Control", "no-c

Re: MySQL Driver List

2003-12-03 Thread Gurpreet Dhanoa
this URl is not working Please advise Thanks Gary - Original Message - From: "Christian Burger" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, December 03, 2003 2:00 PM Subject: RE: MySQL Driver List Use this for Java!! Not the ODBC! http://www

Re: MySQL Driver List

2003-12-03 Thread Gurpreet Dhanoa
Thanks alot - Original Message - From: "Christian Burger" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, December 03, 2003 2:00 PM Subject: RE: MySQL Driver List Use this for Java!! Not the ODBC! http://www.mysql.com/downloads/api-jdbc-stable.h

Wht does tag in web.xml means ??

2003-12-03 Thread Shakti
Hi, Wht does tag in web.xml means ?? I am using struts framework with weblogic and i am not able to find out wht is does this tag implies ? Is this the cause due to which my weblogic is not picking up new compiled classes without restarting ..??? waiting for a reply Thanks & Regards, S

Re: Is it required to restart weblogic everytime after compiling ?? ? Need help Desperately .. :-(

2003-12-03 Thread Shakti
RE: Is it required to restart weblogic everytime after compiling ?? ? Need help Desperately .. :-(Nick i checked well my process is somewht differnt from yours.. 1) I am not copying a new WAR file .. instead i am just recompiling my java files and the the app dir ( which i think is one and the sa

  1   2   >