RE: Help on struts

2004-03-26 Thread Shoaib
Thanks for your guidance.
You are right , we are in the case where user will come back from search
page.
I will try as you suggested and give feedback.
 
Regards
Shoaib
 
 
 
I guess the first thing to consider is what you mean by "come back to
the
previous page".
Do you just mean have the user redirected back to that url when they
have
finished playing with the search? or is it more complex. For example the
previous page is a form, and they are halfway through filling it in when
they need to search, and on completion need to take up where they left
off
with filling it in?
 
In the first case the easiest way (Im assuming there are multiple places
that send you to the search page) might be to have the link to the
search
page add a parameter to the url containing the name of an ActionForward
that
will take the user back to this page.
 
The search page can make note of this forward name, and when the user is
finished searching can look it up and return it as the forward from the
searchs action.
 
-Original Message-
From: Shoaib [mailto:[EMAIL <mailto:%5bEMAIL>  PROTECTED]
Sent: Saturday, 13 March 2004 14:01
To: 'Struts Users Mailing List'
Subject: Help on struts
 
 
We are using struts 1.1.
 
We have some pages where user is going to have some search icon and if
user clicks on that then he will move to search page where he can search
the value and then come back to the previous page.
 
Can somebody please give some idea how to do it.
 
Regards
Shoaib
 


RE: Help on struts

2004-03-13 Thread Andrew Hill
I guess the first thing to consider is what you mean by "come back to the
previous page".
Do you just mean have the user redirected back to that url when they have
finished playing with the search? or is it more complex. For example the
previous page is a form, and they are halfway through filling it in when
they need to search, and on completion need to take up where they left off
with filling it in?

In the first case the easiest way (Im assuming there are multiple places
that send you to the search page) might be to have the link to the search
page add a parameter to the url containing the name of an ActionForward that
will take the user back to this page.

The search page can make note of this forward name, and when the user is
finished searching can look it up and return it as the forward from the
searchs action.

-Original Message-
From: Shoaib [mailto:[EMAIL PROTECTED]
Sent: Saturday, 13 March 2004 14:01
To: 'Struts Users Mailing List'
Subject: Help on struts


We are using struts 1.1.

We have some pages where user is going to have some search icon and if
user clicks on that then he will move to search page where he can search
the value and then come back to the previous page.

Can somebody please give some idea how to do it.

Regards
Shoaib


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Help on struts

2004-03-12 Thread Shoaib
We are using struts 1.1.

We have some pages where user is going to have some search icon and if
user clicks on that then he will move to search page where he can search
the value and then come back to the previous page.

Can somebody please give some idea how to do it.

Regards
Shoaib


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



help on struts 1.1 and iplanet AS 6.5

2004-02-14 Thread Adolfo Miguelez
Hi All,

I have developed an Struts 1.1 app under Tomcat. I did not have any problems 
to migrate it to Websphere 5.0, and it worked with no changes. Fine!!!

However, when trying to deploy in an iPlanet Application Server 6.5, it did 
not work. It complaints in many points. For example, I was able to fix the 
ClassLoaders differences, patching Struts as suggested in the following 
message:

http://www.mail-archive.com/[EMAIL PROTECTED]/msg74045.html

using Class.forName() in turn. I made this in 3 or 4 places and I was able 
to make Struts start.

However, it is still complaining in too many places with the custom tags and 
so on.

- Does anyone knows a detailed migration guide on how to patch Struts 1.1 
for iPlanet Application Server 6.5?

I have looked for long but not success, even the install guides from 
Jakarta.

We have this problem before with Websphere 3.5, and after the right patchs 
all worked properly for us, for 2 years. With Websphere 5.0+ we did not need 
path. So probably it was really worthy.

- Could future Struts implementations include some "hole classes", for 
saving container differences, (despite I have read that Struts is made 
according to specs and not implementations). Being closer to real world 
(i.e. iPlanet, Websphere, Weblogic.) is remove obstacles for Struts 
assumption.

I really like Struts, but I would not like to quit using it since some 
containers are not compatibles and finding or working out patches is a long 
time consuming task, loosing one of the advantages of using struts.

As usually, the worst side, managers get unconfident when they see something 
fail, they are not able to evaluate why, and I got troubles in this ocassion 
making explanations.

Any help would be appreciated,

Adolfo Rodriguez.

_
Add photos to your messages with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Help on Struts- Tiles Tab

2003-10-20 Thread Lim Huat Heng
Yann Lebreton:
Thanks for replying my mail. Really appreciate your help. However, I
tried to add in the class part of items but I still get the same result- my
list is still null. Do you think it's because of Struts versioning problem?

- Original Message -
From: "Yann Lebreton" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, October 17, 2003 3:08 AM
Subject: RE: Help on Struts- Tiles Tab


I believe you forgot the class part of your items:

should be
  
  
  
  


  
  



-Original Message-
From: Lim Huat Heng [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 14, 2003 8:50 PM
To: [EMAIL PROTECTED]
Subject: Help on Struts- Tiles Tab


To anyone who may advise:
  I have written the following in my tiles-defs.xml and I am using Tomcat
5.0.9 with Struts 1.0x.

 http://jakarta.apache.org/struts/dtds/tiles-config.dtd";>


  




  

  
  
  

  
  
  
  

  
  
  

  
  
  
  
  


  
  


When I try to run my jsp page, I found that the tabList is null. Could
anyone advise what has been wrong and how should I resolve this problem?
Thanks in advance.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Help on Struts- Tiles Tab

2003-10-16 Thread Yann Lebreton
I believe you forgot the class part of your items:

should be 
  
  

  


  
  



-Original Message-
From: Lim Huat Heng [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 14, 2003 8:50 PM
To: [EMAIL PROTECTED]
Subject: Help on Struts- Tiles Tab


To anyone who may advise:
  I have written the following in my tiles-defs.xml and I am using Tomcat 5.0.9 with 
Struts 1.0x.
  
 http://jakarta.apache.org/struts/dtds/tiles-config.dtd";>

  
  




  
  
  
  
  
  
  
  
  
  
  
  
  
  

  
  
  

  


  
  


When I try to run my jsp page, I found that the tabList is null. Could anyone 
advise what has been wrong and how should I resolve this problem? Thanks in advance.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Help on Struts- Tiles Tab

2003-10-14 Thread Lim Huat Heng
To anyone who may advise:
  I have written the following in my tiles-defs.xml and I am using Tomcat 5.0.9 with 
Struts 1.0x.
  
 http://jakarta.apache.org/struts/dtds/tiles-config.dtd";>

  
  




  
  
  
  
  
  
  
  
  
  
  
  
  
  

  
  
  

  


  
  


When I try to run my jsp page, I found that the tabList is null. Could anyone 
advise what has been wrong and how should I resolve this problem? Thanks in advance.


Re: Help on Struts Id

2002-06-26 Thread Craig R. McClanahan



On Wed, 26 Jun 2002, Chandra Sekharan Bhaskaran wrote:

> Date: Wed, 26 Jun 2002 17:55:51 +0530
> From: Chandra Sekharan Bhaskaran <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>,
>  [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Help on Struts Id
>
> How to use styleId in struts for css
> rgds
> Bhaskaran
>

It's pretty simple -- the "styleId" attribute on a Struts tag generates an
"id" attribute on the resulting HTML element, which you can use in
stylesheets in the usual way.  The reason this was called "styleId" in the
first place is that "id" is a reserved attribute name in JSP 1.1.

Craig



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Help on Struts Id

2002-06-26 Thread Chandra Sekharan Bhaskaran
Title: Message



How to use styleId 
in struts for css
rgds
Bhaskaran

**Disclaimer


Information contained in this E-MAIL being proprietary to Wipro Limited
is 'privileged' and 'confidential' and intended for use only by the
individual or entity to which it is addressed. You are notified that any
use, copying or dissemination of the information contained in the E-MAIL
in any manner whatsoever is strictly prohibited.


*



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 


RE: Help on struts on Unix.

2001-05-02 Thread Michael Wang
Title: RE: Help on struts on Unix.






Thanks, that is the problem.
I kill the process which is running on background.


However when I use "shutdown.sh", it does not shutdown the process.
I will post if I find out what is going on.


--Michael


-Original Message-
From: shunhui zhu [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 01, 2001 6:54 PM
To: [EMAIL PROTECTED]
Subject: Re: Help on struts on Unix.



It seems you have another copy of Tomcat running, you
may want to type "ps" to see the processes, and kill
the old one. Or type "shutdown.sh" to shutdown the old
Tomcat.


Shunhui


--- Michael Wang <[EMAIL PROTECTED]> wrote:
> 
> On Unix, when I started tomcat by typing startup.sh,
> I got following errors:
> What I did were 
> 1. install tomcat
> 2. start tomcat, test tomcat example, work fine.
> 3. install struts. 
> 4. export struts-example.war, start tomcat, got
> error.
> 
> The same procedure is working fine with WinNT.  I do
> not know whether I need
> to set up something else on UNIX.
> Thanks for any help.
> 
> -Michael
> 
> Pop org.apache.struts.action.ActionMapping
> register('-//Apache Software Foundation//DTD Struts
> Configuration 1.0//EN',
>
'jar:file:/devel/slinky/mwang/java/tomcat/lib/struts.jar!/org/apache/struts/
> resources/struts-config_1_0.dtd'
> register('-//Sun Microsystems, Inc.//DTD Web
> Application 2.2//EN',
>
'jar:file:/devel/slinky/mwang/java/tomcat/lib/struts.jar!/org/apache/struts/
> resources/web-app_2_2.dtd'
> register('-//Sun Microsystems, Inc.//DTD Web
> Application 2.3//EN',
>
'jar:file:/devel/slinky/mwang/java/tomcat/lib/struts.jar!/org/apache/struts/
> resources/web-app_2_3.dtd'
> resolveEntity('-//Sun Microsystems, Inc.//DTD Web
> Application 2.2//EN',
> 'http://java.sun.com/j2ee/dtds/web-app_2_2.dtd')
>  Resolving to alternate DTD
>
'jar:file:/devel/slinky/mwang/java/tomcat/lib/struts.jar!/org/apache/struts/
> resources/web-app_2_2.dtd'
> Call
>
org.apache.struts.action.ActionServlet.addServletMapping(action/java.lang.St
> ring,*.do/java.lang.String)
> FATAL:java.net.BindException: Address already in use
> java.net.BindException: Address already in use
> at
> java.net.PlainSocketImpl.socketBind(Native Method)
> at java.net.PlainSocketImpl.bind(Unknown
> Source)
> at java.net.ServerSocket.(Unknown
> Source)
> at java.net.ServerSocket.(Unknown
> Source)
> at
>
org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(DefaultServerS
> ocketFactory.java:97)
> at
>
org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java
> :239)
> at
>
org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnector.java:188)
> at
>
org.apache.tomcat.core.ContextManager.start(ContextManager.java:527)
> at
>
org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)
> at
>
org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
> 
> 



__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/





Re: Help on struts on Unix.

2001-05-01 Thread shunhui zhu

It seems you have another copy of Tomcat running, you
may want to type "ps" to see the processes, and kill
the old one. Or type "shutdown.sh" to shutdown the old
Tomcat.

Shunhui

--- Michael Wang <[EMAIL PROTECTED]> wrote:
> 
> On Unix, when I started tomcat by typing startup.sh,
> I got following errors:
> What I did were 
> 1. install tomcat
> 2. start tomcat, test tomcat example, work fine.
> 3. install struts. 
> 4. export struts-example.war, start tomcat, got
> error.
> 
> The same procedure is working fine with WinNT.  I do
> not know whether I need
> to set up something else on UNIX.
> Thanks for any help.
> 
> -Michael
> 
> Pop org.apache.struts.action.ActionMapping
> register('-//Apache Software Foundation//DTD Struts
> Configuration 1.0//EN',
>
'jar:file:/devel/slinky/mwang/java/tomcat/lib/struts.jar!/org/apache/struts/
> resources/struts-config_1_0.dtd'
> register('-//Sun Microsystems, Inc.//DTD Web
> Application 2.2//EN',
>
'jar:file:/devel/slinky/mwang/java/tomcat/lib/struts.jar!/org/apache/struts/
> resources/web-app_2_2.dtd'
> register('-//Sun Microsystems, Inc.//DTD Web
> Application 2.3//EN',
>
'jar:file:/devel/slinky/mwang/java/tomcat/lib/struts.jar!/org/apache/struts/
> resources/web-app_2_3.dtd'
> resolveEntity('-//Sun Microsystems, Inc.//DTD Web
> Application 2.2//EN',
> 'http://java.sun.com/j2ee/dtds/web-app_2_2.dtd')
>  Resolving to alternate DTD
>
'jar:file:/devel/slinky/mwang/java/tomcat/lib/struts.jar!/org/apache/struts/
> resources/web-app_2_2.dtd'
> Call
>
org.apache.struts.action.ActionServlet.addServletMapping(action/java.lang.St
> ring,*.do/java.lang.String)
> FATAL:java.net.BindException: Address already in use
> java.net.BindException: Address already in use
> at
> java.net.PlainSocketImpl.socketBind(Native Method)
> at java.net.PlainSocketImpl.bind(Unknown
> Source)
> at java.net.ServerSocket.(Unknown
> Source)
> at java.net.ServerSocket.(Unknown
> Source)
> at
>
org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(DefaultServerS
> ocketFactory.java:97)
> at
>
org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java
> :239)
> at
>
org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnector.java:188)
> at
>
org.apache.tomcat.core.ContextManager.start(ContextManager.java:527)
> at
>
org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)
> at
>
org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
> 
> 


__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/



Re: Help on struts on Unix.

2001-05-01 Thread Paul Tindall
Title: Help on struts on Unix.



Michael,
 
You probably didn't shut down the first instance of 
tomcat after step 2.  I'm not familiar with the specifics of tomcat, but 
there should be a shutdown script.  If not, you will need to manually 
kill the tomcat process.
 
Regards,
 
Paul

  - Original Message - 
  From: 
  Michael 
  Wang 
  To: '[EMAIL PROTECTED]' 
  
  Sent: Tuesday, May 01, 2001 5:33 PM
  Subject: Help on struts on Unix.
  
  On Unix, when I started tomcat by typing 
  startup.sh, I got following errors: What I did were 1. install 
  tomcat 2. start tomcat, test tomcat 
  example, work fine. 3. install struts. 
  4. export struts-example.war, start tomcat, 
  got error. 
  The same procedure is working fine with 
  WinNT.  I do not know whether I need to set up something else on 
  UNIX. Thanks for any help. 
  -Michael 
  Pop 
  org.apache.struts.action.ActionMapping register('-//Apache Software Foundation//DTD Struts 
  Configuration 1.0//EN', 'jar:file:/devel/slinky/mwang/java/tomcat/lib/struts.jar!/org/apache/struts/resources/struts-config_1_0.dtd'
  register('-//Sun Microsystems, 
  Inc.//DTD Web Application 2.2//EN', 'jar:file:/devel/slinky/mwang/java/tomcat/lib/struts.jar!/org/apache/struts/resources/web-app_2_2.dtd'
  register('-//Sun Microsystems, 
  Inc.//DTD Web Application 2.3//EN', 'jar:file:/devel/slinky/mwang/java/tomcat/lib/struts.jar!/org/apache/struts/resources/web-app_2_3.dtd'
  resolveEntity('-//Sun Microsystems, 
  Inc.//DTD Web Application 2.2//EN', 'http://java.sun.com/j2ee/dtds/web-app_2_2.dtd')
   Resolving to alternate DTD 
  'jar:file:/devel/slinky/mwang/java/tomcat/lib/struts.jar!/org/apache/struts/resources/web-app_2_2.dtd'
  Call 
  org.apache.struts.action.ActionServlet.addServletMapping(action/java.lang.String,*.do/java.lang.String) 
  FATAL:java.net.BindException: 
  Address already in use java.net.BindException: Address already in use     at 
  java.net.PlainSocketImpl.socketBind(Native Method)     at 
  java.net.PlainSocketImpl.bind(Unknown Source)     at 
  java.net.ServerSocket.(Unknown Source)     at 
  java.net.ServerSocket.(Unknown Source)     at 
  org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:97) 
      at 
  org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java:239) 
      at 
  org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnector.java:188) 
      at 
  org.apache.tomcat.core.ContextManager.start(ContextManager.java:527) 
      at 
  org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)     at 
  org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235) 



Help on struts on Unix.

2001-05-01 Thread Michael Wang
Title: Help on struts on Unix.






On Unix, when I started tomcat by typing startup.sh, I got following errors:
What I did were 
1. install tomcat
2. start tomcat, test tomcat example, work fine.
3. install struts. 
4. export struts-example.war, start tomcat, got error.


The same procedure is working fine with WinNT.  I do not know whether I need to set up something else on UNIX.
Thanks for any help.


-Michael


Pop org.apache.struts.action.ActionMapping
register('-//Apache Software Foundation//DTD Struts Configuration 1.0//EN', 'jar:file:/devel/slinky/mwang/java/tomcat/lib/struts.jar!/org/apache/struts/resources/struts-config_1_0.dtd'

register('-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN', 'jar:file:/devel/slinky/mwang/java/tomcat/lib/struts.jar!/org/apache/struts/resources/web-app_2_2.dtd'

register('-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN', 'jar:file:/devel/slinky/mwang/java/tomcat/lib/struts.jar!/org/apache/struts/resources/web-app_2_3.dtd'

resolveEntity('-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN', 'http://java.sun.com/j2ee/dtds/web-app_2_2.dtd')

 Resolving to alternate DTD 'jar:file:/devel/slinky/mwang/java/tomcat/lib/struts.jar!/org/apache/struts/resources/web-app_2_2.dtd'

Call org.apache.struts.action.ActionServlet.addServletMapping(action/java.lang.String,*.do/java.lang.String)
FATAL:java.net.BindException: Address already in use
java.net.BindException: Address already in use
    at java.net.PlainSocketImpl.socketBind(Native Method)
    at java.net.PlainSocketImpl.bind(Unknown Source)
    at java.net.ServerSocket.(Unknown Source)
    at java.net.ServerSocket.(Unknown Source)
    at org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:97)
    at org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java:239)
    at org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnector.java:188)
    at org.apache.tomcat.core.ContextManager.start(ContextManager.java:527)
    at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)
    at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)





Help On struts-config.xml

2001-01-08 Thread Hee Meng, Poh

Hi,

Anyone has been able to use struts-config.xml w/o encountering problems like
the following :

> Root cause is; java.net.NoRouteToHostException: Operation timed out: no
> further information
>  at com.sun.xml.parser.Parser.fatal(Parser.java:2817)
>  at com.sun.xml.parser.Parser.externalParameterEntity(Parser.java:2506)
>  at com.sun.xml.parser.Parser.maybeDoctypeDecl(Parser.java:1137)
>  at com.sun.xml.parser.Parser.parseInternal(Parser.java:481)
>  at com.sun.xml.parser.Parser.parse(Parser.java:284)
>  at javax.xml.parsers.SAXParser.parse(SAXParser.java:155)
>  at javax.xml.parsers.SAXParser.parse(SAXParser.java:77)
>  at org.apache.struts.digester.Digester.parse(Digester.java:708)
>  at
>
org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1207)
>  at org.apache.struts.action.ActionServlet.init(ActionServlet.java:421)
>  at javax.servlet.GenericServlet.init(GenericServlet.java)
>  at com.evermind.server.http.HttpApplication.wo(JAX)
>  at com.evermind.server.http.HttpApplication.v6(JAX)
>  at com.evermind.server.http.HttpApplication.wh(JAX)
>  at com.evermind.server.http.HttpApplication.vs(JAX)
>  at com.evermind.server.http.HttpApplication.(JAX)
>  at com.evermind.server.Application.ue(JAX)
>  at com.evermind.server.http.ej.ue(JAX)
>  at com.evermind.server.http.ei.na(JAX)
>  at com.evermind.server.http.ed.sp(JAX)
>  at com.evermind.server.http.ed.so(JAX)
>  at com.evermind.util.f.run(JAX)
> 1/9/01 8:55 AM web: 1.3.8 Started
> 1/9/01 8:55 AM web: org.apache.struts.action.ActionServlet: Finalizing
this
> controller servlet

I am trying to create a web app using Struts in Orion App Server and am
having problem loading
the ActionServlet

THanks for any help.

Regards