Struts iterate logic tag question

2001-03-22 Thread Sundar @eSaravana
> Hello, > > It's a long mail, after a long day. > > Following is the scenario I am trying to get it done. > > My current processing: > > I have a BuddyListForm bean that has three instance variables > name,alias and phoneno. > > code on my JSP page to iterate over the collection: > scope="sessi

RE: Struts installation notes - WebLogic 5.1

2001-03-22 Thread maarten ectors
I have noticed that putting .properties files into a jar and including the jar into the lib directory solves the problem of the MessageResource. Wouldn´t it be a good idea delivering Struts with all the classes packed into a jar hence Struts would install out of the box in Weblogic... Greetings,

Re: Initial security check

2001-03-22 Thread Matthias Bauer
What I am doing in my applications to protect private areas is the following: I protect all my *.jsp pages (by naming them *.jspp), so the user can not directly access them (achieved by Apache configuration). Now I have an action for each page in struts-config.xml like which

how do I do this in struts?

2001-03-22 Thread JOEL VOGT
Hi all, I have the following situation. I have a jsp page with a large table. This table is filled using the logic iterate tag. I get the data from a bean and this works fine. In my structures, every row represents a data item from the bean. Now, apart from displaying the data, on each row I hav

Struts iterate logic tag question

2001-03-22 Thread Sundar @eSaravana
Hello, It's a long mail, after a long day. Following is the scenario I am trying to get it done. My current processing: I have a BuddyListForm bean that has three instance variables name,alias and phoneno. code on my JSP page to iterate over the collection:

RE: struts-example/index.jsp failed

2001-03-22 Thread Keith Kee
Thanks for everyone's help. I found the problem after all the kind souls pointed out it was a startup problem. It turned out that in tomcat 4, the XML parsers are not exposed but struts needs the parsers to work. So, I moved the crimson.jar and jaxp.jar from ${TOMCAT_HOME}/jasper/lib to ${TOMCAT_H

How to make Reset button a graphical button?

2001-03-22 Thread Shamdasani Nimmi-ANS004
Hi, Is there a way to associate an image with the 'Reset' button? Thanks. -Nimmi

Re: form in UTF-8 doesn't work with weblogic

2001-03-22 Thread Greg Murray
Hi, Is the page your submitting from encoded in utf-8? If not you may have problems. For best results you should set the encoding of the page to the same as the encoding you set using unctype. I recommend using s-jis (shift jis) which is most commonly used in Japan. UTF-8 should also work if y

RE: Struts Action Graphs

2001-03-22 Thread Kurt Olsen
Title: Struts Action Graphs Outstanding! - get get2hawaii dev team thanks you! -Original Message-From: Nanduri, Amarnath [mailto:[EMAIL PROTECTED]]Sent: Thursday, March 22, 2001 10:18 AMTo: '[EMAIL PROTECTED]'Subject: RE: Struts Action Graphs precisely -O

RE: struts-example/index.jsp failed

2001-03-22 Thread Craig R. McClanahan
It looks like you don't have your controller servlet defined to be . This is needed in order to initialize several servlet context attributes used on the JSP pages -- among them the internationalized message resources. Craig

RE: struts-example/index.jsp failed

2001-03-22 Thread Keith Kee
In the log, these are the only hints I have gotten: 2001-03-22 14:23:59 invoker: init 2001-03-22 14:23:59 jsp: init 2001-03-22 14:24:47 jsp: init 2001-03-22 14:24:47 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception javax.servlet.ServletException: Cannot find message re

Re: Error: No action instance for path

2001-03-22 Thread Craig R. McClanahan
On Thu, 22 Mar 2001, hunkpapa wrote: > Hi I've a prolem. > What is the cause of this error ? > > Error 500 > Location: /shop1/login.do > No action instance for path /login could be created > > Check the log files for your servlet container. It's most likely, though, that Struts could not cr

Error: No action instance for path

2001-03-22 Thread hunkpapa
Hi I've a prolem. What is the cause of this error ? Error 500 Location: /shop1/login.do No action instance for path /login could be created

Initial security check

2001-03-22 Thread dhay
Hi everyone. Just a quick, somewhat newbie, question. I need to sometimes require a login, depending on the user, when the user first enters the web app. I am thinking I should make the first "page" an action which will check to see if the user requires a log in, and redirect them to that pag

