[struts-faces] tag with module

2004-06-04 Thread Ng Chong Hin NCS
Hi! Currently, I am in the midst of converting a working Struts application (JSP/Tiles/Modules) to one that uses JSF, using the struts-faces integration library. Having problems retrieving the messages from the "message-module1.properties" resource (defined in the struts-config-module1.xml)

RE: Hidden Variables

2004-06-04 Thread Joshi, Naveen
Request Scope Form. -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Friday, June 04, 2004 2:48 AM To: Struts Users Mailing List Subject: RE: Hidden Variables Is is a session or request scoped form? -Original Message- From: Joshi, Naveen [mailto:[EMAIL PROTEC

sitemesh include problem

2004-06-04 Thread Marco Rossi
Hi, I try to use sitemesh instead of tiles; in my “decorator” template page I need to include a struts action. I try to do this: , but I catch the following java.lang.IllegalStateException: Response has already been committed Any suggestion? _

RE: Deprecated Method

2004-06-04 Thread Joe Hertz
In your action, instead of: servlet.getResources(); // Deprecated Use this.getResources(request); // Not Deprecated > -Original Message- > From: Jason L. West, Sr. [mailto:[EMAIL PROTECTED] > Sent: Friday, June 04, 2004 12:25 PM > To: Struts Users Mailing List > Subject: Deprecated Met

RE: implementation of permission subsystem

2004-06-04 Thread Joe Hertz
You tried the Declarative Security model built into Tomcat? You can use that to talk to the database by defining a "JDBCRealm". Or even better (since that doesn't give you a login form you can use the way you might expect to), take a look at SecurityFilter, which is what I use. http://www.securi

Re: implementation of permission subsystem

2004-06-04 Thread Ding Lei
One more thing, the system stores all user & group information in database So storing role information in a tomcat/struts configuration isn't really possible. On Sat, Jun 05, 2004 at 08:59:41AM +0800, Ding Lei wrote: > Hello folks, > I am working on a DVB(Digital video broadcasting) content

implementation of permission subsystem

2004-06-04 Thread Ding Lei
Hello folks, I am working on a DVB(Digital video broadcasting) content management webapp, which is based on the struts framework. It mainly includes application, service,network, user,broadcasting management & etc. The system is originally designed almost without considering security issues

Re: Controller for web services

2004-06-04 Thread Frank Zammetti
I probably wouldn't bother replying to this, since a lot of it is supplanted by what I did for the later public WS project. I would just ignore what I posted here, it's kind of old news at tis point :) Have you looked through the documentation on my quick project site? The Technical Details t

Re: Controller for web services

2004-06-04 Thread Pedro Salgado
(to frank) I really have to read more carefully this answer and post a reply (I already answered some things on the web services enablement thread :D). My web services background has improved (thanks to more than 30 articles+books) but I need more time to analyze the solution you are proposing a

Re: Strus Web Service Enablement

2004-06-04 Thread Pedro Salgado
On 04/06/04 16:10, "Marco Mistroni" <[EMAIL PROTECTED]> wrote: > Hi, > >> How could one use your RequestProcessor if I am using Axis and >> publishing web services through WSDD or JWS files? > > Point here, if I understood correctly, is that frank is implementing > The serverside part. So if y

Re: Strus Web Service Enablement

2004-06-04 Thread Pedro Salgado
On 04/06/04 15:51, "Frank Zammetti" <[EMAIL PROTECTED]> wrote: > Hmm... If I understand your suggestion correctly, that would require a new > class for any Action you want to expose, correct? That's something I wanted > to avoid. It's good in the sense that no code has to change (config files > d

Struts and OLAP

2004-06-04 Thread Julio Cesar De Salvo
Have you worked in this environment?? Do you have any ideas, thanks Julio Cesar De Salvo - Project Leader iTechnology S.R.L. - Ciudad de la Paz 2846 - piso 1 Tel 54 11 4782.6901 / Fax 54 11 4782.6901 [EMAIL PROTECTED] AVISO DE CONFIDENCIALIDAD. La información incluida

Re: Error

2004-06-04 Thread James Mitchell
I hit this recently. Remove your html comments ( ) from the offending jsp and try again. -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: "Smith, Johnathan M." <[EMAIL PROTECTED]> To: "'Struts Users Maili

Error

2004-06-04 Thread Smith, Johnathan M.
I have a system in Strut running on WAS4 and its ok but if I try to run the same code on WAS5 I get the following error [End of content reached while more parsing required: tag nesting error?]: org.apache.jasper.compiler.ParseException: End of content reached while more parsing required: tag nesti

Re: People Soft Component Interface

2004-06-04 Thread Bill Siggelkow
Off the top of my head I would look into whether or not PeopleSoft supports the JCA (Java Connector Architecture) -- it was designed for just this sort of thing. Zhang, Larry (L.) wrote: Sorry for this off topic question, but I don't know which group I should post this question. I posted this o

Re: HTTP header for dynamic pdf and IE6

2004-06-04 Thread Dean A. Hoover
Frank Zammetti wrote: I'm doing this as well, and three things come to mind... (1) For IE, you must set the response size or it'll choke. Looks like your doing that already. (2) Try adding response.setContentType("application/pdf"); to your code. That's the only extra thing I'm doing in my code

sitemesh include problem

2004-06-04 Thread [EMAIL PROTECTED]
Hi, I try to use sitemesh instead of tiles; in my “decorator” template page I need to include a struts action. I try to do this: , but I catch the following java.lang.IllegalStateException: Response has already been committed Any suggestion?

People Soft Component Interface

2004-06-04 Thread Zhang, Larry \(L.\)
Sorry for this off topic question, but I don't know which group I should post this question. I posted this on People Soft company discussion group, but no one answered my question. EJB in Java as a technology has become more and more widely used to perform transaction (update, delete, insert) a

RE: [OT] thick client functionality in the browser

2004-06-04 Thread Khalid K.
I have no objections :) khalid Quoting Frank Zammetti <[EMAIL PROTECTED]>: > >Cheers for the span tip. It will reduce some of my needs for double > >requests. However sometimes the iframe saves requesting more than > >necessary > >in the response - eg when searching data, only replace the insid

RE: [OT] thick client functionality in the browser

2004-06-04 Thread Frank Zammetti
Cheers for the span tip. It will reduce some of my needs for double requests. However sometimes the iframe saves requesting more than necessary in the response - eg when searching data, only replace the inside of the iframe. You know, I'm sitting here wondering why I never just refreshed the iFr

Deprecated Method

2004-06-04 Thread Jason L. West, Sr.
I am finishing up a series of WROX books that are focused on the JSP/J2EE development with the last book of the series focusing on developing Struts Applications. Unfortunately the series was published in early 2002 with focus on the Struts version 1.0. One of the methods the book talks about has

RE: Alias names that can be used in javascript to reference when using multiple forms that could point to the same action?

2004-06-04 Thread Slattery, Tim - BLS
> My question is, does anything exist or will exist to refer to > a form in javascript without having to dive into a positional > array when having multiple html:form's tags pointing to the > same action? Use the styleID attribute of the tag. That resolves into the "id" attribute of the HTML

RE: [OT] thick client functionality in the browser

2004-06-04 Thread Daniel Perry
I can see where you're going with the mixing of business logic and views. I will admit that in parts i have done this. A quick javascript check gives a much quicker response that submit/redisplay form. Especially when you get some of the massive pages in our system. One solution i had was to do

Re: [OT] thick client functionality in the browser

2004-06-04 Thread Frank Zammetti
Geez, I hope your not talking about an app I did part of a couple of years ago! :) Sounds very familiar... We had some Cobol jobs on a mainframe who's output we ran through something from IBM called Web Templates... It's meant to generate HTML, but instead we generated XML from it, then sent th

RE: [OT] thick client functionality in the browser

2004-06-04 Thread Frank Zammetti
I agree with this. Our app is IE only, and it's amazing what you can do. IFRAME's make great scrollable tables. The use of document.getElementById("xxx").style.display="none" (or "") for hiding/unhiding stuff is very extensive. You know what I discovered about a month ago? Instead of using iFra

Re: [OT] thick client functionality in the browser

2004-06-04 Thread Bill Siggelkow
I agree with Frank that -- it is amazing what you can do with JavaScript and IE-specific stuff. A few jobs ago I had to inherit an heavy JavaScript app where the page was generated with XSLT. I converted to use Struts but I had to preserve the JavaScript. It is difficult to keep the MVC arch

RE: [OT] thick client functionality in the browser

2004-06-04 Thread Daniel Perry
I agree with this. Our app is IE only, and it's amazing what you can do. IFRAME's make great scrollable tables. The use of document.getElementById("xxx").style.display="none" (or "") for hiding/unhiding stuff is very extensive. I disagree with the comment about layers tho. Our jsps are still on

RE: [OT] thick client functionality in the browser

2004-06-04 Thread Geeta Ramani
Yes, quick, where did I misplace my medication..? ;) > > Now that I've opened a theological nightmare here... ;) > > Frank - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Strus Web Service Enablement

