I just install NetBeans 5.
It allows me to choose jsf or struts projects and it is bundled with
tomcat 5.5.9
It also let you add forms fields such as buttons and text box.
currently I am using Eclipse and I find it has more functions than Eclipse.
current page:
html:select name=userForm property=eng_name
c:forEach var=user items=${userList}
html:option value=${user.usernm}c:out
value=${user.eng_name}//html:option
/c:forEach
/html:select
action path=/selectUser
input=user.selectUser
bean:write name=userForm property=eng_name/
The above line returns blank. Where goes wrong?
In previous page as below, the combo box has values.
td
html:select name=userForm property=eng_name
html:options collection=userList
property=eng_name/
UserForm
And then cast it again UserSystemForm userSystemForm =
(UserSystemForm)form; ?
My english is not good. hope you understand.
Thanks
On 1/11/06, Rick Reumann [EMAIL PROTECTED] wrote:
pc leung wrote the following on 1/10/2006 9:47 AM:
The following is the dropdown box in jsp
String messageKey;
private String method;
private String usernm;
public String getMessageKey() {
return messageKey;
On 1/10/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
pc leung ha scritto:
Where does the error come from?
...
in struts
Thank you for reading and attention.
I have written an error handler which simplies the error message.
When the error handler is removed from struts-config.xml
I find error comes from another action class.
Thank you very much indeed.
On 1/10/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
pc
The following is the dropdown box in jsp
html:form action=setupAssignUserSystem.do method=post focus=engName
html:select name=userForm property=engName
html:options collection=userList property=engName/
/html:select
How to get the value selected in action
Where does the error come from?
The following is the action class, jsp and struts-config.xml
Flow is like this. http://localhost:8080/setupAssignUserSystem forwards to
http://localhost:8080/assignUserSystem automatically.
thanks
In SetupAssignUserSystemAction class,
to the /setupAssignUserSystem.do action, and what the browser
displays will depend on what that action mapping says.
We'd need to know what you're actually requesting when you want to
display your form (the URL you request) and to see all the relevant
action mappings from your config to help further.
L.
PC Leung
I just want the control passing to a form with
a dropdown box so that user can click.
The form does not have a chance to display
and it is skipped to the subsequent form.
Why is it so?
The following is the action class associated
with the form being skipped.
Thanks
public final class
How to retrieve message text inside action class as it is in jsp?
bean:message key=${functionProgram.message_key}/
Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
thnx
On 12/27/05, ganesh kannusamy [EMAIL PROTECTED] wrote:
Hi *Leung,*
* The* code for accessing the message from a properties file in Action
Class is,
ActionMessages messages = new ActionMessages();
messages.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage(
I use Oracle Express Edition and tomcat.
No such problem you mention.
On 11/29/05, R. Markham [EMAIL PROTECTED] wrote:
Hi ,
this is not a direct Struts question.
I just want to know if somebody already had experience with Oracle Personal
Edition. Last night I installed the software my
I find it difficult to deal with ID generator, foreign key and
composite ID of Hibernate.
I wonder if I would fall into the same difficulty again with iBatis.
So I am thinking of going back to using pure JDBC.
I have read some postings here mentioned that they have web sites
supporting 1M clicks
Hello Larry,
If a webapp uses, say, tomcat connection pool and JDBC, does it equal
to what you call caching?
On 11/28/05, Larry Meadors [EMAIL PROTECTED] wrote:
I disagree Paul. :-)
I believe that using a tool such as iBATIS can make an application use
resources more efficiently by
I find these web pages.
They compare JSF with Tapestry.
and tells something about Struts
http://www.theserverside.com/articles/article.tss?l=JSFTapestry
http://www.theserverside.com/news/thread.tss?thread_id=35899
On 11/17/05, Thomas Hamacher [EMAIL PROTECTED] wrote:
On Thursday 17 November
I have the same question too.
Next month, Craig will deliver a speech at ApacheCon.
After that it will be more clear. ;-)
In documentation web page, several features contains 'FIXME' only.
But there are several jsf demo out there.
If there is a installation guide and a sample web app which shows
As you memtion JSF over Struts 1.x is definitely on the upswing,
why to use shale? why not just MyFaces? any additional value added by shale?
Thanks
On 11/18/05, Craig McClanahan [EMAIL PROTECTED] wrote:
On 11/17/05, pc leung [EMAIL PROTECTED] wrote:
I have the same question too.
Next
I'd like to give it try. But in the documentation web page of shale,
there is no installation guide. I do not know how to install it. It
contains api only. Any installation guide or tutorial of using shale
with myfaces?
Moreover, in the shale-framework, it has a struts-shale-usecases.war.
I put
there is an example of using hibernate and struts in myeclipseide web site.
On 11/15/05, Gaet [EMAIL PROTECTED] wrote:
HI guys!
I'm currently integrating Hibernate in a web application with Struts.
For those, who managed this integration, I'd have just simple questions :
What's the
Ronald
I am also thinking of switching to JSF. Do you use Shale, MyFaces or Sun JSF?
Any reasons your company starts to use JSF as I am standing at the
cross road of Struts and JSF?
Thanks
On 11/14/05, Ronald Holshausen [EMAIL PROTECTED] wrote:
Hi Mike,
I have switched from struts to JSF
need to implement any interfaces or extend base classes, which leaves
your presentation java code more independent of the JSF APIs.
On 14/11/05, pc leung [EMAIL PROTECTED] wrote:
Ronald
I am also thinking of switching to JSF. Do you use Shale, MyFaces or Sun
JSF?
Any reasons your
Thnx
On 11/9/05, Hubert Rabago [EMAIL PROTECTED] wrote:
You can set the form's scope to request. This way, the values don't
survive from one request to the next.
Hubert
On 11/8/05, pc leung [EMAIL PROTECTED] wrote:
even the following cannot clear fields in
form-bean name
struts-config.xml:
form-bean name=userProfileForm
type=org.apache.struts.validator.DynaValidatorForm
DispatchAction class:
DynaActionForm userProfileForm = (DynaActionForm)form;
...
userProfileForm.reset(mapping, request);
return mapping.findForward(success);
The reset function does not clear
The result of poll makes me feel disappointed.
It strengthens the rumours of the death of struts.
On 11/1/05, Ted Husted [EMAIL PROTECTED] wrote:
There's an interesting poll posted at About.com http://About.com that
asks Java web
developers: Which framework would do you plan to use on your
In the mailreader example of struts,
there are lines of
log.isTraceEnabled()
log.isDebugEnabled()
Where to make the trace or debug enable or disable?
Thanks
When the first time the web page displays,
the validator hightlights fields which are blank.
However submit button is not clicked yet.
Instead of hightlighting errors at the first time of web page displays,
can the errors be shown up after the submit button is clicked?
(My web page has a tile
I make use ForwardAction to go from page A to page B, just clicking a link.
e.g.
action path=/userAccountMaintPath
type=org.apache.struts.actions.ForwardAction
parameter=user.userAccountMaint/
There are no form in between.
How can I set an attribute in page A so that I
you away from linking directly to a
jsp.
Al
-Original Message-
From: Daniel PC Leung [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 07, 2005 10:13 AM
To: Struts Users Mailing List
Subject: How to set attribute in ForwardAction?
I make use ForwardAction to go from page
Hello all,
The following can print a value in jsp file.
bean:write name=loginForm property=username/
How to assign the value to a variable in jsp from a property?
Thanks
PC Leung
-
To unsubscribe, e-mail: [EMAIL PROTECTED
, Leon Rosenberg [EMAIL PROTECTED] wrote:
bean:define id=variable_name type=...bean:write name=beanname
property=propertyname//bean:define
Do you mean this kind of assignment?
Regards
Leon
-Ursprüngliche Nachricht-
Von: PC Leung [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 5
validation fails and can send the visitor to the failure mapping instead
of using the action's input attribute.
Regards,
David
-Original Message-
From: Daniel PC Leung [mailto:[EMAIL PROTECTED]
Sent: Monday, March 14, 2005 8:52 AM
To: Struts Users Mailing List
Subject: Tiles does
In case validation error, the header, footer and menu portions
disappear when error messages display on top of the body page which
occupies the whole screen.
If I can click cancel or validation is okay, Tiles function
properly. Only the body page is changed.
actionpath=/chgPassword
I have a standand Tiles layout.
ie. it has header, Left, Body and footer.
In one of the body, I have this.
td
html:link page=/UserAccountMaint.jsp
bean:message key=securityMaint.userAccountMaint/
/html:link
/td
Whenever it is clicked, only the body portion is changed.
I
-defs.xml configuration properly you can
eliminate lots of files.
But I don't use that file yet.
-Eric
[EMAIL PROTECTED] 3/2/2005 12:53:59 PM
I do not think it's possible... I hope someone can
prove me wrong.
--- Daniel PC Leung [EMAIL PROTECTED] wrote:
I have a standand Tiles layout
The email name of Jonathan wo_shi_ni_ba_ba means I am your father.
Is it appropriate to be on list and let other child to answer
Jonathan's question?
On Wed, 2 Mar 2005 17:31:21 -0800 (PST), Jonathan M Z
[EMAIL PROTECTED] wrote:
It will be 5. You can overwrite the value of the var
in your jsp
: Daniel PC Leung [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 02, 2005 7:29 PM
To: Struts Users Mailing List
Subject: Re: How to reduce jsp files by using Tiles?
Yes, I am using tiles-def.xml
If mylayout.jsp is defined in tiles-def.xml,
do I have to write a mylayout.jsp?
If yes, then I
After download and installation, nothing happens.
What is the purpose of installation if it does nothing.
On Wed, 23 Feb 2005 23:46:45 +0100, Leon Rosenberg
[EMAIL PROTECTED] wrote:
Ever wondered if there is any software at all that holds the promise?
Well, I found one:
The following class extends Tiles Controller class.
After user logins, it cannot get the value of login username from the
class LoginForm. How can I change the code so that it can get the
value of login username?
Thnx
public void perform (ComponentContext context,
Oh my god! I am cheated.
On Wed, 23 Feb 2005 20:34:51 -0500, James Mitchell [EMAIL PROTECTED] wrote:
Exactly!
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: Daniel PC Leung [EMAIL
no need to guess if I am vey dumb because I am really dumb. I do
download and install it! Should we honor the person who write NaDa
version 0.5? He affords to maintain web site and write a program for
different platform. Best of all, the program does nothing. It takes
time and money.
On Wed, 23
and install something they didn't
understand, that's just crazy!!
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: Daniel PC Leung [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
for the National Automotive Dealers Association
(www.nada.org).
-Original Message-
From: Daniel PC Leung [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 23, 2005 11:15 PM
To: Struts Users Mailing List
Subject: Re: [OT] [FUN] Software that works!
Pls forgive me because
I have the following controller class.
I would like to change the parameter of
createMenuItem dynamically based on the
user group after login.
How can the controller class of Tiles get the attribute of
of other Action class?
Thanks
public class MyMenuAction implements Controller {
When the layouts are done by Tiles and
they are composed of a number of JSP files
and Tiles definitions, any tools to facilitate layout design?
Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
The error message looks like this.
[ServletException in:/layout/tabsLayout.jsp] java.util.ArrayList'
The tabsLayout.jsp file looks like this.
(How can I solve it? Thanls)
logic:iterate id=tab name=tabList
type=org.apache.struts.tiles.beans.MenuItem
%
String href = request.getRequestURI()
I do not know how to display graphics in tab index of Tiles layout.
So that I modify the tabsLayout.jsp to display graphics.
In order to do that, I try to check the tab index name if it is
ended with .gif.
I add the taglib at the front of tabsLayout.jsp like this
%@ taglib
I have attached standard.jar and jstl.jar within my project
under /WEB-INF/lib
How to define it in JSP file using local jar file?
I have tried the following but in vain.
% taglib uri=/WEB-INF/lib/standard.jar
OR
% taglib uri=org.apache.taglibs.standard.tag
I just want to use
Core prefix=c
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: PC Leung [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Wednesday, January 19, 2005 9:22 AM
Subject: How to define taglib within JSP file ?
I have attached standard.jar and jstl.jar
the html/response is sent anyway.
Jack
On Wed, 22 Dec 2004 12:12:21 +0800, PC Leung [EMAIL PROTECTED] wrote:
A simple tile layout:
pages1 pages 2
-+---
url1 |
url2 |
url3 |
url4 |
For the vertical box layout or tab pages
, 20 Dec 2004 14:51:40 +0800, PC Leung [EMAIL PROTECTED] wrote:
The sample of Tiles contains text only.
Can I put images instead of texts where points to a URL?
So that it is more nice looking to click an image.
Please show a way.
Thanks
The sample of Tiles contains text only.
Can I put images instead of texts where points to a URL?
So that it is more nice looking to click an image.
Please show a way.
Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
For a page or summary tab, a tab is a label of words.
Can I change it to an image file?
If not, can I add an image file?
Moreover,
there is a purple border after clicking a tab.
Can I change the border color and even remove it?
Thanks
For page or summary tab, a tab is label of words.
Can I change it to an image file?
If not, can I add an image file?
Moreover,
there is a purple border after clicking a tab.
Can I change the border color and even remove it?
Thanks
What is the difference between Pages Tabs and Summaries Tabs?
It seems that they behaves similarly in Tiles examples.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I have tried the implementation of Tiles's Summary Tab.
It has a purple boundary and grey tab.
How can I
1. add image to tab
2. change color of boundary
3. or remove the boundary.
thanks
-
To unsubscribe, e-mail: [EMAIL
be
definition name=mydef controllerClass=com.packagename.MyController
..
he problem with controllers is that its hard to handle exceptions..
But if you're not doing anything that clever in there then perhaps
you'd deem that as okay.
Mark
On Wed, 27 Oct 2004 23:41:07 +0800, PC Leung
out that uses this technique. This approach will
allow you to make use of exception handlers.
Mark
On 26 Oct 2004, at 17:14, PC Leung wrote:
Hello world,
The following is a fragment of tiles-defs.xml.
where MyMenuAction actually is UserMenuAction in Tiles.
definition name
2004 23:22:03 +0800, PC Leung [EMAIL PROTECTED] wrote:
Error messages display as follows.
[ServletException in:/layout/menu.jsp] null'
java.lang.ClassCastException at
org.apache.jsp.layout.menu_jsp._jspService(menu_jsp.java:193) at
org.apache.jasper.runtime.HttpJspBase.service
Hello world,
The following is a fragment of tiles-defs.xml.
where MyMenuAction actually is UserMenuAction in Tiles.
definition name=erp.menu.home path=/layout/menu.jsp
controllerClass=com.common.tiles.MyMenuAction
put name=title value=Tiles /
putList name=items
item
erp backup
Tiles OK.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
to this action mapping.
-- Jeff
PC Leung wrote:
WelcomeBody.jsp calls LoginBody.jsp.
There is a submit button in LoginBody.jsp.
When LoginBody.jsp is shown, the submit button
seems to be pressed at the same time.
Do I have to define global-forward login?
WelcomeBody.jsp
) into an XML file and using definition names for your Struts
forwards.
-- Jeff
PC Leung wrote:
I use two JSP to form a page.
Is it necessary?
Welcome.jsp:
tiles:insert definition=erp.mainLayout flush=true
tiles:put name=body value=/WelcomeBody.jsp /
/tiles:insert
definition name=erp.menu.home path=/layout/menu.jsp
put name=title value=Tiles /
putList name=items
item value=xlink=/y.jsp
item value=ERP Home link=/index.jsp /
Could the link be read from
:35:36 -0500, Vic Cekvenich
[EMAIL PROTECTED] wrote:
Yes.
I put in the List of tiles into scope.
.V
PC Leung wrote:
definition name=erp.menu.home path=/layout/menu.jsp
put name=title value=Tiles /
putList name=items
item value=xlink=/y.jsp
item
I use two JSP to form a page.
Is it necessary?
Welcome.jsp:
tiles:insert definition=erp.mainLayout flush=true
tiles:put name=body value=/WelcomeBody.jsp /
/tiles:insert
WelcomeBody.jsp:
bean:message key=main.welcome/
html:link action=login
bean:message key=main.login/
/html:link
WelcomeBody.jsp calls LoginBody.jsp.
There is a submit button in LoginBody.jsp.
When LoginBody.jsp is shown, the submit button
seems to be pressed at the same time.
Do I have to define global-forward login?
WelcomeBody.jsp:
bean:message key=main.welcome/
html:link action=login
bean:message
Can anyone give me a simple enough example
so that I can modify my little app of using Tiles?
my little app has basic tiles config
header, menu, content and footer.
When a URL in JSP of the content layout is clicked,
the content layout is expected to change with another
JSP. Header, menu and
I am very new Tiles.
I just want the content layout to change
and keep header, footer and left menu unchanged.
Is it right to change the value programmatically and how?
or
do it in another way?
tiles:insert definition=erp.mainLayout flush=true
put name=body value=/xxx.jsp /
/tiles:insert
= /defaultContentUrl.jsp
%
tiles:insert definition=erp.mainLayout flush=true
put name=body value=%=contentUrl% /
/tiles:insert
I hope there's a better way to do this (maybe through external tile xml
configuration files ) but I've never tried.
Bj
PC Leung a écrit :
I am very
It is my 1st trial of tiles.
Referring the tiles documentation, my index.jsp like this.
%@ page language=java %
%@ taglib uri=/WEB-INF/struts-tiles.tld prefix=tiles %
tiles:insert definition=erp.mainLayout flush=true /
It has header, menu bar, content and footer.
It is a classic layout.
In the
Hello
Do most of you use more than one resource message file?
Or just put all messages into one single message file.
If only one message file is used, then does it affect
performance? eg, if you have many modules such as
GL, AP, AL, POS...
Thanks
PC Leung
My struts-config.xml contains more than one resource file. The default
one cannot be mapped in bean:message, without specifing bundle. What
needs to be changed? (I keep the default resource file for
ValidatorForm.)
Thanks
Error Message:
javax.servlet.ServletException: Missing message for key
In the mailing list, I have read some people suggesting not to put
business logics in Action class. Certainly, business logics should not
be in JSP or Form class. Then where should the business logics be put?
Thanks
-
To
I strongly agree with you of decoupling business logic and action class.
If ejb is the right way, any easy tutorial online?
On Tue, 21 Sep 2004 07:23:32 -0700, Michael McGrady
[EMAIL PROTECTED] wrote:
PC Leung wrote:
In the mailing list, I have read some people suggesting not to put
(Plain Ole Java Object) implementing
your business may be sufficient. BTW, you might be interested in Rod
Johnsons Expert J2EE w/o EJB book:
http://www.bookpool.com/.x/7dybtc9v34/sm/0764558315
Dennis
PC Leung [EMAIL PROTECTED]
09/21/2004 10:03 AM
Please respond to
Struts Users Mailing
I have two resources files.
How can I specify which resource file to use in validation.xml?
message-resources
parameter=com.erp.quotation.ApplicationResources
key=quotation
null=false /
message-resources
key=user
Do you know where the trend will go?
your sitemesh or tiles?
On Tue, 31 Aug 2004 01:57:03 -0400, Rick Reumann [EMAIL PROTECTED] wrote:
PC Leung wrote:
I am trying to learn Tiles.
Is Tiles the right way to go with Struts?
Should I study other tool before sticking with Tiles?
Tiles
How about other tools such as sitemesh or other?
Do I get paid?
Yes, and yes.
You get paid for your knowledge and skill.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I am trying to learn Tiles.
Is Tiles the right way to go with Struts?
Should I study other tool before sticking with Tiles?
thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
When a page is displayed with a token,
data is inputted into the form.
Clicking the submit button will save a record.
Then click back previous page.
Click the submit button again.
Invalid token is detected as expected
Error message displays on top of the page.
However I find the token is changed.
?
PC Leung wrote:
When a page is displayed with a token,
data is inputted into the form.
Clicking the submit button will save a record.
Then click back previous page.
Click the submit button again.
Invalid token is detected as expected
Error message displays on top of the page.
However I find
After clicking submit button and then go back previous page,
data is still there, click the submit button again. record will be
saved once more time. The IsValidToken cannot trap the duplicated
submission.
Initial page:
http://localhost:8080/erp/AddUserProfile.jsp
if clicking submit button, goes
Weber [mailto:[EMAIL PROTECTED]
Sent: Friday, August 27, 2004 10:57 AM
To: Struts Users Mailing List
Subject: Re: My IsValidToken() cannot trap duplicated submission.
When you are done processing the submitted form, invoke resetToken.
Erik
PC Leung wrote:
After clicking submit
prepare for your processing,
// but the first thing is to reset the token
resetToken(request);
// put your logic here to process your action form
return mapping.findForward(goodForwardPage);
}
-Original Message-
From: PC Leung [mailto:[EMAIL PROTECTED]
Sent: Friday, August 27
My JSP file contains a link like this.
td
html:link page=/AddUserProfile.do?method=setup
bean:message key=userMaint.addUserProfile/
/html:link
/td
This link points to AddUserProfile.jsp.
When I click on the link, it gives invalid path error message.
How can I embed
What needs to be done?
the entry in struts-config.xml like this.
actionpath=/addUserProfile
type=com.erp.quotation.AddUserProfileAction
name=addUserProfileForm
scope=request
validate=true
parameter=method
The web page displays at the first time with the following error.
java.lang.NullPointerException
java.text.SimpleDateFormat.parse(SimpleDateFormat.java:1108)
java.text.DateFormat.parse(DateFormat.java:333)
-0400, Erik Weber [EMAIL PROTECTED] wrote:
Is validation turned on in the action mapping for your setup action? If
you are using the same form bean for both setup and save actions, the
action mappings should have validation turned off for the former and on
for the latter.
Erik
PC Leung
.
Erik
PC Leung wrote:
The web page displays at the first time with the following error.
java.lang.NullPointerException
java.text.SimpleDateFormat.parse(SimpleDateFormat.java:1108)
java.text.DateFormat.parse(DateFormat.java:333
does your user access to view
the blank form in the first place?
Erik
PC Leung wrote:
How can I define it in struts-config.xml as you suggest.
my current fragment of struts-config.xml is the following.
actionpath=/addUserProfile
type
my setup DispatchAction does not show a token when the form first displays.
When I click submit button to create record, it shows error messages
of handler. What does needs to be done?
my flow likes this
UserMaint.jsp --- AddUserProfileAction.java (AddUserProfile.jsp)
UserMaint.jsp constructs:
2004 22:54:33 +0800, PC Leung [EMAIL PROTECTED] wrote:
my setup DispatchAction does not show a token when the form first displays.
When I click submit button to create record, it shows error messages
of handler. What does needs to be done?
my flow likes this
UserMaint.jsp
2004 10:19:04 -0500, Joe Germuska [EMAIL PROTECTED] wrote:
At 10:54 PM +0800 8/25/04, PC Leung wrote:
my setup DispatchAction does not show a token when the form first displays.
When I click submit button to create record, it shows error messages
of handler. What does needs to be done?
What
*.
PC Leung wrote:
Error message is solved.
but the form does not display with token when it displays
at the first time.
I think the following line does not work properly.
UserMaint.jsp constructs:
html:link page=/AddUserProfile.jsp?method=setup
In the setup
=userMaint.addUserProfile/
/html:link
Notice the .do on the page attribute.
PC Leung wrote:
My first web page is page contains links only. No Form nor Action.
UserMaint.jsp --- AddUserProfileAction.java (AddUserProfile.jsp)
UserMaint.jsp constructs:
html:link page
to the
DispatchAction subclass using the help of JavaScript.
PC Leung wrote:
UserMaint.jsp (contains links only) calls
AddUserProfile.jsp which links with
AddUserProfileAction.java (it contains DispatchAction)
and AddUserProfileForm.java
UserMaint.jsp constructs originally like
which links with
AddUserProfileAction.java (it contains DispatchAction)
and AddUserProfileForm.java
On Thu, 26 Aug 2004 00:09:16 -0400, Rick Reumann [EMAIL PROTECTED] wrote:
PC Leung wrote:
Do you mean my approach is wrong?
Originally UserMaint.jsp contains links only.
Do I need
98 matches
Mail list logo