Rendering multiple occurances

2001-03-22 Thread Cecil Pang
Hi, How would you go about rendering a form containing multiple instances of, say, address in a JSP? The following code works fine for us only if we know in advance how many addresses there are. If use the tag to render a collection of addresses, we lose the benefit of getting the updated

Re: struts-example/index.jsp failed

2001-03-22 Thread Craig R. McClanahan
On Thu, 22 Mar 2001, emi john wrote: > Hi, > > I had similar problem before. It looks like there is > compatibility issue here. As I put old version > struts.jar in the example lib directory, everything > seems working fine. So the example doesn't work with > new struts.jar (tested in JRun 3.0

RE: Struts Action Graphs

2001-03-22 Thread Nanduri, Amarnath
Title: Struts Action Graphs precisely -Original Message-From: Derek Longmuir [mailto:[EMAIL PROTECTED]]Sent: Thursday, March 22, 2001 3:09 PMTo: '[EMAIL PROTECTED]'Subject: RE: Struts Action Graphs I'm glad that it helped you out.   I will look into adding co

RE: Struts Action Graphs

2001-03-22 Thread Derek Longmuir
Title: Struts Action Graphs I'm glad that it helped you out.   I will look into adding colours for you. I think you meant the struts-config.xsl for the colour definitions, right? I'm not planning on changing any of the struts files.   Derek. -Original Message-From: Nanduri, Amarn

form in UTF-8 doesn't work with weblogic

2001-03-22 Thread Juan Gargiulo
Hi, I have a form that is supposed to accept Japanese text. I set enctype="utf-8" but my ActionForm is not getting any of these Japanese. I'm not sure if this is a problem of WebLogic that is not parsing the request stream with the right encoding or is it that I have to implement my own multipart

Re: Performance of struts

2001-03-22 Thread Johan Compagner
What the compiler of IBM does is that it also imports the generated java code inside the ide, so that you can debug is. Therefore does ibm has it's own compiler. Johan - Original Message - From: "Tom Miller" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 22, 2001 7:3

RE: struts-example/index.jsp failed

2001-03-22 Thread Keith Kee
I failed to mention that I am running tomcat 4.0 b2 nightly build as well. Thanks! keith -Original Message- From: Keith Kee [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 22, 2001 2:01 PM To: [EMAIL PROTECTED] Subject: struts-example/index.jsp failed Hi: I just download a copy of

Re: struts-example/index.jsp failed

2001-03-22 Thread emi john
Hi, I had similar problem before. It looks like there is compatibility issue here. As I put old version struts.jar in the example lib directory, everything seems working fine. So the example doesn't work with new struts.jar (tested in JRun 3.0). However, under Tomcat 3.2, everything is fine. Whi

struts-example/index.jsp failed

2001-03-22 Thread Keith Kee
Hi: I just download a copy of the nightly build struts, and after deployment, I cannot access the url: http://localhost:8080/struts-example with a error. I am new with struts, but it seems like it is tried to access a static string in the action class. javax.servlet.ServletException: Cannot f

Re: Performance of struts

2001-03-22 Thread Tom Miller
Does anyone know how IBM VisualAge for Java's JSP compiler compares? Those using the Tomcat Test Environment supplied by IBM have the option to substitute com.ibm.ivj.tomcat.IVJJavaCompiler for the jspCompilerPlugin in Tomcat's conf/web.xml file. Actually, I'm using VAJ, and have experimented

Re: RedirectingActionForward catch?

2001-03-22 Thread Craig R. McClanahan
On Thu, 22 Mar 2001, Kare Nuorteva wrote: > > Hello, > > Because RedirectingActionForward does HttpServletResponse.sendRedirect(), > which sets HTTP Location header to response. You probably save your beans > to request scope and because Location header can be the only header in > response (/

Re: ServletException: org/apache/struts/action/ActionForm

2001-03-22 Thread Maya Muchnik
Of course, you have reference to this class if you have compiled your LogonForm class with struts.jar. But one thing is to compile, other thing it is to run. When you run your application Tomcat must to find struts.jar under your_app/WEB-INF/lib. ApplicationMapping class is in your application t

Re: ServletException: org/apache/struts/action/ActionForm

2001-03-22 Thread Craig R. McClanahan
On Fri, 23 Mar 2001, Manuel Alzola wrote: > Hello. > No reference to ActionForm in all the project. There is one thing that I don´t >understand in the struts example that may have relation since my project is based on >that. I see no place where ApplicationMapping is configured as the ActionM

Re: Performance of struts

2001-03-22 Thread Craig R. McClanahan
On Thu, 22 Mar 2001, DONNIE HALE wrote: > Jasper doesn't generate bytecode, it generates java code (i.e. >myjsp-generatedservlet.java). A regular java compiler is then used to compile that >into bytecode. The issue with Jasper, from what Craig was saying, is that it's a very >brute-force gen

Re: Performance of struts

2001-03-22 Thread Craig R. McClanahan
On Thu, 22 Mar 2001, Mark Balster wrote: > If Jasper is generating some inefficient code, would Jikes help? > Not really. The code generated for your page will still do more stuff than it needs to ... but it will compile faster :-). What matters the most is what kinds of optimizations the p

Re: ActionMappings

2001-03-22 Thread Rob Leland
Darryl wrote: > > 500 Internal Server Error > > javax.servlet.jsp.JspException: Cannot find ActionMappings > or ActionFormBeans collection > at > org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:703) Take a look at your logon.jsp

