Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
データベース内のパスと、サーバー パス "workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/ex/userfiles" に保存されているファイル。ファイルパスを使用してjspページでファイルを開きたい.Iamはubuntuでeclipse junoを使用しています。このコードを試しました...事前にhref="filepath"に感謝します
.jsp ファイルは、WebContent フォルダーまたはその子の 1 つにある必要があると思います。ファイル (index.jsp など) が WebContent フォルダー内にある場合、パスは次のようになります。/index.jsp ファイルが WebContent/SomeFolder 内にある場合、パスは次のとおりです。