Dunno . but u can try this.
check ur application's web-inf/lib folder . should have struts.jar in it
Then do not set any classpath to struts.jar using set classpath =
explicitely .
that's what I read in mailing list before
Check this out
Suhas
- Original Message -
From: Debasish
I have the tools.jar in my classpath, and it correctly shows this when i
startup tomcat...
but the problem still remains...
during startup it guesses my JAVA_HOME and TOMCAT_HOME and it comes up with
the right paths...
Im really stuck here...
any suggestions would be welcome!!!
Mikkel
Hi
I want to know the http request header key
-
I'm writing request.getSession(true)in
thejsp. This method in turn might be settting the browser
header key .( dunno exactly name of that key).But I think that header
key is "set-cookie = 12313 " ( this can be the uniquesession id that
its a completely fresh install of both solaris and tomcat...
the jdk is 1.2.2
the servlets examples work, but the jsp examples runs in an infinite loop
during the translation (the last line is added repeatedly)...
I'll try the tomcat lists...
thanks
Mikkel
-Oprindelig meddelelse-
Exactly my opinion as well. If splitting is necessary, some other
split-boundary should be found. Maybe one could try splitting between the
Java-centred part and the HTML-centered part. But this is not convincing to
me.
Guido
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
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
be
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
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
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: [EMAIL
I
think the key name should be jSessionid according to the Servlet
spec.
RegardsMeeraj/
-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
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
Hi Thomas,
My mod_jk.conf file looks like this:
LoadModule jk_module /usr/lib/apache/1.3/mod_jk.so
IfModule mod_jk.c
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/*
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();
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 userManagement
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
sorry I did not see ur descriptor file
Try finding bean using name ejbUserManagment instead of
java:comp/env/ejbUserManagement .
Also
ejb-ref
ejb-ref-nameejbUserManagement/ejb-ref-name
ejb-ref-typeSession/ejb-ref-type
homecom.maskina.mcstudio.model.persistance.UserManagementHome/home
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
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
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
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 (all under
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
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
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 Chuck
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:13
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 html:form. What you need are indexed properties, see archive.
You'll end up having something like:
throw all this in an iterate tag to
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 ..
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
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
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
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]
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
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,
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
--%strutslogic:notEqual
name="resourceForm" property="resourceDO.jdeEmployeeNo,
resourceDO.jdeDepartmentName" value="%=""%"
AND
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
logic:notEqual name="myForm"
properties="property1,property2" value=""
do something if either
propertynot equal to ""
/logic:notEqual
Thanks,
Matt
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
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
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
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
I have a form that is used in a session scope.
It has a boolean attribute (grant) that is set in an html:form by a
html:select/ 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
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
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:
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
can I use the tag logic:equal name=myForm property=MyProperty value=3
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:
logic:equal name=myForm property=MyProperty value=3
-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag
von gdelgado
Gesendet: Dienstag, 3. Juli 2001 21:27
An: [EMAIL PROTECTED]
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:
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
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
Subject:
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
logic:iterate
Hello. I'm trying to use html:link to submit the contents of a form.
The problem is that when I submit the form using html:link, the
ActionForm bean is not populated. My form looks like:
html:form action=simpleQuery.do
...
html:link forward=simpleQuery
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
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_ctx =
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 html:link to submit the
contents of a form.
The
Thanks for your reply Matt.
I tried invoking a Javascript function to perform the form submission,
e.g.:
html:link onclick=performAction(form, 'simpleQuery.do')
forward=simpleQuery
paramId=offset
paramName=resultNavigator
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 %
%@ taglib
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:
Cedric, very briefly tried adding flush="true" to
alltemplate:get ... tags,resulted inthe 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
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
template:get ... tags, resulted
69 matches
Mail list logo