Re: AW: How to use with non-constant values?

2004-04-19 Thread Christian Riedel
Hi Frank, thanks for the prompt answer ... On 20.04.2004 08:46, Otto, Frank wrote: you can do this in this way: why are the easiest solutions always so hard to find? I spent at least 2 days searching for this ... I must admit though that I have found yet another way to

Re: Problem with Data Source Definition

2004-04-19 Thread Xuemin Guan
Tomcat (5.0.19) comes together with commons-pool-1.1.jar, which is under CALINA_HOME/common/lib. This directory is both seen by container and you web applications. So, I guess the problem is not cause by the lack of commons-pool-1.1.jar. Am I missing anything here? Xuemin - Original Message

AW: How to use with non-constant values?

2004-04-19 Thread Otto, Frank
Hi, you can do this in this way: Regards, Frank -Ursprüngliche Nachricht- Von: Christian Riedel [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 20. April 2004 08:35 An: [EMAIL PROTECTED] Betreff: How to use with non-constant values? Hi list, first of all sorr

Getting the form bean on a page for use in a core tag

2004-04-19 Thread Lukas Hazlehurst
Hello, I apologise if I've missed something obvious somewhere, but I'm trying to use a property of my form bean in a core tag, and I'm just missing how to refer to the form bean easily, since the constant name has full stops in it which I presume will muck up the el expression. I've been looking

How to use with non-constant values?

2004-04-19 Thread Christian Riedel
Hi list, first of all sorry for the double-post, I had forgotten to put the subject of my first post in English as well - as you should have noticed. I am currently working on an application to generate database queries. This creation dialog is distributed over several pages ... From the 2nd p

AW: Validator Framework

2004-04-19 Thread Otto, Frank
Hi, I think you can define two names for one form. So you can use different validations. Regards, Frank -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 20. April 2004 08:34 An: [EMAIL PROTECTED] Betreff: Validator Framework Hello All

Wie mit nicht-konstantem Wert (ueber Bean) nutzen?

2004-04-19 Thread Christian Riedel
Hi list, I am currently working on an application to generate database queries. This creation dialog is distributed over several pages ... From the 2nd page on I want to display a "back"-nutton and until the last but one page I want a "next"-button to be displayed. The first thing is not so di

Validator Framework

2004-04-19 Thread Vijay.Nair
Hello All, I am using the Validator framework for all our validations... At a particular place, we have a same form but 2 separate jsp pages which require separate validations... Since the form name is the same I am not able to distinguish between the 2 pages I looked at the "page" op

RE: Problem with Data Source Definition

2004-04-19 Thread Matthias Wessendorf
Ralf, did you add common-pools.jar http://jakarta.apache.org/commons/pool/ to WEB-INF/lib ? i had a time ago a similar problem, but after that it works cheers, matthias > -Original Message- > From: Ralf Schneider [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 20, 2004 12:40 AM > To

Re: Must the from name and action name MATCH ?

2004-04-19 Thread Bill Siggelkow
Kunal, The "name" attribute specified for an corresponds to the "name" attribute of the . This is how you relate a form to an action. If the names don't match then the Action won't know which form to use. As far as conventions, I prefer the form names and the action paths to start with an

RE: [OT] Oracle JDev 10g Final (9.0.5.1 build 1605) is out!

2004-04-19 Thread Vijay.Nair
I was big fan of Eclipse...until we had a project on the 9IAS application Server and we started expirementing with JDeveloper... The built in oc4j server helps us in rapid deployment...and we had no problems while deploying the application built in the IDE to the actual 9ias server ...also lotsa u

RE: detecting session timeout

2004-04-19 Thread brati . sankarghosh
We have done a similar thing with filter. You put a check in the filter to redirect to an error page if the session is not present in the request. this will also prevent a user to access the site without login in. Filters however is only available with servlet 2.3 Brati Sankar Ghosh Tata Consulta

Must the from name and action name MATCH ?

2004-04-19 Thread Kunal H. Parikh
Hi All! I was wondering if I could attach a form with a name different to that of the action. i.e. === === I want to follow this pattern of naming conventions: ActionName: searchAction FromName: searchForm ForwardName: searchResults (Assuming that I only have one forwar

RE: [OT] Beer

2004-04-19 Thread Andrew Hill
Ahhh. About time we had a beer thread. Its been a while... :-) -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Tuesday, 20 April 2004 01:10 To: Struts Users Mailing List Subject: Re: [OT] Beer Yes he has, and I'm about to join him. -- James Mitchell Software En

RE: detecting session timeout

2004-04-19 Thread Khalid K.
You can store an attribute in session when you initially start the session Subsquent checks for that attribute on EACH request will check if that Attribute doesn't exist...session has expired or they are not logged on etc. Of course the key to this is to put a hook on RequestProcessor to run this

Re: struts-config broken in multiple files

2004-04-19 Thread Joe Germuska
An alternative to this would be to take advantage of Struts' support for defining a list of struts-config files in web.xml. config /WEB-INF/form_beans.xml, /WEB-INF/forwards.xml, /WEB-INF/actions.xml, -- Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com

RE: JSTL vs Struts-el

2004-04-19 Thread Mike Duffy
Replacing the Struts bean and logic tags with JSTL is a good idea. "Core JSTL", by Geary is a good starting point. Mike --- "Hookom, Jacob" <[EMAIL PROTECTED]> wrote: > On our last big project, we only used the struts:html taglib, everything > else we decided to use jstl. > > So our tags were

Re: jsp and message resource file

2004-04-19 Thread ksitron
This is a section of your struts-config.xml parameter="your.package.ApplicationResources"/> Barnett, Brian W. wrote: What do you have to do to make a message resource file available to jsp pages. I've seen examples of but I think I have to do something else in order for that to

Problem with Data Source Definition

2004-04-19 Thread Ralf Schneider
Hi, I'm trying to setup Struts 1.1 with a database connection using DBCP 1.1 to connect to a SAP DB 7.4 database. Unfortunately, I get the following error during startup of Tomcat (5.0.19): StandardContext[/demo_03]Servlet /demo_03 threw load() exception javax.servlet.UnavailableException: Initi

RE: jsp and message resource file

2004-04-19 Thread Barnett, Brian W.
One way is to put this in your jsp file: The reference it like this: -Original Message- From: Barnett, Brian W. [mailto:[EMAIL PROTECTED] Sent: Monday, April 19, 2004 2:44 PM To: '[EMAIL PROTECTED]' Subject: jsp and message resource file What do you have to do to make a message resour

Indexed Properties DynaValidatorForm

2004-04-19 Thread Amin Lalji
I am trying to use a DynaValidatorForm with Indexed Properties... I have setup validation using the Validator Framework... Validation is working, however when it comes time to display failed validation (from ActionErrors), I can not seem to output an individual error message for each indexed prope

RE: JSTL vs Struts-el

2004-04-19 Thread Hookom, Jacob
On our last big project, we only used the struts:html taglib, everything else we decided to use jstl. So our tags were actually then since it was the only struts library we needed. -Original Message- From: Bill Siggelkow [mailto:[EMAIL PROTECTED] Sent: Monday, April 19, 2004 3:53 PM To:

Re: JSTL vs Struts-el

2004-04-19 Thread Bill Siggelkow
Josh Holtzman wrote: Would someone be willing to elaborate on why I might want to use Struts-el rather than JSTL? Are these alternative technologies, or complimentary? They are complimentary technologies. There is little overlap. struts-el enables Struts tags that do not have JSTL equivalents to

jsp and message resource file

2004-04-19 Thread Barnett, Brian W.
What do you have to do to make a message resource file available to jsp pages. I've seen examples of but I think I have to do something else in order for that to work. Thanks, Brian Barnett

struts-config broken in multiple files

2004-04-19 Thread Just Fun 4 You
Hello I am using Struts 1.1 and tried to separate my struts-config.xml into several entities as it is described by James Holmes (see below). However it does not work because the "entity xml files" are not found, though they are in the same directory as struts-config.xml. After tracing I found out,

JSTL vs Struts-el

2004-04-19 Thread Josh Holtzman
Hello all, Would someone be willing to elaborate on why I might want to use Struts-el rather than JSTL? Are these alternative technologies, or complimentary? If I begin using JSTL with my current struts application will I need to change any of the syntax in my current struts tags? I

RE: [OT] Oracle JDev 10g Final (9.0.5.1 build 1605) is out!

2004-04-19 Thread Smith, Darrin
I'd also like to hear user's experience with Sun's Java Studio Creator (and its support for JSF technology). -Original Message- From: Paul Barry [mailto:[EMAIL PROTECTED] Sent: Monday, April 19, 2004 1:41 PM To: Struts Users Mailing List Subject: Re: [OT] Oracle JDev 10g Final (9.0.5.1 bu

RE: Buffering the ouput of a JSP page within an action

2004-04-19 Thread Wiebe de Jong
Check out Matt Raible's solution to templated-email using Velocity. It is good and I intend to use it for this purpose. http://www.theserverside.com/blogs/showblog.tss?id=SpringVelocityEmail Wiebe -Original Message- From: Amine Bousta [mailto:[EMAIL PROTECTED] Sent: Monday, April 19, 20

Re: [OT] Oracle JDev 10g Final (9.0.5.1 build 1605) is out!

2004-04-19 Thread Paul Barry
I have been using Eclipse for a while now. It is a little slow a times, but overall works pretty well. Have any eclipse users tried JDeveloper? Any reason to switch? Is JDeveloper free? Amjad Shahrour wrote: Just wanted to say my toughts about Jdeveloper10g. Simply it is GREATE!!. And t

Re: JSTL + isUserInRole

2004-04-19 Thread Bill Siggelkow
Here's another alternative from the archives: http://www.mail-archive.com/[EMAIL PROTECTED]/msg06865.html Paulo Alvim wrote: Hi! Is it possible to test "isUserInRole" using JSTL 1.0 (like the struts "logic present role" tag)? Thanks in Advance... Alvim. --

Re: how to send idx in

2004-04-19 Thread Bill Siggelkow
paramId - the name of the request parameter paramName - the name of the bean or object to get the parameter value from -- get the value for name unless paramProperty is specified paramProperty - the property to pull from the object specified in paramName So if you wanted the request param name

Re: DispatchAction / DynaValidatorForm / Upload best practice

2004-04-19 Thread Adam Hardy
I've just realised that Marco may be partially correct - but it's not due to the dispatch action, it's due to the multipart request formbean. Perhaps if you look in the archives for multi-part request, you'll find some interesting stuff. I'm not sure at this point myself. Adam On 04/19/2004 03

Re: DispatchAction / DynaValidatorForm / Upload best practice

2004-04-19 Thread Adam Hardy
Marco, dispatch action doesn't cause the formbean to be reset after it's executed - it's reset before it's executed. The formbean that the Action gets and the formbean that the JSP get are the same (unless you change it yourself in the action). Adam On 04/19/2004 03:47 PM Marco Mistroni wrote:

Re: Urgent help in struts MOdular approach

2004-04-19 Thread Martin Cooper
MessageIf what you mean is that you have an Action in module 'business' that needs to forward to a JSP in module 'default', then you should switch modules before forwarding. See RequestUtils.selectModule() and/or SwitchAction. -- Martin Cooper "Normanjai Singh Pauldurai" <[EMAIL PROTECTED]> wrot

RE: Newbie question - not using struts with jsp

2004-04-19 Thread Dhaliwal, Pritpal (HQP)
Hello Johannes, I think you need to explain this a little more, but how are you going to generate the fop file? Is your jsp going to ouput fop format instead of HTML? If that's the case just use jsp and put your tags in the jsp. I think most tags will return html, so your fop might not be too happ

Re: [OT] Beer

2004-04-19 Thread James Mitchell
Yes he has, and I'm about to join him. -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. http://www.EdgeTechServices.net/ 678.910.8017 AIM: jmitchtx - Original Message - From: "Andy Engle" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>

Re: [OT] Beer

2004-04-19 Thread Bill Siggelkow
Andy Engle wrote: Bill Siggelkow <[EMAIL PROTECTED]> wrote: I like beer -- I can't get enough of it -- I prefer free beer. Have you been drinking excessive amounts within the last few hours prior to posting this message? Andy Unfortunately "no" -- that is why I posted. ---

Re: Buffering the ouput of a JSP page within an action

2004-04-19 Thread Niall Pemberton
Struts has a tag - not used it myself, but the docs say it performs an internal dispatch to a component or URL and stores the response in a bean. Maybe you could use that as part of a solution. http://jakarta.apache.org/struts/userGuide/struts-bean.html#include I have a simple tag (StoreTag) wh

Re: [OT] Beer

2004-04-19 Thread James Mitchell
+42 -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. http://www.EdgeTechServices.net/ 678.910.8017 AIM: jmitchtx - Original Message - From: "Bill Siggelkow" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 19, 2004 1:03 PM Subject: [OT] Beer

Re: [OT] Beer

2004-04-19 Thread Andy Engle
Bill Siggelkow <[EMAIL PROTECTED]> wrote: > I like beer -- I can't get enough of it -- I prefer free beer. Have you been drinking excessive amounts within the last few hours prior to posting this message? Andy - To unsubscrib

[OT] Beer

2004-04-19 Thread Bill Siggelkow
I like beer -- I can't get enough of it -- I prefer free beer. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: what should i do to set the session in the pageContext in a Action class?

2004-04-19 Thread Qayyum, Kashif
Check out: http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/jsp/PageContext.html It seems that pageContext is a jsp-only context. You should bind the object to either request or session context, and then use a tag to pull the object out of the request/session and put it into the

[Struts Workflow] WorkflowViolation Help

2004-04-19 Thread Derek
I have everything working using the Struts Workflow extension except that I am having problems with the workflow violation mechanism. I have a wizard consisting of 6 pages. The workflow through the entire 6 pages is assigned a single primary workflow value. So, I made one violation mapping to ha

Newbie question - not using struts with jsp

2004-04-19 Thread Johannes Correa
Hi there... I am new using struts and i would like to use the tags it provides not inside a jsp but in other presentation files like a fop file... how can i do this? Thanks a lot Johannes Correa

RE: Internationalization of an existing struts/tiles project

2004-04-19 Thread Alan Treadway
Hi Chris, One approach would be to specify a key to use in the tile definition rather than the actual text to use as the title. So in your tiles-defs.xml you have: In your JSP you have something like: In your resource bundles: title.somepagekey=Some Page Title Using this approa

Re: how to send "idx" with tag

2004-04-19 Thread LAUFERON Caroline
-- i send this mail for Ganesh, who has problems receiving mails from the mailing list,. reply to this mail and i will forward it to hin. Thank you! -- Hi sir, Here is a problem with: . .

Buffering the ouput of a JSP page within an action

2004-04-19 Thread Amine Bousta
Hello, I'm trying to write a struts action that could save in a database and send by e-mail the output of a JSP page. This JSP page needs attributes values that are stored in the session context. In other words, I need ServletContext of the struts action and the JSP page to be the same. I first

Re: [OT] Oracle JDev 10g Final (9.0.5.1 build 1605) is out!

2004-04-19 Thread Duncan Mills
It'll work on iAS or any other J2EE server. There is direct help in creating deployment profiles and installing the common libraries for Oracle Application Server Standalone OC4J JBoss Tomcat Weblogic Anything else you'll have to tweak the deployment files yourself or do it in Ant if you pr

logic:iterate over a collection of non-simple objects, how to fill them after submit

2004-04-19 Thread Lachdanan
Hello, I have the following problem: I use a collection of objects of type AClass which have another collection as an attribute (<%="anAttribute["+index.intValue()+"]"%>). The direction Form --> JSP works well. In my opinion,

RE: ActionMessages won't display

2004-04-19 Thread Matthew Hegarty
Cracked it. I cut and paste your code snippet in, and confirmed the body of 'messagesPresent' is being output. So maybe the message was being output, and it just happened to be a blank string. This appears to be the case - as soon as I put the correct message into 'application.properties' (the de

RE: session scoped action form question

2004-04-19 Thread Hubert Rabago
Doh! I forgot that part. Yup, that's really the way to go, but only *if* your action has the form you want mapped to it. Sometimes a separate action with no input form is used to instantiate and/or initialize a form, and in that case, mapping.getAttribute() won't get you the form name you need.

RE: Internationalization of an existing struts/tiles project

2004-04-19 Thread Paul McCulloch
I just do: Paul > -Original Message- > From: Chris Searle [mailto:[EMAIL PROTECTED] > Sent: Monday, April 19, 2004 4:29 PM > To: [EMAIL PROTECTED] > Subject: Internationalization of an existing struts/tiles project > > > > I've got an existin

Internationalization of an existing struts/tiles project

2004-04-19 Thread Chris Searle
I've got an existing struts/tiles project which needs making locale aware. This is going well (due to the framework support for it) and is mostly complete but there is one thing I can't decide on how best to do. For each tile definition the page title has been set with via tiles (in the tiles-def

RE: session scoped action form question

2004-04-19 Thread Paul McCulloch
Rather than hard coding the attribute name you can get that from the mapping: request.getSession().setAttribute(mapping.getAttribute(), form); Paul > -Original Message- > From: Hubert Rabago [mailto:[EMAIL PROTECTED] > Sent: Monday, April 19, 2004 4:20 PM > To: Struts Users Mailing List

RE: detecting session timeout

2004-04-19 Thread Sweta Parthasarathy
Hi Dean, The most simplest check that I could think of is this: request.getSession().isNew(); if this returns true, then the session is a new one and hence, the previous session has been timed out. However, this solution will not work if the server uses a cookie-based session and the client has di

Re: session scoped action form question

2004-04-19 Thread Hubert Rabago
Try overwriting the form in the session with your new form: form = new WidgetForm(); request.getSession().setAttribute("formName", form); --- "Barnett, Brian W." <[EMAIL PROTECTED]> wrote: > Can someone enlighten me as to why when I instantiate a new ActionForm, the > old data seems to hang arou

detecting session timeout

2004-04-19 Thread Dean A. Hoover
Any suggestions on how to detect session timeouts? I am experimenting with extending TilesRequestProcessor (I'm using struts 1.1 and tiles). Here's an example of the kind of thing I would like to detect: I have a multipage registration process. Suppose a user gets halfway through and then goes away

RE: ActionMessages won't display

2004-04-19 Thread mike . raath
Sorry for missing that Matt. The id = 'varName' is the object name which will hold each message in the messages list as it iterates through. All you should need is something along the following: This will examine the request for an ActionMessages object, th

session scoped action form question

2004-04-19 Thread Barnett, Brian W.
Can someone enlighten me as to why when I instantiate a new ActionForm, the old data seems to hang around? Here is the information: I have a session scoped action form defined in struts config: etc, etc, My dispatch method looks something like this: public ActionForw

Re: ActionMessages won't display

2004-04-19 Thread Irfandhy Franciscus
Hi, mmm usually for errors I will use ActionErrors. But from what I understand about ActionMessages if you do: Struts will get all the mesages from request that are tied to ActionMessages.GLOBAL_MESSAGE. So perhaps we can try to remove the logic tag .. I feel there is no need for a logic

RE: ActionMessages won't display

2004-04-19 Thread Matthew Hegarty
Mike Thanks for response. I had tried that but to no avail (I mentioned it near the end of my original message) I am not clear as to what 'id="messages"' which appears in the html:messages tag is supposed to refer to. According to the docs: "The name of a page scope JSP bean that will contain th

Re: Unsub

2004-04-19 Thread Goldsmith Steve
I would also like to unsub but have been unsuccessful in doing so. Could someone help? Thanks, Steve >>> [EMAIL PROTECTED] 04/15/04 03:37PM >>> I'm trying to unsub from this list, since I'm going away for a week. Unfortunately, when I send email to [EMAIL PROTECTED], as directed by the welcome m

RE: ActionMessages won't display

2004-04-19 Thread mike . raath
Try setting the message="true" attribute of the tag. The default is false which means that you are actually testing for ActionErrors not ActionMessages. -Original Message- From: Matthew Hegarty [mailto:[EMAIL PROTECTED] Sent: 19 April 2004 15:49 To: '[EMAIL PROTECTED]' Subject: ActionMes

ActionMessages won't display

2004-04-19 Thread Matthew Hegarty
Hello I am hoping someone can help with an ActionMessages problem I am setting ActionMessages in my action, but they are not appearing in the page. The action code is: if(showDetails.size() == 0 ) { LOGGER.debug("no ShowDetails found"); ActionMessages messages = new ActionMes

Re: html:form

2004-04-19 Thread as as
wonderful.. i guess two submits are the culrpits here then... then in my second form, how do i implement my fucntionality (wher i want to display a table- but clicking on the left most element in the table must take it to another pageusing javascript please advise.. Thanks! Christian Bol

RE: html:form

2004-04-19 Thread as as
Yes it works..with only teachersDisplay in the jsp the problem comes only when i add the second form... Thanks! Geeta Ramani <[EMAIL PROTECTED]> wrote: Jumping in here.. (so ignore this if you already have an answer..:) If you have just the teachersDisplay form in your jsp do things work? T

Re: how to send idx in

2004-04-19 Thread Nathan Maves
The html:link tag allows for one parameter to be set with it. Look at the api.. If you need to append more then one parameter then you will have to use jstl. Nathan On Apr 19, 2004, at 4:49 AM, ganesh g wrote: Hi sir, Here is a problem with: i want to send indexId="idx" which is in ite

RE: Tomcat not starting !

2004-04-19 Thread birendar . waldiya
That is set already set     to     c:\jsdk1.4.2 Birendar Singh Waldiya Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com "Butt, Dudley" <[EMAIL PROTECTED]> 19-04-04 07:30 PM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To 'Struts U

[OT] XSL equivalent to commons.lang.WordUtils.wrap

2004-04-19 Thread Robert Taylor
Greetings, I'm trying to duplicate some text formatting code in Java, and need to find an XSL equivalent to the following two methods: org.apache.commons.lang.WordUtils.wrap() org.apache.commons.lang.StringUtils.split() I've been "Googling" for about 2 days and have found some routines but either

RE: Tomcat not starting !

2004-04-19 Thread Butt, Dudley
set your java home set JAVA_HOME=c:\??? in the startup file -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 19 April 2004 03:52 PM To: [EMAIL PROTECTED] Subject: Tomcat not starting ! My Tomcat dosnt start??? also Im getting following error when setting

Tomcat not starting !

2004-04-19 Thread birendar . waldiya
My Tomcat dosnt start??? also Im getting  following error when setting  classpath script on woindows C:\Tomcat\jakarta-tomcat-4.1.30\bin>rem - C:\Tomcat\jakarta-tomcat-4.1.30\bin>rem Set CLASSPATH and Java options C:\Tomcat\ja

Re: R: [OT] Oracle JDev 10g Final (9.0.5.1 build 1605) is out!

2004-04-19 Thread Mark Lowe
I don't know about any of the IDE nonsense but you can have tomcat serve any directory you want.. Have a look at the manager.xml and admin.xml files in webapps and work from there. On 19 Apr 2004, at 12:41, Grassi Fabio wrote: I haven't tested it yet, but I would like to know in advance if it i

RE: DispatchAction / DynaValidatorForm / Upload best practice

2004-04-19 Thread Marco Mistroni
Hi, I might be wrong, but if u do a direct access such http:///action.do?dispatch=method&id=1234 What will happen is that the form is populated, then passed DispatchAction (which will do eventually some logic on it), then the form is reset and then it is sent to the page. If I m corre

Re: DispatchAction / DynaValidatorForm / Upload best practice

2004-04-19 Thread Stephane Bailliez
"Adam Hardy" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Stephane, > it's not exactly clear what you are trying to achieve or what the > problem is (apart from ugly code). The problem is the ugly code :) > Why do you have to fill the id field manually in the JSP via EL? It > sh

RE: html:form

2004-04-19 Thread Geeta Ramani
Jumping in here.. (so ignore this if you already have an answer..:) If you have just the teachersDisplay form in your jsp do things work? Try that. My feeling is that it isn't the fcat that you have *two* forms/beans that is the problem.. Regards, Geeta -Original Message- From: as as [m

Re: Javascript Error

2004-04-19 Thread birendar . waldiya
try this if this works ?? function Next()          {                  document.form1.hiddenname.value="hai";                         document.form1.method ="post";                                  document.form1.action =""                                              document.form1.subm

Javascript Error

2004-04-19 Thread Sudhakar G
Hi All, I have defined a form tag and assigned a form name like as follows.. the problem is: when i submit the button. its giving error "object doesnot support property or method" from java script The javascript code: function Next() { document.form1.hidde

how to send idx in

2004-04-19 Thread ganesh g
Hi sir, Here is a problem with: i want to send indexId="idx" which is in iterate tag. with tag as a request parameter. I CAME TO KNOW TO USE idx.intValue() .But i didn't get how to write it in tag and what property is supposed to be used.i mean paramName,paramId or paramProperty. please g

Re: DispatchAction / DynaValidatorForm / Upload best practice

2004-04-19 Thread Adam Hardy
Stephane, it's not exactly clear what you are trying to achieve or what the problem is (apart from ugly code). Why do you have to fill the id field manually in the JSP via EL? It should be automatic from the form bean. Perhaps you haven't linked up the formbean and the action mapping in struts-

R: [OT] Oracle JDev 10g Final (9.0.5.1 build 1605) is out!

2004-04-19 Thread Grassi Fabio
I haven't tested it yet, but I would like to know in advance if it is possible to have Tomcat run the application from the same directories where the project source lies or if, on the contrary, it is mandatory to deploy to another directory structure in order to se the changes to the classes or jsp

Re: javax.servlet.jsp.JspException: No getter method for property id of bean driver

2004-04-19 Thread ganesh g
Make sure ur form bean has the methods like getTeacher() and setTeacher() Ganesh _ The latest games ‘n gizmos. Tech news ‘n downloads. http://www.msn.co.in/Computing/ All this at a single click. -

Re: html:form

2004-04-19 Thread JavaSoft
2 forms i assumed you use 2 diffrent actions. It wouldn't matter how many form you have as long as you set the action in your struts-config correctly. If you use 2 forms just imagine you have 2 diffrent pages, how you deal with it ? so its supposed to be same as you handle your multiform. --- as

Re: javax.servlet.jsp.JspException: No getter method for property id of bean driver

2004-04-19 Thread JavaSoft
Check all input object names (textfield, checkbox, select).. those names should be as your form bean attribute --- as as <[EMAIL PROTECTED]> wrote: > > HI > > I get the error belw: > > javax.servlet.jsp.JspException: No getter method for > property id of bean driver > > while the only variab

RE: how to send "idx" with tag

2004-04-19 Thread ganesh g
Hi sir, Here is a problem with: i want to send indexId="idx" which is in iterate tag. with tag as a request parameter. i came to know to use idx.intValue().But which property to use in tag .i mean paramName,paramId or paramProperty.Please give me the code line of then i would be very thankful

RE: how to send "idx" with tag

2004-04-19 Thread Janarthan Sathiamurthy
Hi, Use idx.intValue() Regards, Janarthan S -Original Message- From: ganesh g [mailto:[EMAIL PROTECTED] Sent: Monday, April 19, 2004 2:26 PM To: [EMAIL PROTECTED] Subject: how to send "idx" with tag Hi sir, Here is a problem with: .

how to send "idx" with tag

2004-04-19 Thread ganesh g
Hi sir, Here is a problem with: . . . . i want to send indexId="idx" which is in iterate tag. with tag as a request parameter. i worked in different ways for a we

how to send "idx" with tag

2004-04-19 Thread ganesh g
Hi sir, Here is a problem with: . . . . i want to send indexId="idx" which is in iterate tag. with tag as a request parameter. i worked in different ways for a we

OT: session of previously logined users is retrieved

2004-04-19 Thread Ramil Mirhasanov
Hi, I encountered a problem while testing my web application in the internet. When user is authorized, the parameters of this user are stored in the "UserInfo" object and put to the session, as the below: /** LoginAction.java**/ if (errorDetected == false){ UserI