Re: How To Output the Value Of a Hidden Field?
You cannot have two properties with the same name in a form. Try: " size="82" maxlength="25" tabindex="1"/> cheers Koni Caroline Jen wrote: My JSP #2 receives a hidden field passed from JSP #1: In the JSP #2, I have a text field: and I want the value of the hidden field to be the text in the text field of the JSP #2. Please advise how to do it? __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: requiredif
http://cvs.apache.org/builds/jakarta-struts/nightly/ Ruben Orta Magan wrote: - Original Message - From: "Marc Dugger" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> "The new validwhen validation rule, which will be included into the Struts release immediately after the 1.1 release..." I am using the nightly build to develop my app and am hoping 1.2 will be release by the time I'm ready to deploy. So far, validwhen is operating as promised. I haven't run into any problems, but you may search the archives to view other opinions. How I can download the nightly build version? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Running struts without servlet
As far as I know you can simply configure Struts (web.xml) to use a .jsp extension instead of the .do extension. http://marc.theaimsgroup.com/?t=10648445023&r=1&w=2 Koni Roland Carlsson wrote: Hi! I don't think i missed a line in my question. The only requests that is going to tomcat from the webserver is .jsp. No other. So I must somehow use .jsp as .do and then forward the requests to struts from the .jsp. Wait a minute... that should work, right? ... I create a .jsp infront of all my .do:s and then have tomcat to forward the request internally to struts. Then the webserver doesn't have to be configured to forward other requests than those with .jsp to tomcat and I still can use everything good about struts without to much extra work?? Thanks Roland Carlsson - Original Message - From: "David Graham" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, October 22, 2003 4:29 PM Subject: Re: Running struts without servlet You can map the ActionServlet to /do* and use any other extension (or none) on the url. Your urls would look like http://host.com/context_root/do/index.whatever David --- Roland Carlsson <[EMAIL PROTECTED]> wrote: Hi! I'm in the begining of developing a site to a customer. The customer has a private relationship with the owner of a web-hosting-company. My problem is that I can't use the .do extention. The web-host says that they will not support the use of customer-specific extensions right now. But since I like struts and have some pre-made stuff that I'd like to use. How do I config struts without using servlets? I guess that I somehow have to use a .jsp as controller and then use struts as an variable of that page? Have anyone had to do this before? Does it even work? Thanks in advance Roland Carlsson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: need calendar (maybe popup) calendar
Calendar? Sure! Here my bookmarks on this topic. ;-) http://www.mattkruse.com/javascript/calendarpopup/ http://dynarch.com/mishoo/calendar.epl http://www.aoc.nrao.edu/~bwaters/pub/taglib/calendar-taglib.html http://www.servletsuite.com/servlets/calendar.htm http://www.mattkruse.com/javascript/javascripttoolbox.zip Koni Otto, Frank wrote: Hello, I search a good solution for displaying a calendar. I use struts and have an input field for date value and I want to display a calendar (maybe popup) for choose the date. Is there a good implentation for using with struts? Regards, Frank - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: view struts tag in Design page(Dreamveaver)
Maybe you will find a solution here... http://marc.theaimsgroup.com/?l=struts-user&w=2&r=1&s=dreamweaver&q=b Just a guess. Koni Tim Smal wrote: We're using Adobe Golive for designing purposes. No problems with viewing the struts tags. In Dreamweaver I have no idea how you can enable them. -Original Message- From: Rong Yu [mailto:[EMAIL PROTECTED] Sent: maandag 13 oktober 2003 23:15 To: Struts-Jakarta Subject: view struts tag in Design page(Dreamveaver) Hi, I have been using struts for a while and find out that I can't view struts tag in Design page of Dreamweaver MX. How do you deal with this problem? Our web design team is complaining about using struts. -Rong - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: validating not "" within a pull-down menu?
See commons-validation which comes with struts. The 'required' attribute does it for you. Cheers Koni Mick Knutson wrote: I have a pull-down menu with 3 values "", "gold", and "platinum". How can I validate that "" is not the selected option? --- Thanks Mick Knutson The world is a playground...Play Hard, Play Smart. Visit http://www.YourSoS.com to learn how our "Personal Emergency Alert & Contact System" can help you Play Smart. +00 1 (708) 570-2772 Fax MSN: mickknutson ICQ: 316498480 ICQ URL: http://wwp.icq.com/316498480 --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Poll] Action Form data types
#3 Mainguy, Mike wrote: Here's my weekly(ish) question: For the purposes of this discussion, ActionForms also mean DynaActionForms and the like... Where does everyone cast their (String) request parameters to the 'proper' datatype? #1 My ActionForms only have Strings, I manually cast stuff somewhere else. #2 My ActionForms only have Strings, I let (BeanUtils, JDBC,...) cast stuff for me somewhere else. #3 My ActionForms have java Datatypes, I let Struts(yeah, beanutils, I know) cast stuff for me. #4 I use strings for everything, I don't need to cast. - This message and its contents (to include attachments) are the property of Kmart Corporation (Kmart) and may contain confidential and proprietary information. You are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on information contained herein is strictly prohibited. Unauthorized use of information contained herein may subject you to civil and criminal prosecution and penalties. If you are not the intended recipient, you should delete this message immediately. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Newbie
Try to find a tool which fits your needs at http://jakarta.apache.org/struts/resources/tools.html I've never worked with tools that generate code visually. Generated code tends be difficult and uncomfortable to maintain. Good luck. Koni Gaurav Vaish wrote: Hi Koni, Thanks for the starter. As what struts is meant for - MVC - I was just wondering if there's a GUI available to generate JSP / Servlets (at least stubs) visually. Cheers, Gaurav - Original Message - From: "Koni Roth" To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Sunday, October 12, 2003 15:20 Subject: Re: Newbie Hi Gaurav Download and install Struts 1.1 and study the example. http://www.apache.org/dist/jakarta/struts/binaries/jakarta-struts-1.1.zip Additionally I recommend buying a book: http://jakarta.apache.org/struts/resources/books.html Have fun Koni Gaurav Vaish wrote: Hi, I am new to struts (read: novice). How and from where do I start? I mean... how do I go about implementing the MVC thing? Cheers, Gaurav - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Newbie
Hi Gaurav Download and install Struts 1.1 and study the example. http://www.apache.org/dist/jakarta/struts/binaries/jakarta-struts-1.1.zip Additionally I recommend buying a book: http://jakarta.apache.org/struts/resources/books.html Have fun Koni Gaurav Vaish wrote: Hi, I am new to struts (read: novice). How and from where do I start? I mean... how do I go about implementing the MVC thing? Cheers, Gaurav - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Newbie Struts Questions
Hi Rey 1) Struts works with Tomcat standalone. 2) When I deployed my webapp I had to edit the server.xml. I simply added one line: Then I could access the webapp by: http://localhost:8080/ or http://localhost:8080/mystrutsapp Cheers Koni Reynardine wrote: Hello, I've got Java HTTP servlets running under Tomcat. Now I want to convert them to run under Struts. 1) Does Struts work with Tomcat Standalone or must I use Tomcat/Apache with a connector? I would prefer to use just Tomcat and Struts. Must I connect to Apache to get Struts to work? I hope not. 2) If I deploy a struts app, a new struts app directory is created under Tomcat/webapps/ e.g. Tomcat/webapps/mystrutsapp. Must I edit Tomcat's server.xml and add a new tag for this new directory Tomcat/webapps/mystrutsapp ? Or will Tomcat/Struts work it all out for me without me having to add a new context? Any help very much appreciated ! Thank you, Rey. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [POLL] ActionFrom vs DynaActionForm
#2 DynaActionForm I don't think custom validation is difficult. We use commons validation together with custom validation and it works fine. Koni Mainguy, Mike wrote: Next in my series of struts-user polls (please complain if this gets old). What sort of ActionForms does everyone use? #1 ActionForm #2 DynaActionForm Personally, I'm an advocate of the DynaActionForm as it seems to be able to do 80-90% of everything I need to do and everything else can be done in my business tier. I have, however, run into another person who is dead set against using it. His rationale is that you are then unable to do custom validation when you use the DynaValidatorForm... I think you can still do it, it's just a little more difficult, but, I'm polling to see if I'm out in left field... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jump and the earth will rise to meet you! http://www.rothweb.ch http://www.rothconsulting.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Servlet action is currently unavailable
Hi Partha Rarely I run into the same error. Until now I couldn't exactly localize the reason. My guess is the the database connection. I use Struts 1.1 data-sources with MS SQL-Server and it seems the database connection suddenly dies... After restarting Tomcat everything works fine again. ???&%ç*/??? Please let me know if you find a solution. Koni Parthasarathy Kesavaraj wrote: Hai I am using Tomcat 4.1.27 and struts 1.1.When i call a .do from my browser i am getting the following error HTTP Status 503 - Servlet action is currently unavailable type Status report message Servlet action is currently unavailable description The requested service (Servlet action is currently unavailable) is not currently available. Apache Tomcat/4.1.27 what could be the reason.Please helpThanks in advance. Regards Partha - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: message key on jsp?
If I understand you correct, it's easy like this: "> Greets Koni muzammil shahbaz wrote: Hello! For example; I have a key defined in ApplicationResources.properties file as "msg.key". This can be accessed on jsp as . But I want to store this key in my local variable on a jsp. How can this be possible? Thanks in advance. Regards, MMS -- Jump and the earth will rise to meet you! http://www.rothweb.ch http://www.rothconsulting.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: creating beans.
Have a look at the Example witch comes with struts. http://www.apache.org/dist/jakarta/struts/binaries/jakarta-struts-1.1.zip and/or study the UserGuide http://jakarta.apache.org/struts/userGuide/ general_question.equals(general_answer); have_fun; khabot zakaria wrote: Hi, How to create a bean corresponding to a tagLib, and how to generate an Action like "/logon". Thanks.. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: uploading file
Hi Kannan Just donne this on a Windows machine ;-) Here a hint for your Action... ... FormFile file = (FormFile)dynaForm.get("theFile"); String fileName = file.getFileName(); String filePath = "E:/apps/webapp/MyApplication/WEB-INF/uploads/"; File newPath = new File(filePath); newPath.mkdirs(); ... OutputStream bos = new FileOutputStream(filePath + fileName); ... See also: http://jakarta.apache.org/commons/fileupload/apidocs/org/apache/commons/fileupload/package-summary.html#package_description Hope it helps Koni Kannan wrote: Hi All! I'm using struts 1.1 , i'm creating a application based on struts commons-upload ,I'm following the struts upload example... I would like to upload a file into a perticular directory.. /webapp /MyApplication /WEB-INF /uploads/** Here the files i upload should go.. */ can u help me to set this path...in Action Class..( or any other suggestions) Thanks in advance, Kannan. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jump and the earth will rise to meet you! http://www.rothweb.ch http://www.rothconsulting.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: validation failed! please help!!!
Your error is: Cannot find bean 'error' in any scope! Where and how do you define 'error'? Do you have something like this in you Action: ActionErrors error = new ActionErrors(); ... error = ... ... saveErrors(request, error); return new ActionForward(mapping.getInput()); ... Koni basebeans wrote: I have the following code working fine when the field is populated with value, but if left blank, the error came out, please help... --- entry.jsp --- <%@ page import="java.util.*"%> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> <%@ taglib uri="/WEB-INF/jstl-core.tld" prefix="c" %> AddrBook --- struts-config.xml --- http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd";> --- validation-intmsg.xml --- http://jakarta.apache.org/struts/dtds/validation_1_1.dtd";> - error [ServletException in:/jsp/AddrBook/entry.jsp] Cannot find bean error in any scope' javax.servlet.ServletException: Cannot find bean error in any scope at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp l.java:530) at org.apache.jsp.entry_jsp._jspService(entry_jsp.java:239) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2 04) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher. java:684) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatch er.java:575) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher .java:498) at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:8 22) at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:398) at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:137) at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:177) at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:756) at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.ja va:881) at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:473) at org.apache.jsp.classicLayout_jsp._jspx_meth_comp_insert_3(classicLayout_jsp. java:224) at org.apache.jsp.classicLayout_jsp._jspService(classicLayout_jsp.java:109) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2 04) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher. java:684) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch er.java:432) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher .java:356) at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:10 69) at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcesso r.java:274) at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRe questProcessor.java:254) at org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForward( TilesRequestProcessor.java:341) at org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.j
Re: deployement issue
Try to figure out where's the difference between the two systems (JDK, Database,...). When you start your application, is your server throwing errors? If yes - maybe it's helpful to post this error here... michel Van Asten wrote: Yes my database is up about the connection I dont know... I want to test it with the application... -Message d'origine- De : Koni Roth [mailto:[EMAIL PROTECTED] Envoyé : mardi 9 septembre 2003 13:20 À : Struts Users Mailing List Objet : Re: deployement issue I have similar (strange) errors when my database isn't up and running. Is your database connection on the production server up and running and can you connect your DB properly? Just a guess... Cheers Koni michel Van Asten wrote: Hi, I got errors when I try to run my application on the production server (I use servletExec for development and production system) Error happens here : ... bean_message_tag1.setKey( "index.title" ); bean_message_result1 = bean_message_tag1.doStartTag(); <<<<<<<<<<<<<<<<<<<<< ... And seems to be generated in the RetrieveMessageRessources ... Note 1° that the resource file is located at the same place on both system and that I use the same WEB.xml and strut-config.xml files 2° Other applications are running with servletExec on the production system... Any help is welcomed, Regards, Michel Van Asten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- visit us at: http://www.rothweb.ch http://www.rothconsulting.com Jump and the earth will rise to meet you! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- visit us at: http://www.rothweb.ch http://www.rothconsulting.com Jump and the earth will rise to meet you! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: deployement issue
I have similar (strange) errors when my database isn't up and running. Is your database connection on the production server up and running and can you connect your DB properly? Just a guess... Cheers Koni michel Van Asten wrote: Hi, I got errors when I try to run my application on the production server (I use servletExec for development and production system) Error happens here : ... bean_message_tag1.setKey( "index.title" ); bean_message_result1 = bean_message_tag1.doStartTag(); < ... And seems to be generated in the RetrieveMessageRessources ... Note 1° that the resource file is located at the same place on both system and that I use the same WEB.xml and strut-config.xml files 2° Other applications are running with servletExec on the production system... Any help is welcomed, Regards, Michel Van Asten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- visit us at: http://www.rothweb.ch http://www.rothconsulting.com Jump and the earth will rise to meet you! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Validator cannot find message key
Looks good to me. If you are properly closing the and the I can not see any problem, sorry. Koni Yuan, Saul (TOR-ML) wrote: Here is what's in the validation.xml file: ... and in the application resources file: newmessage.label.messageName=Message Name newmessage.label.zone=Distribution Zone newmessage.label.audience=Target Audience ... -Original Message- From: Koni Roth [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 3:56 PM To: Struts Users Mailing List Subject: Re: Validator cannot find message key Paste the faulty part of your validation.xml file maybe we can see some strange things. I had a similar problem and it was only an error in writing... Yuan, Saul (TOR-ML) wrote: Hi, I am using Struts Validator for validating a multi page form, some how the Validator cannot find the messages defined in the application resources. I got the validation error messages like: null is required. I've defined arg0 in the validation.xml file, and the key of arg0 points to a key in the application resource file. I verified that the message can be found through , but why not by the validator? Any ideas what the problem could be? Thanks, Saul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Validator cannot find message key
Paste the faulty part of your validation.xml file maybe we can see some strange things. I had a similar problem and it was only an error in writing... Yuan, Saul (TOR-ML) wrote: Hi, I am using Struts Validator for validating a multi page form, some how the Validator cannot find the messages defined in the application resources. I got the validation error messages like: null is required. I've defined arg0 in the validation.xml file, and the key of arg0 points to a key in the application resource file. I verified that the message can be found through , but why not by the validator? Any ideas what the problem could be? Thanks, Saul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT[ voice enable Java IDE
This link seems funny but my anti virus tells me something different! WARNING TROJAN HORSE FOUND IN NETSCAPE CACHE - Office.js it's funny but be careful ... Raj Naboti wrote: I find this IDE most rewarding. Compared to crowd it shines with highest regard! Understands language you speak to it! so I get most productivity advantages. Open source also!: http://www.originalicons.com/smile -- Raj _ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to disable a component based on bean property.
You could use or tags: Koni deepaksawdekar wrote: Hi All, I need to disable the html:text component based on some property of bean. Any pointer how can i achive this. Thanks and Regards Deepak . - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Checkboxes
Hi Filip See example on the really cool page of Matt Kruse: http://www.mattkruse.com/javascript/checkboxgroup/ Koni Filip Polsakiewicz wrote: Hi, I have the following problem: I have a list of 71 Checkboxes and want to have one checkbox to select all of them at once. This works fine but I cannot uncheck this checkbox if it was checked once in order to uncheck all other checkboxes. Can anybody help me on this. Any code samples would be very helpful. Thanks in advance, Filip - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: suggestion needed
Here some of my bookmarks http://www.reumann.net/do/struts/main http://forum.exadel.com/viewtopic.php?t=120 http://www.ninsky.com/struts/ http://jakarta.apache.org/struts/faqs/ http://husted.com/struts/resources/example-spec.html http://developer.novell.com/tech/1126.html and I would also recommend buying a book: http://jakarta.apache.org/struts/resources/books.html Koni Raju BSN wrote: Hi, I'm a new bee to struts. I have tried some examples and now I'm able to understand a bit abt the framework, but still not sure of the complete steps needed to develop a web application using struts. It will be a great help for me, if any one of you suggest me a site with good examples. Thanks & Regards, Raju BSN, -- visit us at: http://www.rothweb.ch http://www.rothconsulting.com Jump and the earth will rise to meet you! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: suggestion needed
Here are some of my bookmarks http://www.reumann.net/do/struts/main http://forum.exadel.com/viewtopic.php?t=120 http://jakarta.apache.org/struts/faqs/ http://husted.com/struts/resources/example-spec.html http://developer.novell.com/tech/1126.html and I would also recommend buying a book: http://jakarta.apache.org/struts/index.html Koni Raju BSN wrote: Hi, I'm a new bee to struts. I have tried some examples and now I'm able to understand a bit abt the framework, but still not sure of the complete steps needed to develop a web application using struts. It will be a great help for me, if any one of you suggest me a site with good examples. Thanks & Regards, Raju BSN, -- visit us at: http://www.rothweb.ch http://www.rothconsulting.com Jump and the earth will rise to meet you! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: validator returns blank page
Hi Thomas Here what I would do. struts-config.xml: LogonAction.java: ActionErrors errors = new ActionErrors(); errors = form.validate(mapping, request); // Report any errors we have discovered back to the original form if (!errors.isEmpty()) { saveErrors(request, errors); return new ActionForward(mapping.getInput()); } And be sure that your Class extends DynaValidatorForm. Hope this helps Koni thomas Sontheimer wrote: I'm attempting to use the validator with a DynaValidatorForm and it returns a blank page if I don't fill the field. And if I fill the username field I'm redirected to the good page (/index.jsp). any idea? thomas here are some parts from my code: struts-config.xml: validation.xml: logon.jsp: Username: Password: - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: commons-logging.properties
Hi Duan I use SimpleLog for logging. Here my configuration for my class LogonAction. You can set individual log levels for each class. commons-logging.properties file: org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog simplelog.properties file: org.apache.commons.logging.simplelog.showdatetime=true org.apache.commons.logging.simplelog.defaultlog=info org.apache.commons.logging.simplelog.log.LogonAction=warn ... LogonAction.java file: ... private Log log = LogFactory.getLog("LogonAction"); ... log.warn("---> Error bla bla bla"); ... Make sure the two files 'commons-logging.properties' and 'simplelog.properties' are in the directory /WEB-INF/classes (not in a subdirectory) See also 'Package Description' and the 'Log' class in the documentation: http://jakarta.apache.org/commons/logging/api/org/apache/commons/logging/package-summary.html#package_description http://jakarta.apache.org/commons/logging/api/org/apache/commons/logging/Log.html have fun Koni Duan Qiang wrote: Hi, I want to have fine-grained configure of logging in my struts application, for example, for class A, it allows info level logging, for class B, it allows trace level logging. I surfed the net and found some entries in the commons-logging properties file, for example org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog org.apache.commons.logging.simplelog.log.LogonAction=info I wonder are there any other entries so that I can control the logging level for different classes? ( I created the log each class, for example, log = LogFactory.getLog(A.class); Where is the doc for all the entries that user can input in the file? I read the source codes of the logging package but did not find the answer and I guess I must have missed sth. Thanks for your time. Regards, Duan Qiang - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- visit us at: http://www.rothweb.ch http://www.rothconsulting.com Jump and the earth will rise to meet you! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: commons-logging.properties
Hi Duan I use SimpleLog for logging. Here my configuration for my class LogonAction. You can set individual log levels for each class. commons-logging.properties file: org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog simplelog.properties file: org.apache.commons.logging.simplelog.showdatetime=true org.apache.commons.logging.simplelog.defaultlog=info org.apache.commons.logging.simplelog.log.LogonAction=warn ... LogonAction.java file: ... private Log log = LogFactory.getLog("LogonAction"); ... log.warn("---> Error bla bla bla"); ... Make sure the two files 'commons-logging.properties' and 'simplelog.properties' are in the directory /WEB-INF/classes (not in a subdirectory) See also 'Package Description' and the 'Log' class in the documentation: http://jakarta.apache.org/commons/logging/api/org/apache/commons/logging/package-summary.html#package_description http://jakarta.apache.org/commons/logging/api/org/apache/commons/logging/Log.html have fun Koni Duan Qiang wrote: Hi, I want to have fine-grained configure of logging in my struts application, for example, for class A, it allows info level logging, for class B, it allows trace level logging. I surfed the net and found some entries in the commons-logging properties file, for example org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog org.apache.commons.logging.simplelog.log.LogonAction=info I wonder are there any other entries so that I can control the logging level for different classes? ( I created the log each class, for example, log = LogFactory.getLog(A.class); Where is the doc for all the entries that user can input in the file? I read the source codes of the logging package but did not find the answer and I guess I must have missed sth. Thanks for your time. Regards, Duan Qiang - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- visit us at: http://www.rothweb.ch http://www.rothconsulting.com Jump and the earth will rise to meet you! -- visit us at: http://www.rothweb.ch http://www.rothconsulting.com Jump and the earth will rise to meet you! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Help or tutorial
I recommend buying a book. See http://jakarta.apache.org/struts/resources/books.html -> 'Struts in Action' is very helpful. or read the User Guide at: http://jakarta.apache.org/struts/userGuide/index.html Koni Arindam Bhattacharjee wrote: Hi All, I am a newbie in Struts. Can some one give some pointers towards any tutorials or FAQs especially regarding installation, deployment and basic features to start with. It will really be appreciated. Regards, Arindam Bhattacharjee Sapient Desk * 91.124.282.6451 Presidency Building, Mehrauli-Gurgaon Road Sector -14, Gurgaon, Haryana, India. -- visit us at: http://www.rothweb.ch http://www.rothconsulting.com Jump and the earth will rise to meet you! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: HTTP 404 Not Found on Actions
Try struts 1.1 final version. Here it works ;-) Johan Wasserman - CPX Mngd Services wrote: Hi. I'm running struts 1.1-rc2 and get a 404 when entering an unrecognized username & password on the logon page for struts-example (Mailreader demo). It goes to localhost/sruts-example/logon.do but with a 404 Page not found. I've checked and double checked my web & struts-config files, I mean they've not been changed from the download. Thanks, Johan Wasserman. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Displaying a single error message for multiple properties
At the beginning I had also some problems using validation. Since I understand the power of validation it's one of the coolest thing... Validation displays you automatic one error message for multiple properties. To check if a property is empty or not, use "required" in your validation.xml. To compare two fields see section "Comparing Two Fields" at: http://jakarta.apache.org/struts/userGuide/dev_validator.html If you follow all the steps it will solve your problem. For an example how I solved a validation problem see a prior posting at: http://marc.theaimsgroup.com/?l=struts-user&m=106068603102209&w=2 hope this helps Koni Original Message Subject: Displaying a single error message for multiple properties Date: Mon, 18 Aug 2003 11:41:30 +1000 From: James JKE95 Kerridge <[EMAIL PROTECTED]> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Just starting to use Struts in anger I have found an inflexibility in the Struts error model that I need to get around. Basically I want to be able to raise a single ActionError for 2 properties. e.g. a password field and a confirm password field exist if they don't match then I want to display one message saying "Password and confirmation password don't match" I also want to highlight both fields. To highlight both fields I would ideally raise a single error for each property. Sadly the model doesn't seem to support multiple properties for a single error. It seems that my choices will be to create a dodgy convention when raising messages and have a special tag lib for displaying them. Has anyone found a nice way of doing this. It must a problem everyone has faced because surely most web apps have cross field validation and want to have a single error message that relates to the fields involved in the cross validation. e.g. field B cannot be foo when field A is bar. Cheers James ***Confidentiality and Privilege Notice*** This email is intended only to be read or used by the addressee. It is confidential and may contain legally privileged information. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone, and you should destroy this message and kindly notify the sender by reply email. Confidentiality and legal privilege are not waived or lost by reason of mistaken delivery to you. Qantas Airways Limited ABN 16 009 661 901 Visit Qantas online at http://www.qantas.com.au -- visit us at: http://www.rothweb.ch http://www.rothconsulting.com Jump and the earth will rise to meet you! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: where is JSESSIONID?
If the browser does not accept cookies it is stored in the URL. If the browser accepts cookies it is stored in the memory (session). Koni Billy Ng wrote: Hi folks; Anybody knows where is the JSESSIONID cookie is? I search the whole Cookies folder, I can't find it. Billy Ng This mailbox protected from junk email by Matador from MailFrontier, Inc. http://info.mailfrontier.com -- Konrad Roth, - http://www.rothweb.ch - http://www.rothconsulting.com - Jump and the earth will rise to meet you! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: persisting session id
As far as I know there is not really an easy way to keep the session if you close the browser. If you really want to keep it persistent you would have to save it somehow in a file or in a database. Search at google for more information. Koni Billy Ng wrote: Hi folks, This is really a tomcat related question, but I have no luck in tomcat ailing list. My question is I will lose the session everytime I close the browser. Is there a way to persist the session even I close the browser? Thanks! Billy Ng This mailbox protected from junk email by Matador from MailFrontier, Inc. http://info.mailfrontier.com -- Konrad Roth, - http://www.rothweb.ch - http://www.rothconsulting.com - Jump and the earth will rise to meet you! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to configure commons-logging on JDK1.4
Thanks Kris I read an article at http://www.onjava.com/lpt/a/4017 (section Logging, point 5). There he says explicit: - 5. Finally, if none of the above is valid and the application is not running on JRE 1.4 and above, the application uses a built-in SimpleLog, which writes everything to System.err. - Because my application runs on JRE 1.4, it uses automatic the Jdk14Logger. I cannot use SimpleLog on JDK 1.4! Therefore I will use Jdk14Logger and not Log4J. Thank you, Koni Kris Schneider wrote: Try actually putting it in WEB-INF/classes, not WEB-INF/classes/myclass. Quoting Koni Roth <[EMAIL PROTECTED]>: Yes, my commons-logging.properties file is in the CLASSPATH (WEB-INF/classes/myclass/commons-logging.properties). I would like to use org.apache.commons.logging.impl.SimpleLog. What do I have to write in the commons-logging.properties file? How do I tell my application to use the commons-logging.properties file? Any further help with examples would be appreciated. Thanx, Koni Kris Schneider wrote: Is the commons-logging.properties file located in your app's WEB-INF/classes dir? Quoting Koni Roth <[EMAIL PROTECTED]>: No answer until now! It looks like nobody is using commons-logging! Very frustrating to be the only one using it... Is there really no useful example or documentation? Cheers and enjoy the Friday Beer. Koni Original Message Subject: How to configure commons-logging on JDK1.4 Date: Fri, 8 Aug 2003 10:11:58 +0200 From: Koni <[EMAIL PROTECTED]> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], [EMAIL PROTECTED] Hello I'm using Struts 1.1 with commons-logging. My 'commons-logging.properties' file is in the CLASSPATH and has the following 2 entries: org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog org.apache.commons.logging.simplelog.log.LogonAction=info When I run my application the Log should use the 'SimpleLog', as defined in 'commons-logging.properties'. BUT it uses the default logger for my environment org.apache.commons.logging.impl.Jdk14Logger How can I configure logging to use 'SimpleLog'?? Any examples?? Thanks Koni - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to configure commons-logging on JDK1.4
Yes, my commons-logging.properties file is in the CLASSPATH (WEB-INF/classes/myclass/commons-logging.properties). I would like to use org.apache.commons.logging.impl.SimpleLog. What do I have to write in the commons-logging.properties file? How do I tell my application to use the commons-logging.properties file? Any further help with examples would be appreciated. Thanx, Koni Kris Schneider wrote: Is the commons-logging.properties file located in your app's WEB-INF/classes dir? Quoting Koni Roth <[EMAIL PROTECTED]>: No answer until now! It looks like nobody is using commons-logging! Very frustrating to be the only one using it... Is there really no useful example or documentation? Cheers and enjoy the Friday Beer. Koni Original Message Subject: How to configure commons-logging on JDK1.4 Date: Fri, 8 Aug 2003 10:11:58 +0200 From: Koni <[EMAIL PROTECTED]> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], [EMAIL PROTECTED] Hello I'm using Struts 1.1 with commons-logging. My 'commons-logging.properties' file is in the CLASSPATH and has the following 2 entries: org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog org.apache.commons.logging.simplelog.log.LogonAction=info When I run my application the Log should use the 'SimpleLog', as defined in 'commons-logging.properties'. BUT it uses the default logger for my environment org.apache.commons.logging.impl.Jdk14Logger How can I configure logging to use 'SimpleLog'?? Any examples?? Thanks Koni - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to configure commons-logging on JDK1.4
Thanks Craig Since I have my commons-logging.properties file in WEB-INF/classes and *not* in a subdirectory everything works fine! I didn't get this out of the documentation. Cheers Koni Craig R. McClanahan wrote: On Fri, 8 Aug 2003, Koni Roth wrote: Date: Fri, 08 Aug 2003 18:47:41 +0200 From: Koni Roth <[EMAIL PROTECTED]> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Subject: Re: How to configure commons-logging on JDK1.4 No answer until now! It looks like nobody is using commons-logging! Very frustrating to be the only one using it... Is there really no useful example or documentation? The documentation you're seeking is in the "package description" portion of the Javadocs. This is true for all of the Commons packages. http://jakarta.apache.org/commons/logging/api/ Cheers and enjoy the Friday Beer. Koni Craig Original Message Subject: How to configure commons-logging on JDK1.4 Date: Fri, 8 Aug 2003 10:11:58 +0200 From: Koni <[EMAIL PROTECTED]> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], [EMAIL PROTECTED] Hello I'm using Struts 1.1 with commons-logging. My 'commons-logging.properties' file is in the CLASSPATH and has the following 2 entries: org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog org.apache.commons.logging.simplelog.log.LogonAction=info When I run my application the Log should use the 'SimpleLog', as defined in 'commons-logging.properties'. BUT it uses the default logger for my environment org.apache.commons.logging.impl.Jdk14Logger How can I configure logging to use 'SimpleLog'?? Any examples?? Thanks Koni - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Text Field property at run time!!!Urgent
How does your action mapping in struts-config.xml look like? Is it using the right Action/ActionForm? struts-config.xml: myJsp.jsp: ... ... Hope it helps? Koni Anurag Garg wrote: Hi All, I have a scenario in which the property of my text box will be set at run time. In my action form I have declared all the property names that will be available in my jsp. The jsp text box will have property name as txtField1 , txtField2 , txtField3. The action form will have these properties available. In my jsp i am doing it like this inside logic:iterate and using bean:define for "fieldname" but I am displayed a blank jsp. Any solution to acheive this scenario. Thanks, Anurag Garg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to configure commons-logging on JDK1.4
No answer until now! It looks like nobody is using commons-logging! Very frustrating to be the only one using it... Is there really no useful example or documentation? Cheers and enjoy the Friday Beer. Koni Original Message Subject: How to configure commons-logging on JDK1.4 Date: Fri, 8 Aug 2003 10:11:58 +0200 From: Koni <[EMAIL PROTECTED]> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], [EMAIL PROTECTED] Hello I'm using Struts 1.1 with commons-logging. My 'commons-logging.properties' file is in the CLASSPATH and has the following 2 entries: org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog org.apache.commons.logging.simplelog.log.LogonAction=info When I run my application the Log should use the 'SimpleLog', as defined in 'commons-logging.properties'. BUT it uses the default logger for my environment org.apache.commons.logging.impl.Jdk14Logger How can I configure logging to use 'SimpleLog'?? Any examples?? Thanks Koni - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Cannot find bean error in any scope
I had the same problem. When I wrote 'errors' it worked for me. Try and ! Hope it helps. Koni Swaroop George wrote: Why don't u use html:errors instead?? Just give -Original Message- From: Altug B. Altintas [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 4:07 PM To: 'Struts Users Mailing List' Subject: RE: Cannot find bean error in any scope Strange ! Now i have got no custom validation *** public ActionErrors validate(ActionMapping mapping, javax.servlet.http.HttpServletRequest request) { ActionErrors errors = null ; errors = super.validate(mapping,request); return errors; } *** only call parent's validation method, but again it gives me "javax.servlet.jsp.JspException: Cannot find bean error in any scope " Error occurs because of the code below, but why ? *** *** if change above code like this *** *** Everything works fine.. -Original Message- From: Altug B. Altintas [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 12:16 PM To: 'Struts Users Mailing List' Subject: Cannot find bean error in any scope Hi, My form extends ValidationForm, and of course i have got validator-rules and validation.xml. But when i want to make a custom valition in validate() method , i took "javax.servlet.jsp.JspException: Cannot find bean error in any scope " My jsp page includes the code below to show the errors: * * overriding validate() method * public ActionErrors validate(ActionMapping mapping, javax.servlet.http.HttpServletRequest request) { ActionErrors errors = null ; errors = super.validate(mapping,request); try { if (errors == null) { errors = new ActionErrors(); } Calendar c1 = dUtils.str2Calendar(startdate); Calendar c2 = dUtils.str2Calendar(enddate); // if enddate bigger then startdate then add error if ( !c1.before(c2) ) { // custom validation errors.add(ActionErrors.GLOBAL_ERROR ,new ActionError("errors.dateerror","test"); } // print out the errors Iterator it = errors.get(); while ( it.hasNext() ) { ActionError ae = (ActionError) it.next(); System.out.println("Errors : " + ae.getKey() + " " ); int length = ae.getValues().length; Object[] o = ae.getValues(); for (int i=0; i System.out.println(" : " + o[i] + " " ); } System.out.println("" ); } } catch ( Exception ex ) { System.out.println("Ex: " + ex); } finally { if (errors.isEmpty()) { return null; } return (errors); } } * Any idea ? Regards - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Validator newbie - server side dynamic validation ??
Hi list I'm using the validation framework that comes with Struts 1.1. Client side validation with JavaScript works fine. I read the manuals and the 'Struts in Action' book but somehow I still do not understand how dynamic (automatic?) validation server side works! What exactly do I have to set in my LogonAction and struts-config?? Here my settings: validation.xml: --- login.jsp: -- struts-config.xml: -- LogonAction.java: - ? ? When I set 'validate="true"' in struts-config.xml my login.jsp comes blank (white). What do I have to write in LogonAction.java ? Do I have to call a validate() method or what ?? Thanks for any suggestions and examples. Koni - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Validator - NullPointerException
Hello I'm running Netbeans 3.5 with Tomcat 4.0.6 and Struts 1.1. Since I use validation my application sometimes dies at startup. When I restart the server it throws the following exeption: -- java.lang.NullPointerException at org.apache.struts.taglib.html.JavascriptValidatorTag.doStartTag(JavascriptValidatorTag.java:316) at org.apache.jsp.index$jsp._jspService(index$jsp.java:741) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) ... -- When I kill Tomcat, close the browser and restart the application again, it all works fine!!?!! Has anyone similar experience? What can I do? Thanks Koni - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FW: Migrating from Struts 1.0.2 to 1.1
is missing! Gopalakrishnan, Jyothikumar wrote: Hi All, While migrating from Struts 1.0.2 to Struts 1.1 (on Weblogic 6.1SP3, Solaris 6), I am stuck with this problem. This mailing list is now my last resort. Here is my struts-config.xml "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd";> type="com.ptc.ams.forms.LogonForm" > type="com.ptc.ams.actions.LogonAction" name="login" input="/src/index.jsp" scope="request" validate="true"> When I deploy the application, I get following message and application does not work. If I remove the line from the struts config, it works fine. I am totally lost on this, any help is appreciated. javax.servlet.UnavailableException: Parsing error processing resource path at org.apache.struts.action.ActionServlet.handleConfigException(ActionServl et.java:1035) at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServl et.java:1014) at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.ja va:955) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl. java:713) at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImp l.java:656) at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl .java:601) at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServ letContext.java:2272) at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppSer vletContext.java:2216) at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext .java:900) at weblogic.servlet.internal.WebAppServletContext.(WebAppServletConte xt.java:823) at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:444) at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:78) at weblogic.j2ee.Application.deploy(Application.java:271) at weblogic.j2ee.J2EEService.deployApplication(J2EEService.java:190) at weblogic.management.mbeans.custom.Application.setLocalDeployed(Applicati on.java:366) at weblogic.management.mbeans.custom.Application.setDeployed(Application.ja va:300) at java.lang.reflect.Method.invoke(Native Method) at weblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanI mpl.java:1401) at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanI mpl.java:894) at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanI mpl.java:847) at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Configu rationMBeanImpl.java:296) at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java :1358) at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java :1333) at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(C onfigurationMBeanImpl.java:393) at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Configu rationMBeanImpl.java:299) at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java :1358) at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java :1333) at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322 ) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204) at $Proxy8.setDeployed(Unknown Source) at java.lang.reflect.Method.invoke(Native Method) at weblogic.management.console.info.MBeanAttribute.doSet(MBeanAttribute.jav a:84) at weblogic.management.console.info.CompositeAttribute.doSet(CompositeAttri bute.java:100) at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEd itMBeanAction.java:135) at weblogic.management.console.actions.internal.ActionServlet.doAction(Acti onServlet.java:171) at weblogic.management.console.actions.internal.ActionServlet.doPost(Action Servlet.java:85) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl. java:265) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl. java:200) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl etContext.java:2546) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm