• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP and J2EE  RSS feed

 
Nick Ueda
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have J2SE installed on my computer and I want to start doing some JSP development so I downloaded the Blazix web-server and installed it on my computer and I was wondering if I need J2EE to have my JSP's run properly...
Thank you so much,
Nick Ueda
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Nick, welcome to the Ranch.
Nope. The web server (I am unfamiliar with Blazix) should have an implementation of the javax.servlet API and that's all you will need to do just servlets and JSPs.
Look for a jar named servlet.jar or something else along those lines.
hth,
bear
[ June 17, 2003: Message edited by: Bear Bibeault ]
 
Dave Kinkead
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I downloaded the Blazix server 2 weeks ago to start learning JSP. The most frustrating thing I have found is that Blazix has different requirements for their classpaths than the J2EE spec. It took me a LONG time to workout where everything had to sit so hopefully this can help you.....
The only way I can have both servlets and normal java class files working together is with the following layout.
Edit your classpath in autoexec to include
classpath=.;C:\Blazix\classes\myProjectDir
keep JSPs in C:\Blazix\webfiles\myProjectDir
keep servlets and class files in C:\Blazix\classes\myProjectDir and not in myProjectDir\WEB-INF\
and finally, edit the web.ini file in C:\Blazix to change the default app dir from C:\Blazix\webfiles to C:\Blazix\webfiles\myProjectDir
This last thing is the trick to getting servlets to work with normal class files of the same package.
Hope this helps
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If Blazix is not spec-compliant, why use it?
curious,
bear
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 37253
519
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found Blasix to be harder to use than Tomcat (also free.) Tomcat is also more popular, which is good when you have questions.
 
Raghunandhan Ramanujam
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There really are few reasons NOT to use Tomcat
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!