Hi,
The tomcat list is very friendly (o:
but for now...
do the log files say anything useful?
is this a fresh install of tomcat? do the examples work?
which jdk are you using?
I have no idea about any solaris related issues, but if you're getting
problems like this I'd be inclined to do a f
I'm out of ideas. I do see posts about solaris and tomcat on the tomcat
lists, but dont pay attention sorry (o: be worth checking the archives first
though (o:
cheers
dim
On Tue, 3 Jul 2001 17:16, you wrote:
> its a completely fresh install of both solaris and tomcat...
>
> the jdk is 1.2.2
Hi ,
I Was going through "Forward into the Past! (or
a brief history of Struts)" link at http://husted.com/about/struts/overview.htm
" In a database application, the business-logic beans might connect to and
query the database and return the result set back to the action's servlet ... to
b
Hi, Can any one confirm if it is feasiable to create a classes file
at tomcat's level along with ,bin ,conf src ,work ,doc's etc etc .Thus
according to the tomcat's doc's Any class that you add to this dir will
find it's place in tomcat's classpath. Thus will this been seen as i was
under the imp
Hi Suhas,
Yes your approach seems fine. A form bean
in struts is a bean that extends ActionForm and is used in HTML forms to
capture and validate user input. This bean is then passed to an Action class
for processing. The action class can either store
results in the form bean or a valu
Hi Suhas,
You might try something like this:
HttpSession session = request.getSession();
If (session !=
null)
{
id = session.getId();
}
Hope this helps,
Jon.
-Original Message-
From: suhas
[mailto:[EMAIL PROTECTED]]
Sent: 03 July 2000 12:28
To: [EM
I
think the key name should be jSessionid according to the Servlet
spec.
Regards
-Original Message-From: Jon.Ridgway
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, July 03, 2001 9:46
AMTo: [EMAIL PROTECTED]Subject: RE:
question in user state management using Session
Hi Su
Hi, here is a copy of my clipboard.
Cheers Chuckie
WEB-INF/classes/org/breconbeacons/it/ActionMapping.java [66:1] Class
ActionMapping not found in type declaration or import.
import org.apache.struts.action.ActionMapping;
^
WEB-INF/classes/org/breconbeacons/it/Acti
Hi All!
How does struts support if i want to render my pages to different devices
other than browser, for example a WAP device??
thanks,
aysen
DISCLAIMER: This e-mail contains Proprietary information some or all of
which may be legally privileged. It is for the intended recipient only. If
an
Hallo,
I am a new-bie and have installed struts 1.0 with Tomcat 3.2.2 and Apache.
I followed any instructions in the installations (tomcat-apache.conf
a.s.o). But when trying to run an example like
struts-exercise-taglib/html-link.jsp and and try any of the links the
message is "page-not-found" /
Basic Q, I have concluded that Web Applications handlers must reside in
one of the following standard locations for java classes:-
1) in a JAR file in the WEB-INF\l ib dir.
2) in a dir in the \WEB-INF\ classes dir.
3) checked xml file for the necessary tld's look ok (pls state any
ambiguous code/
Hi Thomas,
My mod_jk.conf file looks like this:
LoadModule jk_module /usr/lib/apache/1.3/mod_jk.so
JkWorkersFile /usr/local/java/jakarta-tomcat-3.2.1/conf/workers.properties
JkLogFile logs/jk.log
JkLogLevel warn
JkMount /*.jsp ajp12
JkMount /*.do ajp12
JkMount /servlet/* ajp12
And in httpd
Hi all,
Quick question, how do I manage to align the text
in a html:textbox to the right?
A html input type text tag has align=right or
similar, anyway to do this in struts?
Thanks, Joel.
Hi!
I have a problem accessing the InitialContext in the action classes. I'm
using struts blank with ejb and when I lookup the ejb they cant be
found! The enviroment returns an empty Context..
..code from an Action class..
Context ctx = new InitialContext();
Obje
I have the following in my action class and it works
fine:
InitialContext ctx = new InitialContext();
WorkProfileManagerHome home = (WorkProfileManagerHome)
ctx.lookup( WorkProfileManagerHome.CLASS_CTX );
WorkProfileManager workProfile = home.create();
// Populate the DO from Session Bean
It looks as though there is problem in the specifying the name of the bean
to look for -"java:comp/env/ejbUserManagement"
first of all I think u can reference a bean using
"java:comp/env/ejb/userManagement" only inside the another bean code
For u to access the bean out side - give "userManagem
Hi, pls could anyone confirm the ActionMappings package & ActionForward
package name within WBE-INF\classes\. dir as im lead to believe this
might be the cause of my problems.
Chuck Amadi wrote:
>Part 1.1Type: Plain Text (text/plain)
>Encoding: 8bit
--
The views expressed by
I'm deploying some struts-apps on SilverStream 3.7 (don't ask...) but
the logic:present and logic:notPresent tags die if the
object-that-I-want-to-check-for is not present. This same app works,
without modification under WebLogic 5.1 and 6.0. Here is the error I get
when hitting a page wit
sorry I did not see ur descriptor file
Try finding bean using name " ejbUserManagment" instead of
"java:comp/env/ejbUserManagement" .
Also
ejbUserManagement
Session
com.maskina.mcstudio.model.persistance.UserManagementHome
com.maskina.mcstudio.model.persistance.UserManagementRemote
does not
The problem I reported to the list the other day (that error) in JBoss 2 w/
Tomcat 3.2b7 is actually the same issue as this. Granted, I haven't actually
tested this in WebSphere, but it is the same issue and others have tried it
with success IIRC.
Anyway, the problem is (as others have previous
Hi,
Does anyone how can we use entity / session with struts or any reading
material for that
Thanks
Mahesh
Well, one problem I see is that your class is
declared as ApplicationMapping and the name of your .java file is
ActionMapping.java. Either change the class declaration or rename the java
file. If that doesn't fix your other problems, then it means that javac
can't find the struts libraries
Hi, pls can some one confirm the package name for ActionMappings as i
recieve the following error.
I am aware that i have the incorrect package thus were does ActionMappings
reside.
Cheers Chuck
WEB-INF/classes/logon/LogonForm.java [70:1] Class ActionMapping not found
in type declaration or impo
Newbie question...
I need to have a table where each row will have multiple input fields
and these fields make up a single record of information. I do not
know before I generate the table how many rows it will have. When the
user modifies this table and sends it back, struts will want to make
an
Try HttpServletRequest.getCookies()
Calvin
- Original Message -
From:
suhas
To: [EMAIL PROTECTED]
Sent: Tuesday, July 03, 2001 9:15
AM
Subject: Re: question in user state
management using Session
Thanks Jon but I want some more
clarification .
I just
Title: How to keep the same credential in the new thread
This is not a direct Struts question. But I will go ahead ask:
I am using WebLogic 6.0 on Sun Solaris. I have my servlet be protected by RDBMS realm. When the servlet is invoked, it will
spawn a new thread. However, this new thread get
I tried to get this working this morning without success.
When I try and run the project, I get a pop-up error "!instance of JarDataObject". Any
ideas?
Under my project, I added "servlet.jar", "clasess111.jar" (for db), "jasper.jar",
"jaxp.jar", "Webserver.jar", "ant.jar", and "parser.jar" (al
It's no different than using session/entity beans anywhere else.
In an action...
ClientServiceManagerHome home =
HomeLocator.getClientServiceManagerHome();
ServiceManager manager = home.create();
((ServiceListForm)form).setServiceModels(manager.findAll());
HomeLocator is just
I just did some more testing (I always seem to gain insight after I
post...) and I discovered that it is the SECOND occurrence of a
present/notPresent on a page that dies. If I have a present that fails, and
then have another present/notPresent, on the same bean or a different bean,
it wil
That is the correct package... Where do you have your struts jar?
Pete
Chuck Amadi wrote:
> Hi, pls can some one confirm the package name for ActionMappings as i
> recieve the following error.
>
> I am aware that i have the incorrect package thus were does ActionMappings
> reside.
> Cheers Chu
Is struts.jar in WEB-INF/lib? If so, check to make sure
ActionMappings.class is in it. The package name is correct, its just that
javac cannot find the struts.jar.
Calvin
- Original Message -
From: "Chuck Amadi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 03, 2001 9
Struts does not necessairly create an ActionForm out of the returned data,
it uses the current one and repopulates it via the property names specified
in your . What you need are indexed properties, see archive.
You'll end up having something like:
throw all this in an iterate tag to iterate ove
Hello,
My errorpage.jsp (which is mentioned as the errorPage directive on
all the jsps) does not show any struts trace if an JspException is thrown by
struts layer..
If I remove the errorpage directive on the problematic jsp, the
stack trace on the console is ..
javax.servlet.jsp
Sadly, it looks like WAS 4.0 is still using a buggy Jasper library, as the
Struts 1.0 Final sample app still complains with the same error.
IBM Marketing apparently doesn't understand what it means to "support" open
standards (http://www7b.boulder.ibm.com/wsdd/products/supportstds.html).
Just sa
servlet.jar should be in ur application root's Web-inf/lib directory
Suhas
- Original Message -
From: Ryan Cornia <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 03, 2001 2:24 PM
Subject: RE: Netbeans Support of Struts
I tried to get this working this morning without suc
Title: Message
Hi!
I have a problem accessing
the InitialContext in the action classes..when i perform
lookup on my ejb's I get this error message...
"Error
instantiating web-app JNDI-context: No location specified and no suitable
instance of the type
'com.maskina.mcstudio.model.persistanc
Cheers for your help, im on it. Also would you have a snippet of
ActionMapping.class.
As i think i've corrected what i had altered previously in a fit of
glory.
Cheers Chuckie
Calvin Yu wrote:
>Part 1.1Type: Plain Text (text/plain)
>Encoding: quoted-printable
--
The views e
Chris,
Would you post that jar to the List? It would be a timesaver for me and
possibly others. Thanks!
George Phillips
[EMAIL PROTECTED]
> -Original Message-
> From: Assenza, Chris [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 03, 2001 8:54 AM
> To: '[EMAIL PROTECTED]'
> Subject: R
I upgraded the jdk to version 1.3.1...solved it
its funny, i've stumbled upon this error in 9-10 different places...but
never associated with a fix
Mikkel
-Oprindelig meddelelse-
Fra: Dmitri Colebatch [mailto:[EMAIL PROTECTED]]
Sendt: 03 July 2001 09:43
Til: [EMAIL PROTECTED]
Em
Hi, the struts jar is in the WEB-INF\lib dir as with all the others.
Cheers Chuck.
By the way have u got a snippet of ActionMappings.class you could mail.
Peter Alfors wrote:
That is the correct package... Where do you
have your struts jar?
Pete
Chuck Amadi wrote:
> Hi, pls can some one confirm
Thank you for responding so quickly as I was about to hit
my head against a wall! Perhaps you could attach that
working version you mentioned I could use? In the
meantime, I'm going to obtain the rest of the software I'll
need in order to compile Struts myself -- just in case.
Thank you so much
Hi yes all my jar files are in WEB-INf\lib.Could you post a snippet of
ActionMappings.class.
As i have located a copy in the struts-example in another application albeit i
can't access it.
Cheers Chuck
Calvin Yu wrote:
> Is struts.jar in WEB-INF/lib? If so, check to make sure
> ActionMappings.c
Hi has anyone got a snippet of ActionMapping Class.So can compare what i
have currently got as i believe this particular class is the one that
causing me a severe headache.
Note Briefly my struts-example wont allow access.
Cheers Chuck.
--
The views expressed by the sender of this message don't
Johann,
Can you show us the code in your action class that
does the EJB lookup?
Should probably look something like...
Properties p = new Properties();
p.put(Context.INITIAL_CONTEXT_FACTORY,
DBConnectionManager.getInstance().JNDI_INITIAL_FACTORY);
p.put(Context.PROVIDER_URL,
DBConnectionManager
Is there any way to compare multiple properties to
a value?
For example:
<%-- Only
show AND if employee number or department name was searched on
--%> ">
AND
Thanks,
Matt
Struts is free, user-supported software and we depend on the advanced
users to help the beginners. A few of us have write access to the Struts
repository, but most of the end-user support, patches, and new
contributions must come from the user community if Struts is to continue
to grow.
Right no
hi all,
i have a vector of vectors and using the
logic:iterate i am able to display properly in a tabular format with the
elements in each inner vector in a row.
now i want to make one particular column to
be hyperlinks.
can anyone give me a hint or point me to an
email???
thanks,
Is it possible to use the notEqual tag to compare
multiple properties to a single value?
I'd like to write code similar to the
following
do something if either
property not equal to ""
Thanks,
Matt
P.S. I figured out my issue below - it was an
iPlanet bug. For value, I used
Are you looking for the ActionMapping class file or java file?
either way, it should be in your download of struts???
Pete
Chuck Amadi wrote:
> Hi yes all my jar files are in WEB-INf\lib.Could you post a snippet of
> ActionMappings.class.
> As i have located a copy in the struts-example in anot
I got the struts-example with standalone Tomcat debugged under Netbean, I'm
trying to use Jboss embedded Tomcat, can I debug ejbs along with jsps?
-Original Message-
From: suhas [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 03, 2001 2:44 PM
To: [EMAIL PROTECTED]
Subject: Re: Netbeans S
Your message was not delivered to all recipients.
Subject: RE: SV: pls Help Invalid Package Declartions .java File Wont
Sent: 7/3/2001 9:29:00 AM
The Microsoft Exchange Connector for Lotus cc:Mail was unable to submit this
message to the Microsoft Exchange Information Store. This
Hi,
I'm facing troubles while attempting to execute classes using Digester
objects outside the struts framework : the error is
"java.lang.LinkageError: Class org/xml/sax/HandlerBase violates loader
constraints", and occurs when I attempt something like
"digester.parse(uri);"
I've tried all foll
Ahh... I think I see what you are trying to do.
You have your own modified version of the AcitonMappings class.
If you want to add classes to the web-inf/classes directory, then you will need to
add the appropriate directory structure
that corresponds to the package. Therefore, make an
web-inf/cl
Hi,
I have Sysadmin page with links to different maintenance
screens. Like this one:
It is working fine, however we want to implement pull-down
menus, written in Java Scripts. If I include geoEntityTypesPage.jsp as
menu[9][1], what should I write in geoEntityTypesPage.jsp to execute
I have a form that is used in a session scope.
It has a boolean attribute (grant) that is set in an by a
item.
I had to put the form in session scope so that it didn't get erased as it
was passed from one step to the other.
The problem is that every time ActionServlet passes the form it calle
We already have a struts-user and struts-dev list.
I doubt a beginner and advanced list would work
because newbies would likely cross-post to both lists
or even go directly to the advanced list because they
think a more advanced readership would be able to help
them.
My only suggestion would be
Sure thing - I already sent it but the list refused it due to its file size.
As an alternative, I'll put it up on my personal FTP space and anyone who
wants it can download it from there! :)
Struts.jar with Form tag modifications: http://www.enfused.com/struts.jar
-Chris
-Original Message-
If you're worried about crossposts, why not call the advanced struts list,
"struts-advanced-unsubscribe"? To unsubscribe, you'd have to send an email
to "struts-advanced-unsubscribe-unsubscribe", which never get it if they did
somehow subscribe.
Nevermind. ;-)
Anthony
-Original Message--
The struts.jar should contain the property file. This is how I fixed
this problem. And check whether the web.xml has the right path to the
property file.
Jyothi
-Original Message-
From: suhas [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 03, 2000 4:09 AM
To: [EMAIL PROTECTED]
Subject: Re
Take a look at this link:
www.distribucon.com/struts/WASInstall.htm
--
Dan Miser
http://www.distribucon.com
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 02, 2001 9:06 AM
Subject: How to use struts with WEBSPHERE
> I try to use struts with WEB
> can I use the tag
in other words can i use an int ?
how about a boolean?
thanks in advance.
Gus
you can compare a property to an int value, but you have to quote it:
-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag
von gdelgado
Gesendet: Dienstag, 3. Juli 2001 21:27
An: [EMAIL PROTECTED]
Betreff: simple question
> can I use the tag
in oth
what features should this service have?
perhaps i can spend some time to develop one or modify an existing.
please propose some.
norman
-Ursprungliche Nachricht-
Von: Ted Husted [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 3. Juli 2001 18:22
An: [EMAIL PROTECTED]
Betreff: Re: proposa
Hello all,
I am trying to fill up an option value in a JSP file using the bean:write
tag.
Below is the code. I have the values present for the property and do not get
any errors, but string written to the option is empty ("").
Could anyone tell me if something else has to be done.
Thanks in advanc
what is we have an index of type int??? how do we refer to it???
means suppose i have <% int index=0; %>
how can i check this with logic:equal
thanks,
rama
- Original Message -
From: "Norman Timmler" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 03, 2001 1:13 PM
Sub
Hi,
I did make your example work, thank you! However, i must admit, that if i
use struts and have to use jsp scriplet code, i think the idea is somehow lost!
By using the index struts extension it is possible to make the same thing work
like below. A little nicer i think
hi michael,
the follwing works for me.
i have a getValue() method in my formbean. where xxx is a setXXX method
which will have the selected item and records is a collection
hope this helps
rama.
- Original Message -
From: "Michael Skariah" <[EMAIL PROTECTE
Hello. I'm trying to use to submit the contents of a form.
The problem is that when I submit the form using , the
ActionForm bean is not populated. My form looks like:
...
{Stuff here}
...
In struts-config.xml, I've defined a global forward mapping from
"sim
Incident Information:-
Originator:"Rama Krishna" <[EMAIL PROTECTED]>
Recipients:<[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
Subject: Re: Logic:Iterate in html:option
Message from "Rama Krishna" <[EMAIL PROTECTED]> was quarantined
because it contained banned content.
Hi,
I've been using the combination of Apache + tomcat 3.x
I've sucessfully installed struts-documentation.war and struts-example.war .
When tested both apps work from www.mysite.com:8080/struts-example/ (tomcat)
and from www.mysite.com/struts-example/ ( apache + tomcat )
But when testing an a
this is my lookup code for the UserManagementBean.
Have also tried
Object homeObject = m_ctx.lookup("java:comp/env/ejbUserManagement");
but it returns class not found exception
my system.out.println("m_ctx.getEnvironment().size() =") prints out
zero or "0"
I hope this will help.
m_
You cannot use a link to submit a form, unless you
call a javascript function from the link. The link
will only submit its parameters to the form bean.
Hope this helps,
Matt
--- Steve A Drake <[EMAIL PROTECTED]> wrote:
> Hello. I'm trying to use to submit the
> contents of a form.
> The prob
Thanks for your reply Matt.
I tried invoking a Javascript function to perform the form submission,
e.g.:
{Stuff here}
but the "forward" attribute overrides the "onclick". If I leave out the
"forward" attribute, the JSP doesn't compile complaining that I need to
us
I am trying to deploy the struts example application (using the
struts-example.war) in Weblogic 5.1 SP9. Everything works fine except that
when I try to save the registration form I got the following error:
Tue Jul 03 15:02:00 MDT 2001:
resolving
taglib uri '/WEB-INF/struts-html.tld' to taglib-
The problem is in mainMenu.jsp, which is the result page that gets routed
to.
You have to change the code to this(mainly use standard jsp syntax to output
the name, otherwise it wouldn't work!):
--
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/app.tld" prefix="app" %>
<%@ ta
I actually went back to weblogic 5.1 sp8 and it works fine, apparently 9 has
quite a few bugs.,
Grant Davies
b l u e t u b e p r o d u c t i o n s
http://www.bluetube.com
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 03, 2001 7:43 PM
To: [EMAIL
Cedric, very briefly tried adding flush="true" to
all tags, resulted in the following
error:org.apache.jasper.JasperException: Attribute
flush invalid according to the specified TLD.
Jon, the browser used is IE5.5, there weren't any
exceptions to the console. I've attached the source for
This same error happens in iPlanet Application Server
6.0 SP2. I haven't found a workaround yet, and it's
supposedly a flaw (bug) in the app server's JSP
container.
Matt
--- Martin <[EMAIL PROTECTED]> wrote:
> Cedric, very briefly tried adding flush="true" to
> all
> tags, resulted in the fol
78 matches
Mail list logo