• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to run the JSP files???

 
qiu zhixiong
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.
 
Hrabia Paulus
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 ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!