you extract
> the corresponding entry to display in the logic:iterate)
> to the corresponding form field in the form bean.
>
> I also had the same problem sometime back.
> I did the way I suggested and it worked.
> That's why I suggested this way.
>
> Regards,
> Girish
&g
ot;percentage"/>
> So, poipulate the form bean at the action . That's it
> Dopn't give the value attribute.
> It will work
>
> -Original Message-
> From: Sebastian Ho [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 04, 2004 12:34 PM
> To: Strut
Regards,
> Girish
>
> -Original Message-
> From: Sebastian Ho [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 04, 2004 12:18 PM
> To: Struts Users Mailing List
> Subject: html:text in logic:iterate
>
> Hi
>
> I have a iterate tag which contains a
Hi
I have a iterate tag which contains a text box. I wish to display value
in the textbox. But this line in the JSP couldnt get through the
parsing.
"/>
Anyone knoww how to get around this?
Thanks
Seba
Now this is a Java question, if "XXX newForm = (XXX) form" resulted in
form and newForm having the same memory space? How do I really make a
duplicate copy with different memory space (beside using new, or is new
the only solution)?
Sebastian Ho
On Wed, 2004-10-27 at 17:44, dmu
ActionForm reset is not called
before returning the method.
How can the reset method affect my codes?
and yes, the values was printed out before returning and all the values
are there..
Why is that so?
Thanks
Sebastian Ho
-
public
For every calling page, use a new mapping in yr struts-config.
I assume u mean setting the action as session scope in yr config? They
are the same I think, the important thing is to keep it to one solution
and use it thoughout the application. Else it will be confusing and hard
to debug as yr appl
k wrote:
>
> > Or you coud use displaytag.
> >
> > http://displaytag.sf.net
> >
> > It's pretty ok from what I can see.
> >
> >
> >
> > On Fri, 8 Oct 2004 14:32:58 +0530, Viral_Thakkar
> > <[EMAIL PROTECTED]> wrote:
> >
>
hi
anyone has codes on how to display paging?
i.e. display 10 rows per page with 'next' / 'back' functions.
Thanks
sebastian
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
> This is what I'd go for.
>
> Hiran
>
> -
> Hiran Chaudhuri
> SAG Systemhaus GmbH
> Elsenheimer StraÃe 11
> 80867 MÃnchen
> Phone +49-89-54 74 21 34
> Fax +49-89-54 74 21 99
>
>
>
>
> > -Original Message---
ion?
>
> Hiran
>
> -
> Hiran Chaudhuri
> SAG Systemhaus GmbH
> Elsenheimer StraÃe 11
> 80867 MÃnchen
> Phone +49-89-54 74 21 34
> Fax +49-89-54 74 21 99
>
>
>
>
> > -Original Message-
> > From: Sebastian Ho [mailto:[EMAIL PROTECTED]
> &
posted them.
Thanks
Sebastian Ho
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
action and there is no way to change
> it. So if you want to reference it in JavaScript, use its form bean name.
> Anyway in your code there is an error. You have to rewrite it this way:
>
> ..
>
>
> Ciao
> Antonio Petrelli
>
> Sebastian Ho wrote:
>
> >
7;type' in the struts javadoc for html:form.
Thanks
Sebastian Ho
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Nobody answered my mail yet and I got the solution, so here it is for
those interested.
overwrite storeException and set it into Global.ERROR attribute.
On Tue, 2004-09-28 at 14:17, Sebastian Ho wrote:
> Hi
>
> I can't get the storeException to work in my ExceptionHandler
&g
Hi
I can't get the storeException to work in my ExceptionHandler
implementation.
I wish to print out ActionErrors onto the browser but the storeException
only accept an ActionError parameter. How do I print multiple lines?
Thanks
Sebasti
er's
> // "maxFileSize" for uploads so let the
> // user know the upload was too large!
> }
> Regards,
> David
>
> -Original Message-
> From: Sebastian Ho [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 24, 2004 3:18 AM
> To: Stru
Hi
Once I add in a , i encountered a BeanUtil exception. I have
attached all relevant information.
I noticed that the validate method in ActionForm is not called. The
exception occurred during the bean population.
Hope someone can help.
Sebastian Ho
I got it working although I don't know why it behaves that way..
In my JSP, I have a somewhere in between the lines.
Once I remove it, the exception went away. That tag should not be there
anyway. No idea how it got there in the first place..
Thanks Kumar.
Sebastian Ho
On Tue, 2004-09-
Hi
The URL did contains 'action' but I have been using 'action' as a
parameter for weeks and it is working fine.
btw how do I get the URL path? It is not shown in the browser.
--
struts-config
--
On Tue, 2004-09-21 at 11:21, Jitender K Chukkavenkata
Hi
The output doesn't even print out the "nextController" in the method
which I inserted..
Thanks
--
JSP
--
---
Action
---
public class CreateNewPro
hi
anyone encounter this exception before?
org.apache.jasper.JasperException: Cannot create rewrite URL:
java.net.MalformedURLException: You must specify exactly one of
"forward", "href", "page" or "action"
It only happe
Mon, 2004-09-20 at 16:11, Sebastian Ho wrote:
> I thought you can't control redirect/forwrd for validation? I can
> control that for mapping forward only.
>
> Sebastian
>
>
> On Mon, 2004-09-20 at 15:14, Sachin Bhutada wrote:
> > hi sebastian,
> >
as I know (but you give up some Struts luxuries).
>
> Using Session scope is one way, but not the only way, to solve your
> problem. (Don't be afraid of it though). This is not an easy problem
> despite the simplicity of the concept of "scope". Keep reading!
>
>
est attributes will be lost.
> Try putting that bean seesion scope.
>
> sachin
> xoriant, mumbai
>
> PS : also make sure, how does struts take us back to input page ?( using
> forward or redirect i guees its redirect)
>
> -----Original Message-
> From: Sebastian
and
> validation errors occur), a new request exists, the original request no
> longer exists, and so that value is no longer in scope when the page is
> rendered for the second time.
>
> See if this helps:
>
> http://www.reumann.net/struts/articles/request_lists.jsp
>
hi
i have the following codes in my JSP :
"/>
which converts into .
If validation is used and there are errors, the input page is displayed.
Now the above value became :
The valus is missing..
Can anyone explain why this is happening and how to resolve it?
sebastian
:
In properties :
button.cancelforgotpassword = Cancel
button.cancelsignup = Cancel
In Action :
protected Map getKeyMethodMap()
{
Map map = new HashMap();
map.put("button.cancelsignup", "cancelSignup");
map.put("button.cancelforgotpassword", &qu
t in my doFilter() method.
this.myFilterConfig.getServletContext().getRequestDispatcher("/index.do").forward(request,
response);
Anyone experience somethign similar?
Thanks
sebastian Ho
-
To unsubscribe, e-mail: [EMAIL PROTECT
Sorry but I don't understand where is the 'dynamic targetting'. From the
example, don't we need to hard code the setDynamicTarget(XX) in the JSP?
But I won't know the taget to set at that time..
Sebastian Ho
On Mon, 2004-09-13 at 16:33, Bj wrote:
> Here is an
min Letrou wrote:
> Hi,
> why don't you set your target dynamicaly with a javascript ?
> you set your form action to XX.do and change the target depending on the
> clicked button.
>
> Bj
>
> Sebastian Ho a Ãcrit :
> > Hi
> >
> > My index.jsp h
No..It is just a login Page. Thats why I need to change the top frame as
well to display the menu after login..
On Mon, 2004-09-13 at 15:03, Michael McGrady wrote:
> Sebastian Ho wrote:
>
> >Hi
> >
> >My index.jsp has a top frame and bottom frame.
> >
> >I ha
overwrite that and forwards to XX.do!
Any idea how to solve this?
Thanks
Sebastian Ho
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi
I replaced the following struts tags for a button with one that display
a link. The Action uses LookupDispatchAction. That explains the need for
my message key in it.
This is my replacement codes for a link.
Create
Project
I am surprised that this works! There is no
fails and returns to the same JSP. Shouldn't
struts keep them somewhere in case validate fails and the JSP needs to
be displayed again?
Any reasons what might go wrong?
Thanks
Sebasti
some.Action"
> input="/file.jsp">
>
>
> path="/Handler2"
> type="com.foo.some.Action"
> input="/otherfile.jsp">
>
>
> Paul
>
> &
Hi
I am in the stage of implementing logging in my struts application. I
have been reading online but have some questions unanswered.
1. Action class should be thread-safe. Therefore no static variable, I
should just use a non-static variable to hold my logger?
2. In a multi-user web application
Hi
I am having problem with the output from ActionMessage.
I uses HTML tags like in my properties file.
When bean:write prints out my messges, it displays in the browser.
The HTML source turns out to be "
".
I do not have this problem with ActionErrors.
Am I missing anything?
This is ho
I tried that but it is complainin about more than one identical action
definition in struts-config.
sebastian ho
On Fri, 2004-08-27 at 20:21, Paul McCulloch wrote:
> One way to do this is to have multiple actions defined in struts-config.xml,
> each using the same Action class. Each acti
My apologies. I think there was a few postings yesterday on this same
problem.
I will look into ValidatorForm solution suggested.
Sebastian Ho
On Fri, 2004-08-27 at 20:05, Sebastian Ho wrote:
> Hi
>
> Is it possible to change the input path that validate() displays if
> there a
refore the validation errors need to be displayed in the respective
JSP, and not the input path specified in actino-mappings.
Thanks
Sebastian Ho
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Sebastian
On Fri, 2004-08-27 at 14:48, Sebastian Ho wrote:
> Hi
>
> I have this exception but i don't remember editing my struts-config.
> Where to start debugging?
>
> Sebastian
>
> java.lang.IllegalArgumentException: Path
Hi
I have this exception but i don't remember editing my struts-config.
Where to start debugging?
Sebastian
java.lang.IllegalArgumentException: Path CreateProject.jsp does not
start with a "/" character
at
org.apache.catalina.core.ApplicationContext.getRequestDispatcher(ApplicationContex
instead of a normal textfield and use
> ActionForm's reset() method to reset the values to "".
>
> Regards,
> -Yves-
>
> > -----Original Message-
> > From: Sebastian Ho [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, August 26, 2004 4:07 PM
> &g
ot;.
>
> Regards,
> -Yves-
>
> > -----Original Message-
> > From: Sebastian Ho [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, August 26, 2004 4:07 PM
> > To: Struts Users Mailing List
> > Subject: RE: how to reset form
> >
> > 1. I need to use
s happening because your session is stored in session scope by
> > default.
> >
> > You should explicitly specify scope="request" in your actionmapping.
> >
> > Regards,
> > -Yves-
> >
> > > -Original Message-
> > > F
hi
A user submits a form and the action class forward it back to the same
JSP. The values entered previously is still there. How do I clear it
before action returns actionforward?
Thanks
Sebastian Ho
-
To unsubscribe, e-mail
Hi
How do I override the actionerrors headers already defined in my
properties file (which is a validation message)?
I am using actionerrors in my exceptionhandler and the 'validation'
message is inappropriate in this case.
Thanks
Se
I searched high and low for 'experiments' but can't find it anywhere. I
am changing from request to session. Can't afford to spent too much time
on it..my dateline is coming.
Thanks Jim
Sebastian Ho
On Thu, 2004-08-26 at 00:09, Jim Barrows wrote:
> > -Orig
hi
I am having this strange behavior that I don't understand.
I keep having 'experiments' in my request scope when I don't think I put
that in.
I only paste the important codes here because they are too big.
---
In my action class :
---
I read it somewhere the best thing to do now is to use actionerror for
pure error and use actionmessage for all the other purpose while we wait
for next struts release.
sebastian ho
On Wed, 2004-08-25 at 16:10, Shinobu Kawai wrote:
> Hi Lic,
>
> > In Struts 1.2, the ActionForm.val
ion
should break in that case..I must be doing something wrong but somehow
it still works..
Sebastian Ho
On Wed, 2004-08-25 at 14:54, Richard Yee wrote:
> Muhammad,
> The JSP is evaluated on the server and then sent to the browser. When you
> change a value on the web page, you submit th
On Wed, 2004-08-25 at 15:03, Rick Reumann wrote:
> Sebastian Ho wrote:
>
> > I am already using DispatchAction.
> >
> > I didn't use the scope in my action-mapping. Instead I use
> > session.setAttribute in my Action.
>
> More than likely you don'
thing very confusing and complex on the
web tier..
Still looking for an ideal solution.
This problem is quite common I think, someone here must have a best
practices for this so I am waiting for one..
Thanks Rick.
Sebastian Ho
On Wed, 2004-08-25 at 14:39, Rick Reumann wrote:
> Sebastian Ho wrote:
&g
ommon update codes can be executed before a JSP is
loaded. The latter will prevent duplicate codes.
sebastian
On Wed, 2004-08-25 at 14:26, Rick Reumann wrote:
> Sebastian Ho wrote:
>
> > Hi
> >
> > Scenario :
> >
> > 1. User submits form in JSP1 which Acti
database!
To prevent this, I actually need to use hidden fields in my JSP or some
other ugly solutions in my Action class. They are still dependent on
each others afterall.
Is there a solution to this or I am missing something here?
Thanks
Sebastian Ho
ter way to do this in Struts.
My question might be confusing..I am trying my best. Tell me if its
unclear.
Thanks
Sebastian Ho
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Oh..should hit myself for not seeing this.
I just throws the exception in my execute(). I was confused because I
forgotten execute is called by struts and not by me. Thats y i was
wondering don't I have to catch it somewhere else in order for my codes
to compile.
Thanks Craig
Sebastian H
here.
Sebastian Ho
On Tue, 2004-08-10 at 10:59, Kishore Senji wrote:
> On Mon, 9 Aug 2004 22:06:51 -0300 (ART), Leandro Melo
> <[EMAIL PROTECTED]> wrote:
> > Hi,
> > i'm now starting to deal with exception in my
> > application.
> >
> > So far, i haven
Thanks Susan.
Refer to my comments below
Sebastian Ho
On Thu, 2004-08-19 at 21:23, Susan Bradeen wrote:
> Sebastian Ho <[EMAIL PROTECTED]> wrote on 08/19/2004 05:19:35
> AM:
>
> > hi
> >
> > I used the same actionform for a few JSP pages, which I guess
to use. Unfortuntely, it doesn't.
I have read online that this strategy is quite popular. Therefore I am
sure there is a solution to this problem.
How do I forward the ActionError to the correct JSP instead of the one
in ?
Thanks
Sebasti
Guess you are right in a way. But I don't know how to solve this
scenario using struts..
Say I have three JSP (JSP1, JSP2 and JSP3). JSP1 populates my actionform
(AF1) and in my Action, I set it into my request (not using a session)
so that it is available to JSP2.
In JSP2, I have yet another Ac
I have two actionforms in my JSP, in the same . How do I
handle that because execute (in Action class) only have a form
parameter.
Thanks guys
Sebastian Ho
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-ma
olesnikov wrote:
> On Tue, 17 Aug 2004, Sebastian Ho wrote:
>
> > I fixed the Back problem using javascript (using javascript
> > history.back()). Although it is resolved, I am still very much
> > interested in the struts solution without using javascript.
>
> what a
Thanks Richard
I fixed the Back problem using javascript (using javascript
history.back()). Although it is resolved, I am still very much
interested in the struts solution without using javascript.
sebastian
On Tue, 2004-08-17 at 18:46, Richard Aukland wrote:
> Sebastien,
>
> I use this techni
Tried javascript and it works fine. The reasons I try not to use
javascript :
1. since struts is used, i thought all control should be visible in the
controller and not as javascripts in the JSP.
2. User might turn off javascript.
sebastian ho
On Tue, 2004-08-17 at 15:57, Aru wrote
On Tue, 2004-08-17 at 15:47, Kataria, Satish wrote:
> Map it to a different actionMapping and set validate="fasle";
> ie the submit and back button should have a different actionmapping
>
> Satish
>
> -Original Message-
> From: Sebastian Ho [mailto:[EMAIL PRO
hi
I have an validate method in my actionform and everything works fine. I
added a 'Back' button in my webpage, and therefore validation is not
necessary if the 'Back' button is clicked. Validation should occurs only
if 'Next' is selected.
How do I stop struts from calling validate() is 'Back' is
Try Jdeveloper. Great support for Struts.
sebastian
On Thu, 2004-07-15 at 13:10, Navjot Singh wrote:
> hi,
>
> I am starting a j2ee app(servlets,jsp.taglibs,ejb,jms,jaxp) with struts
> as web framework and i need to decide on the IDE that i should use.
>
> May i have your inputs on pros/cons
I tried JDeveloper 10g last week. It has visual view of your struts
flow, JSP editing, struts-config editing, etc. Works great!
sebastian
BII
On Sun, 2004-06-27 at 22:22, Bryce Fischer wrote:
> > Struts Studio. The best...
>
> Struts Studio is ok. My only issue is that about a year ago, I boug
any xdoclet like tool that make code
generation easiler?
If possible please provide plugin/tool for netbeans instead of eclipse.
I can't find a plugin for running jboss in netbeans too.
Any references?
Thanks
Sebasti
71 matches
Mail list logo