pls ignore

2003-01-20 Thread Amit Badheka
test mail



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




HttpSession in ActionForm

2003-01-06 Thread Amit Badheka
Hi All,

is there any way to get HttpSession object in the bean class that extends ActionForm.

I am not using any of reset() or validate() etc. My bean class is having some business 
methods and some get and set methods.

My requirement is to get some attribute from session object.

Any help will be appreciated.





Re: popup window

2003-01-02 Thread Amit Badheka
Hi Puneet,

It works fine, but my problem is that I am using templates.
So, in the popup window whole template is displaying rather than a single
jsp.

Also, one more problem is that popup jsp contains a tree. so when we try to
explore the tree structure on each event it calls same action(that open new
window) and hence each time new popup generated.

Is there any way to forward request to same window that is newly opened?

Amit Badheka.

- Original Message -
From: "Puneet Agarwal" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, January 02, 2003 4:54 PM
Subject: Re: popup window


> Did "_blank" not work ?
>
> or is it that you want response in both of the windows ?
>
> Regards
> Puneet
> - Original Message -
> From: "Amit Badheka" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Thursday, January 02, 2003 9:26 AM
> Subject: popup window
>
>
> Hi All,
>
> Is there any way to open new window from the action class.
>
> I have a requirement like when one from is submitted I have to pass values
> of that from to another jsp that will open in new window.
>
> please help.
>
> AB.
>
>
>
> --
> 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]>




popup window

2003-01-02 Thread Amit Badheka
Hi All,

Is there any way to open new window from the action class.

I have a requirement like when one from is submitted I have to pass values of that 
from to another jsp that will open in new window.

please help.

AB.



nested radio button

2003-01-02 Thread Amit Badheka
Hi All,

I have a requirement where I am generating a tree structure. And, with each node I 
have to generate one radio button.

Now, I am able to generate the tree and radio buttons,  but there are two problems I 
am facing -

1. The radio button name comes as beanName.someName.someArray[0..], if I uses nested 
radio button and property is set as someName. (I have to use nested radio as that is 
the only way to assign value of radio buton from the bean.

2. The radio button once checked can not be uncheck. May be b'cos the name of radios 
are different.

Is there anybody has some idea?

Any help will be appreciated.

AB.




problem with bean:size

2003-01-01 Thread Amit Badheka
Hi All,

I am using something like below in my jsp -



where, recurserBean is my form bean and images is a property of bean, that is a 
vector. Now I am looking to get the size of vector. I am trying to get this value as

Object showRec = (Object) pageContext.getAttribute("recPerPage");

Now, the problem is that sometime it returns me value as Java.lang.Integer and 
sometimes as String. I dont know why this is happenning.

Any idea.

Please help.




Radio Button problem

2002-12-31 Thread Amit Badheka
Hi all..

I have a requirement to populate radio buttons at runtime. I know how to  create it 
using  &   tag. But the problem is: i want to create the 
radio buttons in 
"nested" tags. Also i want to give the value of that radio button as the value of form 
bean, which is iterated using "nested" tags. The probelm is, its not able to 
substitute the values from bean. If anybody has achieved this , using nested tags 
please help me out.Any code samples on this is really appreciated.

Thanks & Regards
Amit.B




Re: Access external file from web application

2002-12-23 Thread Amit Badheka
Hi,


> So, basically what you're looking for is some way to dynamically set the
> directory that the files are stored in?  You could do that easily with a
> property file.  Your end user would set the appropriate property in some
> properties file that is in the classpath of the application server and
> then ... you just load that up and use that as your "base path".

Thanks for your reply. Can u tell me how would i map the basepath in my web
application to a path
on the file system for accessing such resources? I am using weblogic
applicaton
server. Are u aware of any such mechanism in weblogic? I am aware that such
mappings are possible in apache using  and  tag. I have
got stuck
in regards to weblogic.

> You
> could do the same thing by using init param elements for the action
> servlet -- or context parameters.  Using the property file approach
> removes the need for your end user to have the ability to modify the
> server config file(s).
>


Regards,
Amit Badekha.


> Amit Badheka wrote:
>
> >Hi All,
> >
> >Is there any way to access a file(image,..etc) from the web application.
the path of the image is dynamically generated.
> >
> >The requirement is that we have to upload a image file and store it to
somewhere on server at dynamically generated path. Now, Problem is how I
should refer this file from the application, As the application don't know
the path at the time of implementation(application).
> >
> >Please help.
> >
> >
> >
>
> --
> Eddie Bush
>
>
>
>
>
> --
> 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]>




Access external file from web application

2002-12-23 Thread Amit Badheka
Hi All,

Is there any way to access a file(image,..etc) from the web application. the path of 
the image is dynamically generated.

The requirement is that we have to upload a image file and store it to somewhere on 
server at dynamically generated path. Now, Problem is how I should refer this file 
from the application, As the application don't know the path at the time of 
implementation(application).

Please help. 



Re: multithreaded env

2002-12-20 Thread Amit Badheka
Hi Andrew,

Thanks a lot for such a great information.
It has cleared lots of my doubts.

But, I will be very thankful if you can put some more light on case if I
want to do serialization or file handling.

thanks.

Amit Badheka.

- Original Message -
From: "Andrew Hill" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, December 20, 2002 1:50 PM
Subject: RE: multithreaded env


