WAP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreWAP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old March 23rd, 2005, 04:37 PM
devi1005 devi1005 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 26 devi1005 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 31 m 25 sec
Reputation Power: 0
configure web server to serve jsp and wml!?!

ok im tryin to view jsp on my openwave simulatir and it doesnt work, so i installed Tomcat5.5 sever to my pc..problem is im not sure wht to do now ive heard i have to change MIME types..how do i do that??wheer shoudl i cchange it in which file/folder? and secondly i found the following:
----------------------------------------------------------

you have to make sure you have JDK and well as SDK environment installed in your pc..
then... edit the autoexec.bat file.. with the following commands,
change which ever directory that applies..

set TOMCAT_HOME=c:\tomcat
set JAVA_HOME=c:\jdk1.3

path=%path%;c:\jdk1.3\bin;c:\jdk1.3\lib
SET PATH=%TOMCAT_HOME%\bin;%PATH%
set CLASSPATH=c:\jdk1.3\lib\tools.jar;%CLASSPATH%

set classpath=c:\tomcat\lib\webserver.jar;c:\tomcat\lib\jasper.jar;c:\tomcat\lib\servlet.jar
-----------------------------------------------------------
wheer can i edit to make the changes above as i cant seem to find an auotexec.bat file i dnt have JDK insatlled only J2re 1.4.2_05 and j2re 1.4.2_06 in the folder C:\Program Files\Java\j2re1.4.2_06

how do i amke cnges so that i can view jsp on my openwave sim?? PLease help i am very confused!!

Thanks guys xx

Reply With Quote
  #2  
Old March 23rd, 2005, 05:31 PM
xoco xoco is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 14 xoco User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 27 m 43 sec
Reputation Power: 0
as for me, you just need to install java, tomcat,
and set the environment variables that you say...
TOMCAT_HOME
JAVA_HOME
path=%path%;c:\jdk1.3\bin;c:\jdk1.3\lib
PATH
CLASSPATH
classpath=c:\tomcat\lib\webserver.jar;c:\tomcat\lib\jasper.jar;c:\tomcat\lib\servlet.jar



(you can do it :right clic in My Computer if you re in Windows,properties.
then advanced options, there it is
first try to get it in IExplorer before checking in openwave-
if it work in IE, check your WML code, it is very sensitive.
Good luck

Reply With Quote
  #3  
Old March 24th, 2005, 04:50 AM
devi1005 devi1005 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 26 devi1005 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 31 m 25 sec
Reputation Power: 0
there are no current envrionemnt variables, so do i need to create new variables with the above paths etc you suggested??

sorry i have never configured a server before, hence the 101 questions

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreWAP Programming > configure web server to serve jsp and wml!?!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway