Re: Help with Resources !!

2001-07-03 Thread suhas
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

SV: OFFTOPIC: Solaris and Tomcat problems!

2001-07-03 Thread Mikkel Bruun
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

question in user state management using Session

2001-07-03 Thread suhas
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

SV: SV: OFFTOPIC: Solaris and Tomcat problems!

2001-07-03 Thread Mikkel Bruun
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-

Re: proposal: splitting struts mailing list

2001-07-03 Thread guido . roth
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

Re: SV: OFFTOPIC: Solaris and Tomcat problems!

2001-07-03 Thread Dmitri Colebatch
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

Re: SV: SV: OFFTOPIC: Solaris and Tomcat problems!

2001-07-03 Thread Dmitri Colebatch
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

Question in struts

2001-07-03 Thread suhas
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

Re: help with package struts-classpath

2001-07-03 Thread Chuck Amadi
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

RE: Question in struts

2001-07-03 Thread Jon.Ridgway
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

RE: question in user state management using Session

2001-07-03 Thread Jon.Ridgway
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

RE: question in user state management using Session

2001-07-03 Thread Meeraj Kunnumpurath
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

Re: SV: pls Help Invalid Package Declartions .java File Wont compile

2001-07-03 Thread Chuck Amadi
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

Re: Apache/Tomat do not find any servlet

2001-07-03 Thread Jean-Noel Ribette
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/*

html:text question

2001-07-03 Thread Joel Vogt
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.

Problem with ejb and struts

2001-07-03 Thread joi
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();

Re: Problem with ejb and struts

2001-07-03 Thread Matt Raible
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

Re: Problem with ejb and struts

2001-07-03 Thread suhas
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

Present/NotPresent Blows Up With SilverStream 3.7

2001-07-03 Thread Joey Gibson
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

Re: Problem with ejb and struts

2001-07-03 Thread suhas
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

RE: Struts 1.0 on WebSphere 3.5.4??

2001-07-03 Thread Assenza, Chris
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

EJB with Struts

2001-07-03 Thread Mahesh Bhagia
Hi, Does anyone how can we use entity / session with struts or any reading material for that Thanks Mahesh

Re: SV: pls Help Invalid Package Declartions .java File Wont compile

2001-07-03 Thread Calvin Yu
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.

Re: SV: pls Help Invalid Package Declartions .java File Wont compile

2001-07-03 Thread Chuck Amadi
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

variable number of inputs

2001-07-03 Thread devon . bowen
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

Re: question in user state management using Session

2001-07-03 Thread Calvin Yu
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

RE: Netbeans Support of Struts

2001-07-03 Thread Ryan Cornia
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

Re: EJB with Struts

2001-07-03 Thread Mike Thompson
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

Re: Present/NotPresent Blows Up With SilverStream 3.7

2001-07-03 Thread Joey Gibson
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

Re: SV: pls Help Invalid Package Declartions .java File Wont compile

2001-07-03 Thread Peter Alfors
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

Re: SV: pls Help Invalid Package Declartions .java File Wont compile

2001-07-03 Thread Calvin Yu
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

Re: variable number of inputs

2001-07-03 Thread Mike Thompson
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

No struts trace if JspException is detected by the errorPage directive..

2001-07-03 Thread Suriyanarayanan, Senthil Kumar
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 ..

RE: Struts 1.0 on WebSphere 3.5.4?? (and on WAS 4.0)

2001-07-03 Thread Brugge, John
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

Re: Netbeans Support of Struts

2001-07-03 Thread suhas
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

Problem with sturts and ejb

2001-07-03 Thread joi
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

SOLVED OFFTOPIC: Solaris and Tomcat problems!

2001-07-03 Thread Mikkel Bruun
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]

Re: SV: pls Help Invalid Package Declartions .java File Wont compile

2001-07-03 Thread Chuck Amadi
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

Snippet of ActionMappings.class

2001-07-03 Thread Chuck Amadi
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

Re: Problem with sturts and ejb

2001-07-03 Thread Wayland Chan
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,

NotEqual Tag

2001-07-03 Thread Matt Raible
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

NotEqual Tag to compare multiple properties to a value

2001-07-03 Thread Matt Raible
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

Re: SV: pls Help Invalid Package Declartions .java File Wont compile

2001-07-03 Thread Peter Alfors
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

Can Netbeans debug whole application using JBoss_Tomcat - RE: Netbeans Support of Struts

2001-07-03 Thread Liang Li
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

Undeliverable: RE: SV: pls Help Invalid Package Declartions

2001-07-03 Thread Microsoft Exchange Connector for Lotus cc:Mail
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

LinkageError (using Digetser objects)

2001-07-03 Thread Duffiana Jones
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

Re: SV: pls Help Invalid Package Declartions .java File Wont compile

2001-07-03 Thread Peter Alfors
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

html:select in a session form

2001-07-03 Thread DHarty
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

Re: proposal: splitting struts mailing list

2001-07-03 Thread Wayland Chan
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

RE: Struts 1.0 on WebSphere 3.5.4??

2001-07-03 Thread Assenza, Chris
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

RE: proposal: splitting struts mailing list

2001-07-03 Thread Anthony Martin
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-

RE: Help with Resources !!

2001-07-03 Thread Jyothi Palvai
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: How to use struts with WEBSPHERE

2001-07-03 Thread Dan Miser
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

logic:equal simple question

2001-07-03 Thread gdelgado
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

AW: logic:equal simple question

2001-07-03 Thread Norman Timmler
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]

AW: proposal: splitting struts mailing list

2001-07-03 Thread Norman Timmler
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:

Logic:Iterate in html:option

2001-07-03 Thread Michael Skariah
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

Re: logic:equal simple question

2001-07-03 Thread Rama Krishna
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:

RE: Problems with iterate

2001-07-03 Thread Torsten Terp
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

html:link problem

2001-07-03 Thread Steve A Drake
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

Report to Recipient(s)

2001-07-03 Thread Paladin
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.

Help on making struts with Apache + Tomcat

2001-07-03 Thread Domingo Aguilera
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

RE: Problem with sturts and ejb

2001-07-03 Thread joi
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 =

Re: html:link problem

2001-07-03 Thread Matt Raible
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

Re: html:link problem

2001-07-03 Thread Steve A Drake
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

RE: Struts and Weblogic 5.1

2001-07-03 Thread Simon Liang
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

RE: Struts and Weblogic 5.1

2001-07-03 Thread Grant Davies
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:

Re: Struts Templates Example in VAJ 3.5.3/WTE - Problem

2001-07-03 Thread Martin
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

Re: Struts Templates Example in VAJ 3.5.3/WTE - Problem

2001-07-03 Thread Matt Raible
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