RE: about images and db
What could you suggest to me to display images stored in a database. When I get them in a bean what could I do to show them on a web d. page? How is this related to Struts? Did you Google for answers before posting? -TPP winmail.dat-- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
RE: help, I'm desperate!!!!
table class='list' cellpadding=10 cellspacing='0' tbody Your HTML is broken. This last table is not closed and is incomplete and you're missing the end tag for your form. -TPP
RE: all this traffic
- One reason why there are a lot of questions is that documentation is lacking. What I wanted to suggest was one method of collecting answers in a cheap fashion. Hell no! The main reason why there are a lot of questions is because people expect their breakfast to be spoonfed to them. If people would just spend 15 minutes researching their question/issue before sending out that how do I type 'a' with a keyboard type of a question, the traffic would be much less. Usually mailing list operators solve this problem by separating mailing lists to a newbie list and a list for more experienced users. struts-user-beginner struts-user -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [STRUTS] Detecting multiple users with the same login
Store their login names and IPs in a context-scope hashtable upon login and remove them when their session expires. I'm not sure if Tomcat/JBoss has some kind of tracking mechanism that provides concurrent session info, but the documentation should tell you this. Will this work, if the application is running in a cluster? -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: logging in struts
I highly suspicion this character is, in fact, a bot. ...and it is eternal Friday on the Struts User list. Kick the bot off the list. -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: This guy from the bank raised a question ?
In future address me directly. You can call me Mr. Rahman or Sir. Mr. Zahid, Sir, kindly realise that today is not Friday. Whoever let their Friday posting bot loose, please come and collect it. -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: refreshing application properties
I could be wrong, but every thing I've seen tell me that you can't do this with the current MessageResources API. There is no call for reloading or even modifying values. This is correct. We recently implemented a way to reload the application resources by extending the MessageResource API. The way we implemented it was to empty the cached data in MessageResources and have the next request to the messages repopulate the cached data. There are 3 different caches in the MessageResources classes you need to get rid off to force a reload. One caches the messages, one caches the locales for the messages being cached and one, I can't remember what it cached. See the source code for PropertyMessageResources.java or MessageResources.java for more details. (I don't have access to the source code of our implementation at the moment). -TPP winmail.dat -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Roles??
I am going to be using Struts 1.0.2. How do you setup roles? Depends on what are you using for user authentication / management. If you're using container managed security, then you need to refer to your to the documentation of your container (Tomcat, WebSphere, WebLogic, etc.) Struts itself does nothing in this respect, other than provide some convenenience methods to access container managed security structures. If you're using application level authentication, then it's really up to you to do as you please. I would use some of the frameworks already out there, an example being the one Eddie already mentioned. -TPP winmail.dat -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Roles without LDAP
Anyway to use Roles without LDAP?? Yes. Can I just save some object in the session?? Yes. I wouldn't do it that way though. Use container managed security. Documentation with your container. -TPP winmail.dat -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [Off Topic] File Changed Listener?
I am working on a project where we have two webapps, one is a admin app, the other is for users. Both are developed in Struts. The users app loads configuration settings from an XML file at startup and puts a bean into the application's scope. The admin app has an interface to change this file and save the XML file. So is it possible to develop a File Listener that notifies the user app when this file as changed, so I can reload it? If not, how would you experts recommend accomplishing this? Maybe the admin app calls a servlet to reload the Configuration servlet? Have the admin app notify the user app of the change: * with JMS (or any other type of) messaging * by changing a database flag that the user app monitors with a scheduled job or on-demand whenever the settings are used, which ever way is better for your app * by calling a servlet / web service / CGI / whatever on the user app Or have the user app poll the file for changes with a scheduled task. I'd use JMS, cause I'm a geek and I want to play with cool technology and I haven't done that before :) Use the approach you're most familiar with, can implement within the constraints of your project schedule/cost and know that other developers can maintain when you leave. -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [websphere] fix for forward redirect=true
The form tag doesn't properly parse on Websphere 3.5.2 for forwards to it that use redirect=true. The fix is to remove the following lines in ActionServlet (struts 1.0.2). if (path.startsWith(/)) path = request.getContextPath() + path; Websphere (in 3.5.2 at least) appends the context path later, so you end up with a double nesting. 4.02 does that too. At the time we were battling with it there was no fix. We fixed this same feature by preprocessing all ActionForwards in our base Action class before returning them to the ActionServlet. We wrote a method in our base Action class that would for all redirecting ActionForwards construct a full absolute URL instead of the relative one. That causes WebSphere not to meddle with the context path. /myAction.do would become: http://your.server.name:your_port/contextpath/myAction.do For ActionForwards that didn't redirect, it would do nothing and just return the ActionForward that was passed to it. There was a couple of other things we did in the method due to some business requirements, but the above was the gist of it. We preferred this approach to patching Struts source code. -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: struts-config windows 2 unix?
To convert a windows file into a unix format you can use the dos2unix command under unix. It will get rid of all the ^M caracters that you see under vi. Use a text editor on Windows that can save in Unix format. Practically any advanced text editor can do that. I use UltraEdit myself. -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Are we getting off the topic
This board is too valuable to me. Any thoughts? Agree... Disagree? Agree STRONGLY. There's a reason why I subscribe to Struts mailing list and not to General Java or Tomcat Debug mailing list. Furthermore, if people would spend even 5 minutes trying to search answers to their questions using Google or the mailing list archives, many of the questions wouldn't need to be asked in the first place, because they've already been asked and answered several times. Have some consideration for those of us who receive several hundred emails a day and really do not have time to shift through all the crap. -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [BS] Are we getting off the topic
-Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED]] +2 -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] +2 Who gave you two two mod points!? +10 -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
The O'Reilly book now available for pre-order in Bookpool.com
http://www.bookpool.com/.x/dxoypt36fr/sm/0596003285 39% off list price compared to only 30% off at Amazon. -TPP - support the non-sw patent suit wielding book stores -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: First Web Application: Really Need Help
Any advice you guys think would be helpful for me are most welcome. Depending on how aggressive your schedule is, consider getting outside help from someone who has developed web applications before for this project. If that's not an option for you, consider getting some formal training in web development issues before you start designing or implementing. It would go a LOOONG way. -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
FW: invalid e-mail address
Somebody please remove the invitrogen.com subscriber that's causing these bounces, please. -TPP -Original Message- From: AutoReply, Invitrogen.com [mailto:[EMAIL PROTECTED]] Sent: Friday, July 26, 2002 9:00 AM To: Tero P Paananen Subject: invalid e-mail address You have sent an e-mail to an address at invitrogen.com that is no longer valid. If you would like to place an order, please resend your email to [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] If you require Technical Service, please resend your email to [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] If you require immediate assistance, please call us at 1-800-955-6288. Thank you, Invitrogen Corporation -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: O'Reilly Struts Cover
It's got only 3 legs!!! God, you're right This is awful! Might as well put the ostrich buried in sand in it :) -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Font Size
Wanted a quick answer..so posting the query here..though this has nothing to do with struts How do i change the font size in a drop down ? You go to Google (or Google Groups), enter appropriate keywords in the search form and hit the search button. 5 seconds later, you have your answer. -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Where does the MessageResources get populated?
What I would like to know, is where abouts in the code this population of the HashMap occurs, because the Struts example application has populated the HashMap by the time the MessageTag is called. But in the application I am writing, I have followed through the same code, and the HashMap isn't populated when it comes to the executing the MessageTag. PropertyMessageResources.loadLocale() -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Struts OReilly Book....
btw: have they decided which animal is going on the cover or is that an I could tell you but then Id have to kill you bit of information? ;-) I'm still +1 for sasquatch ;) It's ostrich all the way! Give up, or I'll bury my head in the sand! -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: [ANN] Chapter 18 of the O'Reilly Struts book now available
or maybe an ostridge... Strut -- To walk with a lofty, proud gait, and erect head; to walk with affected dignity. http://www.dictionary.com/cgi-bin/dict.pl?term=strutr=67 +2 for ostrich (please note the correct spelling :) Perfect! -TPP - ostrich = strutsi in Finnish -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: container managed security
Consider that you are writing a portal application, with the usual self registration facilities. It is trivially simple to make the portal app itself portable across containers, if you just stick to standard servlet and JSP facilities. But the notion of add a new user is not portable, and requires integration with each container's own user database update mechanisms (for example, using a particular Realm in Tomcat). There is no way to write the functionality for this in a portable way. Maybe there should be added functionality to javax.servlet.ServletContext to add and delete users. Something like this, or some portable container-level API with functionality similar to what Tomcat's (4.1.x) UserDatabase provides, is a long term goal of the platform. Unfortunately, it is *substantially* more complex than you might think to identify what a user is in a manner that is portable across all desireable use cases -- let alone how they should be authanticated. It's not going to be a short term effort to standardize this. Maybe put in a baseline implementation (role based authentication) with express instructions to really, really, really use container managed security for mission critical software? That way people interested in fast prototyping or using Struts for personal projects could use platform independent user authentication and people who require real solutions would still be able to use the J2EE security model. -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Does anyone have something to dump a sessions contents in a JSP?
This would be handy if someone had code that would find and dump all the contents in a session in a JSP page... This is not by any means covering all potential cases and has some problems, but I'm using the following while developing my JSP pages: % java.util.Enumeration requestParams = request.getParameterNames(); StringBuffer buf = new StringBuffer(); String parameterName; String parameterValue; while( requestParams.hasMoreElements() ) { parameterName = (String) requestParams.nextElement(); parameterValue = (String) request.getParameter( parameterName ); buf.append( parameterName + = + parameterValue + BR ); } java.util.Enumeration requestAttributes = request.getAttributeNames(); StringBuffer buf2 = new StringBuffer(); String attributeName; Object attributeValue; while( requestAttributes.hasMoreElements() ) { attributeName = (String) requestAttributes.nextElement(); attributeValue = request.getAttribute( attributeName ); buf2.append( attributeName + = + attributeValue.toString() + BR ); } java.util.Enumeration sessionAttributes = session.getAttributeNames(); StringBuffer buf3 = new StringBuffer(); String sessionName; Object sessionValue; while( sessionAttributes.hasMoreElements() ) { sessionName = (String) sessionAttributes.nextElement(); sessionValue = session.getAttribute( sessionName ); buf3.append( sessionName + = + sessionValue.toString() + BR ); } % H2Request parameters/H2 P %= buf.toString() % H2Request attributes/H2 P %= buf2.toString() % H2Session attributes/H2 P %= buf3.toString() % -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: XML based application resources?
Is there an extension or maybe some trick in Struts which would allow me to have xml-based application resource files? Extend PropertyMessageResources.java ( the corresponding factory class) and implement your own loadLocale() method, then, in your struts-config.xml, point application and factory attributes to your classes. ApplicationResources message key=color value lang=en_USColor/value value lang=deFarbe/value value lang=hrBoja/value /message !-- etc... -- /ApplicationResources I don't think you can't parse something like that with the Digester class. -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Forwarding to action
Is it possible to return a forward to another action (e.g. to chain actions)? Yes. -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Re: Forwarding to action
Is it possible to return a forward to another action (e.g. to chain actions)? Yes. Excellent! However, I'm not able to find that class/method. Hint? ActionForward forward = mapping.findForward( your_forward_name ); return forward; Define the forward in your struts-config.xml just as you would for a JSP page. The use it exactly the same for any resource, whether JSP, HTML, PDF, another action, etc. etc. -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Absolute URL in forward tag
is it possible to give an absolute URL (like http://www.xyz.com) in the 'path' attribute of 'forward' tag? Yes, but only, if it's a redirect (redirect=true). -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Who's using Struts and license issue
Personally, I've got no problems with Struts or plastering powered by Struts on every page. I would, if I were in charge of brand management/marketing. Does the Struts license allow putting that sentence in a meta tag (bad) or as an HTML comment (good), so that it's invisible to the regular user? -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: User Authentication
That's the part I was talking about. Tomcat and Resin aren't too bad, but I never have found an example of container managed security with Websphere. WebSphere uses its CustomRegistry interface for the database access layer of container managed security. Please see http://www-3.ibm.com/software/webservers/appserv/doc/v40/ae/infocenter/w as/050201.html for the interface spec. Read the rest of the chapter 5 for information about other aspects of WebSphere security. -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: form-based login on a BEA weblogic server 6.1
I'm trying to use a form-based login on a Bea WLS 6.1. Is there anyone who has experience with this using struts?? I don't know exactly how to set the actionmapping, because BEA wants the action of the form pointing to j_security_check. Does anyone has a working example for this problem? Do you need to have your own login functionality? If so, you're going to have to kludge. Otherwise follow the advice from another poster that said to point your default page to a protected JSP page and you should be fine. The only cross-platform solution that we came up with that worked half decently while working on the same problem with WebSphere was to have our login action forward to a JSP page that contains a hidden HTML form with j_username and j_password calling j_security_check. The hidden form is automatically submitted by a JavaScript function when the page has finished loading. If you do this, you have to make sure you set the redirecting URL for j_security_check correctly in your login action, so that WebLogic knows where to redirect after execution of j_security_check is complete. WebSphere uses a cookie for setting it, Tomcat uses a session attribute and I have no idea what WebLogic uses for it. -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: form-based login on a BEA weblogic server 6.1
This will tie the app to weblogic. What means, the login-procedure is specific for weblogic. No it won't. The behavior described in Jon Ridgway's post is vanilla Servlet Spec 2.2 behavior and will work on any compliant servlet container. -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: WebLogic 6.1SP2 with Struts 1.1b-1
I've read every one of the 62 messages in the thread in the archive and AFAICT, we are f*cked. One message referenced a tech update on BEA's website recognizing the ClassNotFoundException being thrown by the classloader, but I've found nothing whatsoever to indicate that Struts 1.1b-1 can be integrated with WebLogic 6.1SP2 or 7.0 (1.02 deploys just fine). I don't know if this helps... I had a number of issues with classloading with WebSphere. You can configure WebSphere to use different kinds of classloading schemes (for lack of a better term, I'm too lazy to check the official terminology right now) from sharing the libraries among all the applications to not sharing them at all. Only one of those schemes worked for our Struts application. I'm not sure, if WebLogic has something similar, but that might be a good place to start digging, if you haven't already. -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: MessageResources
I agree, in fact, I wonder if it can be extended to load from other means such as xml, rdbms, or call to a url (ftp/http/whatever) We implemented XMLMessageResources.java on our current project. Interwoven had problems getting stuff into .properties files, so we had to read XML files instead. The implementation was so remarkably easy that it felt almost like cheating :) -TPP - likes frameworks that make my life easier -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Best way to forward to login, then re-forward to originally requested resource?
Well, let's say for the sake of argument, that it's not authentication we're talking about. Let's say, instead, that in order to perform some Action B, some other Action A must be done first. However, doing A does not necessarily mean you'll do B next. What's the best way to remember that B was what the user wanted to do, but forward them to A first? WebSphere uses a cookie to store this information when you're using container based authentication. Tomcat uses a session attribute. -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Multiple resources - how to configure
I want to use multiple resource files in my web application but cannot find a way how to configure this. To do something like this you could extend the org.apache.struts.util.MessageResources and org.apache.struts.util.MessageResourcesFactory classes and implement the functionality to read message resources from multiple properties files. -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: I have left the Deutsch Bank UK stage
I have left Deutsche Bank UK, today. I have been made redundant because of global restructuring. Again? -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Test [Ignore Mozilla 0.9.9 mail]
Test Does Mozilla/Linux send mail? *plonk* -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Websphere 4.02 Struts Deployment
I'm having problems with struts forwards: logic:redirect forward=summary / (forwards to /do/summary/display) it actually redirects it to : /app/app/do/summary/display I think Websphere is being too helpful here with the redirects!! Any pointers? There's a patch to this bug. I'll dig it up for you tomorrow morning, if you'd kindly remind me by Email. -TPP - it's past my bed time -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: SSN and/or Telephone Tag Libraries
I offered to send you the source, asshole. pot-kettle-black I think it would be better, if people on the list concentrated in discussing Struts and left the jokes and ego-stroking to some other mailing list, maybe [EMAIL PROTECTED] Half the fucking traffic on this list is crap thanks to people like Mr. Galbreath. Thank you -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: 'j_security_check' and unsecured resource access
1. login successfully using 'j_security_check'; 2. the next request happens to be to an unsecured url (e.g. /do/frontpage (with no restrictions in web.xml) -- DispatchServlet -- user.frontpage (tiles)) ; 3. the request methods 'getUserPrincipal()', 'isUserInRole()' and 'getRemoteUser()' tell me the user is not logged in (in DispatchServlet)! (I'm using jboss244+tomcat401, struts1.0, tiles) I don't know how JBoss behaves, but this is exactly how WebSphere behaves. -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: ideal method to set the sessionid in struts?
What is happening here? Your app server sets the session id cookie. -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Form based security
Im in the process of re-engineering an application and I am focusing on how to implement the security. The current application uses a combination of security checks within the action classes and jsp custom tags based upon a user session object. After reading more about the form-based security provided by J2EE compliant app servers however, I am thinking that server based security is a more robust solution. Im curious how other developers are approaching security. If you are using application server managed security, have you run into any limitations, or has it been a better approach than a custom solution? Thanks, Application server managed security is a very good solution, IF your application doesn't require running business logic as part of the login process. If your login process requires checking this and that from a datasource and/or do conditional processing based on the state of the user, the application, a third party or any other system, then application server managed security is going to be a problem for you. The reason is that the servlet specification doesn't require application server vendors to provide any means to hook up a custom login process into the application server managed security login. It can be done, but the solutions are more like hacks than solid programming. Furthermore any solution you will come up with is most likely going to be non-portable between app servers. We've recently implemented form based security with custom login using WebSphere (and Tomcat) and the solution we came up with is less than optimal from security, MVC architectural and code maintainability point of view. In summary: if you do NOT have a custom login process, you're cool. If you do, make sure you have a neverending supply of painkillers at hand. You'll need them. -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: creating ear files
is there any tool to create a ear file? Use ant for all your build needs. http://jakarta.apache.org/ant/ -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tab Libraries? Bah!
Rubbish! I work with graphics designers. They barely know HTML. Now you want them to remember 40 other tags? That's why you hire people with HTML/creative development skills. Or invest in training the designers. -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tab Libraries? Bah!
Rubbish! I work with graphics designers. They barely know HTML. Now you want them to remember 40 other tags? That's why you hire people with HTML/creative development skills. Or invest in training the designers. Yeah, sure. Any problem can be solved if we throw enough money at it, right? It does not matter if it is architecturally bad, just hire more people to work around it. Good idea. Seems like that has worked for a lot of big companies... Well, your existing approach seems to be causing you problems. You can spend months researching alternative approaches, or you hire people with appropriate skillsets. Or you can continue complaining about your current situation. -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: To use form-based authentication or not to.
What are the factors involved in selecting form-based authentication over, say, custom authentication which can be simple to implement based on a db of registered users who have or don't have an indicator stored in their session(representing a login)? One factor to favor form based authentication (or any other type of J2EE standard type authentication) is if you want to do declarative or programmatic security on your EJBs. -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Multi-Lingual support
1. have ApplicationResources.properties as English property file. 2. prepare a resource file for each language, in the case of Chinese, it is ApplicationResources_zh_CN.properties in the same directory, with the content translated to Chinese 3. Set init parameter of locale to true for ActionServlet 4. Start the server 5. Reset the locale of a computer 6. Browse the application However, what I see is still in English. Do I miss anything? Please help. Doublecheck that your browser is set up to send the correct locale to the web server. It's not the operating system that sends the locale to your application, but the browser. -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Multi-Lingual support
Go to Tools/Internet Options... Click on the Languages button. If Chinese is on the list move it to the top. If not, click the Add button and follow the instructions. You might also need to restart the browser. We've experienced some inconsistent behavior when testing different locales. Restarting the browser seemed to clear up the situation a bit. -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Multi-Lingual support
Hi, Guys, I followed exactly the suggestions of setting up the languagues in the browser but no progress at all. Anything else i can do? In your JSP pages / action classes, check what's the locale set in the session object. session.getAttribute( Action.LOCALE ); -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Save/Update data to XML-File
The digester is bi-directional, and can create a JavaBean from XML, or XML from a JavaBean. The RSS digester is a good example. http://jakarta.apache.org/commons/digester/commons-digester-1. 1.1/docs/api/org/apache/commons/digester/rss/RSSDigester.html This approach could be used to store user profiles, but I'm not aware of a published implementation. I have been experimenting with Castor (castor.exolab.org), an open source data binding framework for Java. It's rather nice, but one thing it can't, yet, do too well is xml mapping into hashtables, sets or maps. JavaBeans it can do very nicely. -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Automatic way of transferring to login screen - Ryan Norman
Check out this link http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Security4.html#67530 Regards The standard J2EE web security does all the things you want. Unless your application needs a customized login process. If that's the case, it's kludge hacking time... -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: struts tool ?
UltraDev40 and so on... The question is: anybody knows a tool, extension or whatever that actually work with struts tags ? So it's easier to build web applications. This is a little off topic for this question, but I just met with an IBM engineer, who was saying that the latest WebSphere Studio Enterprise Developer Beta (to be released in a month or so, if I remember what he said right) will have features specifically for building Struts applications. You won't probably be able to build Struts applications for other platforms with it though. -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Opening a new window in Javascript
how do I open a new window from a Javascript function? window.open(url) does not work. Is there any other way to be followed in struts? The JavaScript FAQ usually helps in these type of questions: http://www.google.com/search?hl=enq=JavaScript+FAQ -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]