2004-06-04 Thread Frank Zammetti
Point here, if I understood correctly, is that frank is implementing The serverside part. So if you or I or anyone else would use his package, It will be for enabling an existing struts application to be called As webservice. That's spot-on. I'd say if you were developing new services, or really

Struts dyanmic master detail form

2004-06-04 Thread shoaibm
Dear All, we are trying to create a master detail form, where in rows can be added dynamically on the client side can any body please tell me how to do it. We cant use arrays of objects of line items beacus its size has to be fixed.If we use Map we are not able to do the validations.Please guide .

RE: [OT] thick client functionality in the browser

2004-06-04 Thread Frank Zammetti
I've personally made something of a career out of doing what your talking about. The applications I've built at work are known to have very Windows-like look, feel and functionality, much more so than most other web-based applications. To pull it off, two things are true... first, it is IE onl

RE: Alias names that can be used in javascript to reference when using multiple forms that could point to the same action?

2004-06-04 Thread Geeta Ramani
Hi Ken: <2 p> Multiple actions pointing to the same action and form is valid and will work. -Original Message- > From: Linck, Ken [mailto:[EMAIL PROTECTED] > Sent: Friday, June 04, 2004 11:36 AM > To: '[EMAIL PROTECTED]' > Subject: Alias names that can be used in javascript to reference >

CORRECTION: Alias names that can be used in javascript to refere nce ......................

2004-06-04 Thread Linck, Ken
== Sorry, minor correction in example needed: The java script should be dosomething() { alert(document.somethingFormConfigOptionA.command.value); alert(document.somethingFormConfigOptionB.command.value); } === -Original Message

Alias names that can be used in javascript to reference when using multiple forms that could point to the same action?

2004-06-04 Thread Linck, Ken
I am in the process of removing all our Struts 1.0 deprecated code in anticipation of moving to Struts 1.2(when its release). I was looking at the tag and how they removed the "name", "type", "scope" attributes of the tag stating that the action mapping will determine these values. My question

[VERY OT] RE: JAVA & working in music

2004-06-04 Thread Smith, Darrin
There is a Borland newsgroup that could probably help with this off topic issue. Check into borland.public.jbuilder.ide for starters. -Original Message- From: Le Goff, Yoann [mailto:[EMAIL PROTECTED] Sent: Friday, June 04, 2004 10:12 AM To: 'Struts Users Mailing List' Subject: JAVA & work

[OT] thick client functionality in the browser

2004-06-04 Thread Wennberg, Mathias
We're currently running a swing java webstart app but issues with clients jvm versions and permissions to install/update programs on their workstations are making us look into alternatives. What are people out there using to get thick client functionality in the browser? Ultimately it would work wi

JAVA & working in music

2004-06-04 Thread Le Goff, Yoann
gotta small problem, often when i'm working with JBuilder, myWinamp die ... it works again, only i restart the computer ... somedy ever meet this problem ? Y. working in silence

RE: Strus Web Service Enablement

2004-06-04 Thread Marco Mistroni
Hi, > How could one use your RequestProcessor if I am using Axis and >publishing web services through WSDD or JWS files? Point here, if I understood correctly, is that frank is implementing The serverside part. So if you or I or anyone else would use his package, It will be for enabling an exis

Re: Servlet filter

2004-06-04 Thread Nic Holbrook
I actually extended the Action class with a SecureAction class and created a Secure Action Mapping. All actions that need to be secured extend this class. In the struts config I have for each action. This way I validate at the role level for each action. This works great since we build menu

[struts-faces] tag with module

2004-06-04 Thread Ng Chong Hin NCS
Hi! Currently, I am in the midst of converting a working Struts application (JSP/Tiles/Modules) to one that uses JSF, using the struts-faces integration library. Having problems retrieving the messages from the "message-module1.properties" resource (defined in the struts-config-module1.xml).

RE: Semi-OT: Organizing WEB-INF/lib dir...

2004-06-04 Thread Satish Kataria
Instead of you putting all the jar files in the WEB-INF/lib folder I would suggest that create a directory structure for libraries aoutside WEB-INF Advantages of this is this approach is cleaner and easily mantainable as You can add any new libraries with minimum of effort e.g the directory stru

RE: Strus Web Service Enablement

2004-06-04 Thread Frank Zammetti
For what I understood you are customizing the RequestProcessor to handle SOAP message requests, right? I dont see Axis and any way of retrieving the WSDL to make a direct call... That is correct. Any by "handling SOAP message requests", it really means "look for the SOAPAction header, if it's t

Re: Transition after registering new user

2004-06-04 Thread Bill Siggelkow
quickrobert: Just taking some guesses here ... Does the user pass authentication when the login after registration? If not, then it sounds like that JBoss is not rereading the security info from the database. If so, then you may need to "fake" the login by programmatically going through j_secu

RE: [OT] Good env for struts-based-web-tier and ejb components development

2004-06-04 Thread Frank Zammetti
No, it does not. UltraEdit is a top-notch text editor, many people (including me) think it's the best, but it doesn't have too much in the way of "IDE-like" functionality. The only things I can think of actually is a function list and syntax coloring for various languages. Oh yeah, and auto-

RE: HTTP header for dynamic pdf and IE6

2004-06-04 Thread Frank Zammetti
I'm doing this as well, and three things come to mind... (1) For IE, you must set the response size or it'll choke. Looks like your doing that already. (2) Try adding response.setContentType("application/pdf"); to your code. That's the only extra thing I'm doing in my code. (3) Acrobat integrat

Re: Reload Ressources on the fly

2004-06-04 Thread James Mitchell
I don't think that's what Mr. "Newsletter" meant. You cannot reload message resources without modifying Struts and building your own custom version. This is due to MessageResources caching the fomatted strings. This will happen with a custom MessageResources implementation as well. The only way

Re: and get...()

2004-06-04 Thread Bill Siggelkow
The reason you "System.out.print(foo.getBar())" printed "null" is because that is how the print method is written. If the returned value of the method is actually null then the "print" method prints the value "null". Long story short, what you are seeing is result of calling "System.out.print"

Re: Semi-OT: Organizing WEB-INF/lib dir...

2004-06-04 Thread Frank Zammetti
If they are dependant on different versions of the same JAR, I suspect you'll run into problems no matter what you do. I guess you have it working somehow now, which is a bit surprising to me! If I understood you correctly, you may want to see if the different versions are really required, i.

Re: Reload Ressources on the fly

2004-06-04 Thread Raphaël di Cicco
Eclipse (www.eclipse.org )does that for you. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 04, 2004 4:15 PM Subject: Reload Ressources on the fly > Hi, > i am quite a newbie to struts and now i want to know, if there is a chance to reload the me

RE: Sorry : Semi-OT: Organizing WEB-INF/lib dir...

2004-06-04 Thread Frank Zammetti
Geez, and I just replied to your post! :) I guess you can ignore my post too. From: [EMAIL PROTECTED] Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> CC: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: Sorry : Semi-OT: Organ

Reload Ressources on the fly

2004-06-04 Thread struts_newsletter
Hi, i am quite a newbie to struts and now i want to know, if there is a chance to reload the messageressources after a change without restarting the server. Greetz Olli - To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

RE: [OT] Good env for struts-based-web-tier and ejb components development

2004-06-04 Thread Geeta Ramani
Frank: I know better than to join in these (un)holy wars, but I don't know anything about ultra-edit so am curious: ultra-edit doesn't have command completion, does it? That's almost the only thing I have found I like about an IDE, and feel I can't do without.. ..but i agree with you: ultimatel

Re: Sorry : Semi-OT: Organizing WEB-INF/lib dir...

2004-06-04 Thread Riyad Kalla
This is also a very good suggestion, thanks Mark! Mark Lowe wrote: I think you perhaps what to organise you jars in a central place like ~/Projects/lib/struts-1.1 ~/Projects/lib/hibernate-2.1 ~/Projects/myapp/src and such like and then use ant to copy the dependencies into ~/Projects/myapp/build/WE

RE: Semi-OT: Organizing WEB-INF/lib dir...

2004-06-04 Thread Frank Zammetti
Sure, if you added it to the classpath it will work. But the benefit of WEB-INF/lib is that things in there are loaded as needed, you don't have to put any of it on the classpath. Most app servers I believe follow the pattern Tomcat does, which is that there is a common folder that you can put

Re: Semi-OT: Organizing WEB-INF/lib dir...

2004-06-04 Thread Riyad Kalla
Good idea, Maven would certainly have more requirements than I do :D Dan Tran wrote: Dont think jsp/servlet specs allows splitting of the lib dir. You may want to take a look at maven.apache.org or use the way Maven names it dependencies jar files good luck. -Dan - Original Message - From

Re: Semi-OT: Organizing WEB-INF/lib dir...

2004-06-04 Thread Riyad Kalla
Eclipse + MyEclipse Joe Hertz wrote: What IDE are you using? Can't it help you with this? JBuilder certainly spares me this hassle (okay, that's not all good. I've had some *other* hassles* because of it, but they are certainly worth it). -Original Message- From: Riyad Kalla [mailto:[E

Re: Semi-OT: Organizing WEB-INF/lib dir...

2004-06-04 Thread Riyad Kalla
Frank, Great suggestion, I'll look into doing this as it is troublesome that hibernate and struts have the same deps (diff vers) on most of commons Frank Zammetti wrote: I'm pretty sure the answer is no. I just took all the JARs for a test app I had installed and moved them from WEB-INF/lib

RE: [OT] Good env for struts-based-web-tier and ejb components development

2004-06-04 Thread Frank Zammetti
Just curious, why do you say UltraEdit isn't good for Java development? It seems like, and this is the case here at work as well, that there is two schools of thought... one group says that IDEs and the like are better because of all the added development-specific tools you get (i.e., code insig

Re: HTTP header for dynamic pdf and IE6

2004-06-04 Thread Dean A. Hoover
Sorry its not clear, but the filename does end in .pdf Dean Mark Lowe wrote: I'm not sure, but i think bill thought the world a better place if applications associate file types according to the file suffix. it will need .pdf at the end of the filename. filename=\"" + attachment.getFileName() + "

RE: Struts Web Services Enablement Project : version .02

2004-06-04 Thread Frank Zammetti
I think the ant thing can be done. I've only used ant once before, and I didn't have to write the script, so it's a good opportunity for me to learn about it. I'm looking at the XDoclet site right now. I think I may have heard of XDoclet before, but I don't at this point know anything about i

Re: HTTP header for dynamic pdf and IE6

2004-06-04 Thread Henrique VIECILI
Hi Dean, I did it once, and i did like this: (solution for PDF file working on IE and any Acrobat Version) ... response.setContentType("application/octet-stream"); // Acrobat 4 seems "don´t like" 'application/pdf' byte[] data = xxx.getData(); response.setContentLength(data.length); response.setHe

Re: HTTP header for dynamic pdf and IE6

2004-06-04 Thread Mark Lowe
I'm not sure, but i think bill thought the world a better place if applications associate file types according to the file suffix. it will need .pdf at the end of the filename. filename=\"" + attachment.getFileName() + "\".pdf" could fix it. On 4 Jun 2004, at 14:37, Dean A. Hoover wrote: Sorry if

Re: Security and Struts (JAAS?)

2004-06-04 Thread Bill Siggelkow
Ralf, Forgive me if I misintrepreted what you are asking, but I believe what you are wanting to use the Struts "role" attribute on actions for application-managed security. One way is to put a check on every page as was suggested and is done in the Struts example. Another way is to provide a c

RE: Problem with utf-8 encoding with struts

2004-06-04 Thread Piero Colagrosso
Hi folks, I've been struggling with exactly the same problem described by Ronald in his initial post and have a few comments/questions regarding some of the points discussed in this thread. First of all, I think it's important for us to be very explicit about whether we are referring to the encod

HTTP header for dynamic pdf and IE6

2004-06-04 Thread Dean A. Hoover
Sorry if this is inappropriate for this list, but I really don't know where else to turn. I figured someone on this list may have solved it. I have a java web application that allows an end-user in their browser to download a "file", which happens to be bytes stored in a database. In experimenting

Re: Hidden Variables

2004-06-04 Thread James Mitchell
The reason I asked that is because I have found that some users seem to think that they can bookmark pages after submitting a form. Not sure if this is what you are seeing, but most of the time, and this is browser dependent, the saved bookmark will not repost the page, but merely send the URL, so

RE: Strus Web Service Enablement

2004-06-04 Thread salgado.pc
For what I understood you are customizing the RequestProcessor to handle SOAP message requests, right? I dont see Axis and any way of retrieving the WSDL to make a direct call... If so, maybe instead of customizing the request processor, wouldn't it be best to have a "SOAPform" to process the

RE: Hidden Variables

2004-06-04 Thread Andrew Hill
Hmm. I guess that rules out the chance of it being caused by multiple requests overwriting each others properties in the action form. -Original Message- From: Joshi, Naveen [mailto:[EMAIL PROTECTED] Sent: Friday, 4 June 2004 19:47 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: R

Re: Saving state.

2004-06-04 Thread Martin Gainty
Segui I would recommend using a Stateful Session Bean Novell provides a good tutorial on how to create and deploy Stateful Session Bean at http://www.novell.com/documentation/extendas/sshelp/Docs/help/books/gsSBQuickStart.html Entiendes? -Martin - Original Message - From: "SEGUI MUNAR" <[E

RE: Saving state.

2004-06-04 Thread Miquel Angel
I'm goin to explain the situation with more details: I have a grid in JSP1. This grid shows information related to customers. This JSP1 also have 3 textfields which allow the user to filter the customers to be shown in the grid (name, address and phone number). This textfields are defined

RE: Security and Struts (JAAS?)

2004-06-04 Thread Václavík Radek
Why don't you use a tag to check the logon on every page you want a secured access to? Just like in the struts-example: at the top of your JSP goes: <%@ taglib uri="/WEB-INF/app.tld" prefix="app" %> and the class that is behind this has to extend TagSupport. See the struts-example for more deta

RE: How appropriately access message-resources from Form classes??

2004-06-04 Thread Cosyns Xavier
It's for field validation purposes, Eg: Error.mandatory=Attribute {0} is mandatory. Key.field.one=name Key.field.two=description Etc... The validator framework does it, but I got forms that needs quite more complicated and conditionally validations that I can not do with the validator framework.

RE: How appropriately access message-resources from Form classes??

2004-06-04 Thread Joe Hertz
Call me nosy here, What sort of values would you want internationalized this way? I would think that the parameters should be just that -- parameters. Essentially you "should" be trying to fill in the blank in some string. At least that's what the framework envisions... Ex: My name is {0} Or

RE: URL regd Servlet filter

2004-06-04 Thread Jose Ramon Diaz
> can you give an outline of the typeof problem you faced? I started one discussion last week, but it?hasn?t been answered :) It said... I am trying to wrap the HttpServletResponse to apply gzip compression on data sent to the client when gzip is supported. I'm using a filter,wrapper and

RE: Saving state.

2004-06-04 Thread Kunal H. Parikh
Hi! What state are you trying to remember? If it is the preparation of the grid in JSP1, then u can either save the attributes as session attributes or the results as a session attribute. Also, if everything is related to an ID, then u can reconstruct links with the id in all links on the page.

Security and Struts (JAAS?)

2004-06-04 Thread Ralf Bode
Hi, i have a portal based on struts. and i have some public action. (e.g for listing news and so on) however. my problem is the protected area. i have two roles. ->customer ->supplier both login via ONE Action (i got their roles via their usernames...) okay, i saved something in session and did if

How appropriately access message-resources from Form classes??

2004-06-04 Thread Cosyns Xavier
Hi, I want to do some custom validation inside my ValidatorForm but encountered some problems in displaying in a 'struts-recommended way' my error messages. >From inside a ValidatorForm I can not find a way to access the resource bundles configured in the struts config file. I need it because I w

RE: Struts Web Services Enablement Project : version .02

2004-06-04 Thread Marco Mistroni
Hi, Just one suggestion, but it's not software related - provide ant-scripts for compiling data.. - eventually if u could add xdoclet-tags to the action class (2 help lazy users like me who generates struts-config etc via xdoclet..) regards marco -Original Message- Fr

RE: URL regd Servlet filter

2004-06-04 Thread brati . sankarghosh
I am using filters and have some pages that forwards to a JSP(though I should try avoiding that) I have not faced any problem yet. can you give an outline of the typeof problem you faced? Brati Sankar Ghosh Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com "Jose

RE: URL regd Servlet filter

2004-06-04 Thread Jose Ramon Diaz
Don?t you have problem with filters if the actions forward to JSP? At least, I have a lot of problem with compression filters, as the container seems to use another request for the JSP. regards > -Mensaje original- > De: Prashanth.S [mailto:[EMAIL PROTECTED] > Enviado el: viernes, 04 de j

Re: URL regd Servlet filter

2004-06-04 Thread Prashanth.S
Hi, I think u should override actionservelet class in struts and configure struts-config.xml...not so sure..left struts coding long back...take a look at below links... might help u... http://www.onjava.com/pub/a/onjava/2001/05/10/servlet_filters.html http://www.junlu.com/msg/30175.html Tha

Re: How can i avoid the use of & in a drop down box ?

2004-06-04 Thread John Antonakos
thank you, i understand now... but unfortunately i cannot use that, cause im using javascript and HTML dynamic options (eg select1.options = new Option ('',''); ) using a pre-loaded list of data. Those data have & inside, so there is nothing i can do on the matter, instead of creating a javascript

Struts Validator & Date Patterns

2004-06-04 Thread Enrique Medina
Hi, I would like to know if it's possible to indicate a validation of type "date" indicating as a dattePatern/datePatternStrict a key from an application resource message file. I mean, instead of: datePatternStrictMMdd to be able to indicate the "MMdd" dynamically (to be found through a

Re: Sorry : Semi-OT: Organizing WEB-INF/lib dir...

2004-06-04 Thread Mark Lowe
I think you perhaps what to organise you jars in a central place like ~/Projects/lib/struts-1.1 ~/Projects/lib/hibernate-2.1 ~/Projects/myapp/src and such like and then use ant to copy the dependencies into ~/Projects/myapp/build/WEB-INF/lib at build time with an ant task. This will give you the cl

RE: [OT] Good env for struts-based-web-tier and ejb components development

2004-06-04 Thread Navjot Singh
Thx for your inputs guys. Ultraedit is good but not good for java development. I have been using it for perl. Jedit is also good but not as good as eclipse. I have decided to adopt Eclipse+(MyEclipse+XDoclet)+Ant to start my project. Quite powerful combination for me. thx again. navjot >-Or