greetings to all,
Will some body say me how can i create a war file and what is the
significance of a war file.Is it only the war file,that can be specified for
executing with struts,
http://localhost:8080/warfile
is there any other way,other than war file.
Thank you in advance..
with
Hi,
somewhere in the mail-archives you will find a similar question (and answers...)
- JRun 3.0 does not completely comply to the specifications for JSP1.1. JRun 3.1 seems
to be better...
hope this helps
Alexander
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
From: Sean Owen [EMAIL PROTECTED]
Subject: RE: submitting a form on html:link
I've dealt with this by using javascript. You can use javascript to submit
the form, and additionally, set some hidden form property (maybe
action).
Then the Action class can check the value of this property and
Hello Ciju,
Look at this link for your question:
http://forum.java.sun.com/thread.jsp?forum=45thread=81698
Monday, November 12, 2001, 10:24:04 AM, you wrote:
CK greetings to all,
CK Will some body say me how can i create a war file and what is the
CK significance of a war file.Is it only the
How can I define subforms and how do I use them ?
Thanks !
-Ursprüngliche Nachricht-
Von: Burr Sutter [mailto:[EMAIL PROTECTED]]
Gesendet: Samstag, 10. November 2001 02:39
An: Struts Users Mailing List
Betreff: Re: Adding ActionErrors to ActionErrors
Since you are calling the validate
Hi,
we are using JB5, Tomcat 3.2.1 (coming with JB5) Struts 1.0 and Davids
Validator (the documented version is from July...) and it works flawlessly.
hope this helps
Alexander
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 10, 2001 3:05
This is wrong. You are only assignment ArrayList element thats refer to
the same object instance `strMenu'.
What you need to do is
ArrayList alMenu = new ArrayList();
String strMenu[] = new String[2];
strMenu[0] = Tenant Information;
strMenu[1] =
Hi,
the war-file is another name for a special ZIP-file used for J2EE deployment.
- how do I create one:
- use jar and rename resulting file to *.war
- use a zip-tool and rename resulting file to *.war
- other ways to deploy/run struts-applications
- check with your servlet-engine
-
Ted
The html:options should look for a collection in the actionForm.
I have placed collections ArrayList for drop down selection in the
action form themselves. For example I have accessor / mutator
ArrayList getCurrencyOptions(), and setCurrencyOptions( ArrayList ).
[Those of us who work in
*DESIGN FLAW*
Yep! You're quite right. If you want to build descendant ActionForms extend
base ActionForm class you will to iterate through ActionError and add
each one individually. Doh!
Or you can provide, for now, a special convenience method that
adds to ActionErrors lists together and
hello all,
I have a form, in which some of the fields should be populated by default
when the form is displayed to the user.
These values are available from an ejb.
Is it OK, if I have an class which derives from ActionForm to contact an ejb
and get default values? or should i keep these
Hello All,
Another new-bie question.
I have a html form that has a drop down box. When writing the Form object
for this html form what should be the data type of the property which
represents this field of the html-form?
should it be a string or a collection type like ArrayList.(as the drop
Hi Randy,
This is a *feature* of WTE under VAJ. The solution has been posted before.
Snippet included below (see
http://www.mail-archive.com/struts-user@jakarta.apache.org/ for previous
posts):
Try editing the Struts class org.apache.struts.taglib.html.FormTag.doEndTag
// Remove the page scope
Peter
When you say collectionProperty - defines the property name of the
actionForm..., do you mean defines the property name *on* the action form
This is exactly what I thought would have been intuitive, since all the
other attributes are stored on the actionForm.
The only way I managed to
You need to read the article that explains the whole object relational
mapping paradigm that is used in xmldbms. It is quite ingenious. This will
explain why there are so many fields created to reperesent the xml data in a
relational database. The link to the article is:
The following resources make 404:
http://jakarta.apache.org/struts/userGuide/resources/*.htm
Struts .. in Rose by Emmanuel.Boudrant - Use Struts with the Rational Rose UML model.
Multi-Controller by Sukachevin, Stoehr - Use more than once ActionServlet in your
Struts application
Hi,
we just migrated from WLS 6.0 to WLS 6.1sp1 and discovered that we are no
longer able to log out from our web application. We use a LogoutAction that
calls session.invalidate() and then forwards to the home page, which leads
to a new user authentication (we secured all *.do-URLs). That
When you use a /login.do -- the Servlet appends the absolute path of
web-apps Root directory to the page so the page will be referred from there.
When you use a login.do -- The servlet will refer it to from the path where
your referring page exists.
This might not work if the web.xml tells
According to the setup instructions on David's site, we need to only add
the dist/Struts_Validator-{date}.jar and version 1.2 of the Jakarta
Regular Expression Package to /WEB-INF/lib. I setup two additional JB5
libraries to point to these jars and included them in my project.
However, when
Hi,
I need help on making the connection pooling work with struts.
I downloaded the Trial version of DB2 V7.2 Enterprise edition for Linux
(I'm running RedHat 7.1) , Orion JSP server, Struts.
This is the error I get when I try to use a connection :
SQLException: [IBM][CLI Driver][DB2/LINUX]
Thanks for your help, Burr. Today I'm going to be stripping out everything
but the html: tags and try to figure out which ones are taking so long
to compile/load. We are currently using Tomcat but I have not yet tried the
code using Orion. Unfortunately I don't think we can hand out the
Hi
I've just read the exVerify user guide. It specifies that ezVerify tags
should enclose html tags. Do these tags still work if they enclose
struts tags?
Thanks
Peter
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
I ran our code within Orion and, with some tweeks to the HTML and JSP code,
it compiled and ran a lot faster than Tomcat. I ran the new, tweeked HTML and
JSP code using Tomcat but it was still slow to respond.
I am getting an HTTP 500 error message from Orion though when I have the
If I have a directory structure that looks like:
\MyApps\mywar\WEB-INF\lib
I will use something like:
jar -cvf my.war -C mywar .
executed from the MyApps directory. Note the space between mywar and .
The jar.exe ships with the JDK. The key thing is making sure the paths in the
resulting war
Hi,
as I never had to download something from jakarta-commons... this sounds as
if you have a version that's beyound what I use.
I have Struts 1.0 (the packaged up release), and the validator package as
indicated by this remark on David's site:
Note: The 7/2/2001 release is the last release
If you haven't got a reply yet, you will need a jaxp
1.1 compliant parser. Easiest thing is to use xerces
and get rid of jaxp.jar crimson.jar and parser.jar or
equivalent.
I am pretty sure about this, but I may be confusing
tiles and the validator.
Sandeep
--- Tony Li [EMAIL PROTECTED] wrote:
Does anyone know if and how Struts runs on Oracle Application Server? I
have an application that was written against Tomcat but has to be deployed
on Oracle App Server. The things I am seeing as I try to deploy this have
me concerned.
Thanks
Roger Davis
--
To unsubscribe, e-mail:
You can use jakarta-ant to automate this process as
well. This will eventually save you time, because you
won't be making any mistakes.
my .2 cents.
Sandeep
--- Adriano Labate [EMAIL PROTECTED] wrote:
Hi,
I use the jar command:
jar cf ..\regbl-app.war .
to create a regbl-app.war web
Do you have the html:base/ tag on your pages?
How big are you new compiled classes in Tomcat vs Orion? what kind of
timing were you getting?
thanks.
-Original Message-
From: John Nikolai [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 12, 2001 1:32 PM
To: Struts Users Mailing List
The reason I worry about saving the action variable in an instance variable
is that
the value should be null before performForward is called.
Since the user of StrutsTestCase class will write his own setup up, old
actionForward values could will be left.
Also I do not think the setActionPath
Help,
I can't figure out how to structure this. I am trying to make a dynamic
program that updates fields in a table. Essentially the program should work
as follows:
A user logs in. I get a list of objects that they can modify. For each
object I get a list of tables. For each table I populated
Hello:
Has anyone been able to get Tomcat 4.0 and VAJ running?? I am new to Struts
and I have it up and running with Tomcat 3.2 and VAJ 3.2 . I'd like to get
Struts up and running with Tomcat 4.0 and VAJ if it's possible.
Any help is greatly appreciated
You can populate a form with property of any object within object
by multiple bean:define. But your form should have defined with
some properties.
I am sure you can't have form with dynamic properties (Created at run time).
-Original Message-
From: Alex Colic [mailto:[EMAIL
In my opinion, prepopuplation of form elements should be handled outside the
form - I think the ActionForm objects should be relatively light.
I've typically seen prepopulation handled in the Action which forwards to the
JSP... you might have a ViewMyPageAction class which instantiates the
1. Put the jsp page under the WEB-INF directory and it shouldn't be
accessible except through your application. There was recently a thread
about this, but I don't have the details handy.
2. try runProduction.do with a capital P, it IS case sensitive.
good luck,
Rob
-Original
Rob,
Thanks a bunchAs soon as I sent the email, I realized the url was wrong. I'll
check into that thread about placing the JSP under the WEB-INF.
Brian
--- Nocera, Robert [EMAIL PROTECTED] wrote:
1. Put the jsp page under the WEB-INF directory and it shouldn't be
accessible except
This is the way I've handled default values as well. Since the action class has access
to the form you can simply call the setThis and setThat methods directory from the
action class.
Burr
[EMAIL PROTECTED]
--
Sent via jApache.org
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For
Does anyone know if Weblogic 6.1 allows action forwards to jsp pages placed
below WEB-INF? I know the Weblogic 6.0 does not, but I have never tried on
6.0
Thanks.
Mauro
-Original Message-
From: Barry Glasco [mailto:[EMAIL PROTECTED]]
Sent: 12 November 2001 13:50
To: Struts Users Mailing
Hi,
I would like to display HTML information from XML Data build on DB Access
using XSL. I found how to use Xalan to define 2 Source (XML XSL), call
transform et put it in response:
response.setContentType(text/html; charset=UTF-8);
// Output goes in the response stream.
PrintWriter out =
You need to ftp the archive in binary format.
-Original Message-
From: Shamdasani Nimmi-ANS004 [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 08, 2001 3:10 PM
To: struts-user@jakarta. apache. org (E-mail)
Subject: What is the good Weblogic version to use with Struts?
Hi,
I will
Ok, i understand that with:
return new ActionForward(mapping.getInput());
i can get back to the calling Page.
First Question:
Should i declare this page via an
input=/here_i_came_from.jsp
entry in the struts-config or does he know where he cames from?
Second Question:
Can U
There is a nice tag library you can use for
transformations.
http://jakarta.apache.org/taglibs/doc/xsl-doc/intro.html
Excerpt from Apply.jsp from the xsl-examples.war:
pThis version of the table was created by loading
the nested content with
an codelt;xsl:includegt;/code action (simulating
Hi,
I have a logic:indexed loop that has a couple of html elements that use the
indexed property. I need to get the current iteration and use that variable
in a JavaScript statement.
Specifically I have a text box that has a JavaScript calendar that when
selected allows a user to select a date.
I believe the original thought was that, looking forward, there will be
more and more support for JavaBeans in development tools, and that
ActionForms will eventually have to interact with drag-and-drop GUIs,
which would need to know what properties the class is ~suppose~ to have
prior to
See
http://www.jguru.com/faq/view.jsp?EID=129333
http://www.jguru.com/faq/view.jsp?EID=129328
At 01:24 pm 12-11-2001 +0400, you wrote:
greetings to all,
Will some body say me how can i create a war file and what is the
significance of a war file.Is it only the war file,that can be
This is also very useful from weblogic documentation center.
http://www.weblogic.com/docs51/classdocs/webappguide.html
-Original Message-
From: John Yu [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 12, 2001 4:22 AM
To: Struts Users Mailing List
Subject: Re: WAR file???
See
Hi,
I've searched the struts-user archives and have not found what I am looking
for. Here is what I am trying to do:
In my action classes, I am forcing a user to log in by checking to see if a
user is logged in before processing the action. If they are not logged in,
they are forwarded to the
According to documentation, html:link href=... takes either a name
of a global forward, an arbitrary href, or a context-rooted page URL. On
the other hand, html:form action=... only allows one type: a URL to
which the form should be submitted.
Is it unreasonable to expect somewhat consistent
I am interested in this too, but I've had no luck in getting it working on
Tomcat 4.0. I've deleted from common/lib crimson.jar, jaxp.jar and parser.jar
and replaced with xerces.jar, xalan.jar, and xalan1compat.jar.
Here's the error I'm getting:
Root Cause:
javax.servlet.jsp.JspException:
Unfortunately not. They were designed so that you could add an extra layer
of validation on the server-side without having to change your existing
HTML. So suppose you've been relying on javascript all this time for a
sign-up form. You can now surround those html tags with ezVerify tags and
Fyodor,
Maybe I misunderstood what you said...
The action path specified in html:form action=.. is already a logical
path which is defined in action path=.. in the struts-config.xml.
At 05:29 pm 12-11-2001 -0600, you wrote:
According to documentation, html:link href=... takes either a name
Is there any documentation anywhere on how to use SSL with struts ?
and does Struts support 128 bit encryption.
--Rakesh
Hi,
What's a good approach for incremental code change / compile / test that
people would recommend? I'm a part time developer and to date have been
just using the following -:
- JSPs (leave in actual test area - as they get auto compiled)
- JAVA files - modify in dev area (note pad)
Greetings to all,
I'd already send this problem but I couldn't find any pointers towards.
I have problem of taking the user to a particular section of page, while
loading it thru struts.
Problem Description:
I have got a parent page with many sections all canned text.
Each section has separate
But the problem is that my xml is not in a file, it should be created by a
jsp page invoked.
-Original Message-
From: David Winterfeldt [mailto:[EMAIL PROTECTED]]
Sent: lundi 12 novembre 2001 23:11
To: Struts Users Mailing List
Subject: Re: JSP used to convert xml to html applying XSL
55 matches
Mail list logo