Re: Parallel iteration

2001-03-22 Thread William Jaynes
At the risk of sounding flip, so repack them in the Action. Define an object that can contain both elements, and create an ArrayList of those objects, each object populated from the corresponding element from each of the two arrays. Then put that collection in the request or session and use it

Re: REPOST: Prechecking with

2001-03-22 Thread William Jaynes
We do this exact thing. In the Action that leads to the display of the jsp with the multibox we use the code below. Given an object (created from the database) that has an ArrayList of the ids the user previously selected: ArrayList list = (ArrayList)obj.getCheckedIssueIDList();

Re: ServletException: org/apache/struts/action/ActionForm

2001-03-22 Thread Manuel Alzola
Hello. No reference to ActionForm in all the project. There is one thing that I don´t understand in the struts example that may have relation since my project is based on that. I see no place where ApplicationMapping is configured as the ActionMapping for the aplication. - Original Me

ActionMappings

2001-03-22 Thread Darryl
Hi all, I'm a relative newbie to Struts. I'm developing a reusable login component and have just got it packaged into a WAR file today in order to test. Unfortunately I'm getting the following error when trying to pull up the default JSP page that has a few form: struts tags in it.   500 Internal

RE: Struts Development : tep by step.

2001-03-22 Thread Nanduri, Amarnath
Title: Struts Development : tep by step. check out this website also   http://www-106.ibm.com/developerworks/library/j-struts/index.html?open&l=jls -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Sent: Thursday, March 22, 2001 10:07 AMTo: [EMAIL PROTECTED]Su

Re: Performance of struts

2001-03-22 Thread DONNIE HALE
Jasper doesn't generate bytecode, it generates java code (i.e. myjsp-generatedservlet.java). A regular java compiler is then used to compile that into bytecode. The issue with Jasper, from what Craig was saying, is that it's a very brute-force generation of the java servlet code. It doesn't do

RE: Struts Development : tep by step.

2001-03-22 Thread tnist
Title: Struts Development : tep by step. The url for Bluestone is below:   HP Bluestone is pleased to offer you another free download: Struts Trail Map www.bluestone.com/download. Regards,Todd -Original Message-From: Nanduri, Amarnath [mailto:[EMAIL PROTECTED]]Sent

RE: Struts Action Graphs

2001-03-22 Thread Nanduri, Amarnath
Title: Struts Action Graphs Derek,     That is super cool. I showed a graph to my lead designer (of the struts_config.xml we are using in our project) and he was jumping up and down with joy. Kudos to your XSL .  One question i have is... can it be colorcoded ? I would like the jpeg

Re: RedirectingActionForward catch?

2001-03-22 Thread Kare Nuorteva
Hello, Because RedirectingActionForward does HttpServletResponse.sendRedirect(), which sets HTTP Location header to response. You probably save your beans to request scope and because Location header can be the only header in response (/ http spec) the original request is deleted. Forget reason

RE: Struts Development : tep by step.

