śr., 14 maj 2025 o 23:54 Deborah White
napisał(a):
>
> Updating to Struts 7 and I am receiving context path errors like:
>
> 13:46:46,495 WARN [org.apache.struts2.dispatcher.Dispatcher] (default
> task-1) Could not find action or result: /SOTAS/sotas/storeUserName.action:
>
Updating to Struts 7 and I am receiving context path errors like:
13:46:46,495 WARN [org.apache.struts2.dispatcher.Dispatcher] (default task-1)
Could not find action or result: /SOTAS/sotas/storeUserName.action: There is no
Action mapped for namespace [/sotas] and action name [storeUserName
pt., 14 sie 2020 o 10:48 Heikki Hyyrö napisał(a):
> I am a bit confused about the rules concerning mapping URL paths to
> actions. Let's say that I have a Struts application running at
> example.com with the app name "myApp". Then the usual path to access a
> Stru
Sorry, my post obviously had a typo. I was supposed to write the link
open tag as .
-Heikki
Heikki Hyyrö kirjoitti 14.8.2020 klo 11.47:
Link to bar-action
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.or
Hi,
I am a bit confused about the rules concerning mapping URL paths to
actions. Let's say that I have a Struts application running at
example.com with the app name "myApp". Then the usual path to access a
Struts action named "foo" would presumably be
example.com/
pon., 30 mar 2020 o 16:16 amit vijayvargee
napisał(a):
> Whilst building the struts 2.5.20 with struts tiles plug-in, I'm getting
> apache tiles 3.0.8 version jars. As you aware of apache tiles project is out
> of support now. Is there any future plan to remove these dependency from
> struts?
Thanks Lukasz for your quick response.
Whilst building the struts 2.5.20 with struts tiles plug-in, I'm getting apache
tiles 3.0.8 version jars. As you aware of apache tiles project is out of
support now. Is there any future plan to remove these dependency from struts?
Due to this apache tiles
Tiles and sitemesh are for traditional (non - single page applications)
development. Tiles has performance advantages over sitemesh. I don't think
the OP should experience any blockers with respect to tiles migration and
will gain version 3 benefits as well.
On Wed., Mar. 25, 2020, 10:40 a.m. M Hu
Hii
Got the differencea in here
http://tiles.apache.org/framework/tutorial/pattern.html
I have to try using tiles. When i need a Single Page Application approach,
currently i use one single jsp page that have iframe in it. So the page
literally have header, footer, sidebar, and iframe for body co
Hii
I am not use tiles before, it seems like site mesh. Currently we use
sitemesh to decorate page based on url. I checked the tiles its retired. I
suggest you to use sitemesh. I dont know what is plus using tiles. With
sitemesh you don't even use plugin in struts.
Thank you...
On Mon, Mar 2
pon., 23 mar 2020 o 10:41 amit vijayvargee
napisał(a):
> We are currently looking to migrate struts 2.3 and tiles 2 to newer version.
> As per the security scan, existing tiles (2.0) version is deprecated and
> reported some vulnerability in it.
> Could you please help to answer following querie
Hi,
We are currently looking to migrate struts 2.3 and tiles 2 to newer version. As
per the security scan, existing tiles (2.0) version is deprecated and reported
some vulnerability in it.
Could you please help to answer following queries?
• Possible options to migrate to newer version, we
2014-11-12 12:22 GMT+01:00 Lukasz Lenart :
>> > "multipart/form-data" method="post">
>
> this missing "namespace" attribute
This is the key problem here - you must specify this attribute when
referencing action outside its package
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
--
2014-11-10 15:22 GMT+01:00 Peter Björkman :
> Hi! Just changed my config to enable regex in action names. In struts.xml:
>
>
>
> Works great! But as a side effect, s:forms no longer outputs the correct
> path to my actions.
>
> The code below:
>
> "multip
2014-11-10 15:45 GMT+01:00 Peter Björkman :
> Thanks for your reply! Yes I've read that, and I have those other two
> configs also:
>
>
>
>
>
> The action that the form is pointing to is completely unrelated and has no
> wildcards in the action name, so I don't think it should be affected by
> t
:22 GMT+01:00 Peter Björkman :
> > Hi! Just changed my config to enable regex in action names. In
> struts.xml:
> >
> >
> >
> > Works great! But as a side effect, s:forms no longer outputs the correct
> > path to my actions.
> >
> > The code be
In struts.xml:
>
>
>
> Works great! But as a side effect, s:forms no longer outputs the correct
> path to my actions.
>
> The code below:
>
> "multipart/form-data" method="post">
>
> used to output:
>
> action="/mycontext/news/up
Hi! Just changed my config to enable regex in action names. In struts.xml:
Works great! But as a side effect, s:forms no longer outputs the correct
path to my actions.
The code below:
used to output:
but now I only get:
The context and namespace is stripped out. I verified that just
> > Anything in the logs?
> No, nothing at all
>
Is your logging setup properly?
can you see any log messages like server startup?
This Email was scanned by Sophos Anti Virus
, 2014 2:25 PM
To: Struts Users Mailing List
Subject: Re: No action instance for path /welcomeAction could be created
A 500 error means server error. I bet your configuration has a typo or
something. Struts won't service anything until you review your logs and correct
what's wrong.
On
No, nothing at all
Thank you
Eugene Etingin
212-815-3393 Land line
646-886-7790 Cell
-Original Message-
From: Lukasz Lenart [mailto:lukaszlen...@apache.org]
Sent: Wednesday, April 09, 2014 2:51 PM
To: Struts Users Mailing List
Subject: Re: No action instance for path /welcomeAction
Anything in the logs?
2014-04-09 20:19 GMT+02:00 Etingin, Eugene :
> The problem is that when I try to access URL
> http://localhost:7001/RDM/welcomeAction.do
>
> I receive an error 500 HTTP
>
> No action instance for path /welcomeAction could be created
>
> Thank you
&g
t;
> 2014-04-09 18:24 GMT+02:00 Etingin, Eugene :
> > Dear Struts Experts
> >
> >
> > Can somebody please help me with this problem? I am deploying war file
> on Weblogic. The application is done with Struts,
> >
> > struts-config
> >
> >
> &
The problem is that when I try to access URL
http://localhost:7001/RDM/welcomeAction.do
I receive an error 500 HTTP
No action instance for path /welcomeAction could be created
Thank you
Eugene Etingin
212-815-3393 Land line
646-886-7790 Cell
-Original Message-
From: Lukasz Lenart
What's the problem? Do you see anything in the logs?
2014-04-09 18:24 GMT+02:00 Etingin, Eugene :
> Dear Struts Experts
>
>
> Can somebody please help me with this problem? I am deploying war file on
> Weblogic. The application is done with Struts,
>
> struts-config
&
Thank you
Eugene Etingin
-Original Message-
From: Eric Reed [mailto:ere...@mail.nysed.gov]
Sent: Wednesday, April 09, 2014 12:40 PM
To: Struts Users Mailing List
Subject: Re: No action instance for path /welcomeAction could be created
Looks like a struts 1 applicati
Looks like a struts 1 application, why not struts 2?
It appears you are capturing request element instead of using the framework,
which will work fine but is just a bad practice.
Certain versions of Weblogic hiccup on comments in html and config files. Also
try port 7101 which is the default on
Dear Struts Experts
Can somebody please help me with this problem? I am deploying war file on
Weblogic. The application is done with Struts,
struts-config
WelcomAction.java
/**
* .
*
*
*
* Name Date Description
* --
*
*/
pac
Hi Ilya,
maybe this will help:
Best greetings,
Paweł Wielgus.
2011/4/11 Ilya Kazakevich :
> Hello,
>
> I store all my jspx templates in /WEB-INF/templates//
> I am tired of copy/paste like
>
> /WEB-INF/templates/foo/success.jspx
> /WEB-INF/templates/foo/foo.jspx
>
> All my templates are in WEB-
Hello,
I store all my jspx templates in /WEB-INF/templates//
I am tired of copy/paste like
/WEB-INF/templates/foo/success.jspx
/WEB-INF/templates/foo/foo.jspx
All my templates are in WEB-INF/templates/
Could I set it in one place for the whole package?
I briefly looked into the code and found
On 7/22/10 10:59 AM, Amol Ghotankar wrote:
So I can conclude if we give w/error.jsp it takes path relative to
namespace.
If we give /w/error.jsp it take absolute path from web content folder.
This is true, but can be stated more generally, not related to struts:
A path starting with "
Dear Dale,
Yes it works perfectly, thanks.
So I can conclude if we give w/error.jsp it takes path relative to
namespace.
If we give /w/error.jsp it take absolute path from web content folder.
Regards,
Amol
On Thu, Jul 22, 2010 at 7:54 PM, Amol Ghotankar wrote:
> Dear Dale,
>
> i
Dear Dale,
i have used relative path of ../../../w/error.jsp
Can't i directly give w/error.jsp - if i give so I struts searches it in
x/y/z/w/error.jsp i.e relative to the namespace.
I will have to try with /w/error.jsp
Regards,
Amol
On Thu, Jul 22, 2010 at 7:38 PM, Dale Newfield
On 7/22/10 3:40 AM, Amol Ghotankar wrote:
Can't i directly give w/error.jsp
"w/error.jsp" is a relative path. What happens if you specify
"/w/error.jsp"?
-Dale
-
To unsubscribe, e-mail: user-unsu
Dear List member,
How can I give absolute path to my result page.
web content -
|---x
|:-y
| :-z
|--w
Eg: My namespace is /x/y/z
and I want my error page which is in w folder in web content
then i have to give relative path of
../../../w/error.jsp
Can't i directly g
Hi Dane,
are You calling resources with absolute path?
< img src="/absolute/path/to/image.jpg />
or relative?
< img src="relative/path/to/image.jpg />
If relative then it is working like You described,
if absolute then post your code.
Best greetings,
Paweł Wielgus
2010/5/1
On 10-05-14 10:52 AM, Dane wrote:
I'm testing a Struts 2 application; resources included in the
page--images, stylesheets--do not point to their absolute location,
but instead adopt the path of the current page's URL and simply append
their location to the end of it. I discovered tha
I'm testing a Struts 2 application; resources included in the
page--images, stylesheets--do not point to their absolute location, but
instead adopt the path of the current page's URL and simply append their
location to the end of it. I discovered that if I use the tag in
the of th
Hello.
is anyone using successfully Struts 2.1.8.1 using a CUSTOM freemarker
template path (placed in the Web Application and not in the
classpath)?
I mean:
It seems that if I just extract the themes from the struts jar and I
put it in the Web Application paths it stops work
words just use the Tiles that comes
with Struts 1.3. I added the Tiles Plug-In and changed everything
back from tiles.apache.org . . . to struts.apache.org . . . Now, I'm
getting the "Path page.logon does not start with a "/" character".
I have researched this issue some but
ssage: "Missing configuration resource for path
/org/apache/struts/tiles/chain-config.xml".
I've modified the ActionServlet class to spit out some debugging data
and here is what I got:
14:23:12,019 INFO splitting and resolving paths:
'/org/apache/struts/tiles/chain-config.xml
On Fri, 11 Sep 2009 07:59:38 -0400, Martin Gainty
wrote:
(i dont know what a realtive path is)
Martin Gainty
I think he spelt it like that to confuse bots...
Steve
-
To unsubscribe, e-mail: user-unsubscr
hi,
The raltive path is jsp/abc.jsp
The absolute path is http://localhost:8080/test/jsp/abc.jsp
Thanks
Suhas Kokal
--- On Fri, 11/9/09, srinu salnki wrote:
From: srinu salnki
Subject: Re: realtive path and absolute path
To: "Struts Users Mailing List"
Date: Friday, 11
Relative path is a path relative to the current directory, for instance if
you home directory was c:\temp and you wanted to use an absolute path to
the "documents" subdirectory of c:\temp you would use c:\temp\documents, a
relative path would be "documents" assuming your curre
A full path or absolute path is a path that points to the same location on one
file system regardless of the working directory or combined paths. It is
usually written in reference to a root directory.
A relative path is a path relative to the working directory of the user or
application
Thanks suhas
for more clarification :
Say I had deplayed a application nammed test in jboss
so there i have one link:
http://localhost:8080/test/jsp/abc.jsp
for this what is the relative path and the absolute path.
regards
Sunil
On Fri, Sep 11, 2009 at 2:19 PM, suhas kokal wrote:
>
hi,
Absolute path starts from /ContextName/...
Relative path does not start from / but with the URL u declare in the
configuration path
Thanks
Suhas Kokal
--- On Fri, 11/9/09, srinu salnki wrote:
From: srinu salnki
Subject: realtive path and absolute path
To: user@struts.apache.org
Date
Hi
I am new to struts..pls.can u tell me this difference.
what is the difference b/w relative path and absolute path.
srinu
package line in the file, ant couldn't generate
> any content in all *.xml files.
> If I remove the package line from the java source code, all xml files
> are generated, but without path (that come after the word of
> "package").
>
> Please see below for the sourc
Hi,
I have an Action java source code with package at the top of the
file. When I put the package line in the file, ant couldn't generate
any content in all *.xml files.
If I remove the package line from the java source code, all xml files
are generated, but without path (that come afte
+ ",height=" +
(screen.height-5);
properties += ",scrollbars";
newwin=window.open(targeturl,"",properties)
}
}
But somehow when this page1.jsp is hit I get the following exception
The path of an ForwardConfig cannot be null
Is there a reason why t
Read the section on the config file elements in struts.xml on the
Struts2 docs site. Also read the Interceptors guide[1].
You have to specify the interceptor stack on the action. You can use
the element to specify what stack to use by
default.
And what you've defined is not an intercepto
Big problem folks.
i already have an interceptor form the ejb.
so i need to use both of these interceptors.
i've to update the DEFAULT PACKAGE in this way:
i can't simply a
thanks,
but i definide in struts my interceptors in this way:
in order to use the interceptors only when namespace is /admin/*
but the interceptor is never called!
And:
where i've to put the globalforward?
i putted a the end of the sturts.xml
something like tha
2009/5/21 Paweł Wielgus :
> global forward
thanks,
but i definide in struts my interceptors in this way:
in order to use the interceptors only when namespace is /admin/*
but the interceptor is never called!
ideas?
thanks
--
Stefano
>>> message /WAP-Shop-war/denied.action
>>>
>>> description The requested resource (/WAP-Shop-war/denied.action) is
>>> not available.
>>>
>>> but is available!
>>>
>>> ideas?
>>>
>>>
>>>
>>>
ot available.
>>
>> but is available!
>>
>> ideas?
>>
>>
>>
>> On Wed, May 20, 2009 at 13:35, Andy Sykes wrote:
>>>
>>> Put the mapping for the admin filter above the struts2 filter. Filters
>>> are
first and dispatching it
before it
ever reaches the admin filter.
On 20 May 2009, at 09:37, Stefano Tranquillini wrote:
Hi all.
i need to block the path /admin/ for all the pepole. only the people
logged in as root can access it.
i've done a filter, but struts see
he struts filter is catching the request first and dispatching it before it
> ever reaches the admin filter.
>
> On 20 May 2009, at 09:37, Stefano Tranquillini wrote:
>
>> Hi all.
>> i need to block the path /admin/ for all the pepole. only the people
>> logged in as
all.
i need to block the path /admin/ for all the pepole. only the people
logged in as root can access it.
i've done a filter, but struts seems to dosen't works with its
struts2
org.apache.struts2.dispatcher.FilterDispatcherfilter-class>
Hi all.
i need to block the path /admin/ for all the pepole. only the people
logged in as root can access it.
i've done a filter, but struts seems to dosen't works with its
struts2
org.apache.struts2.dispatcher.FilterDispatcher
a
only
when I use forward in Struts and append query string in the path of forward
in struts-config.xml. As such, my question is; is this the expected behavior
in Struts 1.1 to also append the query string; when getRequestURI is alled?
mule_user wrote:
>
> In WebSphere 5.1 test server for Stru
According to specification, getRequestURI() should not return the query
string my=Update. According to specification, getRequestURI() should only
return /MyProjWeb/submit.do.
Is it correct behavior for Struts to return query string also path is
appended with query string?
Please note that the same
David C. Hicks wrote:
ChadDavis wrote:
"Harvey" is nice though. Great movie. There's a scene with this
slightly chubby lady singing that cracks me up completely.
Amazing, but you're the first person I've encountered who got the
reference to the movie. I had to explain it to everyone else
Most excellent! I just served that up to the team on our chat channel.
They're lovin' it.
ChadDavis wrote:
You want this one:
http://www.imdb.com/title/tt0042546/
On Thu, Feb 5, 2009 at 3:14 PM, Musachy Barroso wrote:
Ah, now you made curious...
musachy
On Thu, Feb 5, 2009 at 5:13 PM
You want this one:
http://www.imdb.com/title/tt0042546/
On Thu, Feb 5, 2009 at 3:14 PM, Musachy Barroso wrote:
> Ah, now you made curious...
>
> musachy
>
> On Thu, Feb 5, 2009 at 5:13 PM, David C. Hicks wrote:
>>
>> ChadDavis wrote:
>>>
>>> "Harvey" is nice though. Great movie. There's a sce
Ah, now you made curious...
musachy
On Thu, Feb 5, 2009 at 5:13 PM, David C. Hicks wrote:
>
> ChadDavis wrote:
>>
>> "Harvey" is nice though. Great movie. There's a scene with this
>> slightly chubby lady singing that cracks me up completely.
>>
>
> Amazing, but you're the first person I've en
ChadDavis wrote:
"Harvey" is nice though. Great movie. There's a scene with this
slightly chubby lady singing that cracks me up completely.
Amazing, but you're the first person I've encountered who got the
reference to the movie. I had to explain it to everyone else - the
magical, invisi
"Harvey" is nice though. Great movie. There's a scene with this
slightly chubby lady singing that cracks me up completely.
On Thu, Feb 5, 2009 at 3:00 PM, David C. Hicks wrote:
> I think we've got the problem solved now. One of the developers found that
> in one
I think we've got the problem solved now. One of the developers found
that in one case the path was actually hard-coded in a JSP. Ugh! We
also had not provided a namespace for our struts package, and so
apparently it was defaulting to the package name. Just little details
that get
> 2) Is it possible to not have to have the base path defined in Struts at
> all? It seems to me that this would be the ideal solution.
If you deploy the app as the root app in the servlet container, then
your struts namespaces are essentially doing this. I think the net
effect is what y
> 1) How would I go about changing that base context path "/harvey" into
> "/somethingelse"?
It depends on the container that you are using
> 2) Is it possible to not have to have the base path defined in Struts at
> all? It seems to me that this would be the
ard to this.
1) How would I go about changing that base context path "/harvey" into
"/somethingelse"?
2) Is it possible to not have to have the base path defined in Struts at
all? It seems to me that this would be the ideal solution.
Thanks,
Dave
---
, why copy it again, especially if it's big - it just adds another step.
-Original Message-
From: Dave Newton [mailto:newton.d...@yahoo.com]
Sent: Wednesday, December 17, 2008 12:52 PM
To: Struts Users Mailing List
Subject: RE: get file path from FormFile
It hardly seems necessary
It hardly seems necessary to make a framework change when you can just write
the file.
--- On Wed, 12/17/08, Givler, Eric wrote:
> From: Givler, Eric
> Subject: RE: get file path from FormFile
> To: "'Struts Users Mailing List'"
> Date: Wednesday, December
) {
String path = null;
Class formClass=CommonsMultipartRequestHandler.CommonsFormFile.class;
Field fileItemField = formClass.getDeclaredField("fileItem");
fileItemField.setAccessible(true);
Object o = fileItemField.get( file );
if ( o instanceof Defau
Thanks for your example. It helped me realize that when I edited my path so
that it was relative to the context path of my app, instead of cutting and
pasting everything after the domain, everything worked just fine.
- Dave
Paweł Wielgus wrote:
>
> Hi Dave,
> i have almost the same
Elyes
2008/12/16 Nils-Helge Garli Hegvik
> So... are you:
>
> 1) Trying to upload a file to the server?
> 2) Trying to send a file the browser?
> 3) Both?
>
> If 1) See if http://wiki.apache.org/struts/StrutsFileUpload can help.
> If your API only accepts a file pat
So... are you:
1) Trying to upload a file to the server?
2) Trying to send a file the browser?
3) Both?
If 1) See if http://wiki.apache.org/struts/StrutsFileUpload can help.
If your API only accepts a file path, save the file as a temp file
locally on the server.
If 2) The solution has been
--- On Tue, 12/16/08, elyes sallem wrote:
> to avoid any confusion,
Too late!
> 1- i have data in a file, so through the formfile, i get
> the file path (now i make the test locally, but after it
> will be deployed on a server) and i load this data in a
> database, depending on
to avoid any confusion,
all i want to do is that :
1- i have data in a file, so through the formfile, i get the file path (now
i make the test locally, but after it will be deployed on a server) and i
load this data in a database, depending on the file's meta data, and its
content
2- i allo
t;> after this (so as a constraint, i can't modify the class in
>> this jar)
>
> So... you're *uploading* a file to the server (from the user of the browser
> to the web application)??? Then you need to save the FormFile locally and use
> *t
ile to the server (from the user of the browser to
the web application)??? Then you need to save the FormFile locally and use
*that* path when you call your library methods.
Dave
-
To unsubscribe, e-mail: user-unsubscr...@strut
e user.
>
> Nils-H
>
> On Tue, Dec 16, 2008 at 12:24 PM, elyes sallem
> wrote:
> > Hello,
> > after publishing this question, i conclude that it is not possible de get
> > back the absolute path from FormFile
> > but the problem is that i import a jar file, in
ou get
*EXACTLY* the behavior you desire. No applet. No fumbling around with
FormFile properties. No file upload.
Robert
elyes sallem wrote:
Hello,
after publishing this question, i conclude that it is not possible de get
back the absolute path from FormFile
but the problem is that i import a j
--- On Tue, 12/16/08, elyes sallem wrote:
> after publishing this question, i conclude that it is not
> possible de get back the absolute path from FormFile but
> the problem is that i import a jar file, in which i call
> a method that accept only path of file so what do you propo
be downloaded by the user.
Nils-H
On Tue, Dec 16, 2008 at 12:24 PM, elyes sallem wrote:
> Hello,
> after publishing this question, i conclude that it is not possible de get
> back the absolute path from FormFile
> but the problem is that i import a jar file, in which i call a
Hello,
after publishing this question, i conclude that it is not possible de get
back the absolute path from FormFile
but the problem is that i import a jar file, in which i call a method that
accept only path of file
so what do you propose, i get the inputstream , then i create temporarly a
file
us.
2008/12/15 laredotornado :
>
> Hi,
>
> I'm using Struts 1 and trying to figure out the mysterious world of
> forwarding. I have
>
>String path = new
> String("/npsim/appGroupsAdmin.do?addAppGroup=Add+New+Group&submitted=submit&a
Hi,
I'm using Struts 1 and trying to figure out the mysterious world of
forwarding. I have
String path = new
String("/npsim/appGroupsAdmin.do?addAppGroup=Add+New+Group&submitted=submit&task=add&appName="
+ URLEncoder.encode(appName));
ica versa using:
and
The links do work - they do load the other JSP - but also generate the
following error:
ERROR [RequestProcessor:296] No action instance for path
/my/namespace/submit/view could be created
java.lang.NullPointerException
Why is this happening, can anybody explain?
--- On Wed, 8/13/08, Struts Two wrote:
> Assuming you have a file named "test.txt" at the
> root of your webapp, you can get the absolute path name to
> the file with the following code snippet in ur interceptor.
> ActionContext context = actionInvocatio
Assuming you have a file named "test.txt" at the root of your webapp, you can
get the absolute path name to the file with the following code snippet in ur
interceptor.
ActionContext context = actionInvocation.getInvocationContext();
HttpServletRequest request = (HttpServ
Vasyl,
The attempt is very iffy. Some things you need to know:
1) No Servlet API provides the path to your files.
2) If running in a WAR file that is never expanded, there will be no
such file directory that will exist.
3) You can use the classloader of the web context to get the root of
your
Hi all
I have Struts 2.0.9
I need to get the path to the directory in which my web application is
situated during interceptor's asking. How can I do this been using
ActionInvocation class object which passes into intercept method, or maybe i
should try some other way?
--
View this messa
Maybe this will help, inside execute()
request.getRequestURI()
or
request.getContextPath() + "/" + mapping.getModuleConfig().getPrefix()
+ "/" + mapping.getPath());
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscrib
and i forgot to say that i am useing struts 1
shrimpywu wrote:
>
> hi guys,
> if i can get the actionform,
> how can i get the action path
>
> u know, for the page, we have to specify a path for the page in the
> struts-config
>
> so that we can use that path
>
hi guys,
if i can get the actionform,
how can i get the action path
u know, for the page, we have to specify a path for the page in the
struts-config
so that we can use that path
/mywebsit/mymodule/myform.do
to visit a page
for some reason from development side,
i want to know this path
> I am developing a web application using the struts 2 framework. In one
> of the actions, I need to create a file at the run-time at a particular
> location relative to the path where my web-application is deployed. How
> can I retrieve the path at which my Web-app is deployed at run-
s 2 framework. In one
> of the actions, I need to create a file at the run-time at a particular
> location relative to the path where my web-application is deployed. How
> can I retrieve the path at which my Web-app is deployed at run-time in
> my action class?
>
>
>
> An
1 - 100 of 501 matches
Mail list logo