RE: Urgent Websphere and location of Struts-Config.xml file

2002-04-18 Thread subhendukumar mohanty

Windows 2000

-Original Message-
From: Steven Banks [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 1:01 PM
To: subhendukumar mohanty; [EMAIL PROTECTED]
Subject: RE: Urgent Websphere and location of Struts-Config.xml file


On os/390 the value is found in was.conf for the server.   I do not believe this file 
exists on the NT version.  Which platform are you running on?  Mainframe, nt, or Unix?



Steven Banks
368-0566

>>> "subhendukumar mohanty" <[EMAIL PROTECTED]> 04/17/02 11:34AM >>>
Where to set the properties for "appserver.compliance.mode" .
So that i can check both of my server to find out the differences.
Thanks,
Subhendu

-Original Message-
From: Steven Banks [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, April 16, 2002 10:40 AM
To: subhendukumar mohanty; [EMAIL PROTECTED] 
Subject: Re: Urgent Websphere and location of Struts-Config.xml file


I had some problems with the location of the xml files on OS/390.  It was caused 
because one server had Servlet 2.2 full compatibilty turned off.  


When  appserver.compliance.mode=false  "the default value"

 InputStream input = getServletContext().getResourceAsStream(config); 

found the xml file in the following directory:   
   u/mywebs/dev/train/WEB-INF/classes/WEB-INF/struts-config.xml


When  appserver.compliance.mode=true,   the xml file had to be moved to
 /u/mywebs/dev/train/web/WEB-INF/struts-config.xml


Steven Banks
368-0566

>>> "subhendukumar mohanty" <[EMAIL PROTECTED]> 04/16/02 10:49AM >>>
Hi 

I am using struts with websphere 3.5.5. In one of the application server i have kept 
the struts-config.xml in default_host\webapplicationame\servlets . It is working fine. 
The same setup is not working in other machine . In that server the apploication is 
looking for the strits-config.xml file default_host\webapplicationame\web\web-inf 
folder. 

I could not find out what is the difference. Both the server has same setup and having 
same version of struts. The action servlet in the both the server has same init 
parameter for struts-config.xml.

If anybody has any idea on this let me know. 

Thanks,
Subhendu



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



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



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




Urgent Websphere and location of Struts-Config.xml file

2002-04-16 Thread subhendukumar mohanty

Hi 

I am using struts with websphere 3.5.5. In one of the application server i have kept 
the struts-config.xml in default_host\webapplicationame\servlets . It is working fine. 
The same setup is not working in other machine . In that server the apploication is 
looking for the strits-config.xml file default_host\webapplicationame\web\web-inf 
folder. 

I could not find out what is the difference. Both the server has same setup and having 
same version of struts. The action servlet in the both the server has same init 
parameter for struts-config.xml.

If anybody has any idea on this let me know. 

Thanks,
Subhendu



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




Struts and websphere 3.5 location of struts-config.xml

2002-04-13 Thread subhendukumar mohanty




Hi 

I am using struts with websphere 3.5. In one of the application server i have kept the 
struts-config.xml in default_host\webapplicationame\servlets . It is working fine. The 
same setup is not working in other machine . In that server the apploication is 
looking for the strits-config.xml file default_host\webapplicationame\web\web-inf 
folder. 

I could not find out what is the difference. Both the server has same setup and having 
same version of struts. The action servlet in the both the server has same init 
parameter for struts-config.xml.

If anybody has any idea on this let me know. 

Thanks,
Subhendu

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




Struts and websphere 3.5 location of struts-config.xml

2002-04-12 Thread subhendukumar mohanty

Hi 

I am using struts with websphere 3.5. In one of the application server i have kept the 
struts-config.xml in default_host\webapplicationame\servlets . It is working fine. The 
same setup is not working in other machine . In that server the apploication is 
looking for the strits-config.xml file default_host\webapplicationame\web\web-inf 
folder. 

I could not find out what is the difference. Both the server has same setup and having 
same version of struts. The action servlet in the both the server has same init 
parameter for struts-config.xml.

If anybody has any idea on this let me know. 

Thanks,
Subhendu

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




RE: Problem in HTML:ERROR tag

2002-03-13 Thread subhendukumar mohanty


Hi matt,

I was using the struts with weblogic  in my previous project . This problem never 
happened in that environment. Is this happened only in websphere environment??

thanks,
subhendu

-Original Message-
From: Matt Barnicle [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 13, 2002 8:13 PM
To: subhendukumar mohanty
Cc: [EMAIL PROTECTED]
Subject: Re: Problem in HTML:ERROR tag


You need to initialize some values in your application resource properties
file.  Set these two values:

errors.header=
errors.footer=

If you want all errors to be red, do this:

errors.header=
errors.footer=

Got it?

- M@

On Wed, 13 Mar 2002, subhendukumar mohanty wrote:

> Hi 
> I am setting the action error in my action class. Then when the error displays in 
>the screen it appends "null" in front and end of the message. For example if the 
>error message is "Error occurred", it shows as "null Error Occurred null". I am using 
>struts with visualage 4.0. 
> 
> I am using struts 1.0.1 and modified the form tag to work for websphere test 
>environment.
> 
> Any Help??
> Thanks,
> Subhendu
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 


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




Problem in HTML:ERROR tag

2002-03-13 Thread subhendukumar mohanty

Hi 
I am setting the action error in my action class. Then when the error displays in the 
screen it appends "null" in front and end of the message. For example if the error 
message is "Error occurred", it shows as "null Error Occurred null". I am using struts 
with visualage 4.0. 

I am using struts 1.0.1 and modified the form tag to work for websphere test 
environment.

Any Help??
Thanks,
Subhendu


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




RE: Methods In Action Class

2002-03-03 Thread subhendukumar mohanty

So for the below example scenario i have to only validate the token and should not 
call saveToken method. So for these type of scenarios i have to put another "parameter 
" attribute in actionmapping of struts-config.xml to know these scenarios.

And for this scenario all forward mapping should be ".do". I can not put some forward 
as ".do" and some forward as Jsp page.

Does my above assumptions are correct ?

Thanks,
Subhendu

-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 03, 2002 6:57 AM
To: Struts Users Mailing List
Subject: Re: Methods In Action Class


You would either have to skip removing the token, or replace the token
in the request with the new one. 

The token represents a transaction, and should live through the
transaction. If the transaction includes more than one request, do not
remove it until the transaction is complete.

If you are starting a new transaction without first going to a form,
then you would need to replicate the behavior of the html:form tag, and
put the new token into the request to start the new transaction. 

-- Ted Husted, Husted dot Com, Fairport NY US
-- Developing Java Web Applications with Struts
-- Tel: +1 585 737-3463
-- Web: http://husted.com/about/services


subhendukumar mohanty wrote:
> 
> The isTokenValid() method compares the token value from request attribute(hidden 
>field stored in form) with the token stored in session. If it matches then the 
>session is valid.
> I have one doubt in the following scenario.
> 
>  type="com.test.ATCreateConfirmAction"
> name="ATCreateForm"
> scope="session"
> input="ATCreate.jsp"
> validate="true">
> 
> 
> 
> 
> 
> In this scenario the first request will be ATCreateConfirm.do , in the 
>ATCreateConfirmAction class I will check the token and  validate it if it is valid i 
>will generate a new token. But after success of this action it calls ATCreate.do , in 
>the case this request still contains the old transaction token value from the form . 
>If a am going to check the validity of token in the corresponding action class of 
>"ATCreate.do" , the token will be not valid because the previous action has already 
>updated  it.
> 
> So my question is in this case where one mapping forwards to another ".do" how to 
>handle this token. Should I have to manually check for the following scenarios or 
>struts has any way to handle this type of scenario.
> 
> Any help will be great.
> 
> Thanks,
> Subhendu
> 
> -Original Message-
> From: Ted Husted [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, March 02, 2002 9:27 AM
> To: Struts Users Mailing List
> Subject: Re: Methods In Action Class
> 
> Before going to a page you want to protect, route to an Action first and
> call SaveToken. This stores a token with a unique value in the user's
> session.
> 
> If the page uses the html:form tag, it will automatically include a
> hidden field with the token if it finds one in the session.
> 
> In the Action that receives the page, use isTokenValue to see if the
> token in the session matches the one from the form. Call resetToken to
> clear the token, so it can't be used again.
> 
> -- Ted Husted, Husted dot Com, Fairport NY US
> -- Developing Java Web Applications with Struts
> -- Tel: +1 585 737-3463
> -- Web: http://husted.com/about/services
> 
> subhendukumar mohanty wrote:
> >
> > Hi
> >
> > I found the following methods in Action.java which I think may help to control the 
>session ID. That means if the user submits the page and press the back button and 
>submit the page again it will throw an error.
> >
> > generateToken(HttpServletRequest request)
> > saveToken(HttpServletRequest request)
> > isTokenValid(HttpServletRequest request)
> >
> > If anybody has used these methods let me know how to use these methods .
> >
> > Thanks,
> > Subhendu
> >
> > --
> > To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

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


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




RE: Methods In Action Class

2002-03-02 Thread subhendukumar mohanty

The isTokenValid() method compares the token value from request attribute(hidden field 
stored in form) with the token stored in session. If it matches then the session is 
valid.
I have one doubt in the following scenario.








In this scenario the first request will be ATCreateConfirm.do , in the 
ATCreateConfirmAction class I will check the token and  validate it if it is valid i 
will generate a new token. But after success of this action it calls ATCreate.do , in 
the case this request still contains the old transaction token value from the form . 
If a am going to check the validity of token in the corresponding action class of 
"ATCreate.do" , the token will be not valid because the previous action has already 
updated  it. 

So my question is in this case where one mapping forwards to another ".do" how to 
handle this token. Should I have to manually check for the following scenarios or 
struts has any way to handle this type of scenario.

Any help will be great.

Thanks,
Subhendu

-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 02, 2002 9:27 AM
To: Struts Users Mailing List
Subject: Re: Methods In Action Class


Before going to a page you want to protect, route to an Action first and
call SaveToken. This stores a token with a unique value in the user's
session.

If the page uses the html:form tag, it will automatically include a
hidden field with the token if it finds one in the session. 

In the Action that receives the page, use isTokenValue to see if the
token in the session matches the one from the form. Call resetToken to
clear the token, so it can't be used again.

-- Ted Husted, Husted dot Com, Fairport NY US
-- Developing Java Web Applications with Struts
-- Tel: +1 585 737-3463
-- Web: http://husted.com/about/services


subhendukumar mohanty wrote:
> 
> Hi
> 
> I found the following methods in Action.java which I think may help to control the 
>session ID. That means if the user submits the page and press the back button and 
>submit the page again it will throw an error.
> 
> generateToken(HttpServletRequest request)
> saveToken(HttpServletRequest request)
> isTokenValid(HttpServletRequest request)
> 
> If anybody has used these methods let me know how to use these methods .
> 
> Thanks,
> Subhendu
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

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


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




Methods In Action Class

2002-03-01 Thread subhendukumar mohanty

Hi 

I found the following methods in Action.java which I think may help to control the 
session ID. That means if the user submits the page and press the back button and 
submit the page again it will throw an error.

generateToken(HttpServletRequest request)
saveToken(HttpServletRequest request)
isTokenValid(HttpServletRequest request)

If anybody has used these methods let me know how to use these methods .

Thanks,
Subhendu

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




Any Idea of how to control SessionID

2002-02-28 Thread subhendukumar mohanty

Any Idea how to use sessionID control Using Struts Framework.

Thanks
Subhendu

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




RE: Session Control Urgent

2002-02-28 Thread subhendukumar mohanty



In my project we want to control the session. The purpose of this is :

1. Preventing user to click browser back button to submit the form again. (If After 
submitting a page user clicks on back button and tries to submit the same page).

I think we can achieve it by using struts Action class's Generate and isvalid token 
method. 

Could any body helped on this how to implement it?

Thanks
Subhendu



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


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




RE: Session Control

2002-02-28 Thread subhendukumar mohanty

Any Help ?

-Original Message-
From: subhendukumar mohanty 
Sent: Wednesday, February 27, 2002 6:41 PM
To: [EMAIL PROTECTED]
Subject: Session Control


In my project we want to control the session. The purpose of this is :

1. Preventing user to click browser back button to submit the form again. If After 
submitting a page user clicks on back button and tries to submit the same page).

I think we can achieve it by using struts Action class's Generate and isvalid token 
method. 

Could any body helped on this how to implement it?

Thanks
Subhendu



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


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




Session Control

2002-02-27 Thread subhendukumar mohanty

In my project we want to control the session. The purpose of this is :

1. Preventing user to click browser back button to submit the form again. If After 
submitting a page user clicks on back button and tries to submit the same page).

I think we can achieve it by using struts Action class's Generate and isvalid token 
method. 

Could any body helped on this how to implement it?

Thanks
Subhendu



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




RE: Performance problem with custom tags on WAS 3.5.x and 4.0.1

2002-02-26 Thread subhendukumar mohanty

Hi,
I could not able to find the Efix you have mentioned. I searched in the IBM site for 
this efixes.Could you please let me know how to get the fix.

Thanks,
Subhendu


-Original Message-
From: Johannes Carlén [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 26, 2002 10:54 AM
To: Struts Users Mailing List
Subject: Performance problem with custom tags on WAS 3.5.x and 4.0.1


Hi,
just wanted all you users of Websphere running 3.5.4-5
and 4.0.1 that there are severe performance issues
when using custom tags that may cause the tag code to
run up to 200 times slower due to introspection when
setting tag attributes. Get a hold of efixes PQ53588
(for 3.5.X) and PQ53687 (for 4.0.1) to solve this!!!

/Johannes


_
Hitta snörapporter... 
från 500 olika skidorter i Europa
på http://se.snow.yahoo.com

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


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




RE: Performance problem with custom tags on WAS 3.5.x and 4.0.1

2002-02-26 Thread subhendukumar mohanty

Hi Johannes,

Does it happen for only custom tags developed by developers extending the TagSupport 
Class of Struts or  for all tag classes that come with struts Package ?

Thanks,
Subhendu



-Original Message-
From: Johannes Carlén [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 26, 2002 10:54 AM
To: Struts Users Mailing List
Subject: Performance problem with custom tags on WAS 3.5.x and 4.0.1


Hi,
just wanted all you users of Websphere running 3.5.4-5
and 4.0.1 that there are severe performance issues
when using custom tags that may cause the tag code to
run up to 200 times slower due to introspection when
setting tag attributes. Get a hold of efixes PQ53588
(for 3.5.X) and PQ53687 (for 4.0.1) to solve this!!!

/Johannes


_
Hitta snörapporter... 
från 500 olika skidorter i Europa
på http://se.snow.yahoo.com

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


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




RE: best practices for logging in

2002-02-24 Thread subhendukumar mohanty

Hi Bryan;

I went through all the options. Could you please elaborate on point number 3. If i am 
going to implement this in my application , which is based on struts framework , How 
to implement this.

Thanks,
Subhendu

-Original Message-
From: Bryan Field-Elliot [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 24, 2002 11:20 AM
To: Edward Q. Bridges
Cc: Struts Users Mailing List
Subject: Re: best practices for logging in


You want to set a session-level boolean value (actually Boolean, not
boolean, since you can only store proper objects in the session scope),
indicating whether the user has logged in. 

Here are three ways to build a framework with Struts to check for
"logged-inness". I've used all three in succession, and my preference
nowadays is the last method.

1. At the start of each of your Action's perform() methods, have a
common block of code to check for logged-inness, and redirect to a login
page as appropriate. Primary disadvantage is that you have to remember
to cut and paste this code into all your actions which require a login.

2. Extend Struts' Action class to your own *abstract* class, which adds
the (unimplemented method) "boolean requiresLogon()". All of your
actions should extend this abstract class, and implement their own
"requiresLogon()" method which simply returns true or false. Then, in
the base class's perform() method, you can call requiresLogon(), and if
true, then test for logged-inness. Lastly, you can call the derived
class's real "perform" method, which actually you'll have to rename to,
"myPerform" or something slightly different. This is a cleaner approach
than #1 but still a bit messy. I've used this approach for both
"requiresLogon()", and "requiresDatabase()" (in which case I establish
and break down a connection, all in one place). My preference is now #3,
below.

3. Don't use Struts at all for your login check. Instead, use Servlet
Filters (requires a Servlet 2.3 container such as Tomcat 4.0). Implement
a filter (they're simple, really!) which checks for logged-inness, and
if false, then redirects to some login page. This has a clear advantage
in that it separates security checking from the code of your Actions. In
addition, it has a clear advantage in that it's declarative at the
configuration file (XML) level, rather than embedded in your code. By
that I mean, in the web.xml file, you specify which URL's (or which
patterns of URL's) the filter applies to, rather than embedding this in
your actual Java code. My favorite approach to this kind of thing.

Some other notes:

1. If the login check fails, you can do your user a favor by saving the
URL they requested into a session variable. Then, in your logon code,
upon successful login, you can redirect the user back to the URL they
originally requested. A nice convenience.

2. "logged-inness" is a perfectly legitimate and grammatically correct
expression.

Bryan


On Sun, 2002-02-24 at 08:46, Edward Q. Bridges wrote:

what is the general "accepted practice" for handling logins and securing 
access with struts?

from a review of the archive, it seems that way *not* to do it is to use a 
"isLoggedIn" flag that gets passed from page to page.  and, that the 
canonical approach is to utilize Action.perform(...) to determine whether 
or not the person has logged in.

so, how exactly is the Action class determining whether or not the user is 
"logged in"?  does it set a session-level boolean variable and check that 
on every invocation of the perform method?

has anyone encountered special cases where they've had to come up with some 
unique way of handling logins?

many thanks!
--e--



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




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




RE: Re:Help on WebSphere installation

2002-02-22 Thread subhendukumar mohanty

For running the struts in websphere installation you need to put modified formtag 
class. It is available as struts-modified.jar in struts home page.

-Original Message-
From: Ben Liang [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 22, 2002 4:23 PM
To: Struts Users Mailing List
Subject: Re: Re:Help on WebSphere installation


I finally found JAXP_1.0.1 from Sun, and get struts-example running. But
when I click on logon or register, I got this exception in my log, and can
never get to logon.jsp:
[02.02.22 14:44:22:750 CST] 82e3d434 ServletInstan X Uncaught service()
exception thrown by servlet {0}: {1}
 "jsp11"
 javax.servlet.ServletException: cant remove
Attributes from request scope
 at javax.servlet.ServletException.(ServletException.java:161)
 at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:392)
 at _logon_jsp_1._jspService(_logon_jsp_1.java:378)
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:127)

Can anyone point out what's wrong?

Ben

- Original Message -
From: "Ben Liang" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, February 22, 2002 11:40 AM
Subject: Re:Help on WebSphere installation


> I am trying to install Struts under WS 3.5.4, but could not find a correct
> version of xerces.jar to get it work. I downloaded
> java_xml_pack-winter-01_01-dev which include JAXP 1.2, and put the
> xerces.jar under WS /servlets. And I get this error from the log:
>
> [02.02.22 11:26:24:062 CST] ecd486c1 WebGroup  A SRVE0092I: [Servlet
> LOG]: "database: Database load exception":
> org.xml.sax.SAXNotRecognizedException:
http://xml.org/sax/features/raw-names
>  at org.xml.sax.SAXException.(SAXException.java:45)
>  at
>
org.xml.sax.SAXNotRecognizedException.(SAXNotRecognizedException.java:
> 38)
>  at
>
org.apache.xerces.parsers.AbstractSAXParser.setFeature(AbstractSAXParser.jav
> a:1289)
>  at
>
org.xml.sax.helpers.XMLReaderAdapter.setupXMLReader(XMLReaderAdapter.java:20
> 4)
>  at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:193)
>  at javax.xml.parsers.SAXParser.parse(Unknown Source)
>  at javax.xml.parsers.SAXParser.parse(Unknown Source)
>  at org.apache.struts.digester.Digester.parse(Digester.java:755)
>  at
>
org.apache.struts.webapp.example.DatabaseServlet.load(DatabaseServlet.java:2
> 51)
>
> Then I try to put another version of xerces.jar that I've been using to
> replace the one come from Sun, and I got another error:
> [02.02.22 10:57:32:125 CST] ecf40f0d ServletInstan X Uncaught init()
> exception thrown by servlet {0}: {1}
>  "action"
>  javax.servlet.ServletException:
> org.apache.xerces.dom.NodeImpl: method
> (Lorg/apache/xerces/dom/DocumentImpl;)V not found
>
> The doc said I need JAXP1.0.1, but I can't find from Sun's site anymore.
Any
> suggestion???
>
> Ben
>
>
> _
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:




_

Do You Yahoo!?

Get your free @yahoo.com address at http://mail.yahoo.com




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


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




RE: Help needded on Struts-config file

2002-02-22 Thread subhendukumar mohanty

Thanks

Is that the only functionality of input tag or it is used for anything else.



-Original Message-
From: Kanoza, Douglas (NCI) [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 22, 2002 3:50 PM
To: 'Struts Users Mailing List'
Subject: RE: Help needded on Struts-config file


That's pretty much how it works.  If you look at the code in the LogonAction
in the example, they check for the existence of the database and also
compare the supplied password with the password in the database.  If there's
a problem in either case, they save the errors and redirect to the input
page.  LogonForm.validate() is only checking to see that username and
password exist - it doesn't actually check to see if they are valid.  That's
done in the LogonAction, which needs to redirect you to the input page if
the logon fails.  The code snippet below (from LogonAction.java) shows how
it's used.  The getInput() method on the ActionMapping class returns the
input page specified.

   if(!errors.empty())
{
  saveErrors(request, errors);
  return(new ActionForward(mapping.getInput()));
}

-Original Message-
From: Lundin, Michael [mailto:[EMAIL PROTECTED]] 
Sent: Friday, February 22, 2002 3:41 PM
To: 'Struts Users Mailing List'
Subject: RE: Help needded on Struts-config file

My understanding of the input is that it's a mapping to the document that
submits the form.  For this example, it's the page that presents you with
the username/password screen.

This way if there is an error, you can send the user back to the input
screen that they came from.

-Original Message-
From: subhendukumar mohanty [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 22, 2002 12:37 PM
To: [EMAIL PROTECTED]
Subject: Help needded on Struts-config file


Hi

One of the mapping in struts-config.xml file comes with example is as
follows

 
 
 

Could anybody explain me what the "input" element means. How it is used by
controller.

Thanks,
Subhendu

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

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

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


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




RE: Help needded on Struts-config file

2002-02-22 Thread subhendukumar mohanty

Is this element is mandatory in action mapping?



-Original Message-
From: Lundin, Michael [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 22, 2002 3:41 PM
To: 'Struts Users Mailing List'
Subject: RE: Help needded on Struts-config file


My understanding of the input is that it's a mapping to the document that
submits the form.  For this example, it's the page that presents you with
the username/password screen.

This way if there is an error, you can send the user back to the input
screen that they came from.

-Original Message-
From: subhendukumar mohanty [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 22, 2002 12:37 PM
To: [EMAIL PROTECTED]
Subject: Help needded on Struts-config file


Hi

One of the mapping in struts-config.xml file comes with example is as
follows

 
 
 

Could anybody explain me what the "input" element means. How it is used by
controller.

Thanks,
Subhendu

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

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


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




Help needded on Struts-config file

2002-02-22 Thread subhendukumar mohanty

Hi

One of the mapping in struts-config.xml file comes with example is as follows

 
 
 

Could anybody explain me what the "input" element means. How it is used by controller.

Thanks,
Subhendu

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




request parameter is null

2002-02-19 Thread subhendukumar mohanty

One of my jsp has Struts form tag. Inside that form there is no form
element but some
static data in form of table. When submitting the form I am passing
some querystring. After submitting the jsp page , inside the action
class the request parameter is being null. 

If I am adding a dummy hidden parameter inside the form it is working
fine. 

BTW i am using VAJ 4.0 with websphere test environment.

Any pointers on this will be great.

Thanks,
Subhendu


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




RE: Problem in getting request parameter

2002-02-19 Thread subhendukumar mohanty

Any help!

-Original Message-
From: subhendukumar mohanty 
Sent: Monday, February 18, 2002 8:44 PM
To: [EMAIL PROTECTED]
Subject: Problem in getting request parameter


Hi 

I am using websphere test environment with visual age . One of my jsp
has Struts form tag. Inside that form there is no form element but some
static data in form of table. In the action of that form I am passing
some querystring. After submitting the jsp page , inside the action
class the request parameter is being null. If I am adding a dummy hidden
parameter inside the form it is working fine. 

Any pointers on this will be great.

Thanks,
Subhendu

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


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




Problem in getting request parameter

2002-02-18 Thread subhendukumar mohanty

Hi 

I am using websphere test environment with visual age . One of my jsp
has Struts form tag. Inside that form there is no form element but some
static data in form of table. In the action of that form I am passing
some querystring. After submitting the jsp page , inside the action
class the request parameter is being null. If I am adding a dummy hidden
parameter inside the form it is working fine. 

Any pointers on this will be great.

Thanks,
Subhendu

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