2001-03-22 Thread Nanduri, Amarnath
Title: Struts Development : tep by step. Bluestone page has a very decent example with diagrams. i forgot the url though... -Original Message-From: Tewathia, Atul [mailto:[EMAIL PROTECTED]]Sent: Thursday, March 22, 2001 6:16 AMTo: [EMAIL PROTECTED]Subject: Struts Development

Re: Performance of struts

2001-03-22 Thread Mark Balster
If Jasper is generating some inefficient code, would Jikes help? - Original Message - From: "James Cook" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 21, 2001 8:55 AM Subject: RE: Performance of struts > I find the 240ms delay satisfactory for most of my apps becau

RedirectingActionForward catch?

2001-03-22 Thread Stefan Winterstein
In the example application, I'm setting the 'forward' property for the ActionServlet to 'org.apache.struts.action.RedirectingActionForward' as described in the user guide (that's because I like to see more reasonable URLs in the browser). When I do this, however, the application ceases to work.

Re: Struts Action Graphs

2001-03-22 Thread Bryan Field-Elliot
Title: Struts Action Graphs Derek, That is really cool! Thanks, Bryan Derek Longmuir wrote: [EMAIL PROTECTED]">Hi everyone, I have created some XSL that takes the (old) action.xml and (new) struts-config.xml files and produces a graph showing the various forwards, forms, actions, etc. You can t

RE: Struts Development : tep by step.

2001-03-22 Thread malcolm davis
Title: Struts Development : tep by step. Atul, Have you done a JSP tags tutorial? My recommendation is to go do a JSP tags tutorial, and then come back to struts.Struts uses tags extensively, and understanding tags might make it easier to understand Struts.   - malcolm    -Original Mess

datasources problem...

2001-03-22 Thread Flemming Schmidt Boller
Interbase, has anyone tried and succeded with Interbase as a datasource ? Im using interclient 1.6 and tomcat 3.2.. but I always get an exception: java.lang.VerifyerError: Expecting to find unitialized object onstack... please help :-) flemming

Struts Development : tep by step.

2001-03-22 Thread Tewathia, Atul
Title: Struts Development : tep by step. Is there any link/tutorial where a step by step approach of developing a struts-application is given. I am finding it a bit slippery to get a grip on the examples provided with struts.

Re: calling getter methods

2001-03-22 Thread Ken Beyer
Also, I found using the debug level (and adding my own debug messages where needed) to be useful in seeing when things are getting called. Ken "Craig R. McClanahan" wrote: > On Wed, 21 Mar 2001, G.L. Grobe wrote: > > > I can see that for a radio tag, the property is the name of the bean that >

Re:

2001-03-22 Thread Jean-Noel Ribette
Allen, you need to specify the paramId attribute (paramId is the name of the parameter added to the link, paramName and paramProperty are used to get the parameter value) The correct tag is: ... Jean-Noel - Original Message - From: Allen Walker <[EMAIL PROTECTED]> To: <[EMAIL PROTE

RE: WebSphere 3.5.3 problem

2001-03-22 Thread Markus Torpvret
> I did our 3.5.3 installation yesterday and it was as per > 3.5.2. I still > needed the changed action servlet and also a change of the > struts-config.xml to use a SYSTEM DTD rather than a PUBLIC one. > > It did NOT work out of the box. getResourceAsStream still > appears to be > broken in 3.

RE:

2001-03-22 Thread Howard Moore
try adding the paramId attribute. e.g. this should give you http://localhost:8080/test/addItem.do?isbn= (note without the " quotes) > -Original Message- > From: Allen Walker [mailto:[EMAIL PROTECTED]] > Sent: 22 March 2001 07:44 > To: [EMAIL PROTECTED] > Subject: > > > > > >

LAST TIME

2001-03-22 Thread Allen Walker
Last time, a key portion of the question was omitted..replace all [ ]'s with < >'s respectively. [logic:iterate id="item" name="cart" property="items" scope="session"] ISBN: [bean:write name="item" property="isbn" filter="true"/] [img src="images/trashCan.gif" width="18" height="26"] [/html:li

again

2001-03-22 Thread Allen Walker
I'm sending this again b/c my mailer tried to interpret to markup tags, replace all [ ]'s with < >'s respectively. [logic:iterate id="item" name="cart" property="items" scope="session"] ISBN: [bean:write name="item" property="isbn" filter="true"/] [img src="images/trashCan.gif" width="18" hei