Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

How to run the JSP files???  RSS feed

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have downloaded some examples from the net but i do not know how to make it work. My message is quite long so please bear with me, thankyou.
1)
http://www.javaworld.com/javaworld/jw-03-2000/forms/Forms.ZIP
the following files is : 'DBHandler (java file)', 'FormBean (java file)', 'Forms (Executable Jar File)', 'forms.properties', 'process.jsp', 'retry.jsp', 'success.jsp' and 'register (html file)'. There is no folder. How do i make this example works?
2)
http://www.webdevelopersjournal.com/articles/logon/xml_jsp_logon.html
The following files :
logon.java
logon.jsp
processLogon.jsp
userTable.xml
I have got tomcat and is working fine.
ThankYou.
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can just copy it to a WEB-INF directory or one of its existing subdirectories, run your browser and type address http://localhost/<subdirectory name where are the files you have copied>/logon.jsp
It's a dirty answer. No success guarantiee, but i think it should work
 
qiu zhixiong
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the ans but...Err... well it doesnt work. I have tried this method before for quite afew days already. Wonder is there any other ways??? Thanks.
[ January 16, 2003: Message edited by: qiu zhixiong ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!