Re: servlet question

2001-12-20 Thread Keith Bacon
Will, If I new I'd have told. I don't, I was only suggesting the path you long ago went down! If the only entry is the one for the servlet I'd guess Tomcat doesn't let you replace anything else - only the whole lot. I guess you could do this on bigger servers. Good luck (heaven knows what you're

RE: Cannot find ActionMappings or ActionFormBeans collection

2001-12-20 Thread Tom Watkins
I have an .ear file that I am deploying in an instance of JBoss on Windows 2k without any problems. However, when I deploy the same .ear file on JBoss on my NT machine, one of the struts jsp pages will no load. The error I get is Cannot find ActionMappings or ActionFormBeans collection. I have

Multichannel support with Struts

2001-12-20 Thread Salonen, Aki
Hello, We have been developing web-application needing a multichannel support. What I have thought is that we will have different jsp-pages for each channel, but same action objects. So, directory structure would look like this: /www-clients/*.jsp pages /wap-clients/*.jsp pages

Netscape 4.7x slow with Tomcat/Struts combination!

2001-12-20 Thread @Basebeans.com
Subject: Netscape 4.7x slow with Tomcat/Struts combination! From: [EMAIL PROTECTED] (Dalibor42) === Why is Netscape so slow when submiting to Struts running with Tomcat? Netscape 4.7x version are in question. IE is very quick but NN is few times slower. Does anyone know why? It there a way to

Re: Netscape 4.7x slow with Tomcat/Struts combination!

2001-12-20 Thread Gabriel Sidler
I notice this slow performance of Netscape too, but only if Netscape and Tomcat run on the same machine (typically during development). If they run on different machines I don't see any Netscape performance problems. Do you observe the same? Gabe Struts Newsgroup (@Basebeans.com) wrote:

How to use JSP inside Struts tag

2001-12-20 Thread Hudayioglu, Fehmi
Hello, are there any good and complete source about how to use jsp embedded in the struts tag HAPPY NEW YEARS, AND HAPPY CHRISTMAS! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: How to use JSP inside Struts tag

2001-12-20 Thread Krishnamoorthy
Hi, You can use the jsp with struts, as you do with the Jsp and Html Hudayioglu, Fehmi wrote: Hello, are there any good and complete source about how to use jsp embedded in the struts tag HAPPY NEW YEARS, AND HAPPY CHRISTMAS! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]

[ANN] New version of ISValidator in English

2001-12-20 Thread Iñigo Serrano
Hello I have release a new version of ISValidator, a Java routines to validate data, also Struts forms. Now the web is also in english. I hope it will be usefull. Thanks Iñigo -- http://www.inigoserrano.com http://isvalidator.sourceforge.net

RE: Display Only Version

2001-12-20 Thread Scott Walter
I understand that, but can I get Struts to just show the data value of a textbox without actually showing the textbox control? scott. --- pritika.pattar [EMAIL PROTECTED] wrote: Hi Scott, You can maintain a session variable, say allowEdit, which you can set to True/False depending on your

RE: Display Only Version

2001-12-20 Thread Tom Klaasen (TeleRelay)
I think you mean bean:write ... tomK -Original Message- From: Scott Walter [mailto:[EMAIL PROTECTED]] Sent: donderdag 20 december 2001 14:13 To: Struts Users Mailing List Subject: RE: Display Only Version I understand that, but can I get Struts to just show the data value of

Re: Display Only Version

2001-12-20 Thread Shashi
You'll have to use the suggested session variable (allowEdit) to decide whether you would like to have a text box filled up with the actual value or the actual value appearing as just another html text. Like: % if ( allowEdit == true ) { % html:text property=userid % } else { %

ActionMessages vs ActionErrors

2001-12-20 Thread ltorrence
What's the intended functional difference between ActionMessages and ActionErrors?

Multichannel support with Struts

2001-12-20 Thread Salonen, Aki
Hello, We have been developing web-application needing a multichannel support. What I have thought is that we will have different jsp-pages for each channel, but same action objects. So, directory structure would look like this: /www-clients/*.jsp pages /wap-clients/*.jsp pages

Re: servlet question

2001-12-20 Thread William Shulman
Thanks. I thought you were telling me to read the darn manuals. I did discover the HttpRequestWrapper class. I guess I could use this. Have you or anyone else had experience with this technique? I would imagine that I could do something in a valve to wrap the request and then pass it on. Is it

Re: Netscape 4.7x slow with Tomcat/Struts combination!

2001-12-20 Thread Matt Raible
In my experience, I've noticed that Netscape 4.x has always been slower than IE. Could be something to do with IE being integrated into the OS. Netscape 6.x seems to be much faster. Here's a trick I learned with developing web apps with Netscape 4.x over the years. It might work for you,

Re: Multichannel support with Struts

2001-12-20 Thread Ted Husted
While the Struts Action paths may look like directory references, they are really a flat name with no understanding of the conventional file hierarchies. Relative references like ../ or ./ aren't supported as such. They are just treated like names that start with a dot. So, it may not be a case

Struts IDE

2001-12-20 Thread [EMAIL PROTECTED]
Hi, Are there any IDE which helps the designer to view HTML pages having struts tags incorporated in it? (i.e For brevity's sake, only a snippet of the HTML code is given below html:select property=type html:options collection=collection1 property=value labelProperty=label/ /html:select

RE: JADE

2001-12-20 Thread Sandeep Takhar
It is IBM's well guarded secret. They consider it an asset and not a product. To see it and play with it we had to go to IBM. So I believe the only way to get access to it is through an IBM rep. Support has to be arranged through an IBM resource since all their documentation and on-line

RE: Struts IDE

2001-12-20 Thread Juan Alvarado \(Struts List\)
I'm not exactly sure what you mean, but in Visual Age for Java 3.5 and above (I use 4.0), once you add the Apache Tomcat Test Environment to your work space, you will need to create a project called JSP Page Compile Generated Code which will contain the source code for the generated servlets from

Re: forward to static page

2001-12-20 Thread josé PLACIDE
Follow this link : http://husted.com/about/scaffolding/catalog.htm and have a look to Use a forwarding Action for static pages. Regards José PLACIDE Le jeudi 20 décembre 2001, à 08:20 , Barry L. White a écrit : Tom Lister wrote: Hi I would like to set up an action that forwards to a

Re: servlet question

2001-12-20 Thread Keith Bacon
Will, I know nothing about this stuff - when I answered your 1st query I didn't realise you know so much!. Good luck with your explorations. me I use the darn things don't tamper with the innards! happy christmas- Keith. --- William Shulman [EMAIL PROTECTED] wrote: Thanks. I thought you were

Passing Value With A Forward?

2001-12-20 Thread Matt Koidin
I am using a basic index.jsp page as the intro page to my web application. The index.jsp page forwards controls to a simple Struts application class. Currently the only entry in the index.jsp file is: logic:forward name=applicationLoad/ Where applicationLoad is an action that preps the web

What to do to avoid users bookmarking Login Page

2001-12-20 Thread Michelle Popovits
Good Day Everyone, I currently have a struts application which uses J2EE container managed authentication. As such, the user must go directly to a resource and not to the login page. In my case the user must go directly to a struts action (ie. localhost:7701/app/MainPage.do). The container

Re: Fw: Using Swing Components as Visual Bean with struts

2001-12-20 Thread BONNET Francois-Xavier
Are you sure your problems has something to do with Struts ? If you are using applets, your Visual beans are running on clients browser JVM so it may be a problem with your browser's security. Client's browser sees only generated html and your applets and Struts makes no difference about it.

Transaction Token: How can a html:form submit a forward

2001-12-20 Thread Peter Pilgrim
When you transaction token invalid you normally forward to nice smiling double transaction screen and print a nice error message. You want to prevent or suggest that user not hit the [BACK] button in the browser. I would like to put a simple button Continue that forwards to the promptForm

RE: What to do to avoid users bookmarking Login Page

2001-12-20 Thread Vaughan Jackson
Michelle, You might want to try this. Make the welcome page a frameset page with a single frame. The src attribute of the frame could be the page/action you require. welcome.jsp/html could be something like this frameset rows=100% frame name=root src=MainPage.do /frameset (I haven't

Iterator - determining that this is the first time through

2001-12-20 Thread Todd G. Nist
Hi folks, If I have a two collections, one representing the rows, and one representing the columns for a given row and I want to take some action based on the first iteration of the columns collection (say make it a html:link and pass a map for parameters), how can I determine that this is the

Re: Netscape 4.7x slow with Tomcat/Struts combination!

2001-12-20 Thread George Papandreou
Greetings All, i am still faced with this performance problem where Netscape loads are multi-fold (upto 8 sec diff) slower than IEs. No matter how many times in the past Netscape has publized faster perf the IE this is a solid example of the contrary! (also read my prev emails below) I

logic:iterator - how to determine if this is the first time through an iteration

2001-12-20 Thread Todd G. Nist
Hello, Is there a way when iterating through a collection to determine if this is the first time through the iteration when using the logic:iterator tag? Thanks in advance, Todd G. Nist -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

RE: What to do to avoid users bookmarking Login Page

2001-12-20 Thread McDowell, Mark
Presuming that there is some object in scope that is valid only when the user has authenticated, you can check with a logic tag that this object is present and the user is logged in and if they aren't, forward them to the MainPage.do. Another option I have seen used is to create a custom tag

RE: AW: accessing EJB components from a Struts application?

2001-12-20 Thread Keith Bacon
Hi james, woo hoo! That'll start some fun! If you want to a system that will run for 10 years where core parts of it will be enhanced dozens of times, user interfaces re-vamped written on new platforms etc... then your company/client will benefit from all these disciplines. More money is spent

Is it ok to ask about validator?

2001-12-20 Thread Marcelo Caldas - CCSC
Hi, I'm trying to use the validator framework (com.wintecinc.struts.action.ValidatorServlet) But I can't compile my JSP... It's complaining about a NullPointerExeption on the declaration of the validator:javascript formName=myName/ Here's the code pieces, so someone can tell me if I'm missing

how to specify html:base

2001-12-20 Thread Gao, Gang
Ted, We don't know how to use html:base tag. Please provide an implementation or an example how to use this tag. I would greatly appreciate your help. we want the equivalent of base href=http://www.verizon.com; in struts. I have seen similarity in html:base tag. But where can we specify the exact

RE: Struts IDE

2001-12-20 Thread Dan Cancro
Check out Macromedia's Dreamweaver Ultradev. It has a nifty live data mode that lets you see the output and work on the source at the same time. It's also extensible. I heard that someone wrote an extension for Struts tags in particular or for jsp tags in general, I can't remember which. That

Re: Checkbox's question.

2001-12-20 Thread BONNET Francois-Xavier
Here is modified code for CheckBoxTag. Maybe it could be usefull to other developpers as it enables unchecking checkboxes without having to write some reset() method for ActionForms. I worked on Struts 1.0 version of CheckBoxTag, what i modified : - added indexed tags support - added

Re: Multichannel support with Struts

2001-12-20 Thread Cedric Dumoulin
Hi, Have you check Tiles ? There is a multi-channel support. You can adapt it easily to you need. Check examples coming with Tiles. Cedric Salonen, Aki wrote: Hello, We have been developing web-application needing a multichannel support. What I have thought is that we will have

RE: Iterator - determining that this is the first time through

2001-12-20 Thread tnist
Duh, I did not realize there as an indexId property on the logic:iterator tag which indicates the current iteration. By using this in conjunction with the logic:equal tag it is quite easy. logic:iterator id=myCollection name=myBean property=myArrayList indexId=i !--

RE: logic:iterator - how to determine if this is the first time through an iteration

2001-12-20 Thread tnist
Duh, I did not realize there as an indexId property on the logic:iterator tag which indicates the current iteration. By using this in conjunction with the logic:equal tag it is quite easy. logic:iterator id=myCollection name=myBean property=myArrayList indexId=i !--

where can I find struts example using a database ?

2001-12-20 Thread majid kamal
I have tomcat4 amd mysql installed in my windows2000, could you please tell me where can I find sturts exmaples with database. thanks __ FREE voicemail, email, and fax...all in one place. Sign Up Now! http://www.onebox.com -- To unsubscribe,

RE: Netscape 4.7x slow with Tomcat/Struts combination!

2001-12-20 Thread Paradis, Andre
We had problems once because we had too much nested table in the generated html. Netscape takes a lot oif time to render the page when more than 5 or 6 (do not remember) nested tables are used, and the same page is a lot faster in IE (different rendering engine). This is something to check

Struts-JNDI lookups

2001-12-20 Thread Joanna Chan
Dear all, Could anyone help me with trying to configure a web application (tomcat-struts) so that it can communicate with the backend EJB. I need to know how to configure the tomcat to be able to identify the EJB (JNDI). The error message I got was Unable to get remote stub for UserService

RE: What to do to avoid users bookmarking Login Page

2001-12-20 Thread Michelle Popovits
This worked great. There was some concern over using framesets, though. FYI Another solution I just figured out which worked great was to add an error-page element to the web.xml which would catch the error produced (403) from attempting to login using the bookmarked login.jsp page and

RE: logic:iterator - how to determine if this is the first time t hrough an iteration

2001-12-20 Thread Nekkalapudi, Viplava
Hi, Is there any way to specify the value or name dynamically? Basically I want to display some rows of data with different back ground colors. From indexId, I can get either 0 or 1 using mod. What is the best way to get this? The following code gives me an option for the first

RE: Building struts-example in JBuilder

2001-12-20 Thread Chen, Yong
Have you applied opentool nostruts from Ken? http://codecentral.borland.com/codecentral/ccweb.exe/listing?id=16369 Yong Chen 713.230.3355 -Original Message- From: Kevin J. Turner [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 20, 2001 2:23 PM To: Struts Users Mailing List Subject:

RE: Struts-JNDI lookups

2001-12-20 Thread Chen, Yong
I the JNDI is running on another app server, make sure you are putting right URL string in your InitialContext. Use jndi.properties is another way. Put it in your classpath somewhere, like your project classes directory. Yong Chen 713.230.3355 -Original Message- From: Joanna Chan

RE: Struts IDE

2001-12-20 Thread Chen, Yong
By combining the opentool external browser support http://codecentral.borland.com/codecentral/ccweb.exe/listing?id=17071 and set your windows explorer's file extension .jsp with Dreamweaver UltraDev, you can easily edit the page in dreamweaver from Jbuilder. Yong Chen -Original

RE: How to use JSP inside Struts tag

2001-12-20 Thread SHURTLEFF,ROBERT (HP-FtCollins,ex1)
It is not real clear what you are asking. You can stick a %= ... % anywhere in the page. Including inside of a html or struts tag. Look at the value attr below. html:select size=1 property=mod style=width='100%' value=%= attrForm.getMod()% html:options property=modules

RE: logic:iterator - how to determine if this is the first time t hrough an iteration

2001-12-20 Thread tnist
Viplava, I would take a look at the RowTag available at http://husted.com/struts/resources/rowtag.zip. Works great and requires no scriplets, which is what you will have to resort to otherwise. Perhaps something like this, but again, I would strongly encourage the RowTag. %! String[] colors =

RE: Netscape 4.7x slow with Tomcat/Struts combination!

2001-12-20 Thread Wilhelm *Rafial* Fitzpatrick
Just some background on this particular issue, since I encountered it myself a few weeks ago. It is specific to Netscape 4.x on Windows, when your development app server is running on the same machine. It turns out that when Netscape 4.x is waiting for a page to load, and it is in the

RE: logic:iterator - how to determine if this is the first time t hrough an iteration

2001-12-20 Thread McDowell, Mark
You could try: logic:iterate . indexId=i bean:define id=imod2 value=%=i%2% tr logic:equal name=imod2 value=1bgcolor=#FF/logic:equal tddisplay something.../td /tr /logic:iterate Mark -Original Message- From: Nekkalapudi, Viplava [mailto:[EMAIL PROTECTED]] Sent:

Tool for editing resource files

2001-12-20 Thread Rooms, Christoph
Hi, Anyone knows a tool / web application(WAR) that allows me to edit properties files (resource bundles). Most java IDE's have this integrated (Netbeans, Jbuilder). I'm looking for something I can give to the marketing people so they can change the multiple languages them self ... Anyone ?

RE: logic:iterator - how to determine if this is the first time t hrough an iteration

2001-12-20 Thread Nekkalapudi, Viplava
Thanks for the help: I was just trying the same thing with bean:define. Its working fine. I am even trying with rowTag which is nice without % ... %. Not completed though. -Original Message- From: McDowell, Mark [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 20, 2001 5:04 PM

Re: where can I find struts example using a database ?

2001-12-20 Thread Pete Carapetyan
One set of Struts examples is on the webAppWriter.com site, about 32 different applications, mostly trivial sample apps. Almost all are downloadable, and almost all are running on the site to one degree or another. WebAppWriter itself is also a Struts app. They all use Expresso for their data

Re: Country List

2001-12-20 Thread Bruce Geerdes
I assume you are using Struts to validate this form, so you have a Form class defined for this page? One way to do this is to implement two methods in the Form class: public Collection getCountryCodes() and public Collection getCountryNames() Each should return a collection of Strings. The

Re: Populate ActionForm with an XML DOM object

2001-12-20 Thread Matt Raible
XBeans might be a solution. I've never worked with them, but might be what you're looking for: http://www.xbeans.org/ --- Wilhelm *Rafial* Fitzpatrick [EMAIL PROTECTED] wrote: Other approaches anyone? (Apart from using XSLT. Seems like if I choose that route I lose the benefits of the

Re: Building struts-example in JBuilder

2001-12-20 Thread Charles Tse
I have successfully run the struts-example. The difference I can see right now between your configuration of JBuilder and mine will be: (1) I have installed nostruts.zip and another opentool extension in the JBuilder6/lib/ext folder. (2) I make everything always included in the webapp

Re: Personolized content using Struts. Jetspeed?

2001-12-20 Thread Barry L. White
VEDRE, RANAPRATAP REDDY wrote: I have looked the apche slide web page but it does not mention amything about proving customization(personalized content) for users. yes, jetspeed does not do much help either. please let me know if you have any other info about customized content using struts.

Re: Personolized content using Struts. Jetspeed?

2001-12-20 Thread Barry L. White
Barry L. White wrote: VEDRE, RANAPRATAP REDDY wrote: I have looked the apche slide web page but it does not mention amything about proving customization(personalized content) for users. yes, jetspeed does not do much help either. please let me know if you have any other info about

Re: Fw: Using Swing Components as Visual Bean with struts

2001-12-20 Thread Vimal
Independently they are working fine in html. Now recent development are- * We created a Java script tree menu and embedded it in a JSP and mapped it with struts action class. From Java script tree menu I am able to call my JSP with contains swing bean. It works perfectly. But when I want to call

Struts and Expresso?

2001-12-20 Thread Andy Timm
Hi all. I've been dilegently working away on my first 'real' webapp - learning Struts as I go. Now I'm reading emails suggesting the use of Expresso for DB management. I've already written my own methods with straight SQL - and everything is working. However, I can see that much of the code

Re: AW: accessing EJB components from a Struts application?

2001-12-20 Thread Vic Cekvenich
//Are you trying to upset me? Ahhh. If you don't get productivity out of Java, you would move to whatever, and I think most of use would. After all, all we want to do is build a business application to solve a business problem, and not solve technology problem, only apply technology. I put

Re: Struts and Expresso?

2001-12-20 Thread Vic Cekvenich
I use RowSet in my FromBeans to accomplish this. Pretty simple. No SQL, other then select. Very reusable. (also, as you implied in another message, printlns are a bad practice, many alternatives). Vic Andy Timm wrote: Hi all. I've been dilegently working away on my first 'real' webapp -

Re: AW: accessing EJB components from a Struts application?

2001-12-20 Thread Vic Cekvenich
And, and, and another thing. Open source is explained by the Cathedral and the Bazaar best ( a book). The more choices and competition lead ot better software. Monolithic is keep in the dark. Just look at Linux security issues (open source) vs Monolithic (MS security issues). MS is just not

access a session attribute in Form class

2001-12-20 Thread Crisalyn Ramos
Hi, all. How can I access a session attribute of request scope from a Form class. thanks, Joy -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]