> A webapp running in a servlet container (this includes any struts app) is
by
> nature multithreaded.
>
> As you know, in a struts app most of the work is done not in servlets you
> implement, but rather in Action classes.
>
> These are also multithreaded. Struts will create a single instance of your
> Action and all requests for that Action will be processed by that
instance.
> This means that at any given moment you could have any number of threads
> simultaneously running that Action's code.
>
> The implication of this is that you have to be careful of what you do with
> class member variables. (ie. Dont use them!)
>
> for example, consider the following rather contrived Action:
>
> public class WotsitAction extends Action
> {
>   private String _foo; file://member variable - Dangerous!
>
>   public ActionForward execute(ActionMapping mapping, ActionForm
actionForm,
>HttpServletRequest request,
> HttpServletResponse response)
>   throws Exception
>   {
> WotsitForm wotsitForm = (WotsitForm)form;
> _foo = wotsitForm.getFoo(); file://line 1
> doSomething(_foo); file://line 2
> file://etc
>   }
> }
>
> Now let us imagine we have two users who both submit different values for
> foo at nearly the same instant. User A submits a value of "A", and User B
> submits a value of "B". Let us assume that user A submits first. The
action
> code is invoked and line 1 causes _foo to be set to "A".
>
> Meanwhile user B has also submitted. His request goes to the same instance
> of the WotsitAction.
>
> Let us imagine that user B's thread executes line 1 a picosecond after
user
> A, just before user A's thread starts line 2. As a result _foo is now set
to
> "B", because both threads are sharing the same action instance and thus
the
> same _foo variable.
>
> Now BOTH users threads will be using the value of "B" to doSomething().
This
> is obviously not what we intended...
>
> Whats rather scary about this is that the errors that will result may well
> not be picked up in your basic testing, but rather will surface much later
> when load testing is conducted, or even worse when the app is in
production.
> They will be intermittent errors and could take a considerable amount of
> time to track down...
>
> In this example for the code to work as intended it is necessary that the
> member variable _foo is replaced by a method variable. Ie:
>
> public class WotsitAction extends Action
> {
>   public ActionForward execute(ActionMapping mapping, ActionForm
actionForm,
>HttpServletRequest request,
> HttpServletResponse response)
>   throws Exception
>   {
> WotsitForm wotsitForm = (WotsitForm)form;
> String foo = wotsitForm.getFoo(); file://line 1
> doSomething(foo); file://line 2
> file://etc
>   }
> }
>
> In this case both threads still share the action instance, but foo is now
> local to the execute method and each thread has its own foo. Things will
now
> work as intended...
> Basically dont use class member variables in your actions (unless you are
> specifically intending to share information between threads with them.
Even
> in that case it would not be a good idea as you have other such
> considerations as clustering, the need to synchronize reads and writes
> etc...).
>
> Now you may be thinking you could instead of refactoring all that code in
> the first version of WotsitAction just make the execute & other public
> methods synchronized, and indeed you technically could.
>
> That however has nasty performance implications. Imagine the execute()
> method takes 10 seconds to do its thing. Imagine also that 6 users submit
at
> once. With execute synchronized, only one of the threads can be executing
> the synchronized code at a time. Some of those users could be waiting up
to
> a minute for their request to complete... Furthermore thread wakeup
> notification doesnt happen in any particular order. If lots more requests
> keep pouring in all the time its conceivable some request threads could
> 'never' get a chance to run execute()
>
> These sort of issues need to be considered for any shared objects. For
> 

multithreaded env

2002-12-19 Thread Amit Badheka
Hi All,

I am working on a struts application. But I am not sure that it will work properly in 
multithreaded environment.

Can anybody suggest me what is the best way to make sure that application work fine in 
such environment.

Thank You.



template

2002-12-19 Thread Amit Badheka
HI All,

I am using struts templates in my project. I am including three pages in my template.

My requirements are such that I want to open a jsp page in new window (onlys that 
single page). 
Is it a right idea by the mean of MVC?

also, the problem I am having is when I tried to do this, main window gets refreshed 
on click event ( thought nothing is specified on submit).

Is anybody has any idea??

please help.





monkey tree problem

2002-12-19 Thread Amit Badheka
Hi All,

I have a requirement to generate the tree structure from the collection object.

right now I am using the monkey tree to generate the tree structure for the same.

The tree is generating fine. But, the problem is that I want to catch the click event 
i.e. which node is clicked so that I can get the node name that is clicked.

Is anybody is using monkey tree?

please help me to resolve this problem, also if there is any alternate option let me 
know.

thanks a lot,

Amit Badheka.
 



Re: tag

2002-12-16 Thread Amit Badheka
I am using 1.1b2 version. and, I know it works fine.
I used it in my earlier application.

But i don't know whay it is generating url like this.

My image path is relative path. So it looks like ../../images/abc.gif.

Amit.


- Original Message -
From: "David Graham" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 17, 2002 11:47 AM
Subject: Re:  tag


> What version of Struts are you using?  The recent  code looks
ok.
>   It just constructs the url from request.getRequestURI().  What do your
> image paths look like?
>
> David
>
>
>
>
>
>
> >From: "Amit Badheka" <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >Subject:  tag
> >Date: Tue, 17 Dec 2002 11:30:31 +0530
> >
> >HI All,
> >
> >I have a problem with displaying images in my jsp page. I am giving
> >relative path in the page. If I call the page directly it shows the
images.
> >But If I call the page from struts Template then it is not showing any
> >images.
> >
> >i have a dir structure like -
> >
> >common\
> >  template.jsp
> >jsp\
> >somefolder\
> > header.jsp
> > container.jsp (struts template definition)
> >
> >if I calls header directly it shows the images. But if I calls
> >container.jsp (which puts the header.jsp) then it is not showing any
> >images.
> >I am also putting the  tag in each page.
> >what I observed is that my generated html code contains base tag as below
,
> >but-
> >  >href="http://localhost:7001/ManageStyle/jsp/ecatalogManageStartPage.jsp";>
> >it should be like -
> > 
>href="http://localhost:7001/ManageStyle/jsp/ecatalog/ManageStartPage.jsp";>
> >
> > ^
> >
> > ||
> >
> >
> >please help.
> >
> >AB.
> >
>
>
> _
> The new MSN 8: advanced junk mail protection and 2 months FREE*
> http://join.msn.com/?page=features/junkmail
>
>
> --
> 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]>




