我在JSP中使用以下代码从服务器下载文件。
JSP代码:
<bean:write name="ab" property="status" /> <!-- returns the status (Available/notAvailable) -->
<a href="<%=url%>/ABC/download.jsp?Path=<%=filePath%>&fileName=${CustomerRegistrationForm.vendorId}_certificate.pdf" st
上下文:
我的模型类继承自一个基类:
class BaseModel(ndb.model):
# commom fields and methods
class SpecificModel(BaseModel):
# specific fields and methods
问题:
我希望使用SpecificModel导出实体。
我已经定义了配置文件(data_loader.py):
import sys
sys.path.append('.') ## this is to ensure that it finds the file 'models.py'