Thanks for the clarification. Will sure give it a try.
On Tue, Dec 13, 2011 at 9:04 AM, Li Ying wrote:
> I mean:
> If the OS is unix/linux, you can create file link (or folder link) on
> the file system.
>
> This doc describes more details:
> http://www.cyberciti.biz/faq/creating-hard-links-with
I mean:
If the OS is unix/linux, you can create file link (or folder link) on
the file system.
This doc describes more details:
http://www.cyberciti.biz/faq/creating-hard-links-with-ln-command/
2011/12/13 Gurcharan Singh :
> Hi Li
>
> Sorry, not able to understand your point. Can you kindly elab
Hi Li
Sorry, not able to understand your point. Can you kindly elaborate.
Thanks!
On Tue, Dec 13, 2011 at 8:13 AM, Li Ying wrote:
> My suggestion:
>
> You can create a file(or folder) link on your file system.
>
> From the view of your web app,
> it works like a file(or folder) inside the [do
My suggestion:
You can create a file(or folder) link on your file system.
>From the view of your web app,
it works like a file(or folder) inside the [document root directory],
but the real file(or folder) is actually somewhere outside the
[document root directory].
2011/12/8 Gurcharan Singh :
>
You can try by overriding the default FreemarkerManager, by defining your
own in struts.xml:
and override the method:
protected TemplateLoader getTemplateLoader(ServletContext
servletContext)
Let us know if it works, as I might go for the same direction!
Cheers,
Josep
2011/12/8 G
In the same line, I've a question - How to setup Struts2 to use templates
which are located outside document root directory. Why we want to do it -
We want to keep UI and Dev work separate and in-case any change is made in
the template, we shouldn't be re-building the whole app.
Thanks
Gurcharan
What I have achieved is to set the template Dir for freemarker result type,
in web.xml:
templatePath
${form.templateDir}
with ${form.templateDir} being replaced by maven at compile or packaging
phases.
Cheers,
Josep
2011/11/21 Li Ying
> (1)I believe the word [t
(1)I believe the word [template] in struts2 means,
the template file to render a struts2 tag.
for example, the file
[struts2-core-2.2.3.jar]/template/xhtml/form.ftl
is a template file to render the tag using theme "xhtml"
(2)what you are trying to do, is to change the jsp file location which
wi
8 matches
Mail list logo