tag

2002-12-16 Thread Amit Badheka
HI All,

I have a problem with displaying images in my jsp page. I am giving relative path in 
the page. If I call the page directly it shows the images.
But If I call the page from struts Template then it is not showing any images.

i have a dir structure like -

common\
 template.jsp
jsp\
   somefolder\
header.jsp
container.jsp (struts template definition)

if I calls header directly it shows the images. But if I calls container.jsp (which 
puts the header.jsp) then it is not showing any images.
I am also putting the  tag in each page.
what I observed is that my generated html code contains base tag as below , but-
http://localhost:7001/ManageStyle/jsp/ecatalogManageStartPage.jsp";>
it should be like -
http://localhost:7001/ManageStyle/jsp/ecatalog/ManageStartPage.jsp";>
   
^ 
   
||


please help.

AB.




multiple file upload

2002-12-13 Thread Amit Badheka
My requirement is to upload some files, the no of files are not known as the user can 
add no of files to be attched/uploaded.

So, I have two options for doing that -

1. I create the file button dynamically with different name, but in this case how can 
I add that parameter in form bean.

2. I can create file button in loop so it can be added as per requirement. But, in 
this case the name of file button will be same.

I would like to go for 2nd, as it looks easy to implement. But the problem is that I 
am not sure if struts can handle such situation where there are multiple file button 
with same name.

Any help will be appreciable.

Amit.



Re: urgent

2002-12-11 Thread Amit Badheka
Thanks Andrew for help,

I am not finding anyway ,as yet to do it with struts action hence for the
time being I am  doing it by submitting thru javascript.

Amit Badheka.
- Original Message -
From: "Andrew Hill" <[EMAIL PROTECTED]>
To: "Struts" <[EMAIL PROTECTED]>
Sent: Wednesday, December 11, 2002 4:29 PM
Subject: RE: urgent


