Hi,
I keep getting the following errors during deployment.
Fri Mar 02 15:46:26 SGT 2001: *.jsp: param srcCompiler
initialized to weblogic.jspc
Fri Mar 02 15:46:26 SGT 2001: *.jsp: param superclass
initialized to null
Fri Mar 02 15:46:26 SGT 2001: *.jsp: param workingDir
initialized to: /op
Hi guys,
I am a newbie in the Struts framework. I have to build a page where
I have to show variable number of rows with each row having variable number
of columns.
So obviously the number of elements( Drop down, text box, check box
) will appear in the screen will be dynamic. Now
We use a JUnit extension (HttpUnit) to do all of our functional testing. We
can effectively 'fake' the user submitting a form, and check for page
results. We've added some code into a base test class so that we can use
methods like assertPageText("xyz") or assertPageError
("struts.resources.key").
I can't deploy
struts-blank.war (struts 1.0b1) onto j2eesdk1.2.1 . Has anyone done it
before? Please help me!
GX2GX means it could not find the servlet in LDAP or registry.
Doing a servlet registration is non-trival with iPlanet.
You need to use the iPlanet deployment tool.
>>-Original Message-
>>From: Fred Lo [mailto:[EMAIL PROTECTED]]
>>Sent: Thursday, March 01, 2001 9:32 AM
>>To: [EMAIL
thanks,
worked
---
"If the misery of our poor be caused not by the laws of nature, but by our
institutions, great is our sin"
-- Charles Darwin
--
Shamdasani Nimmi-ANS004 wrote:
>
> IT IS UNBELIEVABLE!
>
> I have wasted so much time trying to get this to work and all that was missing in my
>JSP was this line:
>
> <%@ taglib uri="/Web-inf/struts-logic.tld" prefix="logic" %>
>
> The strange part is that I was not getting any error i
Do all version of Tomcat do this?
David
--- "Craig R. McClanahan"
<[EMAIL PROTECTED]> wrote:
> Ned Seagoon wrote:
>
> > Hi guys,
> >
> > Just wondering about the situation that arises
> when an Action class is
> > changed in a running struts environment.
> >
> > I was under the impression that
Help!
Question:
Is there a simple way to set an index for an error message so that I can
vary it's placement on my JSP Page?
// In Action
// old code
errors.add(ActionErrors.GLOBAL_ERROR, new
ActionError("caremanager.mp.error.phoneFormat"));
// new code (preferredDayPhone is my field name)
er
I was using HTTPClient, but I then switched to the com.mortbay.HTTP
library (it comes with one of their products or something i believe).
I forget why I did so, but I think it had something to do with
limitations in dealing with filenames in HTTPClient. I advise you to
compare the two.
eric.
On
Shah Nabib El-Rahman wrote:
> Hello,
>
> The ifParameterExists tag seems not be working, has anyone else came
> across the same problem?
>
> shah
It sounds like you are still using the Struts 0.5 tags. There isn't a
tag named "ifParameterExists", although the following tags exist:
ifParameter
Ned Seagoon wrote:
> Hi guys,
>
> Just wondering about the situation that arises when an Action class is
> changed in a running struts environment.
>
> I was under the impression that a single instance of an action class is
> created and run inside multiple threads, yet if I recompile the class a
Kyle Robinson wrote:
> Has anyone used the concept of introspection with the struts
> framework? I believe the idea of it is that you write a use bean line
> in your jsp and call the
> and when the form is posted all the properties of object blah get set
> to the values in the form objects tha
Chris Bartley wrote:
> This thread seems to have gone off-topic a bit. What about Jens' original question
>about why ALL requests don't go through ActionServlet?:
>
Ideally, that's what happens. Unfortunately, there are some practical realities that
get in the way:
* What about your welcome
Has anyone used the
concept of introspection with the struts framework? I believe the idea of
it is that you write a use bean line in your jsp and call the
and when the form is posted all
the properties of object blah get set to the values in the form objects that
match the names.
Tell
This thread seems to have gone off-topic a bit. What about Jens' original question
about why ALL requests don't go through ActionServlet?:
Jens Rehpöhler wrote:
> I'm watching this list quite a while and wondered why so
> many people try to call there JSP pages directly from the
> browser. In m
IT IS UNBELIEVABLE!
I have wasted so much time trying to get this to work and all that was missing in my
JSP was this line:
<%@ taglib uri="/Web-inf/struts-logic.tld" prefix="logic" %>
The strange part is that I was not getting any error in the log files saying undefined
tag or anything.
Maya Muchnik wrote:
> One way, as I know, is to put all jsp, except index.jsp (or similar start up)
> under a protected directory. For Tomcat the secure directory is setup in web.xml
> (see web.xml for webapps/example, directory is example/jsp/security/protected).
> See also Tomcat instruction (I
Maya Muchnik wrote:
> Thank you, Craig for clear "picture".
>
> One Q. to be sure that all OK. What about servlet.log file? Several action threads
>will need to have an access to it.,...
>
True, but that is the servlet container's problem to worry about. If you look inside
Tomcat's implementa
"Dorai, Harish (c)" wrote:
> Suppose I have the drop down list which I wanted to create from a database
> and the database is updated less frequently, is there a way in which I can
> implement somekind of caching mechanism, with which I won't do a database
> query always, instead I can use the ca
Spencer Smith wrote:
> Do you guys know how to define the Multiple attribute in a select drop down
> list for Struts?
>
In XML syntax, attributes always have to have a value.
Craig
Shamdasani Nimmi-ANS004 wrote:
> Craig,
>
> I did try this way but it still does not work.
What does "does not work" mean? What error messages or stack traces are you getting?
> Since supplier.value is of type SupplierBean, do I have to specify that anywhere?
No ... bean introspection does
There is exactly what I mean.
Paste the needed taglib tags e.g. :
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
into your "header.jsp" page.
/Katarina
-Origina
The application finds the header file; I am also sourcing an image which
appears on the page from the include. However, it is unable to resolve the
tag library descriptors. Thus the include statement is fine, it is the
taglib uri that is not working from the include.
Thanks
-Original Message
Try to change to put a full path to
header.jsp file. For example:
. But I am not sure.
Katarina Nelson wrote:
> Try to include the needed .tld files into the "include/header.jsp" page.
> It worked for me.
>
> /Katarina
>
> -Original Message-
> From: Hardee, Tony [mailto:[EMAIL PROTECTED
Try to include the needed .tld files into the "include/header.jsp" page.
It worked for me.
/Katarina
-Original Message-
From: Hardee, Tony [mailto:[EMAIL PROTECTED]]
Sent: den 1 mars 2001 22:29
To: '[EMAIL PROTECTED]'
Subject: JSP includes of
I am having trouble using includes and cus
Your index.jsp file is using ApplicationResources.properties to get
index.title. Check it.
soh syed wrote:
> can anyone help me with the following error!
> thanks
>
> Missing message for key index.title
> at
> org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:242)
>
I am having trouble using includes and custom tags in JSPs with Struts.
The application is unable to find the tag descriptor files. For example, I
have an include file that contains:
// header.jsp
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib
Thanks for the help, but it didn't work :(
- Original Message -
From: "Kyle Robinson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 01, 2001 1:14 PM
Subject: RE: Drop-down list
> I'd remove all the square brackets. If you want to keep them, the
parameter
> type in se
Provide Name(s)
Like this, correct?
- Original Message -
From: "Spencer Smith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 01, 2001 1:02 PM
Subject: Re: Drop-down list
>
> Trying to use Multiple="true" attribute for html:select
>
> Help!
>
> O.k. so I de
can anyone help me with the following error!
thanks
Missing message for key index.title
at
org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:242)
at _0002findex_0002ejspindex_jsp
__
Do You Yahoo!?
Get email at your
I'd remove all the square brackets. If you want to keep them, the parameter
type in setProviderName should be String[].
I don't know for sure though.
-Original Message-
From: Spencer Smith [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 01, 2001 13:02
To: [EMAIL PROTECTED]
Subject: Re:
Mary,
The problem is the initial sent to the browser forces the browser
to initiate seperate requests
to fill in the frames of the page. You might want to store and retrieve the
objects in the session scope or
have each frame call a *.do (reportList.do?neededParam=value) to set up the
request o
Trying to use Multiple="true" attribute for html:select
Help!
O.k. so I declare it like so:
protected String[] providerName;
Then I get it:
public String[] getProviderName()
{
return (providerName);
}
Then I set it:
public void setProviderName(String providerName[]) {
{ this.provider
I must be missing something simple. I have a jsp page which references
a set of frames. Each frame has a jsp file which contains references to
struts tages. The struts tags fail and I get exceptions - such as bean
does not exist, iterate tag is null
The jsp pages work fine when not used as
On Thu, Mar 01, 2001 at 10:37:29AM -0500, Mike Bell wrote:
> Hello,
> Is there a way to pass a bean property to a template:put content?
> I've tried using a in the content parameter but it just
> passes it straight through (with or without direct set).
> I've also tried:
>
>
>
>
>
>
The cu
I've just recently started using HTTPClient with struts on the webserver and it
seems pretty reliable. Although I haven't really pushed it much, it was easy to
get up and running and I haven't found any real issues with it. (I think I had
one issue but can't remember what it was...I guess it
If you wanted to use a bean to store the select options, place it in the user's
session. Then, check to see if it exists before refreshing it.
HTH,
Pete
"Dorai, Harish (c)" wrote:
> Suppose I have the drop down list which I wanted to create from a database
> and the database is updated les
Till,
Thanks, I'll include this with the other patch I'm working on to improve the
speed of multipart requests.
-Original Message-
From: Till Nagel [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 01, 2001 3:12 PM
To: [EMAIL PROTECTED]
Subject: Bug in handling multiple values in multipar
Hi,
I've encountered a bug in handling multipart requests.
(last nightly build 20010224)
If a form is sent with enctype="multipart/form-data" the multiple values
(e.g. ) aren't set correctly. In the
DiskMultipartRequestHandler the values are stored in a Hashtable thus only
the last one of the va
Suppose I have the drop down list which I wanted to create from a database
and the database is updated less frequently, is there a way in which I can
implement somekind of caching mechanism, with which I won't do a database
query always, instead I can use the cache to populate the drop down list?
Add the attribute to your tag like so:
and make sure the corresponding property in your form bean is an array of
values.
See the docs for more details:
http://jakarta.apache.org/struts/struts-html.html#select
Hope this helps.
--
Martin Cooper
Tumbleweed Communications
At 11:44 AM 3/1/01
Hi,
Does anyone use HTTPClient? What do you think about it? I have got this link several
minutes ago.
As its document said, in HTTPClient you can set timeout for response, pipelining of
request. Source code is available. It includes the source code for parsing the
multiPartRequest.
HTTPClient can
Do you guys know how to define the Multiple attribute in a select drop down
list for Struts?
- Original Message -
From: "Peter Alfors" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 01, 2001 11:29 AM
Subject: Re: Drop-down list
> When adding options to a select that a
Craig had suggested that I use:
but unfortunately it is not working.
-Original Message-
From: Matt Ho [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 01, 2001 12:27 PM
To: [EMAIL PROTECTED]
Subject: RE: Question about iterate tag
> I did try this way but it still does not work. Sinc
When adding options to a select that are stored in a database, we have the
action class look-up the necessary information, store it in a bean, place the
bean in the request / session, and then use a taglib on the page that specifies
the source (the bean) and the property (database column) that sho
One way, as I know, is to put all jsp, except index.jsp (or similar start up)
under a protected directory. For Tomcat the secure directory is setup in web.xml
(see web.xml for webapps/example, directory is example/jsp/security/protected).
See also Tomcat instruction (I need refresh my memory mysel
> I did try this way but it still does not work. Since
> supplier.value is of type SupplierBean, do I have to specify that
> anywhere?
I believe you want the bean to be SupplierBean rather than Supplier. Your
request
seems like it would get translated into
out.print( String.v
So how does one protect JSP's from direct invocation? Is there a
server-independent way? (I'm using Tomcat, so that would also be good to
know.)
Maya Muchnik wrote:
> Hello, Jens again,
> I am totally agree with you, but to make it works somebody (a designer) must
> to "protect" jsp files. Sev
Thank you, Craig for clear "picture".
One Q. to be sure that all OK. What about servlet.log file? Several action threads
will need to have an access to it.,...
Maya
"Craig R. McClanahan" wrote:
> Maya Muchnik wrote:
>
> > Hi,
> >
> > In "A Walking Tour of the Struts App", the author has menti
I think I have found the answer for the 1st part of debug messages. They are
coming from jasper compiler.
Maya Muchnik wrote:
> The 2nd part (classpath) is coming from Tomcat (or other server) startup
> script.
>
> > Hi there,
> >
> > how can I prevent the struts action servlet from logging so m
Hello,
Anyone have experience with iplanet 6.0 sp2 and struts?
I am trying the struts-test.war application. I could load the jsp without
problem, but it seems whenever an servlet is called upon it
will report:
GX Error (GX2GX)
socket reuslt code missing!!!
With the following in the log file:
Does this assume that you have loaded a Collection of LabelValueBeans in the
application scope? Do you really need that scriplet at the top of the page?
I thought html:options could reference the collection where it is in the
servlet context, without copying the reference to the page context.
Hal
Cedric's got some good ideas here, and I agree with someone else who said he should be
a committer.
Craig?
david
Cedric Dumoulin wrote:
> Hi David, and everybody,
>
> I understand David's position, there is a proverb which said "who go slowly go
> surely" ;-)
> But, please, don't forge
Craig,
I did try this way but it still does not work. Since supplier.value is of type
SupplierBean, do I have to specify that anywhere?
--
-
but this code which I am trying to r
Thanks, Kevin. I got it.
- Original Message -
From:
Kevin
Wang
To: '[EMAIL PROTECTED]'
Sent: Thursday, March 01, 2001 11:43
PM
Subject: RE: POST and GET method
The
current ActionServlet passes both doGet() and doPost() to
process(request, response).
There
is a method in HttpServletRequest class called getMethod() that returns either
post or get or
James
Gu
-Original Message-From: Spencer Smith
[mailto:[EMAIL PROTECTED]]Sent: Thursday, March 01, 2001 6:35
AMTo: [EMAIL PROTECTED]Subject: Re: POST
and GET method
Spencer Smith wrote:
> I have a lot of experience using validation. I am of the opinion that if
> possible validation should be done client-side using javascript. Is there a
> way to implement this by extending Struts? If so, I would be very
> interested in helping. Currently, I am working on
[EMAIL PROTECTED] wrote:
> There are many competing technologies to embrace the
> Model 2 pattern.
>
> I get the feeling that XML/XSL and Struts are mutually
> exclusive. Is this a valid concern ??
>
I'm not sure that they are mutually exclusive, but there is a choice you ne
This is how we do it...(I think the work simple
should be ommitted)
Get the content at the top of the JSP
page.
<%pageContext.setAttribute("nameSuffixTypes",
getServletContext().getAttribute("nameSuffixTypes"));%>
Place this where you want the Drop Down List on the
JSP page.
What is the simplest
way to dynamically create a drop-down list () that pulls values
from a database? Is there a specific tag I should use?
Iterator?
Kyle Robinson Systems Consultant Pangaea Systems
Inc. (250) 360-0111
The 2nd part (classpath) is coming from Tomcat (or other server) startup
script.
> Hi there,
>
> how can I prevent the struts action servlet from logging so much
> information.
>
> Here is my problem: I have generated a struts application and now I am
> about to
> deploy it. During development it
Hi there,
how can I prevent the struts action servlet from logging so much information.
Here is my problem: I have generated a struts application and now I am about to
deploy it. During development it was pretty convenient to have so many debug
messages. But now, even after setting the debug le
Hey, guys,
I have a good proposal: include Cerdic to struts developer team.
Cedric Dumoulin wrote:
> Hi David, and everybody,
>
> I understand David's position, there is a proverb which said "who go slowly go
> surely" ;-)
> But, please, don't forget that I have already work for a long ti
The
current ActionServlet passes both doGet() and doPost() to
process(request, response). if you want your entire application to handle
doGet() with an error.jsp, ActionServlet is a good place to do so (assuming each
webapp get its own ActionServlet). If you want to handle them per Action
b
Hi,
Typically in the past when I have written my own
controller servlets, I delegate from the doPost & doGet methods to a
process() method much like the Struts ActionServlet. The difference
however is that the method signature for my process method includes a boolean to
indicate whether o
Hello,
Is there a way to pass a bean property to a
template:put content?
I've tried using a in the
content parameter but it just
passes it straight through (with or without direct
set).
I've also tried:
Still just passes the 'xyz' literal.
I've also tried Oleg's ExtPut like:
That's a good question. If you guys find out
let me know and I will do the same. I actually have to deal with that
today in a multi-part form. I am not sure, but I think the answer is by
adding struts hidden form fields. I'll let you know later
today.
- Original Message -
F
See
<
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg03206.html
>
and
< http://www.mail-archive.com/general@jakarta.apache.org/msg00495.html >
Christophe Vigny wrote:
>
> It seems that the database support is pretty lesser in strut than in turbine.
>
> I'm wonder what is the
Hello, Jens again,
I am totally agree with you, but to make it works somebody (a designer) must
to "protect" jsp files. Several people told me how to do this. About logic
JSP again it is the designer question. Of course, it is better to have JSP
only for view. Sometimes, it is difficult, and requi
Hi David, and everybody,
I understand David's position, there is a proverb which said "who go slowly go
surely" ;-)
But, please, don't forget that I have already work for a long time on Components
proposal. A lot of peoples have tried them, and give positive feedback, as well as
improvemen
It seems that the database support is pretty lesser in strut than in turbine.
I'm wonder what is the better frame work to use, I want to build database driven web
site in java
technologie.
72 matches
Mail list logo