| Author |
Having to manually add certain folders and files to /wtpapps folder
|
Matt Kohanek
Village Idiot
Ranch Hand
Joined: Apr 04, 2009
Posts: 483
|
|
So I have a page using some insert statements as follows:
As you can see it takes two other pages Ive created, index.xhtml and newUserRegister.xhtml, and inserts them onto this one page. When I try to run this on my server, it tells me
So I go to tomcat/wtpwebapps/NIRAP/templates, and create a /login folder, and then I copy and paste index.xhtml and newUserRegister.xhtml into this new folder. Then I restart tomcat, and try to run the page, and it displays just fine.
Why isnt tomcat creating this folder and putting these two .xhtml's into it automatically? For now it is feasible for me to do this, but as this site grows it is going to becoem a problem to have to do this every time.
Thanks
|
True wisdom is in knowing you know nothing - Socrates
|
 |
Matt Kohanek
Village Idiot
Ranch Hand
Joined: Apr 04, 2009
Posts: 483
|
|
|
solved, I just had to change the file structure for my project to match up the file structure that tomcat was wanting to use.
|
 |
 |
|
|
subject: Having to manually add certain folders and files to /wtpapps folder
|
|
|