> Just saw your other email.
> Submitting from an action and forwarding from that instead of the browser
> seems a good idea but Ive not tried it myself for resources outside the
same
> webapp.
> Im not sure if it works or what needs to be done to make it work for that
> situation. Sorry :-(
>
> If you cant find a way to get that idea working then the other alternative
> is to continue trying to submit straight from the browser to the other
> servlet:
>
> I dont think you will be able to use the action attribute of 
for
> this as it will actually go and look up info about the form from struts
> config based on this. I forgot about that!
>
> If this form doesnt need to have an associated actionForm you could use a
> normal  tag (ie not a taglib) instead of the  tag. Make
> sure theres no slash before the http.
>
> Now on the other hand if you are using an action and actionForm then you
> could set the action attribute as the path to that action, but in your
code
> to submit the form, you have javascript that will change the action
property
> in the clientside document object model using javascript:
>
> function doSubmit()
> {
>
document.forms[0].action='http://localhost:7001/ManageStyle/servlet/stylegen
> eralinfoservlet';
> document.forms[0].submit();
> }
>
> (Adapt as required)
>
> Hope this helps.
> regards
> Andrew
>
>
> -Original Message-
> From: Amit Badheka [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 11, 2002 18:43
> To: [EMAIL PROTECTED]
> Subject: Re: urgent
>
>
> Hi Andrew,
> thanks for reply,
>
> the exact error message i am pasting here -
>
> javax.servlet.jsp.JspException: Cannot retrieve mapping for action
>  /http://localhost:7001/ManageStyle/servlet/stylegeneralinfoservlet
>
> I hope it can help you understand the problem, and will be great help for
> me.
>
> Amit.
>
> - Original Message -
> From: "Andrew Hill" <[EMAIL PROTECTED]>
> To: "Amit Badheka" <[EMAIL PROTECTED]>
> Sent: Wednesday, December 11, 2002 3:40 PM
> Subject: RE: urgent
>
>
> > Is that / supposed to be there in the front of http - or is it just copy
> and
> > paste error writing the email?
> >
> > -Original Message-
> > From: Amit Badheka [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, December 11, 2002 18:09
> > To: Struts Users Mailing List; [EMAIL PROTECTED]
> > Subject: Re: urgent
> >
> >
> > Hi Andrew,
> > thanks for reply,
> >
> > If I give the below url as action and submit the form I am getting error
> as
> > not a valid url
> > /http://localhost:7001/ManageStyle/servlet/stylegeneralinfoservlet.ser
> >
> > and if I try with ActionForward from action then it is not giving any
> error,
> > but also not doing anything.
> >
> > - Original Message -
> > From: "Andrew Hill" <[EMAIL PROTECTED]>
> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> > Sent: Wednesday, December 11, 2002 3:13 PM
> > Subject: RE: urgent
> >
> >
> > > No joy with the javascript submit() huh? :-(
> > >
> > > Are you getting any error messages?
> > > Are you submitting to the correct url? (ie: forms action is set
> > > appropriately)
> > >
> > > -Original Message-
> > > From: Amit Badheka [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, December 11, 2002 17:36
> > > To: Struts Users Mailing List
> > > Subject: urgent
> > >
> > >
> > > Hi All,
> > >
> > > I have a requirement to call a servlet from a action class or jsp. The
> > > servlet is residing on the war file other than struts app. Hence,
there
> > are
> > > two different context.
> > >
> > > The servlet is used for file upload so my jsp should contain
> > multipart/form
> > > data. so, I have to call post method of the servlet.
> > >
> > > If I am using html:link I am able to call the servlet, but the form
data
> > can
> > > not be passed.
> > >
> > > I also tried with action forward but it is not calling servlet.(may be
> > b'cos
> > > it is not in same context).
> > >
> > > Is there any way to achieve something like this.
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > > 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: urgent

2002-12-11 Thread Amit Badheka
I am setting it as action attribute for html:form tag.

But after getting that error I created one action class and then tried to
forward using ActionForward (as it is a proper way).
With this it is not giving any error but also not accessing the servlet.
I checked out the url, it is correct as when  I copied that url in browser
then it calls servlet.

- Original Message -
From: "Andrew Hill" <[EMAIL PROTECTED]>
To: "Struts" <[EMAIL PROTECTED]>
Sent: Wednesday, December 11, 2002 4:08 PM
Subject: RE: urgent


> hmmm. Whats in the actual html/javascript then? (for the forms action
> property).
> Are you rendering the action with a form tag, or setting it at submit time
> with javascript?
>
> -Original Message-
> From: Amit Badheka [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 11, 2002 18:30
> To: [EMAIL PROTECTED]
> Subject: Re: urgent
>
>
> / is there in the error.
> it looks like taking as /actionmapping.do etc.
>
> ----- Original Message -
> From: "Andrew Hill" <[EMAIL PROTECTED]>
> To: "Amit Badheka" <[EMAIL PROTECTED]>
> Sent: Wednesday, December 11, 2002 3:40 PM
> Subject: RE: urgent
>
>
> > Is that / supposed to be there in the front of http - or is it just copy
> and
> > paste error writing the email?
> >
> > -Original Message-
> > From: Amit Badheka [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, December 11, 2002 18:09
> > To: Struts Users Mailing List; [EMAIL PROTECTED]
> > Subject: Re: urgent
> >
> >
> > Hi Andrew,
> > thanks for reply,
> >
> > If I give the below url as action and submit the form I am getting error
> as
> > not a valid url
> > /http://localhost:7001/ManageStyle/servlet/stylegeneralinfoservlet.ser
> >
> > and if I try with ActionForward from action then it is not giving any
> error,
> > but also not doing anything.
> >
> > - Original Message -
> > From: "Andrew Hill" <[EMAIL PROTECTED]>
> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> > Sent: Wednesday, December 11, 2002 3:13 PM
> > Subject: RE: urgent
> >
> >
> > > No joy with the javascript submit() huh? :-(
> > >
> > > Are you getting any error messages?
> > > Are you submitting to the correct url? (ie: forms action is set
> > > appropriately)
> > >
> > > -Original Message-
> > > From: Amit Badheka [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, December 11, 2002 17:36
> > > To: Struts Users Mailing List
> > > Subject: urgent
> > >
> > >
> > > Hi All,
> > >
> > > I have a requirement to call a servlet from a action class or jsp. The
> > > servlet is residing on the war file other than struts app. Hence,
there
> > are
> > > two different context.
> > >
> > > The servlet is used for file upload so my jsp should contain
> > multipart/form
> > > data. so, I have to call post method of the servlet.
> > >
> > > If I am using html:link I am able to call the servlet, but the form
data
> > can
> > > not be passed.
> > >
> > > I also tried with action forward but it is not calling servlet.(may be
> > b'cos
> > > it is not in same context).
> > >
> > > Is there any way to achieve something like this.
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > > 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: urgent

2002-12-11 Thread Amit Badheka
Hi Andrew,
thanks for reply,

If I give the below url as action and submit the form I am getting error as
not a valid url
/http://localhost:7001/ManageStyle/servlet/stylegeneralinfoservlet.ser

and if I try with ActionForward from action then it is not giving any error,
but also not doing anything.

- Original Message -
From: "Andrew Hill" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, December 11, 2002 3:13 PM
Subject: RE: urgent


> No joy with the javascript submit() huh? :-(
>
> Are you getting any error messages?
> Are you submitting to the correct url? (ie: forms action is set
> appropriately)
>
> -Original Message-
> From: Amit Badheka [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 11, 2002 17:36
> To: Struts Users Mailing List
> Subject: urgent
>
>
> Hi All,
>
> I have a requirement to call a servlet from a action class or jsp. The
> servlet is residing on the war file other than struts app. Hence, there
are
> two different context.
>
> The servlet is used for file upload so my jsp should contain
multipart/form
> data. so, I have to call post method of the servlet.
>
> If I am using html:link I am able to call the servlet, but the form data
can
> not be passed.
>
> I also tried with action forward but it is not calling servlet.(may be
b'cos
> it is not in same context).
>
> Is there any way to achieve something like this.
>
>
>
>
>
>
>
>
> --
> 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

2002-12-11 Thread Amit Badheka
Hi All,

I have a requirement to call a servlet from a action class or jsp. The servlet is 
residing on the war file other than struts app. Hence, there are two different context.

The servlet is used for file upload so my jsp should contain multipart/form data. so, 
I have to call post method of the servlet.

If I am using html:link I am able to call the servlet, but the form data can not be 
passed.

I also tried with action forward but it is not calling servlet.(may be b'cos it is not 
in same context).

Is there any way to achieve something like this.









how to submit a form using html:link

2002-12-11 Thread Amit Badheka
Is it possioble to submit a form using html:link tag.
I want to call a servlet that resided on another war file. I am able to call it by 
click on html link.
But, my requirement is to submit the form.





jsp name in action

2002-11-19 Thread Amit Badheka
How can I get the jsp name in the action from where the form is submitted?

I can not use input attribute as it is the input type is not static, and the action 
class is called from three different jsps.

pls help.



request parameter

2002-11-18 Thread Amit Badheka
I would like to add some request parameter in my action class , before forwarding it 
to jsp page.

Is there any way to do it?





calsspath

2002-11-14 Thread Amit Badheka
I am trying to deploy ear file in weblogic6.1.
The ear file contains -
war file -
with all jsp/action etc and all struts jars in web-inf/lib

but, when i try to run it requires all struts lib in classpath. If I gives that it 
works fine,

Please help.




Re: special character

2002-11-12 Thread Amit Badheka
Thank u all for reply.
It works fine.

- Original Message -
From: "Xavier Combelle" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, November 12, 2002 6:30 PM
Subject: RE: special character


> just set the filter atttribute of bean:write tag at false
> as it is explained at the address
> http://jakarta.apache.org/struts/userGuide/struts-bean.html#write
>
> Xavier
>
>
> > -Message d'origine-
> > De : Amit Badheka [mailto:amit@;direct2s.com]
> > Envoyé : mardi 12 novembre 2002 13:49
> > À : Struts Users Mailing List
> > Objet : special character
> >
> >
> > I want to show the currency symbols, I am using bean:write but it
> > is not displaying symbol.
> >
> > I have bean:write as -
> >
> > 
> >
> > the value store in DB is " € "  when we put this string
> > directly it gets converted, but when I puts bean:write it prints
> > the value as it is.
> > (in view source it looks like "&euro; ")
> >
> > please help.
> >
>
>
> --
> To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
<mailto:struts-user-help@;jakarta.apache.org>
>
>



--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>




special character

2002-11-12 Thread Amit Badheka
I want to show the currency symbols, I am using bean:write but it is not displaying 
symbol.

I have bean:write as -



the value store in DB is " € "  when we put this string directly it gets 
converted, but when I puts bean:write it prints the value as it is.
(in view source it looks like "€ ")

please help.



imp: frameset in template

2002-11-08 Thread Amit Badheka
Is there any way to put a jsp page that contains frameset, in template?

I tried the same but the page contents are included as it is, and not the pages 
included in frames.

template


  
  
  


template-end---

-index





  in index-
  


  
  

  
  


  
index-end--

any help will highly appreciated.





Scripting vars

2002-11-06 Thread Amit Badheka
I have defined one scripting var like -





<%=rec%>



when I print the value inside it prints the value.
but, I am not able to get the value of var outside the 

Is there any way to get the value of this var?

also, If I wirtes  it gets the value, but I am not ablue to use that b'cos 
I can't place it within some tags as attribute value. like-



Please help.



Re:frame in template

2002-11-04 Thread Amit Badheka
frame, and not hrame.

sorry.
- Original Message -
From: "Amit Badheka" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, November 05, 2002 12:28 PM
Subject: hrame in template


Can I include a frameset into Template?

I have a page called index.jsp, that contains frameset defined.

Now, I want to include this page in my template. I tried it but it does not
includeing the pages inside the frames, but when I saw the generated html
source the file contents are included.

Please help.






--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>




hrame in template

2002-11-04 Thread Amit Badheka
Can I include a frameset into Template?

I have a page called index.jsp, that contains frameset defined.

Now, I want to include this page in my template. I tried it but it does not includeing 
the pages inside the frames, but when I saw the generated html source the file 
contents are included.

Please help.





frames and context

2002-11-02 Thread Amit Badheka
is there Anybody who has used frames within struts application?

please help.

we are using frames, but when I forwards request to some page which is in frame, the 
context path is changes,

is each frame has  context dependencies?





URGENT: page uri changes

2002-11-01 Thread Amit Badheka
There are few things  I would like to include is that the path for images are also 
changing same way as describe below.

I am using relative path for all.

Please help.

- Original Message - 
From: Amit Badheka 
To: Struts Users Mailing List 
Sent: Friday, November 01, 2002 2:13 PM
Subject: page uri changes


I am trying to call a jsp from a jsp using html:link. My flow is like -

jsp --> jsp --> action --> jsp(same page from where started)

original uri is 
 
/ECatalogAdminApp/jsp/currency.jsp but when it comes 
 
to that page again uri becomes,
 
/ECatalogAdminApp/currency.jsp


please help.




page uri changes

2002-11-01 Thread Amit Badheka
I am trying to call a jsp from a jsp using html:link. My flow is like -

jsp --> jsp --> action --> jsp(same page from where started)

original uri is 

/ECatalogAdminApp/jsp/currency.jsp but when it comes 

to that page again uri becomes,

/ECatalogAdminApp/currency.jsp


please help.




Re: url mapping

2002-10-29 Thread Amit Badheka
Thanks Craig,

So should I accept it as ultimate solution, and no way to do it with url
mapping.

- Original Message -
From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, October 30, 2002 11:19 AM
Subject: Re: url mapping


>
>
> On Wed, 30 Oct 2002, Amit Badheka wrote:
>
> > Date: Wed, 30 Oct 2002 11:03:40 +0530
> > From: Amit Badheka <[EMAIL PROTECTED]>
> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> > To: Struts Users Mailing List <[EMAIL PROTECTED]>
> > Subject: Re: url mapping
> >
> > Thanks for reply, David.
> >
> > You are right, but when I uses the page reference in struts-config etc
then
> > I want to avoid using /jsp/some.jsp.
> > I am not thinking about user view, but the programmer's view.
> >
> > So, I just want to know is there anyway I can avoid /jsp.
> >
>
> If you don't want to reference them as "/jsp/foo.jsp', then put the JSP
> pages in the top-level directory of your webapp, instead of in a "jsp"
> subdirectory.
>
> The struts-config.xml file must reflect the actual context-relative path
> of where the pages exist.  If you don't like the resulting path, change
> where you put the pages!
>
> Craig
>
>
> --
> To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
<mailto:struts-user-help@;jakarta.apache.org>
>
>



--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>




Re: url mapping

2002-10-29 Thread Amit Badheka
Thanks for reply, David.

You are right, but when I uses the page reference in struts-config etc then
I want to avoid using /jsp/some.jsp.
I am not thinking about user view, but the programmer's view.

So, I just want to know is there anyway I can avoid /jsp.

- Original Message -
From: "David Graham" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 30, 2002 10:42 AM
Subject: Re: url mapping


> The easy answer to this is that you should not be referencing the jsps
> directly anyways.  Your users should see urls ending in .do so you can
> change where the jsp is or which jsp renders the result later without them
> knowing.
>
> David
>
>
>
>
>
>
> >From: "Amit Badheka" <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >Subject: url mapping
> >Date: Wed, 30 Oct 2002 10:19:01 +0530
> >
> >I would like to map my url for jsp pages in web.xml,
> >The pages are kept as -
> > /jsp/*.jsp
> >
> >so, everytime when I call any page I have to use url as
/jsp/some.jsp.
> >
> >Can anybody tell me how should I map my url so that I can directly call
the
> >jsp page(without prefixing /jsp).
> >
> >Thanks.
>
>
> _
> Broadband? Dial-up? Get reliable MSN Internet Access.
> http://resourcecenter.msn.com/access/plans/default.asp
>
>
> --
> To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
<mailto:struts-user-help@;jakarta.apache.org>
>
>



--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>




url mapping

2002-10-29 Thread Amit Badheka
I would like to map my url for jsp pages in web.xml,
The pages are kept as -
/jsp/*.jsp

so, everytime when I call any page I have to use url as /jsp/some.jsp.

Can anybody tell me how should I map my url so that I can directly call the jsp 
page(without prefixing /jsp).

Thanks.



generating serial no

2002-10-28 Thread Amit Badheka
Is there any tag available in struts to generate serial no ?

AB.






html:option with iterate

2002-10-27 Thread Amit Badheka
Hi all,

I have some code like below, where I am trying to create a select list using form bean 
property. I am able to create it, but problem comes when I trying to put value for the 
option. To resolve the problem I defined to  vars, which I am bale to use 
well as I am using categoryNm ,but when I put this value in value="" it gives me error
like 
"cannot resolve symbol"

  

   
   
   <%=categoryId%><%=categoryNm%>
---Here categoryId value display but in value it gives 
error-
    
  

Please help.

Amit Badheka.



urgent:exception

2002-10-22 Thread Amit Badheka
I am getting the following exception runtime in a jsp file. I am not sure what is the 
reason.

The jsp file contains one  and on submit it goes to one action class. I am 
using DynaActionForm.

javax.servlet.ServletException: Must specify type attribute if name is specified

Please help.

Amit Badheka.




Re: Startup Problem

2002-09-26 Thread Amit Badheka

Hi,
make sure that the action/form class is declared public.

Amit.
- Original Message -
From: "Kalaiselvan" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, September 27, 2002 7:56 AM
Subject: Re: Startup Problem


> Sorry, it was a pasting problem the package name is
>
> 
>
> Still i got the same error. Plz help where i made a mistake
> its very urgent for me to solve.
>
> Thanx
> Kalaiselvan.S
>
> - Original Message -
> From: "Mark Maimone" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, September 26, 2002 10:54 PM
> Subject: Re: Startup Problem
>
>
> > I see that the package name for your LoginForm has .. in it
> >
> > 
> >
> >
> > >>> [EMAIL PROTECTED] 09/26/02 13:13 PM >>>
> > Hi All,
> >
> > Here i'm facing serious problem..
> > I already configured test application in Struts.
> >
> > But when I configure my original Application i face serious problem..
> >
> > I got an error like
> >
> > "No action instance for path /login could be created"
> > "The server encountered an internal error (No action instance for path
> > /login could be created) that prevented it from fulfilling this
> > request."
> >
> > I gave my code here
> >
> > struts-config.xml
> > 
> >
> > 
> >
> >  >   "-//Apache Software Foundation//DTD Struts Configuration
> > 1.0//EN"
> >   "http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd";>
> >
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >  >type="com.login.LoginAction"
> >name="loginForm"
> >scope="request"
> >input="/login.jsp">
> >  
> > 
> > 
> > 
> >
> > web.xml
> > -
> >
> > 
> >
> >  >   PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
> >   "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>
> >
> > 
> >
> >   
> >   
> > action
> >
> > org.apache.struts.action.ActionServlet
> > 
> >   application
> >
> >
com.openwave.careertracks.ApplicationResources
> > 
> > 
> >   config
> >   /WEB-INF/struts-config.xml
> > 
> > 
> >   debug
> >   2
> > 
> > 
> >   detail
> >   2
> > 
> > 
> >   validate
> >   true
> > 
> > 1
> >   
> >
> >
> >   
> >   
> > action
> > *.do
> >   
> >
> >
> >   
> >   
> > login.jsp
> >   
> >
> >   
> >   
> > /WEB-INF/app.tld
> > /WEB-INF/app.tld
> >   
> >
> >   
> >   
> > /WEB-INF/struts-bean.tld
> > /WEB-INF/struts-bean.tld
> >   
> >
> >   
> > /WEB-INF/struts-html.tld
> > /WEB-INF/struts-html.tld
> >   
> >
> >   
> > /WEB-INF/struts-logic.tld
> > /WEB-INF/struts-logic.tld
> >   
> > 
> >
> > login.jsp
> > ---
> > <%@ taglib uri='/WEB-INF/struts-template.tld' prefix='template' %>
> >
> > 
> >   
> >   
> >   
> >   
> > 
> >
> > login.html
> > 
> > 
> > 
> > ***Username:** > type="text" name="userName" value="" size="15">
> > 
> > 
> > 
> > ***Password:** > type="password" name="password" size="15">
> >  > border="0">
> > 
> >
> >
> > Please help
> > where i made a mistake..
> >
> > Thanx in Advance
> >
> >
> > --
> > To unsubscribe, e-mail:
> 
> > For additional commands, e-mail:
> 
> >
>
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>



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




Re: confusion about view part!!!

2002-08-29 Thread Amit Badheka

Thanks to all.

Amit Badheka.

- Original Message -
From: "Trieu, Danny" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, August 29, 2002 10:21 PM
Subject: RE: confusion about view part!!!


> Amit,
>
> I've been using Struts/Tiles for quite sometime.  They works well
together.
> My only advice is stay away from frame and JavaScript that control the
> look&feel as much as possible(this doesn't mean you have to avoid using
it).
>
>
> danny
>
> -Original Message-
> From: Amit Badheka [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 28, 2002 10:18 PM
> To: Struts Users Mailing List
> Subject: confusion about view part!!!
>
>
> Hi All,
>
> I am working on very large scale b2b portal containing Jsp pages which
usus
> javascripts and style sheets in bulk.
>
> So, I am confused that view pages should be made directly using struts tag
> or it should be easy to make in html and then convert into struts.
>
> In my company designers are not aware with struts so we are going to get
> html pages.
>
> do any one has idea that how difficult it is going to be if we converts
html
> pages(with bulky javascript and stylesheets) into struts?
>
> Also, designers are used to make pages using frames, so is there any
problem
> using frames in struts or templates (or tiles) is better option?
>
> Please help me to sort out.
>
> Thanks in reading the mail.
>
> Amit Badheka.
>
>
> --
> 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]>




confusion about view part!!!

2002-08-28 Thread Amit Badheka

Hi All,

I am working on very large scale b2b portal containing Jsp pages which usus 
javascripts and style sheets in bulk.

So, I am confused that view pages should be made directly using struts tag or it 
should be easy to make in html and then convert into struts.

In my company designers are not aware with struts so we are going to get html pages.

do any one has idea that how difficult it is going to be if we converts html 
pages(with bulky javascript and stylesheets) into struts?

Also, designers are used to make pages using frames, so is there any problem using 
frames in struts or templates (or tiles) is better option?

Please help me to sort out.

Thanks in reading the mail.

Amit Badheka.




Re: Losing my sanity: 1.1b & Validator problems

2002-08-22 Thread Amit Badheka

Hi Ralf,

try this, it should work -


   
 

in struts1.1b2 , multiple declaration of  is not allowed.

Amit.

- Original Message -
From: "Ralf Lorenz" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, August 22, 2002 2:50 PM
Subject: Re: Losing my sanity: 1.1b & Validator problems


> I inserted the javascript-tag and all I got in the html-file was :
>
> //  End -->
> 
>
> All my validations are in this XML-file:
>
> 
>
>
>
>   
>  property="username"
> depends="required">
>
>  
>  property="password"
> depends="required">
>
>  
>   
>
>
> 
>
> That's all. I know that problems occur when I introduced Tiles-Definitions
> into my webapp.
> I don't know how to go on or either where to look for the error!
> Can anyone help ;-?
> Ralf
>
> out of my struts-config.xml:
>
> 
>name = "loginForm"
>   dynamic = "true"
>   type = "org.apache.struts.validator.DynaValidatorForm">
> 
> 
>   
> 
>
> 
>path="/login"
>   type="de.subsist.zeiterfassung.controller.actions.LoginAction"
>   scope="request"
>   name="loginForm"
>   validate="true"
>   input="/security/login.jsp">
>  
>  
>   
> 
>
>  className="org.apache.struts.validator.ValidatorPlugIn">
> value="/WEB-INF/conf/validator-rules.xml"/>
> 
>  
>
>  className="org.apache.struts.tiles.TilesPlugin">
>value="/WEB-INF/conf/tiles-defs.xml" />
>   
>   
>   
>  
>
>
>
> - Original Message -
> From: "Richards, Devin N (Devin)" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Wednesday, August 21, 2002 6:17 PM
> Subject: RE: Losing my sanity: 1.1b & Validator problems
>
>
> > You have all of your validations in the XML?
> > Have you tried adding the  to the
JSP
> page to see if the validation is working correctly? Once you have this you
> can "view source" and see the validation code it generated. This will show
> you if the validator plug-in is setup correctly and that your XML is
> correct.
> >
> > BTW: we are most likely going to production on 1.1-b2
> >
> > Good luck.
> >
> > -Devin
> >
> > -Original Message-
> > From: Andrew Shirk [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, August 21, 2002 12:13 PM
> > To: Struts Users Mailing List
> > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: Re: Losing my sanity: 1.1b & Validator problems
> >
> >
> > Devin, thanks for further the further explanation. I replied to your
> > previous email earlier this morning, but it seems to have been lost in
> > the ether. Anyway, I also tried including super.validate() in my form
> > bean, which confirmed that Validation is in fact being done. The mystery
> > is why validation is being performed but control is never returned to
> > the JSP. It simply dies. No error. Nothing. I didn't change anything in
> > the code when moving to 1.1b, so am beginning to wonder if this is a bug
> > of some sort.
> >
> > I've spent way too many hours trying to track down the problem and may
> > have to just go back to 1.1a if I can't find a solution today.
> >
> > Thanks again for the help.
> >
> > Andrew
> >
> > On Wednesday, August 21, 2002, at 10:16  AM, Richards, Devin N (Devin)
> > wrote:
> >
> > > I had some validation that was done in the validation.xml
> > > (required/minlenght etc) and then I wanted to do some business rule
> > > validation that I could not do in the XML. When I put the code into my
> > > form bean's validate() method, I got all of the business validations,
> > > but none of my basic required/minlenght validations that were done in
> > > the XML. Once I added a call to super.validate() it picked them up.
> > >
> > > Here is part of the struts-config.xml:
> > >  > > path="/rmaFormSubmit"
> > > name="rmaForm"
> > > type="com.lucent.portal.rma.RmaFormAction"
> > > input="rmaFormDef"
> > > scope="request"
> > > parameter="submit"
> > > validate="true">
> > > 
> > > 
> > >
> > > 
> > >  > > value="/WEB-INF/validator-rules.xml,
> > > /WEB-INF/validation.xml,
> > > /WEB-INF/classes/com/lucent/portal/rma/RmaValidation.xml" />
> > > 
> > >
> > > The "rmaAckDef" as well as "rmaFormDef" are Tiles definations.
> > >
> > > Here is part of RmaValidation.xml:
> > > 
> > > 
> > > 
> > > 
> > > 
> > >
> > > 
> > > 
> > > 
> > > 
> > >
> > > For these validations I use the  tag in the form JSP
> > > to catch all normal validations before submit.
> > >
> > > Here is part of the RmaForm.java (extends ValidatorForm):
> > > public ActionErrors validate(ActionMapping mapping,
> > > HttpServletRequest request)
> > > {
> > > //
> > > // Do validations from XML
> > >
> > > ActionErrors errors = super.validate(mapping, request);
> > >
> > >
> > > //
> > > // Extended validation checking
> > >
> > > if(this.isDoa())
> > > if(!checkDosOrderNumber())
> > > errors.add("dosOrderNumber",

Re: Cannot find bean

2002-08-12 Thread Amit Badheka

Hi,

make asure you have included all the required tld files and jar
files(struts.jar + common*.jar) in the war file.

Amit.
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 13, 2002 10:38 AM
Subject: Cannot find bean


> Hi there...
>
> I've been searching for this problem but I can't find any solution:
>
> Servlet Error: Cannot find bean org.apache.struts.taglib.html.BEAN in
> scope null
>
> Does anybody have an idea on what's going on?
>
> Thank you very much!!
>
>
>
> Edo Fuenzalida
> Sr Programmer Analyst
> National BarCode System
>
>



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




Re: Beginner's problem

2002-08-12 Thread Amit Badheka

Hi Hobie,

Make sure that in your war file the properties file included in
web-inf\classes folder.

or

 if you are placing this file under your source package then it should be
come under web-inf\classes\\ApplicationResources.properties.

By having a look at your definition, I think you are placing your properties
file in different location other than source package. So make sure it is
included in web-inf\classes folder in war file.

Amit.
- Original Message -
From: "Hobie Orris" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, August 12, 2002 11:12 PM
Subject: Beginner's problem


> I am using Struts 1.02 on Tomcat 4, and I get this message:
> Cannot find message resources under key org.apache.struts.action.MESSAGE
>
> I note the previous discussion on this topic in the archive has not
pointed
> to a solution, so I'm asking it again.
>
> I deploy an .ear file containing a .war file which contains (among
others):
> WEB-INF/lib/  struts.jar, parser.jar and jaxp.jar
> WEB-INF/classes/ ApplicationResources.properties
> WEB-INF/ web.xml, struts-config.xml
>
> The web.xml contains:
>   
>  ActionServlet
>  ActionServlet
>  org.apache.struts.action.ActionServlet
>  
>application
>ApplicationResources
>  
> ...
>
> I'm missing something here, but I don't know what.  Can someone please
> advise me on this?
>
> Hobie Orris
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>



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




Re: Struts Tag Library Issue

2002-08-12 Thread Amit Badheka

Hi,

Is this any new tld file introduced in nightly build?

I have not seen or heard of any such tld file in the framework.

Amit.
- Original Message -
From: "Ganesh Balachandran" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 13, 2002 12:08 AM
Subject: Struts Tag Library Issue


> Hi,
>
> I am getting the following exception when I invoke a jsp file:
>
> Error in using tag library uri='/WEB-INF/struts-form.tld'
> prefix='form': The Tag class
> 'org.apache.struts.taglib.html.ImageTag' has no setter method
> corresponding to TLD declared attribute 'path', (JSP 1.1 spec,
> 5.4.1)
>
> My app server is: weblogic 6.1 SP3.
>
> Surprisingly, the other three tld files namely, struts-html.tld,
> struts-bean.tld, struts-logic.tld are loading fine without any
> issues.
>
> The references in web.xml, struts-config.xml seems to be fine.
>
> Can anybody help me on this ?
>
> Thanks,
>
> Ganesh
> __
> Give your Company an email address like
> ravi @ ravi-exports.com.  Sign up for Rediffmail Pro today!
> Know more. http://www.rediffmailpro.com/signup/
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>



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




Re: IDE for struts - jbuilder?

2002-08-12 Thread Amit Badheka

try struts-builder by following the link -

River North or Struts Builder

It is very simple IDE that runs by generaing scripts and provides you all
the required documents for a webapp.
You are just need to put your buisness logics.

There is also one more IDE just annouced for webapp using struts. have a
look -

http://www.theserverside.com/home/thread.jsp?thread_id=14909


Amit.


- Original Message -
From: "Fabian Sommer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 12, 2002 2:51 PM
Subject: IDE for struts - jbuilder?


Hello!

Can someone tell me what´s the best IDE to develop web-apps using
struts?
I tried to use struts in jbuilder, but the tools I found were not too
impressive (easy-struts and tagvision). Any hints how to use struts in
common IDEs would be fine...
Thanks!
Fabian Sommer


--
To unsubscribe, e-mail:

For additional commands, e-mail:






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