I use Version 1.0 - size of struts.jar is 326,441 kB+
Which Version do I need for the Parameter option?
-Ursprungliche Nachricht-
Von: Ted Husted [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 25. September 2001 00:49
An: [EMAIL PROTECTED]
Betreff: Re: using the Parameter of config
I d
I am using Tomcat 3.2.2, but planning to migrate to
4.0. Then we will be implementing your suggestion.
Thanks for that.
Currently, we can use Kimerly's suggestion. But what
are the advantages of this option vrs. making the
attributes static members of a class derived from the
ActionServlet ? In th
Title:
Hi,
Is it possible to use the "value" property of the html:select tag to display
a default selection but *only until* the
user makes their own choice? The user's selection should be selected
thereafter.
In my form, if I specify html:select's "value" property with a default
selection,
Title:
Harshal,
This is really a VAJ question. You can choose to ignore these on the error screen.
Right click and select filter problems -- exclude deprecated warnings..
David Morris
>>> [EMAIL PROTECTED] 09/22/01 02:46PM >>>
Also Iam seeing this a lot of this.
Field initialization: The
Title:
Harshal,
I am not sure this applies because you are using the Websphere test environment,
but I get this with Tomcat 3.2.3 in VAJ unless I add struts to the classpath as a
jar and not as a project. It did not happen with the Tomcat 3.2.1 test environment
(at least that appears to be
I'd appreciate some help figuring out what I'm doing wrong with my Struts/EJB
application. I'm sure I've made more than one mistake, from architectural to
logical.
I have a simple EJB application. I implemented JAAS using
DatabaseServerLoginModule. I started to build a web app on top of this,
Hi,
I would like to control j2ee security in the following way.
1) have my app server use j2ee security for form login (done).
2) have my designated login jsp submit to a struts action (login.do).
3) be able to perform any additional validations I like in the struts login
action.
4) then, manual
sorry about the html in my last message, it was:
As far as keeping the search in the session, if SearchBean is made session
scoped, you can use the struts HTML form tag
(http://jakarta.apache.org/struts/struts-html.html#form) to build the search
form and the user will see their last search whenev
As far
as keeping the search in the session, if SearchBean is made session scoped, you
can use the struts HTML form tag (http://jakarta.apache.org/struts/struts-html.html#form)
to build the search form and the user will see their last search whenever they
go to the search page. This can prod
Try downloading Struts-simple, and porting the affected classes there.
http://husted.com/about/struts/resources.htm#projects
Something strange is wrong. It does actually work as documented ;-0
-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel +1 7
Did you try to store the reference in the
session?
- Original Message -
From:
cahana
To: [EMAIL PROTECTED]
Sent: Monday, September 24, 2001 5:59
PM
Subject: passing reference from page to
page
I have a search page with some input fields. The
values the
I've just recently read the entire thread on this issue posted
last Wed 9/19/01 and still have the following problem:
When the validate() method of my form bean returns a non-
empty ActionErrors list, struts fails to re-populate the form
fields with the text that was submitted successfully. I've
People typically subclass the Action or the ActionServlet.
Subclassing the Action can be advantageous when some Actions require a
login and others do not. The "protected" Actions can share a common
subclass that forward to login when someone is not logged in.
The Logged-In ancestor class might
I have a search page with some input fields. The values
the user inputs are stored in my search form bean in the request scope called
SearchBean. If the search returns 0 results, I send them to a message page
saying "0 results found" with a link that will take the user back to the search
p
I don't see anything wrong with the code. Try removing the struts.jar
and replacing it with a new copy.
-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel +1 716 737-3463
-- http://www.husted.com/about/struts/
"Elmar Zorn (H2Opilot)" wrote:
>
> hi a
I am using template tags.
I place content in another JSP file and insert it in a template file.
When the output is written to the screen the content in the JSP file is
written above the template content.
So everything is being written to the screen,
but not in the correct spot.
I used my code wit
I am attempting to populate an ActionForm from a ValueObject using
BeanUtils.populate(). The ActionForm has all of the appropriately named
setter methods and attributes, and the ValueObject returns a map with keys
corresponding to the attribute names on the ActionForm. The problem is that
when I
Alex,
You probably want a connection pool. Your code in an Action class (or
wherever) would be something like:
MyConnection MyConnectionObject;
try {
//get the connection from the pool
MyConnectionObject = MyConnection.getInstance();
//do your stuff
} catch (MyConnection
If you want to iterate in the order you inserted your objects in the
collection, try using a java.util.Vector.
Regards
Luis Olivares.
[EMAIL PROTECTED]
--
"Intelligence is the ability to avoid doing
Hi,
hopefully someone can comment on an idea I have.
I have a VB backend that I talk to via a socket to handle db access. When a
connection is made to the back end I put a Boolean value of TRUE under the
"active" key in the application session. If for whatever reason the VB
backend goes down I g
Hi,
I am trying to figure out if I have properly designed my classes.
I have a class that extends ActionServlet. The only reason it does that is
because all my web apps need a couple of generic objects in the application
session before anyone can use the applications.
So I overrode the doGet an
When I try to run the struts example application, I get the following error
message?
Any ideas ??
Error 503
An error has occured while processing
request:http://localhost:8080/strutsexamples/
Message: Application is currently unavailable for service
Target Servlet: null
StackTrace:
Root Error-1:
Hello all.
I have a question regarding the postings
explaining how to correctly use the transaction control mechanism provided
within struts. Most postings mention that struts will forward you to an error
page however I haven't been able to find any mention on how to then forward to a veri
Title: Struts JBoss / Tomcat and From
Gregory
Have you got any examples on how to use
nested properties? My initial assumption would be to use public attributes in
the form bean and multiple dot operators in the .jsp
to populate the fields?
-Original Message-
From: Grego
How do folks generally approach building reusable or composable Struts
"components"? I'm thinking about a situation where I'd like to define a
reusable sequence (not necessarily linear) of Struts JSPs/actions that can
be invoked as kind of a black box from some other part of the Struts
applicatio
Thanks,
My from has sets and gets.
I will try to look for previous posted messages..
Beth.
-Original Message-
From: Barry Glasco [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 24, 2001 1:40 PM
To: [EMAIL PROTECTED]
Subject: RE: Help with Struts and EJBS..
1) No, but it will work. Lo
> I need some serious help.
> I am a novice Java and Struts developer.
> I am trying to develope a prototype that will work with backend EJBS..
taken those 3 into account, I think you really do need serious help. Not
being funny, but usually people either working with other experienced
developers
1) No, but it will work. Look at previous posts on how to properly
implement.
2) Your form should have get and set methods?
3) Collection
4) None that I am aware of.
-Original Message-
From: Strichartz, Beth [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 24, 2001 1:09 PM
To: [EMAIL PR
hi all,
I try to use an parameter of my struts.config
I try to access the parameter in the action like this:
import javax.sql.*;
import javax.servlet.*;
import javax.servlet.http.*;
import org.apache.struts.action.*;
import org.apache.struts.util.*;
public final class H2okoop_
This might be useful:
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg14326.html
Brian K. Buckley wrote:
>Is there a good way to capture the output from a snippet of jsp into a
>String variable that can be reused multiple times in a page?
>
>- Brian
>
>As a simple example, if one
Hi, I am trying to iterate through a bean and populate a list of radio
buttons. I pass an entity object (en) to a page. The entity object has a
number and name parameter. I want to create a list of radio buttons all with
the same name but the values being the entity number.
For example:
1996 DO
Hi,
I need some serious help.
I am a novice Java and Struts developer.
I am trying to develope a prototype that will work with backend EJBS..
I have an CustomerSearchForm, Form bean and action bean
my Action class is below.
Questions?
1) Is this the appropriate way to call EJBS (in an action c
<%
BodyContent bc = pageContext.pushBody();
%>
Name
<%
String namerow = bc.getString();
pageContext.popBody();
%>
Matt
--- "Brian K. Buckley" <[EMAIL PROTECTED]> wrote:
> Is there a good way to capture the output from a snippet of jsp into a
> String variable that can be reused multiple times in
Would dbForms be incompatible with Struts
At 11:15 AM 9/24/01 -0400, you wrote:
>For an extremely database driven application, I'd take a look at
>dbForms.org
>
>-- Ted Husted, Husted dot Com, Fairport NY USA.
>-- Custom Software ~ Technical Services.
>-- Tel +1 716 737-3463
>-- http://www.hu
Can anybody tell me if this issue of RequestDispatching to JSPs under WebLogic 5.1
also exists for WebLogic 6.0+?
On Mon, 24 September 2001, Ted Husted wrote:
>
> If all the JSP's are behind Actions, the problem is mitigated since the
> names of the JSPs are not revealed on the address bar, on
"Brian K. Buckley" <[EMAIL PROTECTED]> wrote:
> Is there a good way to capture the output from a snippet of jsp into a
> String variable that can be reused multiple times in a page?
>
> - Brian
>
> As a simple example, if one needed to have the line:
>
> Name property='name'/>
>
> appear in
You might want to try this one on the JSP list. The archives are also
quite extensive.
http://archives.java.sun.com/archives/jsp-interest.html
-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel +1 716 737-3463
-- http://www.husted.com/about/struts/
Hi,
I don't know if this is what you are looking for but I just purchased a book
from Orielly press that deals with Java and XSLT:
http://www.oreilly.com/catalog/javaxslt/
I don't know how I can implement this with Struts.
Hope this is helpful.
Alex
Nesting custom tags that way is not allowed by the specification.
The html:link tag has special properties for assembling hyperlinks from
other beans. It can also accept a map when multiple parameters are
needed.
http://jakarta.apache.org/struts/struts-html.html#link
Personally, I avoid using
Or you could just avoid using Microsoft products ;-)
At 12:01 PM 9/24/01 -0400, you wrote:
>Hi, I created a basic Struts prototype web application that creates, edits,
>and searches for users. I then used Microsoft Web Application Stres Tool
>(WAST) to test the performance of the Generic po
If all the JSP's are behind Actions, the problem is mitigated since the
names of the JSPs are not revealed on the address bar, only the Action
shows.
One idea would be to generate a request token for each request that
comes through the Action. That could be a dual use features, since you
could u
YES! I fixed the problem because I changed the "startup.sh" tomcat script
previously before Struts to include various jars. I should n't have done that.
but copied the proprietary jars in WEB-INF/classes instead. In fact
the Tomcat 3.3 blanks the CLASSPATH and sets only libraries that
appear und
Is there a good way to capture the output from a snippet of jsp into a
String variable that can be reused multiple times in a page?
- Brian
As a simple example, if one needed to have the line:
Name
appear in several places, how can one set a String namerow so that the line
can be redisplayed b
Antonio -
Unfortunately you cannot nest tags... you'll have to resort to a scriptlet
in this case:
This seems to be something that everyone intuitively wants to do - hopefully
the capability will be added in a later jsp spec...
a second option is to put all of the parameters in a map (just as an
Personally, I would strongly recommend that people use Poolman or the
equivalent in production applications.
It's also possible that the generic connection pool will be deprecated
at some point, once a similar package becomes available through the
commons, and it becomes easier to hook new servi
You cannot next tags as you are trying to do.
My advice would be to make a forward in your struts-config.xml file that is:
Then in your jsp page, you can code your link using a regular tag:
&operationActivityId=">link
text
This has worked for me.
Matt
--- Antonio Lourinho <[EMAIL PROTECTED
Hi,
i'm new to Struts and i'm already working on a project that takes advantage
of it.
The problem is: i'm trying to put a link, and the page attribute depends
upon the value of a bean defined by an iterate tag.
something like:
"/>
the error is:
org.apache.jasper.compiler.ParseException:
C:\
Hi, I created a basic Struts prototype web application that creates, edits,
and searches for users. I then used Microsoft Web Application Stres Tool
(WAST) to test the performance of the Generic pool vs. Poolman connection
pooling. I am using an Oracle DB (8.1.6). WAST logs into the app, search
Following are the procedures that can used to apply the style sheet
Once we have already parsed the XML document, the getDocument method from
the parser instance (e.g. DOMParser) should return an object of type
Document (which
i'm using weblogic 5.1, which does not allow RequestDispatching to JSPs underneath
WEB-INF. so i'm stuck keeping my JSPs outside WEB-INF. as a result,
i have to secure requests to both JSPs and actions. securing the actions is just a
matter of sub-classing ActionServlet and providing logic to
At Jakarta, we use Ant to build our HTML pages from XML and XSL. See the
Struts source distribution for an example.
I haven't tried it, but I keep thinking it would be interesting to do
the same with JSPs.
This would gives you the flexibility of XML,XLS without changing how you
write your appli
For an extremely database driven application, I'd take a look at
dbForms.org
-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel +1 716 737-3463
-- http://www.husted.com/about/struts/
> Jonas Bonér wrote:
>
> Hi everyone.
>
> We am building an extrem
> Agreed - but I shouldn't have to. Let's say, for example, that my ISP uses
> Tomcat 'out of the box' and I install an application that uses Xerces, I
> wouldn't expect (or want) the ISP to replace crimon/jaxp with
> Xerces. I want
> the application to work as-is, and the way Tomcat configures cl
Title: AW: AW: Who tells the Checkbox if it should be checked or not?
As I understand it, value="yes" ist the value that will be transmitted if the checkbox is checked. But it does not check the checkbox. I guess that there is no other solution than populating the Form-Bean in an Action-Servle
Title: Form layout not specified until runtime...
Hi everyone.
We am building an extremely database driven system where everything (the JSP layout for example)
is suppose to be dynamically generated in runtime.
For example. We do not know in advance how many input fields we are going to p
Hello Frédéric,
> but i don't know how to call the transformation of the XML data with a XSL
file to build my final html layout.
one option is to use the xsl-taglib
(http://jakarta.apache.org/taglibs/doc/xsl-doc/intro.html).
I haven't seen any problems with struts.
ciao
mattes
> It's not a Struts issue, just conflicts between parser versions.
Why? If I have Xerces in the struts directory then Struts should pick that
up ahead of Crimson in the common/lib directory. Assuming Struts is using
JAXP then there should be no dependency on the parser class names at all. I
have
Hi All,
I'm building a small select.jsp -> ReceiveServlet -> result.jsp
test webapp.
As I went further, I found I have one problem for select option
value for foreign chars.
in select.jsp:
-
hi! All
I am having problems installing struts in VAJ 3.53
I followed instructions on then site:
http://www7.software.ibm.com/vad.nsf/Data/Document2558?OpenDocument&SubMast
Still having some problems initializing ActionServlet
[01.09.23 12:47:23:186 EDT] 2fb6 WebGroup X [Servlet Error]-[{
hi list,
I cannot figure out how to solve this problem. I constantly get the error in subject
with the exceptions
javax.servlet.ServletException: Exception creating bean of class
dk.presys.ehandel.struts.LogonForm: java.lang.InstantiationException.
What i want is to validate the input from the
Hi,
I'm involved in
a project that use struts. I have a question to get some advice from you. The
application want to separate clearly layout from the logic. The team manager
want us to use XML, XSL to build html pages. But I don't see clearly how to mix
all that. I have beans that do SQ
if you're gonna add the aligment property... could you please add the
'title' (tooltip) property (not only to the tag, but all the
tags)?.
Maybe it doesn't sound important, but a tooltip gives a plus to the
understanding of some sites (and also a more complete look).
- Original Message ---
Still haven't had time to formalize these directions, so they are likely to
change once I get time to remove extraeous steps or correct things. :)
rief Preliminary Deployment Instructions for WAS 4.0
· Deploy Application
o Install WebSphere 4.0
o Once completed
I would be very interested in hearing people's views about when to use and
not to use the Struts custom tags for creating HTML. I am building an
application that I eventually want to release open source to an audience
that may only know HTML (and that is all I want them to have to know).
I can s
Hi,
quick question, is there any struts or apache sub-project to provide
'portal-like' functionality? basic functionality for users to select
components from a default list that they want to see in their home page.
Our current app is in struts and we'd like to avoid adding more new
technologie
Title: AW: Who tells the Checkbox if it should be checked or not?
Thanks for your Answer. Can you precise what boolean value you mean? ( Do you men 'private boolean autoConnect = false;' in subscriptionForm?)
But there's one thin I don't understand:
In the struts-example I choose
'Edit you
If you mean, can you wrap a long column into two or more columns, like a
newspaper article, then there is no html way to do this. You would need to do in
manually somehow.
Will
- Original Message -
From: "Shea Kelly" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, September 23,
I'm using the latest versions of struts and the commons jars from CVS. I've
been developing with Resin 2.x, but now I need to use an earlier version of
Resin, version 1.2.3. When I try to run my webapp on the earlier version I get
an exception when the ActionServlet runs it's init method. The exc
the boolean value tells which check box is to be checked.
>From: "Friedli Beat [UFA AG Her]" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>Subject: Who tells the Checkbox if it should be checked or not?
>Date: Mon, 24 Sep 2001 14:58:35 +0200
>
Title: Who tells the Checkbox if it should be checked or not?
I've been reading through the struts-example-application. It works perfect. The checkbox is allways set correct, even if the Form-Bean would say not checked by default. Sorry I know, that sometimes I ask stuped questions but:
Who
Hi
When we try to install our application on tomcat
3.2.3 using struts we recieve a exception
java.lang.ClassNotFoundException:
org.apache.struts.action.ActionFormBean
we have struts.jar in WEB-INF/lib and all our
servlet classes in WEB-INF/classes
We have removed the jaxp.jar and par
It's not a Struts issue, just conflicts between parser versions.
The configuration mentioned is a documentated alternative for Tomcat.
Many applications need Xerces available this way.
Kevin Jones wrote:
>
> OK I'll try it, but is this a bug in Struts?
>
> I don't really want to, nor should I
Hi
org.apache.struts.taglib.bean.MessageTag takes replacement parameters
(optional argument) as shown in the following example:
This is fine as long as I know exactly how many replaceable parameters to
put.
say I get an unknown number of replaceable parameters as an array depending
on the key
Title: checkbox: isChecked
I'd like to take the information if the checkbox shoud be checked not from the formbean, but from a different bean.
See the example:
<%// the bean where the check-information comes from %>
<%// I can get the information like this %>
<% // how can
thanks for ur help. i was able to display the messages :)
+trish
-Original Message-
From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 24, 2001 4:57 PM
To: [EMAIL PROTECTED]
Subject: Re: template qn
Hi,
You can't nest jsp tag inside another jsp tag. But, the
Hi
After a while I get this exception when I attempt to read from the mySQL
database.
The error disappears after restarting the tomcat server.
- java.sql.SQLException: Communication link failure:
java.net.SocketException
at org.gjt.mm.mysql.MysqlIO.sendCommand(MysqlIO.java:459)
a
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg14937.html
>From: Shea Kelly <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: can html:checkbox indexed??
>Date: Mon, 24 Sep 2001 15:15:33 +1000
>MIME-Version: 1.0
>Received: from [64.125.133.20] b
Hi,
You can't nest jsp tag inside another jsp tag. But, their is a solution
to your problem :
'
Tricia Ong Cheah Yen wrote:
> hi all,
> i'm new to struts and i have a qn on the use of template tag
> with the tag. i had used the tag to
> provide content in my template file.
OK I'll try it, but is this a bug in Struts?
I don't really want to, nor should I have to, change the 'standard' Tomcat
install.
BTW, I have no global classpath, and there's *no way* I'm putting Xerces in
lib/ext folder!
Kevin Jones
Developmentor
www.develop.com
> -Original Message-
>
spend almost a week trying to run struts on ip 4.1...
We are now able to use the servlet and util classes, but cant use the
taglibs...
::
Mikkel Bruun
Senior IT Developer
[EMAIL PROTECTED]
Direct: +45 32 88 22 73
Valtech A/S
Kanonbaadsvej 10
DK-1437 Copenhagen
Tel +45 32 88
Title: Problem creating formbean
Hi,
In order to understand the Struts framework (which I'm currently studying), I was following the Bluestone Struts tutorial.(http://developer.bluestone.com/scripts/SaISAPI.dll/StrutsTrailMap.class/struts-trailmap/default.htm)
When running the Struts-Mappin
Hi,
maybe I asked something realy stupid, but how I display user-messages like
"login successfull" on my JSP-Page wich comes from my Action-Class. I know
that I have to use something like that:
ActionMessages messages=new ActionMessages();
messages.add(ActionMessages.GLOBAL_MESSAGE,new
ActionMes
We also had a lot of problems, so we decided to use iPlanet 6.0 (sp1) and
now, after days of frustration with iPlanet 4.1, it works excellent. So.. my
advise, dont use iPlanet 4.1.
Good luck
Frank
-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Verzonde
83 matches
Mail list logo