Design question Permission check in struts action
I have the following system: I have a LoginDataForm called loginDataBean in my seesion wich contains username, password and roles the user have. Than I have some actions accessing EJB through helper classes. For example I have a action /order/detail/show. If that action is called by a normal user he can only browse order details from orders wich belong to him (that action retrieves an OrderVO wich contains the userId/username). If it is called for example from an administrator he can browse details from all orders. That is not the only action wich behave like that. I have a /user/show/personalData as well with shows the data from a certain user. If the requested user is not the same as the user logged in and he is an admin he will see the details else not. CAN anyone give me a solution how I can solve that problem global without having to check that in every action one by one ? Many thanks! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
How can I access a global forward within a struts action?
How can I access a global forward within a struts action? How do I find more about defining an controller for an action like it seem to be possible in struts1.1? Many thanks! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
AW: How can I access a global forward within a struts action?
Thanks ! and about that Controller? -Ursprüngliche Nachricht- Von: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 27. Juni 2002 16:44 An: 'Struts Users Mailing List' Betreff: RE: How can I access a global forward within a struts action? Accessing a global forward is easy. Access it the same as you would a local forward. return mapping.findForward(globalForwardName); Hope that helps. ~ Keith -Original Message- From: Dirk Storck [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 27, 2002 9:58 AM To: 'Struts User (E-Mail)' Subject: How can I access a global forward within a struts action? How can I access a global forward within a struts action? How do I find more about defining an controller for an action like it seem to be possible in struts1.1? Many thanks! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Where do I find documentation an examples about the new tags in the struts-config 1.1 dtd?
___ Bitte beachten Sie unsere neue Adresse Dirk Storck, Dipl.-Ing. (FH) t e c m a t h A G Content Management Systems Division Telefon 0631 303-5290 Europaallee 10, 67657 Kaiserslautern Telefax 0631 303-5209 http://www.tecmath.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
AW: Please recommend a IDE
Why don't you use eclipse with remote debugging ? -Ursprüngliche Nachricht- Von: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 5. Juni 2002 15:10 An: Struts Users Mailing List Betreff: RE: Please recommend a IDE When I asked for big bucks around here, they offered to print my paycheck on larger paper. Does that count? -Original Message- From: Yuan, Tony [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 7:49 AM To: 'Struts Users Mailing List' Subject: RE: Please recommend a IDE well, if you are a contractor, that's how you charge for big hours and big bucks! Is that banned by Geneva convention too? ha.. ha... -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 8:44 AM To: Struts Users Mailing List Subject: RE: Please recommend a IDE Isn't notepad banned by the Geneva convention? I recall something about cruel and unusual punishments being banned. I suspect that even Mark wouldn't suggest notepad! :-) -Original Message- From: Yuan, Tony [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 7:37 AM To: 'Struts Users Mailing List' Subject: RE: Please recommend a IDE how about using note pad? -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 8:36 AM To: 'Struts Users Mailing List' Subject: RE: Please recommend a IDE You win. -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 8:35 AM To: Struts Users Mailing List Subject: RE: Please recommend a IDE I think that vi might be too advanced in this case. Perhaps ed would be more appropriate? -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 7:28 AM To: 'Struts Users Mailing List' Subject: RE: Please recommend a IDE vi -Original Message- From: Chiming Huang [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 8:21 AM Hi, Can you please recommend a IDE for working on Tomcat 4.0.3 + Struts 1.0.2 + Ant 1.4.1? I am looking into eclipse. But I don't know how to configure it for this purpose. Thanks in advance for you help. Chiming - Do You Yahoo!? Sign-up for Video Highlights of 2002 FIFA World Cup -- To unsubscribe, e-mail: mailto:struts-user-[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] winmail.dat Description: application/ms-tnef -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
How can I find out the free diskspace of a harddisk?
I know that does not belong to this mailinglist, but maybe someone can help me! Many thanks ! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
How can I fill a form from within another action?
Hi, I need your help. I have a form FormA and a action ActionA (for login purpose) wich do some usercheck and is used as session data and I have a second form FormB and ActionB (for registration). The Form- and ActionA are called from a login.jsp if an existing used logins in. The Form- and ActionB are called from a registration.jsp. Now my problem. If an user registers new I would like to have that the user is automaticaly logged in. The problem is that the ActionA expects that FormA exists with the entered login data from that user. At that point no bean of type FormA exists and so a call/forward to the ActionA does not work. Any suggestions how to solve the problem ? Thanks ! ___ Bitte beachten Sie unsere neue Adresse Dirk Storck, Dipl.-Ing. (FH) t e c m a t h A G Content Management Systems Division Telefon 0631 303-5290 Europaallee 10, 67657 Kaiserslautern Telefax 0631 303-5209 http://www.tecmath.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
How can I forward to another action with userspecific data
Hi, I would like to do the following I have a ActionA wich has to forward to a action ActionB but has to submit some data from ActionA ActionA calls-/actionB.do?data1=1data2=2 within the action ActionA. Is that somehow possible ? Thanks !! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Struts workflow
Hi, does someone uses the workflow extension from http://www.livinglogic.de/Struts/exampleApp.html Any comments are welcome. Thanks Dirk -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
How can I use different controller in one application?
Hi, How can I use different controller in one application? I need the controller-servlet from struts and that one from http://www.livinglogic.de/Struts/exampleApp.html Is that possible? Thanks ! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
problems with doing a Titles Invoice example
Hi, I try to do a example like the tiles invoice example by my own My first page looks like the following snippet: pg:pager maxPageItems=%= 5 % pg:param name=pagerRequest value=true/ table cellpadding=0 cellspacing=0 border=0 trtdnbsp;/td/tr logic:iterate id=article name=articleListBean property=articles pg:item tiles:insert page=productShortView.jsp tiles:put name=article beanName=article/ /tiles:insert /pg:item /logic:iterate /table pg:index . . . The productShortView.jsp looks like the next snippet: %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % %@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic % %@ taglib uri=/WEB-INF/tiles.tld prefix=tiles % tiles:importAttribute name=article / tr td table width=100% border=0 cellspacing=1 cellpadding=0!--Tabelle Suchergebniss-- tr td width=100 align=left logic:present name=article property=content bean:define name=article property=content id=content type=com.tecmath.cms.mt.valueobjects.ContentVO/ logic:notEqual name=content property=previewFile value= html:link page='%= /essence/+content.getPreviewFile() %' logic:notEqual name=content property=thumbnailFile value= html:img page='%= /essence/+content.getThumbnailFile() %' width=88 border=0 alt=keyframe / /logic:notEqual /html:link /logic:notEqual /logic:present /td td width=80 align=left class=smallbtext valign=top bean:message key=article.title /:br / bean:message key=search.term.department /:br / bean:message key=search.term.length /:br / bean:message key=search.term.date /:br / /td td width=500 align=left class=smalltext valign=top html:link page=/ArticleDetails.jsp paramId=articleId paramName=article paramProperty=id bean:write name=article property=title/ /html:linkbr / bean:write name=article property=department/ br / bean:write name=article property=length/nbsp;bean:message key=search.term.clip /: 00:00:00 - 00:00:28br / bean:write name=article property=dateOfPublication/ /td %-- td class=smallbtext valign=top bean:message key=cart.price /: /td td align=left class=smalltext valign=top logic:empty name=article property=targetPrice bean:write name=article property=currency / /logic:empty logic:notEmpty name=article property=targetPrice bean:write name=article property=currency /br /bean:write name=article property=targetCurrency / /logic:notEmpty /td td align=right class=smalltext valign=top logic:empty name=article property=targetPrice bean:write name=article property=price / /logic:empty logic:notEmpty name=article property=targetPrice bean:write name=article property=price /br /bean:write name=article property=targetPrice / /logic:notEmpty /td --% td width=15 valign=top align=right rowspan=3nbsp;/td td width=32 valign=top align=right rowspan=3 html:link page=/ArticleDetails.jsp paramId=articleId paramName=article paramProperty=id img alt=Detailansicht SRC=/iwf/graphics/detailsmall.gif border=0 / /html:link br /nbsp;br / html:link page=/addToCart.do paramId=articleId paramName=article paramProperty=id img name=tocart6 alt=bean:message key=cart.add /
Greate Tag for building a pager
The Tag http://jsptags.com/tags/navigation/pager/ is a greate Tag for building a pager. Easy to use and simple ... ___ Bitte beachten Sie unsere neue Adresse Dirk Storck, Dipl.-Ing. (FH) t e c m a t h A G Content Management Systems Division Telefon 0631 303-5290 Europaallee 10, 67657 Kaiserslautern Telefax 0631 303-5209 http://www.tecmath.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
ActionComponetServlet.findMapping is deprecated in Struts 1.1
Hi, I have seen that the methode findMapping in the ActionComponentServlet is deprecated. Wich one shall I use than ? Is that right that I now have to use Action.excecute instead of Action.performe ? Many thanks ! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
How can I use a background process with JBoss
Hi, I want to do the following: I have a ShoppingCart. The users clicks on order and the items from the ShoppingCart are moved to my OrderBean. ShoppingCart and OrderBean are EJB's. Now it comes to the problem. The order must be proccessed in background cause it will have a long durration. After the order has be proccessed the user should be notived somehow. How can I achieve this with JBoss and Struts ? What would be the best way to implement this Many thanks any any suggestions are welcome!!! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
AW: Struts 1.1
What is the V/S Toolkit and where do I find it? Thanks ! -Ursprungliche Nachricht- Von: Cedric Dumoulin [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 11. Februar 2002 19:01 An: Struts Users Mailing List Betreff: Re: Struts 1.1 There is now a multi-applications support. Some new classes have been added. A lot of methods from the servlet have been moved in different classes, like the RequestProcessor class. Tiles need now to provide a subclass of RequestProcessor in order to catch calls to forward/include. Also, instruction to use this subclass is specified in struts-config rather than in web.xml. Cedric Vic Cekvenich wrote: What is the difference for 1.1 for bellow? I have used nightly builds plus tiles and validation for 1.1. Vic Ted Husted wrote: Since the nightly builds archives on Jakarta are on a short leash now, if anyone needs a Nightly Build JAR that will work with Tiles and the V/S Toolkit et cetera, there's one here. http://husted.com/struts/resources/struts_1_1a.zip Ted Husted wrote: The functionality will be restored, but for the time being to use Tiles you will have to roll back to a nightly build prior to 15 January. The same goes for the new Velocity/Struts toolkit. There were some changes to the ActionServlet, and some of the higher level compatibility issues need to be resolved. Virtually all typical applications should run just fine, but the changes Tiles makes are atypical. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Java Web Development with Struts. -- Tel +1 585 737-3463. -- Web http://www.husted.com/struts/ Sean Willson wrote: Hello All, Had a question about the latest nightly and some changes/functionality that was removed or missing. I am currently using Tiles and Struts (build from 11/9/2001) to manage the View portion of our website. We have custom renderers that serve up different views depending on the browser type you are coming in with. Anyhow, in our struts config file we often use the action input=some.tile.property.here ... /action In the old releases this worked fine, but in the latest release it appears that the action servlet that Tiles uses isn't answering the calls to the getInput() command called on mapping any longer, the ActionConfig is now. Is this feature gone or are they planning on returning it? Basically, I guess I just want to know if the Tiles template will continue to be integrated into struts as deeply as it was in the past. I am also trying to get a feel for if I have to modify the code myself, which we have yet to do, or if I can rely on the standard builds. Thanks for the help everyone ... Sean P.S. Hopefully when we release, which should be soon, I can give a more detailed look at what we did and what we may be able to contribute back to struts or jakarta. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Ted Husted, Husted dot Com, Fairport NY USA. -- Java Web Development with Struts. -- Tel +1 585 737-3463. -- Web http://www.husted.com/struts/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Need help to build/find a pager with struts
Can someone tell me where I can find or how I can build a pager with struts ? Thanks!! All Comments are welcome ! ___ Bitte beachten Sie unsere neue Adresse Dirk Storck, Dipl.-Ing. (FH) t e c m a t h A G Content Management Systems Division Telefon 0631 303-5290 Europaallee 10, 67657 Kaiserslautern Telefax 0631 303-5209 http://www.tecmath.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Having problems with bean-factory extension
Hi, I have downloaded the bean-factory of http://www.sura.com.ru/~gonza/bean-factory/ and copied the sample war to webapps. I have edited struts-config.xml, so it uses a database in mysql. If I click on Array and Parameter I get the following exception: Error: 500 Location: /struts-bean-factory-sample/sample.jsp Internal Servlet Error: javax.servlet.ServletException: Cannot find bean list in scope page at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp l.java:459) at _0002fsample_0002ejspsample_jsp_1._jspService(_0002fsample_0002ejspsample_js p_1.java:358) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.ja va:130) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va:282) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405) at org.apache.tomcat.core.Handler.service(Handler.java:287) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherIm pl.java:222) at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl .java:162) at org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.ja va:1758) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1595) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405) at org.apache.tomcat.core.Handler.service(Handler.java:287) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79 7) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC onnectionHandler.java:213) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501) at java.lang.Thread.run(Thread.java:484) If I click on Pager I get an empty page The Link Slide works but thats the onlyone. CAN someone tell me what went wrong? Many Thanks for your advice! ___ Bitte beachten Sie unsere neue Adresse Dirk Storck, Dipl.-Ing. (FH) t e c m a t h A G Content Management Systems Division Telefon 0631 303-5290 Europaallee 10, 67657 Kaiserslautern Telefax 0631 303-5209 http://www.tecmath.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
AW: [Off Topic] get/set method generation
eclipse from ibm does it too!!! -Ursprüngliche Nachricht- Von: Sey, Francois [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 1. Februar 2002 16:22 An: 'Struts Users Mailing List' Betreff: RE: [Off Topic] get/set method generation OptimalJ does that too. http://javacentral.compuware.com/ Francois -Original Message- From: João Paulo G. Batistella [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 31, 2002 6:57 PM To: Struts Users Mailing List Subject: [Off Topic] get/set method generation Anyboy knows a tool for generating get/set methods from a list of attributes?? An example: I have private String name; private int number; And I would like to generate: public String getName(); public void setName( String name ) ; public int getNumber(); public void setNumber( number ); Thanks -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
AW: Struts/Tiles and nightly build features
Hi, what do you mean with custom renderers that serve up different views depending on the browser type? Do you have an example? By the way. For what do I need the input-parameter? Many Thanks! -Ursprüngliche Nachricht- Von: Sean Willson [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 31. Januar 2002 16:50 An: Struts Users Betreff: Struts/Tiles and nightly build features Hello All, Had a question about the latest nightly and some changes/functionality that was removed or missing. I am currently using Tiles and Struts (build from 11/9/2001) to manage the View portion of our website. We have custom renderers that serve up different views depending on the browser type you are coming in with. Anyhow, in our struts config file we often use the action input=some.tile.property.here ... /action In the old releases this worked fine, but in the latest release it appears that the action servlet that Tiles uses isn't answering the calls to the getInput() command called on mapping any longer, the ActionConfig is now. Is this feature gone or are they planning on returning it? Basically, I guess I just want to know if the Tiles template will continue to be integrated into struts as deeply as it was in the past. I am also trying to get a feel for if I have to modify the code myself, which we have yet to do, or if I can rely on the standard builds. Thanks for the help everyone ... Sean P.S. Hopefully when we release, which should be soon, I can give a more detailed look at what we did and what we may be able to contribute back to struts or jakarta. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
AW: ResultSet and ListObject - List Screens
WHERE do I find that taglib? Thanks! -Ursprungliche Nachricht- Von: Matt Raible [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 31. Januar 2002 22:21 An: [EMAIL PROTECTED] Betreff: ResultSet and ListObject - List Screens I am looking to (hopefully) use Ed Hill's Display Tag Library to do sorting, alternate colored rows, and pagination of my list screens. Other alternatives I've seen are HTMLTables and JSTL's forEach tag. What I'm wondering is if there are any utilities that anyone knows of to copy a ResultSet into a ListObject (I've seen Ed's tag use them, as well as the Nested Tag). Even better, I'd love to use Simper in association with one of these. Thanks, Matt Links to above references: Display Tag: http://edhill.its.uiowa.edu/display-examples/ HTMLTable Tag: http://english.yuriy-zubarev.com/index.jsp JSTL Iterator Tag: http://jakarta.apache.org/taglibs/doc/standard-doc/standard-ea3/IteratorTag_ FunctionalDescription_2_EAI.html Simper: http://netmeme.org/simper/ __ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
PROBLEMS with uploading a file!
Hi, i have build a upload form, action and jsp like the example. At the jsp I also add some other things like title, and so on. If I send the form without uploading a file I get the following exception. CAN someone tell me why? ava] [EmbeddedTomcatSX] [ServletException in:/show/SelectionBoxes.do?actionPath=/showArticleList] MultipartIterator: no multipart request data sent' ava] [EmbeddedTomcatSX] javax.servlet.ServletException: MultipartIterator: no multipart request data sent ava] [EmbeddedTomcatSX] at org.apache.struts.upload.MultipartIterator.parseRequest(MultipartIterator.ja va:342) ava] [EmbeddedTomcatSX] at org.apache.struts.upload.MultipartIterator.init(MultipartIterator.java:152 ) ava] [EmbeddedTomcatSX] at org.apache.struts.upload.DiskMultipartRequestHandler.handleRequest(DiskMulti partRequestHandler.java:65) ava] [EmbeddedTomcatSX] at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:694) ava] [EmbeddedTomcatSX] at org.apache.struts.action.ActionServlet.processPopulate(ActionServlet.java:19 94) ava] [EmbeddedTomcatSX] at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1497) ava] [EmbeddedTomcatSX] at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:505) ava] [EmbeddedTomcatSX] at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) ava] [EmbeddedTomcatSX] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) ava] [EmbeddedTomcatSX] at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405) ava] [EmbeddedTomcatSX] at org.apache.tomcat.core.Handler.service(Handler.java:287) ava] [EmbeddedTomcatSX] at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) ava] [EmbeddedTomcatSX] at org.apache.tomcat.facade.RequestDispatcherImpl.doInclude(RequestDispatcherIm pl.java:400) ava] [EmbeddedTomcatSX] at org.apache.tomcat.facade.RequestDispatcherImpl.include(RequestDispatcherImpl .java:270) ava] [EmbeddedTomcatSX] at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:414) ava] [EmbeddedTomcatSX] at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.ja va:733) ava] [EmbeddedTomcatSX] at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:368) ava] [EmbeddedTomcatSX] at common._0002fcommon_0002fsidebarTempl_0002ejspsidebarTempl_jsp_0._jspService (_0002fcommon_0002fsidebarTempl_0002ejspsidebarTempl_jsp_0.java:120) ava] [EmbeddedTomcatSX] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) ava] [EmbeddedTomcatSX] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) ava] [EmbeddedTomcatSX] at org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.ja va:130) ava] [EmbeddedTomcatSX] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) ava] [EmbeddedTomcatSX] at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va:282) ava] [EmbeddedTomcatSX] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429) ava] [EmbeddedTomcatSX] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500) ava] [EmbeddedTomcatSX] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) ava] [EmbeddedTomcatSX] at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405) ava] [EmbeddedTomcatSX] at org.apache.tomcat.core.Handler.service(Handler.java:287) ava] [EmbeddedTomcatSX] at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) ava] [EmbeddedTomcatSX] at org.apache.tomcat.facade.RequestDispatcherImpl.doInclude(RequestDispatcherIm pl.java:400) ava] [EmbeddedTomcatSX] at org.apache.tomcat.facade.RequestDispatcherImpl.include(RequestDispatcherImpl .java:270) ava] [EmbeddedTomcatSX] at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:414) ava] [EmbeddedTomcatSX] at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.ja va:733) ava] [EmbeddedTomcatSX] at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:368) ava] [EmbeddedTomcatSX] at _0002fShowArticleList_0002ejspShowArticleList_jsp_0._jspService(_0002fShowAr ticleList_0002ejspShowArticleList_jsp_0.java:221) ava] [EmbeddedTomcatSX] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) ava] [EmbeddedTomcatSX] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) ava] [EmbeddedTomcatSX] at org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.ja va:130) ava] [EmbeddedTomcatSX] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) ava] [EmbeddedTomcatSX] at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va:282) ava] [EmbeddedTomcatSX] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429) ava] [EmbeddedTomcatSX] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500) ava] [EmbeddedTomcatSX] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) ava]
struts-action reading property set in config
Hi I have the following action defined: action path=/admin/account/create parameter=create validate=true unknown=false scope=session type=com.tecmath.cms.mt.struts.UserDataAction name=userDataBean set-property property=test value=test / forward name=failure path=accountDef redirect=false / forward name=success path=/user/account/show.do redirect=false / /action How Can I now read that property test within my Action? Thanks ! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
How to have internationalized selectboxes???
How can I have internationalized and configurable selectboxes? I need selectboxes wich have depending on the uses local different labels but the values must be the same and it should not be hardcoded somewhere. Any suggestions are welcome! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
FileForm question
Hi, how can I get the absolut path of I file wich I want to upload with FileForm like the example? Thanks! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
JBossSX
Hi, I am using JBossSX and Struts. I have defined a LoginAction where I do the login with UsernamePasswordHandler and LoginContext. I use the org.jboss.security.auth.spi.DatabaseServerLoginModule. The login works fine and I get a message that I am authenticated but if I access another action I get java.rmi.RemoteException: checkSecurityAssociation; nested exception is: java.lang.SecurityException: Authentication exception, principal=null java.lang.SecurityException: Authentication exception, principal=null no stack trace available 2002-01-17 15:18:39,767 [Thread-11] DEBUG (QuickSearchAction-createResultList) - RemoteException java.rmi.RemoteException: checkSecurityAssociation; nested exception is: java.lang.SecurityException: Authentication exception, principal=null java.lang.SecurityException: Authentication exception, principal=null no stack trace available wichs seems that I am not logged in. I have to check it the login is correct in my LoginAction and not later if I call a secure EJB so I cant use the ClientLoginModule CAN anyone help? Any comments are welcome! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]