Hi All,
I am trying to make a generic HTML table by using two logic:iterate tags. I
did not have problem doing this with Struts 1.1b1.
table
logic:iterate id=row name=bean1 property=property1
tr
logic:iterate id=column name=bean2 property=property2
tdbean:write
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
On Fri, 31 Jan 2003, Wendy Smoak wrote:
-----
As for working on the example... would any changes have a
chance of getting
committed before 1.1 final, or should I just wait until
that's finished?
Friday, January 31, 2003 5:31 PM , Cory Newey [EMAIL PROTECTED] a
écrit :
I don't understand your response. The code I propose below does in
fact use delegation to factorize the functions.
I'm ok with that.
However, by
utilizing an interface, all code that works with MyAction and
Hi,
I've got the same problem. The solution is to use forwardPattern and
inputForward options to have complex, pattern based, repalcement of the uri
:
http://jakarta.apache.org/struts/userGuide/configuration.html#controller_con
fig
But after few tests and a look at the source code of struts b3
Little guide line: try to minimize the scope of the error, hope use full.
Try this could on you second page, to see what values are actually in
session:
%
Enumeration enmAttributeNames;
String strAttributeName;
Object objAttributeValue;
request.getSession(true);
enmAttributeNames =
Hi Ted,
This explanatation has set to rest most of my doubts about action
chainning..And I think the way Most of us use actions(One action to serve the
request like save action)and another to display the page (like getAccountsList
Action )is not action chainning but action relay which is
From: Scott Barr
Subject: Re: [OT] So much time, so little to do ...
Date: Sun, 02 Feb 2003 15:11:41 -0800
martin fowler, talking about junit
Thanks, Scott. That's right. Kent Beck cites this quote in his
Test-Driven Design book. Another good one from Kent's book is
Tests are the
Thanks. It means that I have to specify the scope explicitly in the struts config XML.
I wonder why it can not work by extending from an ActionForm having Request scope.
Because extending from ActionForm will always put default scope to SESSION for those
forms that is not desirable.
Hi,
Values from my JSP are not getting initialized properyt to my Form
bean.
Is there any place which could go wrong
The values are wrong at tht Action level itself.
please help me through this
Thanks
regards
Sangeetha
-
can u please elaborate?
-Original Message-
From: Sangeetha.Nagarjunan [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 03, 2003 2:23 PM
To: struts-user
Subject: Values not populated correctly from JSP
Hi,
Values from my JSP are not getting initialized properyt to my Form
bean.
Is
Could you give us
- your JSP code (the part where input fields are included)
- your formbean (setters method for not initialized your properties)
Nico.
Hi,
Values from my JSP are not getting initialized properyt to my Form
bean.
Is there any place which could go wrong
The values are
All:
I am having problems retrieving request values after submitting a form that
goes through validate(). Below is an example. Please help!
In the example below I have an action that shows the form using MyEditAction
with no validation (request values work fine). After submitting the form
When validation send you back your request scope is empty as you have
submited a new request ! Your test attribute will be present in your
formbean, because formbean population has occured. For beeing able to
display back your JSP you will have to use session scope beans or use
formbean
Hi Fattahi,
I tried your sample java code in my jsp page. It is giving the following
output
I think the values are setting property in action class. but not displaying
form.
unitVO:
com.vstl.wspr.WSPRUnitSelectionForm@70d90046
userId:
WUKD82
org.apache.struts.action.LOCALE:
en_US
You don't have a form here - where are you using PointForm?
The code should be something like - assuming you're using struts 1.0.x:
execute (... mapping, ... form, ... request, ... response) {
form = new FooBarBlahForm();
...
// Get model object
...
HI,
I have a hastable or Hashmap of permissions that I want to use in my JSP
pages to determine what info is displayed to the user.
For instance I want to have the following logic
if permissionsHashMap has key Manage Countires
then display this
if permissionsHashMap has key Manage Logins
Hi there
I have just started adding tiles to my struts application - and I can get
it working except...
The doctype at the top of tiles-defs.xml
!DOCTYPE tiles-definitions PUBLIC
-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN
logic:notEmpty name=session property=permissionsHashMap(Manage
Countries)
... User has the Manage Countries permission
/logic:notEmpty
Or with JSTL
c:if test=${permissionsHashMap['Manage Countries']}
... User has the Manage Countries permission
/c:if
-Original Message-
From: Jordan
HmmI was under the impression that a submit went through the action
class specified in the type attribute which simply uses my form bean. From
my example below that would be com.foo.bar.actions.MyEditAction. In which
case my test attribute should be availble in MyEditAction.
action
You might looks at useing roles to acomplish this external
to the JSP, AKA leave to logic out of the view, but
otherwise a Hashmap can be checked as a map backed
property like so..
logic:present name='permissionsHashMap' property='Manage
Countires'
although I don't know how it will handle
if permissionsHashMap has key Manage Countires
then display this
if permissionsHashMap has key Manage Logins
then display this
In the interests of hiding the implementation (hashmap) from the
presentation, would it perhaps be a better strategy to maybe expose a
value object full of
Woops, that logic:notEmpty example isn't right! Not sure how you'd do it
with logic:notEmpty without the permissionsHashMap being a property of
another bean, say permissionsBean. In that case it would look like this:
logic:notEmpty name=permissionsBean property=permissionsHashMap(Manage
As you are using validation, your action will not execute since they're
validation errors. input will be called back with request scoped errors.
MyEditAction will be called only if no validation error occurs. So you
will not have any data in request scope (only errors setted by validation
Thanks for clearing that up Nico. That makes complete sense. I did notice
that Request is available in the validate() method in which case I should be
able to set my request parameters within validate(). Do you know if this is
NOT a good way to forward request attributes if validation errors
Hi, Kris: You posted in Oct the foll. snippet, which I found
helpful to understand html:radio. You say assuming the form has a
foundPerson property below - my confusion is which form are you
talking about.
For example, consider an application that displays all foundPersons to the
user w/ some
hi guys,
Anyone know how i can access the message resource bundle from an action
class??
Cheers
Pat
_
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail
The question about why isn't ActionForm an interface is one of the
largest producers of mail volume on STRUTS-USER in the almost-three-year
history of the mailing list.
http://jakarta.apache.org/struts/faqs/newbie.html#actionForms
--
Ted Husted,
Struts in Action
From the example app:
http://cvs.apache.org/viewcvs.cgi/jakarta-struts/src/example/org/apache/
struts/webapp/example/EditRegistrationAction.java?rev=1.10content-type=
text/vnd.viewcvs-markup
public ActionForward execute(ActionMapping mapping,
ActionForm form,
An snip of my code for Struts 1.0.2
String mensaje = ;
MessageResources resources = (MessageResources)
servlet.getServletContext().getAttribute(Action.MESSAGES_KEY);
if (resources == null)
mensaje = fichero de propiedades no encontrado;
else mensaje =
you can access hashmap values by name without the map(val)
notation.. this helps alot if you don't want to wrap the
mapback property in a bean. for example..
logic:present name='wraperBean' property='map(val)'
can be done with the same map but without the wrapper bean
like..
logic:present
I'm new to the Struts framework - I'm building a small form based
application but having
difficulties making the messaging api work for me. In the ActionForward
class I have the
following :-
ActionMessages messages = new ActionMessages();
messages.add(ActionMessages.GLOBAL_MESSAGE, new
Cheers for that i forgot my locale setting thats why it blew up on me
From: James Mitchell [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: Message Resource Bundle from an action
Date: Mon, 3 Feb 2003
Your html should be as follows:
html:messages id=message message=true
The message=true attribute lets it know you are looking for an
ActionMessage object not an ActionError.
-Original Message-
From: Huw Jones [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 03, 2003 10:02 AM
To: [EMAIL
I was taking a quick read through the xdoclet documentation and noted it
offers some support for struts. Is anyone out there using xdoclet with
struts and if so what are the benefits and typical usages???
Cheers
Pat
_
The new
When I say it doesn't work, it means that css styles are just silently
ignored.. my output pages appear from the jsp, but it looks ugly :)
Have you tried hitting reload? I'm having the same problem with
1.1b3/Tomcat 4.1. The style sheets do not get applied to the page on the
first page
When I attempt to forward to welcome.do the page remains at index.jsp
and I get
the following error. Can anyone shed some light on the matter? Im really
stuck.
Thank you for all for you time
Hello,
I'm trying to use the DBCP with Struts. My struts-config.xml is:
data-source key=sgr type=org.apache.commons.dbcp.BasicDataSource
set-property property=driverClassName
value=com.microsoft.jdbc.sqlserver.SQLServerDriver /
IMHO request scope should be used to put volatile datas, such as error
messages or computation result. A JSP that uses validation should be able to
display back without preprocessing, I mean needed datas should be present
as properties of the formbean (or other session scoped bean).
Using
Are you using tiles?
Cal
http://www.calandva.com/Last update 01/26/03
-Original Message-
From: Sundar Narasimhan [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 02, 2003 17:16
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: struts 1.1 b2 messes up w/ CSS?
Hi,
One of the original reasons Struts was created was to handle I18N. That's
why it's tied into the framework so closely. Even if you don't need to
support multiple languages you should still use a resource file to store
messages to make changes *much* easier.
David
From: Dave Ford [EMAIL
First, make sure you can create a BasicDataSource instance on your db
without using Struts. Then, configure the properties in struts-config.xml.
David
From: Regis Melo [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
All ActionForm variables should be Strings while underlying model objects
contain other types like Date. Using Strings makes it easy to redisplay
what the user entered in the form when there's an error.
David
From: Frost, Gary [IT] [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List
Have you tried the html:base tag? Remember with tiles the urls are relative
to the template location. I have found it covenant to anchor the base tag
to the servlet context so all links are relative to the app root.
Cal
http://www.calandva.com/Last update 01/26/03
-Original
Hello,
This might not strictly be a struts question... but maybe it is..
I have a string:
XXX YYY
that appears very often in the web pages generated by the struts
application. The YY part is constant; the XXX part is read in
from a database and can change.
I'm specifying the string
What you call a macro is simply a JSP custom Tag. You can create tag for
your application to add the behaviour you need, such as searching some scope
for XXX and adding it to the message that you can get the way MessageTag
does (you can grab struts MessageTag code for this !)
Nico.
Is there a
I agree.
However, if you are so inclined, the monster hack below should help:
ApplicationResources.properties
anything.goes={0}
In your Action/ActionForm:
new ActionError(anything.goes, The literal text)
Sri
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]]
Sent:
:-), never thought of doing that. I feel really bad for the person
maintaining code written that way.
David
From: Sri Sankaran [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: When i18n isn't Needed
Date:
Second that recommendation. If you use a resource file, changes to text
strings require a text file mod and a webapp reload. No compilation
necessary. That's a big plus.
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 03, 2003 10:30
To: [EMAIL
Hi,
I want to extend functions of dispatchAction class,
like i want a class which extends DispatchAction and
overrides the execute method, But keep all the
existing functions,
But if i override the execute method, then i will have
to code the same function available in origianl
DispatchAction,
How 'bout (JSTL):
c:set var=css
tiles:getAsString name=stylesheet/
/c:set
link rel=stylesheet href=c:url value=${css}/ type=text/css
This may still include the session ID, but it'll be in the right spot - at the
end, not in the middle.
Quoting Wendy Smoak [EMAIL PROTECTED]:
When I say it
Hello David!
How can I do that? I'm using DataSource dataSource =
servlet.findDataSource( poolName ) to obtain a datasource from connection
pool.
I only need to set the removeAbandoned to true. There is any way to do
this using struts?
Regis Melo
- Original Message -
From:
Your CommonCode solution is the way I went (I called mine BaseActionHelper).
Your subclass of DispatchAction would look something like this below.
public abstract class MyDispatchAction extends DispatchAction
{
public ActionForward execute(ActionMapping mapping,
ActionForm
How 'bout (JSTL):
c:set var=css
tiles:getAsString name=stylesheet/
/c:set
link rel=stylesheet href=c:url value=${css}/ type=text/css
This may still include the session ID, but it'll be in the right spot - at
the
end, not in the middle.
Thanks! That works perfectly.
--
Wendy Smoak
Correction. Your MyDispatchAction would not be abstract.
-Original Message-
From: Jerome Jacobsen [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 03, 2003 11:29 AM
To: Struts Users Mailing List
Subject: RE: Override DispatchAction but keep the existing
funcationallity
Your
Thanx Jerome,
I will try this out
Ashish
--- Jerome Jacobsen [EMAIL PROTECTED]
wrote:
Correction. Your MyDispatchAction would not be
abstract.
-Original Message-
From: Jerome Jacobsen
[mailto:[EMAIL PROTECTED]]
Sent: Monday, February 03, 2003 11:29 AM
To: Struts Users
Hi All,
I have the following code
html:form action=update.do
table border=1
c:forEach var=transid items=${trans.transactions}
tr
tdc:out value=${transid.acctno}//td
tdc:out value=${transid.testcode}//td
tdc:out value=${transid.srcfac}//td
tdc:out
Thanks, Ted, for clarifying these issues for me.
-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 02, 2003 11:06 AM
To: [EMAIL PROTECTED]
Subject: Re: design question about action chaining
In Patterns of Enterprise Application Architecture
- Original Message -
From: Sourav Das
To: [EMAIL PROTECTED]
Sent: Monday, February 03, 2003 10:51 PM
hi ,
I am facing some problem in retrieving the value in
bean using PropertyUtils.getIndexedProperty
I am getting a error of
java.lang.IllegalArgumentException: Invalid indexed
fooX and barX in your ActionForm are not indexed properties... just
Strings (not String[])...
maybe PropertyUtils.getProperty, but not getIndexedProperty
HTH.
On Mon, 3 Feb 2003, Sourav Das wrote:
} hi ,
} I am facing some problem in retrieving the value in
} bean using
I am writing a multi-page application which captures data and uses one
action form for this purpose. At one point the flow of screens depends on
the data entered. If a user enters a particular combination of data on this
screen, the application needs to display an interim one or two screens
IMHO: I personally don't think what you've described goes against the
Struts way. It seems to be very common for an action to check a condition
and forward to an appropriate resource based on that condition. (Which
seems inline with the role of a controller in any MVC application)
Hi,
currently I'm doing all my business logic in my Action classes. So
besides the execute() method I might have some helper methods like
populateFormBean() or I even put those stuff in the execute() directly
if it wasn't to much.
I have to do quite a lot of database queries to populate the form
Michael,
I have been putting my data logic into DAO classes that throw their own
custom exceptions. Based on the exception thrown, I append to the
ActionError object in the Action class. I don't think this answers the
specific question you asked regarding use of the ActionError object in your
Hello,
We are using Struts RedirectingActionForward with Struts 1.1. The base
context path is being prepended to the URL. So instead of going to
http://dev.server.com/devpage; as we want, it goes to
http://localhost:8080/mypage/http://dev.server.com/devpage.
The following is outputted prior to
You create a BasicDataSource object the same way you create any other java
object. See the BasicDataSource javadoc for details. Once you have
successfully created the object for your database, then you can easily set
it up in struts-config.xml.
David
From: Regis Melo [EMAIL PROTECTED]
This is why Java has exceptions. In our case the backend mostly throws
standard EJB exceptions (RemoveException, CreateException, etc), the
business delegate translates those into our custom application exceptions,
many of which are handled by our base action class, otherwise they bubble up
to
Vinay wrote:
Hi All,
I have the following code
html:form action=update.do
table border=1
c:forEach var=transid items=${trans.transactions}
tr
td html:text property=transAcct value=${transid.acctno}/ /td
td html:text property=testcode value=${transid.testcode}//td
td
I would have the business components handle their own DB connections (they
shouldn't rely on the presentation layer for that). As far as your errors
coming back to the presentation layer, I usually have a BusinessDelegate
class that the action makes business calls into. That business delegate is
All,
I've setup a project at SourceForge for the Display Tag Library. Please
e-mail me if you'd like to have committer rights to the project. Also, if
anyone has Admin experience at SF, please let me know (I've only been a
committer). The first thing is probably to get someone's enhancements
I think this will help:
http://jakarta.apache.org/struts/faqs/indexedprops.html
David
From: Vinay [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: c:for each html:form textboxes
Date: Mon, 3 Feb 2003 11:55:34
This is a known bug that will be fixed before 1.1 final.
David
From: Michelle Harris [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RedirectingActionForward
Date: Mon, 03 Feb 2003 13:09:46 -0500
Hello,
We are using Struts
Thanks... custom exceptions... of course...! I must have been blind.
Thanks for the light!
Michael
-Original Message-
From: Pani, Gourav [mailto:[EMAIL PROTECTED]]
Sent: Montag, 3. Februar 2003 19:11
To: 'Struts Users Mailing List'
Subject: RE: Design question: Model component
Without using Modules, and given the following configuration:
!-- Standard Action Servlet Configuration (with debugging) --
servlet
servlet-nameaction/servlet-name
servlet-classorg.apache.struts.action.ActionServlet/servlet-class
init-param
param-nameconfig/param-name
Hi,
What i have been doing is the following,
I wrote a simple class , which will hold all the
errors in the business class (An ArrayList whoes each
row is an error or message ) , and then send back
this class to the Action class, and then in the Action
class i have written logic to build
Hi everyone,
One stupid question I can't find the answer for. Is there any way to
access request attributes (request.getAttribute()) from inside struts
tag? E.g. something like:
c:set var='isReadonly' value='true'/
...
html:text property='remarks' readonly='${isReadonly}'/
If it's not
You can infer from this that it does consider them to be one file:
http://jakarta.apache.org/struts/userGuide/configuration.html#dd_config_servlet
David
From: Susan Bradeen [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Multiple
Thanks. Is this fix already in cvs or a nightly build? If not, we can
fix and submit a patch to you.
Thanks,
Michelle
David Graham wrote:
This is a known bug that will be fixed before 1.1 final.
David
From: Michelle Harris [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL
David,
I already do that. But, the error that appear is the same error that
occurred in Struts I'm using Microsoft SQL JDBC Driver (2000).
T.I.A.,
Regis Melo
- Original Message -
From: David Graham [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, February 03, 2003 3:05 PM
Try using copy; instead of #169
http://www.ascii.cl/htmlcodes.htm
-Original Message-
From: Affan Qureshi [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 9:04 AM
To: struts-user
Subject: Setting Character Encoding (getting ? for ©)
I am having trouble displaying special
BTW, the code for streaming a servlet works perfectly as a stand alone
servlet, but fails for IE in the struts framework.
Sheldon
-Original Message-
From: Chan, Sheldon
Sent: Monday, February 03, 2003 9:36 AM
To: '[EMAIL PROTECTED]'
Subject: Streaming PDF file
I would like to be a part of this project. An Account of some of the
changes I have made can be found at www.tablelib.com/changes.jsp
- Original Message -
From: Matt Raible [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: Ed Hill [EMAIL PROTECTED]
Sent: Monday, February 03, 2003 1:16 PM
I've setup mailing lists for this project, please subscribe to
displaytag-devel to continue discussions on this matter.
http://sourceforge.net/mail/?group_id=73068
Matt
-Original Message-
From: Matt Raible [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 03, 2003 11:16 AM
To:
You're obviously using the JSTL, so it might be more convenient to use
Struts-EL, which became available in 1.1b3. Once you do that (assuming
you have the correct taglib directive), you would change html:text to
html-el:text, and your sample reference to ${isReadOnly} would work.
As described in
Do you have a user account at SF.net so I can make you a developer on the
project?
Thanks,
Matt
-Original Message-
From: Benjamin Simpson
To: Struts Users Mailing List
Sent: 2/3/2003 11:48 AM
Subject: Re: [OT] Display Tag Library Project setup at SF
I would like to be a part of this
I was having an IE + PDF problem as well; it seems that IE refuses to
display a streamed PDF when using method=post - used get and everything
started working...
I didn't like this solution, so we ended up saving the PDFs to disk
(sessionid.pdf) and redirecting to them. We've got a session
I don't know how to use your specific driver. You'll need to ask the
appropriate group (MS or the jakarta commons folks) for more help.
David
From: Regis Melo [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re:
On Mon, 3 Feb 2003, mech wrote:
One thing, I'm having a bit trouble with migration is the ActionError
stuff.
One of the things we wanted to do in Struts 1.1, but ran out of time for,
was to switch to using commons-resources for the underlying message
resources stuff, and then build
Sheldon,
I had a similar problem with Excel sheets, below is what finally worked.
*
//set response header, content type and content length
response.setHeader(Content-Disposition,inline;filename=Report_ +
On Mon, 3 Feb 2003, Susan Bradeen wrote:
Date: Mon, 3 Feb 2003 13:24:10 -0500
From: Susan Bradeen [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Multiple struts-config files without Modules
Without using Modules, and given the
There is an open bug report on this with several patches posted. The
problem actually extends beyond RedirectingActionForward into the
html:link tag, forward struts-config.xml element, and maybe some other
places. IMO, this is the last major bug in 1.1.
David
From: Michelle Harris [EMAIL
Hi,
suppose I have a following URL
/pages/MyDispatchAction.do?nextpage=home
and class MyDispatchAction has a method
public ActionForward home(...)
so this request is handled by this method,
Suppose there is a request to DispatchAction , for
which there is no method to handle it , it crashes,
Hi
I have been developing my website using struts1.1b2,
and then 1.1b3 is releases ,
I went to this website where there are chnages from
last release,
but i did not found anything about changes from 1.1b2
to 1.1b3
http://jakarta.apache.org/struts/userGuide/release-notes-1.1-b3.html
Does anyone
Hey Affan,
I don't have an explanation for what's going on, but this may help you find
out. Try this test JSP code:
%
String enc = System.getProperty(file.encoding);
//system encoding, will do what it does.
String se = new String(This © is test);
//7-bit ascii, will have a '?'
suppose I have a following URL
/pages/MyDispatchAction.do?nextpage=home
and class MyDispatchAction has a method
public ActionForward home(...)
so this request is handled by this method,
Suppose there is a request to DispatchAction , for
which there is no method to handle it , it crashes,
I don't know if this will help but I had a strange issue with question marks
as well and it turned out I did not include the following meta tag. Add
this to the top of your page if you have not already done so
meta http-equiv=Content-Type content=text/html; charset=iso-8859-1
Vinh
You should override the method unspecified. Check out the
DispatchAction Java doc:
http://jakarta.apache.org/struts/api/org/apache/struts/actions/DispatchActio
n.html#unspecified(org.apache.struts.action.ActionMapping,%20org.apache.stru
When I attempt to forward to welcome.do the page remains at index.jsp
and I get
the following error. Can anyone shed some light on the matter? Im really
stuck.
Thank you for all for you time
Larry wrote:
You should override the method unspecified. Check out the
DispatchAction Java doc
Thanks! That will fix my problem, but not Ashish's. He's apparently got
people sending requests that contain a parameter value for which there is no
mapping. Any help there, or is my guess okay?
I would also like to be part of this project. I've rewritten most of this
tag using the MVC design pattern. Its structure will be much easier to use
and the code is for the most part very clean. Hopefully we can re-use some
of what I've written and/or at least use it for comparison. My code is
I am running into an unusual problem trying to get struts working with
Tomcat4.1.18.
We have a requirement to compile all of our classes for many applications on
the system classpath. This is a bit different from the standard J2EE
specification of having applications compile their classes into
1 - 100 of 148 matches
Mail list logo