[jboss-user] [JBoss Portal] - How to define additional context for JBoss Portal 2.6

mcclainc do-not-reply at jboss.com
Thu Jun 21 21:51:12 EDT 2007


I'm running jboss-portal-2.6-CR2.

I want to define an additional context in order for my portlet to retrieve files from the filesystem.

I've tried adding 


  | <context path="/data" docBase="E:/data">
  | </context>
  | 

to jbossweb-tomcat55.sar/context.xml
but it's not working.......

I pass in http://localhost:8080/data/xxxx/xxxx/x.txt and expect this to resolve to E:/data/xxxx/xxxx/x.txt

E:/data/xxxx/xxxx/x.txt exists.

What am I doing wrong?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056703#4056703

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4056703



More information about the jboss-user mailing list