t; statement to
> path="/WEB-INF/signin/Welcome.jsp"/>
> Martin
> - Original Message -
> From: "Caroline Jen" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, May 14, 2004 10:54 AM
> Subject: NullPointerException - findSuccess(
Please help me to find the possible place the problem
comes from.
I have been struggling with this problem for days. I
tried a number of things but just could not get rid of
the problem.
The Tomcat log does not give enough clue to trace
where the problem occurs.
My class extends Action. But t
I try to create a drop down menu as follow:
I am able to disply the menu.
I want one of the options to be selected by default.
Therefore, I want to type SELECTED somewhere. How do
I do it?
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has
t;label"/>
>
>
> Thanks,
> Satish
> -Original Message-
> From: Caroline Jen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 09, 2004 8:00 AM
> To: [EMAIL PROTECTED]
> Subject:
>
>
> I try to create a drop down menu as follow:
>
> onch
Huh? Sorry, I do not understand.
--- Ram Venkataswamy <[EMAIL PROTECTED]> wrote:
> You can specify value=" Last Post Date" in
> html:select - The value to
> compare with for marking an option selected.
>
>
>
> -Original Message-
> From: Caroli
I am using "tile". When I try to display a JSP page,
I got an error message:
java.lang.IllegalArgumentException: Path .thread.Form
does not start with a "/" character
I have no idea where to find this "/" character. I
would appreciate if anybody could provide me with some
leads.
In my tile
e:
> Do you have the tiles plugin setup properly in your
> struts-config.xml file? Or, if you are using a
> version
> earlier than V1.1, did you change the controller to
> a
> Tiles controller?
>
> Regards,
> David
>
> -Original Message-
> From: Caroline J
,
Caroline
--- David Friedman <[EMAIL PROTECTED]> wrote:
> How are you trying to execute the forward
> in your action?
>
> -David
>
> -Original Message-----
> From: Caroline Jen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 09, 2004 11:50 PM
> To: Struts
In my JSP, I have a html:img tag:
and the above statement gives me the error message:
'According to TLD, tag html:img must be empty, but is
not'
I am very confused by the error message. I should
have an empty html:img tag? Please advise. Thank you.
__
> Also, I'm not a fan of Artimus, so I
> have to ask, does your tiles.xml configuration
> file define the ".article.Base" definition?
> Do all of it's paths start with slashes
> and are there any accidental spaces in the
> definitions or paths?
>
>
> Regards,
&
What is the html:link equivalent of
How do I pass those parameters (sort, order, and
offset)? And please verify the equivalent of the part of the html:link tag:
and in my struts-config.xml, I can
then
Thank you.
_
e html:link tag".
> forward="listthreads"> should be fine if
> "listthreads" is set up as a
> global ActionForward in your struts-config
>
>
http://jakarta.apache.org/struts/userGuide/struts-html.html#link
>
> Niall
>
> - Original M
I am using the Struts framework. I have a JSP, which
imports a JavaBean "ThreadBean". Therefore, in the
beginning of my JSP, in addition to
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic"
-- If you want to specify a new bean instance, use
> this:
> type="org.MyOrg.MyProj.message.ThreadBean" />
>
> property="threadReplyCount"/>
> property="threadViewCount"/>
>
> -- If the bean already exists
> type="org.MyOrg.MyProj.message.Threa
Sorry, I still did not explain my code very well.
I am trying to write out the properties of ThreadBean
in a "while loop" in my JSP:
<%
Collection threadRows = ( Collection
)request.getAttribute( "ThreadBeans" );
int odd = 0;
Iterator iterator = threadRows.iterator();
while( iterator.hasNe
Chris, thanks for your help. You are right. The
error is caused by something else. The error message
is misleading.
-Caroline
--- Christopher Schultz
<[EMAIL PROTECTED]> wrote:
> Caroline,
>
> > Sorry, I still did not explain my code very well.
>
> I've looked at your code, and none of it cou
as its very flexible. ;-)
>
> Unless you can show argument why using a "scriplet"
> is necessary, I believe
> most will continue to suggest the above approach as
> it's a more efficient
> approach.
>
> Take care,
> Chris
>
> -Original Message-
&g
ry flexible. ;-)
>
> Unless you can show argument why using a "scriplet"
> is necessary, I believe
> most will continue to suggest the above approach as
> it's a more efficient
> approach.
>
> Take care,
> Chris
>
> -Original Message-
>
I am using the Struts framework. I have a JSP where a
collection of JavaBeans are received in a request
scope.
code:
<%Collection threadRows = ( Collection
)request.getAttribute( "ThreadBeans" );%>
I have a "list" of articles to be retrieved from the
database and displayed.
The first time I display the list, I simply sort the
list by posting date and descending order (without
providing a form) when I query the database.
Thereafter, users are offered opportunities on top of
the table of the
t;
> Then define your action mapping to use this
> formbean. When your form posts,
> it will assume the default values for sort/order if
> they not present in the
> request. If they're present in the HttpRequest
> object, then the form is
> populated with whatever valu
>
> > Then in my JSP, I can use javascript to alter 2
> hidden fields that
> represent
> > the sort/order values when a user clicks on an
> icon or column header and
> > then submit the form again to the action to handle
> updating the view based
> > on th
ort = BeanUtils.getProperty( form, "sort");
String order = BeanUtils.getProperty( form, "order");
-Caroline
--- Chris Cranford <[EMAIL PROTECTED]>
wrote:
> Why does one line have getproperty and the other
> have getProperty ??? Both
> should read getProperty ;-)
I often have to call a servlet which extends Action;
but, I do not have a form submitted.
The action mapping in the struts-config.xml gives me
problem when I leave out the 'name' attribute; for
example:
I really do not have a form for this action. What
should I do?
In my struts-config.xml, I provided some initial
values:
How do I get the initial value in my servlet that
extends Action?
I tried:
form.get( "sort" );
form.get( "order" );
and
form.getProperty( "sort" );
form.getProperty( "order" );
The compiler com
I am converting all the scripting elements in my JSP
to tags. I have decided to go one step at
the time -- I only want to print out one basic number
as a start.
My action class passes an object "TotalPosts" in
the following way to my JSP:
request.setAttribute( "TotalPosts", new Integer(
to
The form-bean in my struts-config.xml is specified
like this:
My servlet extends Action has the following code:
DynaActionForm initForm = ( DynaActionForm )form;
String sort = ( String )initForm.get( "sort" );
String order = ( String )initForm.get( "order" );
The action mapping
I know how to create a drop-down menu; for example:
ArrayList sort = new ArrayList();
sort.add(new LabelValueBean("Last Post
Date", "thread_last_post_date"));
sort.add(new LabelValueBean("First Post
Date", "thread_creation_date"));
sort.add(new Label
I was told that JSTL can convert most of the Java code
in JSP. I still have some problem with initializing
variables and if statments; for example, I do not know
how to write in JSTL of the following:
1. int i = 0;
2. i++;
3. String prevArticle = null;
4. if ( numberOfPosts - 1 == 1 ) {}
5. if (
I have been using tiles for a while. All of a sudden,
a piece of "title" tile in one of my web pages behaves
weird; e.g. all others work fine except this one. It
is 2:30 am in the morning. Maybe, I am not sober
enough to see the problem:
In my application.properties, I have:
#-- message pages
I have the similar question and need help.
I am using tiles:
I want to control the color of links. My links are in
the /article/common/navbar.jsp.
If I put the
<%@ taglib uri="/tags/struts-html" prefix="html" %>
in the beginning of my JSP.
This statement that makes an image clickable:
<%if ( previousTopic != 0 ) {%><%}%>
gives me an error message:
/article/content/viewpostings.jsp(163,101) According
to TLD, tag html:img must be empty, but is not'
I ha
Never mind, I have found the problem. Thank you.
--- Caroline Jen <[EMAIL PROTECTED]> wrote:
> <%@ taglib uri="/tags/struts-html" prefix="html" %>
>
> in the beginning of my JSP.
>
> This statement that makes an image clickable:
> <%
gs to call static API?
> >
> > Something like this:
> >
> > value="StringUtils.abbreviate(${aTopic.subject},
> 30)"/>
> >
> > Is this possible?
> >
> > Thanks,
> > Eric
> >
> > On Jun 26, 2004, at 5:48 AM, Pedro Salga
I pass an object ThreadBean from an action servlet in
a request scope:
request.setAttribute( "ThreadBean", threadBean );
In my JSP, there is no problem and everything works
well if I use scripting element:
<%
ThreadBean threadBean = ( ThreadBean
)request.getAttribute( "ThreadBean" );
%>
I then
Thank you for helping me to learn different ways to
construct a web link while passing a number of
parameters along with it.
Those hyperlinks forward a request and parameters to
another servlet action. In this servlet action, do I
receive those parameters in an usualy way?
String sort = request.
My JSP worked well when I used JSP expressions,
scriptlets, I tried to use JSTL instead and
encountered some compilation problems. I am unable to
see my mistakes and need help:
Problme #1:
[code]
int offset = 0;
try
{
}
catch ( Exception e )
{
// do nothing
}
[/code]
The above co
for the prefix
> "c"
>
>
> On Thu, 1 Jul 2004 11:30:48 -0700 (PDT), Caroline
> Jen
> <[EMAIL PROTECTED]> wrote:
> >
> > My JSP worked well when I used JSP expressions,
> > scriptlets, I tried to use JSTL instead and
> > encountered s
It seems that I have problems to get JSTL tags
right
error message:
74: tag = 'if' / attribute = 'test': An error occurred
while parsing custom action attribute "test" with
value
"${attachBean.attachMimeType.startsWith('image/')}":
Encountered "(", expected one of ["}", ".", ">", "gt
I have the value of a variable defined in JSP#1 (JSP#1
is not a form):
All the variables, which are defined in JSP#1, are
forwarded to JSP#2.
JSP#2 is a form. But, the variable 'id' is not used
in JSP#2.
JSP#2 has a submit button and then, an action servlet
takes over the control. All t
I am trying to use the paging provide by
http://jsptags.com/tags/navigation/pager
I got an error: This absolute uri
(http://jsptags.com/tags/navigation/pager) cannot be
resolved in either web.xml or the jar files deployed
with this application'
What uri string does the pager expect? What should
I have JSPs written in JSTL tags. I want to use a
paging taglib. I downloaded and tried the pager
provided by
"http://jsptags.com/tags/navigation/pager";, but, it
accepts scripting elements (JSP expressions) only.
Are there paging taglib that accepts JSTL tags?
_
I was told that JSTL has "paging" built in. Could
someboday who has used this feature provide
instructions? Is there a document that illustrate the
steps of using it?
Paging means: [ previous page | 1 2 3 4 ... | next
page ]
I have tried one of the paging taglib; but, it does
not accept JSTL tags
There are three .jar files in the
C:\jakarta-struts-1.1\contrib\struts-el\lib directory
that are not in the C:\jakarta-struts-1.1\lib
directory. Those three files are jstl.jar,
standard.jar, and struts-el.jar.
Do we also copy those three files to the
C:\TOMCAT\webapps\AppName\WEB-INF\lib director
How do I check the message history for yesterday's
message?
--- Yves Sy <[EMAIL PROTECTED]> wrote:
> Hi,
>
> There's a long thread about that just yesterday.
> Check the messages history.
>
> -Yves-
>
> On Tue, 31 Aug 2004 04:36:57 -0700 (PDT), Ca
What am I missing? I got the following error
java.lang.NoClassDefFoundError:
org/apache/commons/beanutils/Converter
What should I do?
___
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush
--
I want to download the Artimus example source code in
the "Struts in Action". Where (what is the URL) do I
find the download?
__
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail
-
How do I specify the action mapping in the
struts-config.xml to show a web home page that
consists of tiles?
The problem is with the action mapping part. My
index.jsp in the root directory has these two lines:
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
and in my struts-config.xml fi
"paramter" attribute right after the "type" attribute.
Right now, what I have is:
what should I do?
--- Jim Barrows <[EMAIL PROTECTED]> wrote:
> > -Original Message-
> > From: Caroline Jen [mailto:[EMAIL PROTECTED]
>
When I start my Tomcat 5.0.27, I saw the following
message in the console:
"SEVERE: skipping validation rules file from
'/WEB-INF/validation.xml'. No stream could be
opened."
What is going on? Something is wrong with the
validation.xml? or something is wrong with the
validation plug-in that I s
like "baseStyle". And I do not use the name
"baseStyle" in my entire application.
What should I do now?
--- Jim Barrows <[EMAIL PROTECTED]> wrote:
>
>
> > -Original Message-
> > From: Caroline Jen [mailto:[EMAIL PROTECTED]
> > Sent: Wed
<[EMAIL PROTECTED]> wrote:
> Jen,
>
> What is the entry in your struts-config.xml for
> validation? Is there a
> WEB-INF/validation.xml or WEB-INF/validations.xml?
>
> Regards,
> David
>
> -Original Message-
> From: Caroline Jen [mailto:[EMAIL PRO
How do I display tiles in columns in the browser?
I have been using tiles feature of the Struts
framework, and the tiles are displayed in the browser
in "rows". This is my setup (which works fine):
Now, the third row has two columns; the column on the
left is a pane with a number of links.
I am using the Struts framework. I have an image and
this is my image tag:
The image does not get picked up in the browser.
Therefore, only the text "information" is shown.
HSInfo is the name of my application and it is right
under the $TOMCAT/webapps directory.
Because the image does not
d 'img'
to 'html:img' and changed 'src' to 'page') to my
source code.
does not work.
4. I am using the Windows XP.
5. I tried both .jpeg and .jpg
does not work.
I do not know what to do now. Please help more.
--- Wendy Smoak <[EMAIL PROTECT
I have tried .jpg as the extension. It does not work.
I am using the Windows XP.
--- Michael McGrady <[EMAIL PROTECTED]> wrote:
> Caroline Jen wrote:
>
> >Thanks for your reply.
> >
> >I followed your advices:
> >
> >1. Try just:
> >frame/common/
I saw your reply on the [EMAIL PROTECTED]
forum. I have three rows. The second rows has two
columns.
I am still very confused. My code displays every
single piece of all tiles I have; but, my code does
not display columns in the second row. Here is the
Frame.jsp which defines rows and columns:
section from that output
> that shows where your images are in the WAR
> hierarchy. Show the image in
> question, please.
>
> Thanks,
> Erik
>
>
> Caroline Jen wrote:
>
> >I have tried .jpg as the extension. It does not
> work.
> >
> >I am using
What is your suggestion?
--- Jim Barrows <[EMAIL PROTECTED]> wrote:
>
>
> > -Original Message-
> > From: Caroline Jen [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, September 02, 2004 11:04 AM
> > To: [EMAIL PROTECTED]
> > Subject: Tiles in Rows
;
HSIN-CI ALL MEMBERS PAGE
Sign in
Register
--- Jim Barrows <[EMAIL PROTECTED]> wrote:
>
>
> > -Original Message-
> > From: Caroline Jen [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, September 02, 2004 11:50 AM
> &g
Thanks, Jim, for your support. I made a stupid
mistake. The "View Source" helps in diagnosing
problems.
--- Jim Barrows <[EMAIL PROTECTED]> wrote:
>
>
> > -Original Message-
> > From: Caroline Jen [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, Se
I have two JSPs: JSP 1 and JSP 2
JSP 1 has a hyperlink (register). Once users click on
the 'register' hyperlink, the users are suppose to
have JSP 2 displayed in the browser. That is to say,
there is no action to be performed from JSP 1 to JSP
2.
How do I specify the action mapping in the
strut
s/actions/Forward
> > Action.html
>
> I did say that :) The fingers on the other
> hand.. :)
>
> >
> >
> > On Tue, 7 Sep 2004 12:49:49 -0700, Jim Barrows
> > <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > > > -Original Message-
&
:
[ServletException in:/frame/content/home.jsp] Cannot
create rewrite URL: java.net.MalformedURLException:
Cannot retrieve ActionForward named /Register'
What is wrong with my code?
--- Jim Barrows <[EMAIL PROTECTED]> wrote:
>
>
> > -Original Message-----
> > From
wrote:
>
>
> > -Original Message-
> > From: Caroline Jen [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, September 07, 2004 2:25 PM
> > To: Struts Users Mailing List
> > Subject: RE: Action Mapping From a JSP to Another
> JSP (Now, the
> > Hyperlink Is No
Thanks for your reply and help.
if I have
Register
In my struts.config.xml file, I should have action
mapping like this:
What if I do a global forward:
Register
what kind of mapping should I specify in the
struts-config.xml file?
--- Caroline Jen <[EMAIL PROTECTED]> wrote:
&g
Thanks a lot for being around and helping us.
-CJen
--- Jim Barrows <[EMAIL PROTECTED]> wrote:
>
>
> > -Original Message-
> > From: Caroline Jen [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, September 08, 2004 10:34 AM
> > To: Struts Users Mailing
of
extension of the content.jsp file. The file is in the
C:\jakarta-tomcat-5.0.27\webapps\DHSInfo\frame\content
directory.
Why the path is wrong?
--- Jim Barrows <[EMAIL PROTECTED]> wrote:
>
>
> > -Original Message-
> > From: Caroline Jen [mailto:[EMAIL PROTEC
. None of
my code appears in the "View Source".
--- Jim Barrows <[EMAIL PROTECTED]> wrote:
>
>
> > -Original Message-
> > From: Caroline Jen [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, September 08, 2004 11:54 AM
> > To: Struts Users Maili
I do not fully understand. Do you want me to actually
code instead of
Manage the
Content
in my links.jsp file?
--- Jim Barrows <[EMAIL PROTECTED]> wrote:
>
>
> > -Original Message-
> > From: Caroline Jen [mailto:[EMAIL PROTECTED]
> > Sent: Wednesda
The wrote:
>
>
> > -Original Message-
> > From: Caroline Jen [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, September 08, 2004 1:09 PM
> > To: Struts Users Mailing List
> > Subject: RE: Action Mapping From a JSP to Another
> JSP (In Trouble
>
sage-
> > From: Caroline Jen [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, September 08, 2004 1:18 PM
> > To: Struts Users Mailing List
> > Subject: RE: Action Mapping From a JSP to Another
> JSP (In Trouble
> > Again!!!)
> >
> >
> > The >
Jim,
Sorry for bothering so much. My code, mapping,
path, ., etc. are correct. Problem is with the
Tomcat server.
CJen
--- Caroline Jen <[EMAIL PROTECTED]> wrote:
> OKay, I see what you mean now. I am a kind of dumb.
>
> Before I clicked on the link, it shows:
I got this error message:
'Cannot find bean org.apache.struts.taglib.html.BEAN
in any scope'
I have the struts-bean.tld in the AppName/WEB-INF/lib
directory. And I have
/tags/struts-bean
/WEB-INF/lib/struts-bean.tld
in the AppName/WEB-INF/web.xml file (in the correct
locatio
know why I got 'cannot find bean in any
scope'. My messageForm.jsp can be found in the
attachment.
--- Jim Barrows <[EMAIL PROTECTED]> wrote:
>
>
> > -Original Message-
> > From: Caroline Jen [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, September 0
Hi, it is me again.
I still have problem with displaying my JSP. This
time, the error message is:
'[ServletException in:/frame/content/messageForm.jsp]
Cannot retrieve definition for form bean null'
1. I click on this link:
Send
Message
2. the action mapping in struts-config.xml is:
3
Hi, it is me again.
I still have problem with displaying my JSP. This
time, the error message is:
'[ServletException in:/frame/content/messageForm.jsp]
Cannot retrieve definition for form bean null'
1. I click on this link:
Send
Message
2. the action mapping in struts-config.xml is:
3
I have used the validation.xml to validate some
individual properties and been quite happy with the
feature.
Now, I have a form with five text fields. If any
three out of those five fields are filled out, it
passes the submit validation check.
Is there any way to set 'required' for this kind of
Yes, I copied and pasted the code. I did not type
those code while composing my request for help message
on the struts-user forum.
--- Jim Barrows <[EMAIL PROTECTED]> wrote:
>
>
> > -Original Message-
> > From: Caroline Jen [mailto:[EMAIL PROTECTED]
> > Se
ed from my code):
5. I have not yet prepared the SendMessage.java in the
AppRoot/org/dhsinfo/message folder yet.
What could be the cause of the problem?
--- Jim Barrows <[EMAIL PROTECTED]> wrote:
>
>
> > -Original Message-
> > From: Car
Hi, I have found the mistake.
The mistake is that is not a struts
tag equivalent to HTML tag.
--- Caroline Jen <[EMAIL PROTECTED]> wrote:
> I experimented a little bit:
>
> 1. I changed all struts tags to html tags in my
> messageForm.jsp and I also excluded the opening
&
I use the HTML tag to make it work.
If I use , I get 'cannot retrieve
definition for form bean null'
--- Jim Barrows <[EMAIL PROTECTED]> wrote:
>
>
> > -Original Message-
> > From: Caroline Jen [mailto:[EMAIL PROTECTED]
> > Sent: Friday, Se
rrectly.
>
> Also, I'm assuming you are using a dyna form, and
> that if you aren't you
> have a properly setup form bean class.
>
>
> Matt
>
>
>
> Caroline Jen wrote:
>
> > I use the HTML tag to make it work
Yeah, I think that there is another issue.
I have added the name of the bean in the action
mapping, the still gives problems.
This one works:
This one does not work:
Okay, the action mapping is like:
and the
I am using the tiles feature. So far so good, all
pieces are displayed.
I have four pieces of tiles: topbar (always the same
in every page), sidebar (always the same bunch of
links in every page), lowbar (alsyas the same in every
page), and the 'content' tile (which varies from page
to page).
Th
Make sure that the page is being fully rendered, and
> not generating errors.
>
>
>
> Try doing the textarea as:
> cols="62" />
>
>
> Mat
>
>
>
> Caroline Jen wrote:
>
> > Yeah, I think that there is another issue.
> >
&g
The
--- Jim Barrows <[EMAIL PROTECTED]> wrote:
>
>
> > -Original Message-
> > From: Caroline Jen [mailto:[EMAIL PROTECTED]
> > Sent: Friday, September 10, 2004 2:51 PM
> > To: Struts Users Mailing List
> > Subject: RE: [SOLVED]Canno
at the top of the
'content'tile.
--- Jim Barrows <[EMAIL PROTECTED]> wrote:
>
>
> > -Original Message-
> > From: Caroline Jen [mailto:[EMAIL PROTECTED]
> > Sent: Friday, September 10, 2004 3:04 PM
> > To: [EMAIL PROTECTED]
> > Subject:
inal Message-
> > From: Caroline Jen [mailto:[EMAIL PROTECTED]
> > Sent: Friday, September 10, 2004 3:09 PM
> > To: Struts Users Mailing List
> > Subject: RE: [SOLVED]Cannot retrieve definition
> for form bean null
> >
> >
> > The >
> >
>
I have the commons-beanutils.jar file in my
AppName\WEB-INF\lib directory. And I have this
statement:
import org.apache.commons.beanutils.BeanUtils;
in my .java class.
Why do I get the error message that the BeanUtils
class cannot be found?
___
Do
directory.
--- Andrew Hill <[EMAIL PROTECTED]>
wrote:
> The error is run-time or compile-time?
>
>
> Caroline Jen wrote:
>
> > I have the commons-beanutils.jar file in my
> > AppName\WEB-INF\lib directory. And I have this
> > statement:
> >
>
To make it simple, there is a JavaBean. This JavaBean
has two properties: label and value. Because I have a
number of label and value pairs, I have a Collection
of this JavaBean(s).
To create a drop down menu, I do the following:
How do I use the tag to do the same thing?
xecuting, but doesn't
> automatically put it in
> your classpath.
>
>
> Caroline Jen wrote:
>
> >The error occurred at the compilation time:
> >
> >SendMessage.java:17:
> >package org.apache.commons.beanutils does not
> exist.
> >
>
I am using tiles; a bar on the top, a pane on the left
hand side, and a bar at the bottom of all web pages.
I am also using the Struts validation to validate the
form submitted.
When users do not fill out forms as required, we have
a "page" shown in the browser that shows the errors
for all inval
I have many links in my web site. And, for example;
the name of my web site is XYZCompany. and we type
http://localhost:8080/XYZCompany to get to view the
web site.
For example, there is a link 'directory' to get to the
web page that shows the directory of the company. And
users can type
http://
Hi, I prepared the error404.jsp (simply typed in a
warning sentence) and placed the file in the
AppName/WEB-INF/web.xml file this way:
index.jsp
404
/error404.jsp
/tags/struts-bean
/WEB-INF/lib/struts-bean.tld
I tested mis-typing. But, my sentence;
We cannot put a method inside another method.
When using the Struts, we start with:
public final class MyClass extends Action
{
public ActionForward execute( ActionMapping
mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response )
ww.yoursite.com/myapp/someFraction.do, this
> struts-config.xml
> mapping would catch it and other Struts URL
> mistypings:
>
>path="/someFraction"
> unknown="true"
> forward="/error404.jsp" />
>
> And yes, I have used
There is no problem with the database operation. Data
are retrieved and can be displayed using the
tag. Now, it is the drop-down menu.
I have coded some drop-down menu before. This time, I
have a collection of JavaBeans instead of a collection
of strings. And, I am in trouble again.
I passed
- Amin Lalji <[EMAIL PROTECTED]> wrote:
> Try removing the bean:define
>
> And setting your line:
>
> labelProperty="name"/>
>
> to:
>
> labelProperty="name"/>
>
> HTH,
> Amin
>
> -Original Message-
> From:
1 - 100 of 235 matches
Mail list logo